From patchwork Wed Feb 22 16:23:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 18299 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 3CECCBDCBF for ; Wed, 22 Feb 2023 16:24:02 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 71A7262605; Wed, 22 Feb 2023 17:24:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1677083041; bh=n3GpSrDoJAaKAoY3HtqbN+sNj+BKgmAcYYJdLqndKr0=; h=To:Date:List-Id:List-Post:From:List-Subscribe:List-Unsubscribe: List-Archive:Reply-To:List-Help:Subject:From; b=qy5cgo+LYZoiwvN3Udie+MqUndBisyFmecy2pTB0XREcaC5mnhw+d3NuCOeVJLmad EQDHL2HscKrYcmnPN0EX0XxKRYapKzlaqro42IGeCd7PCktVTquFtvczE28Swy3UaV vKWOYLHXFDMwdSDpbB8dZTEi8PBFiCIOQLqgeCLSsngYgeoIe4+lYYzK8UWmbQcs+e th0wZnCzOs2NQpVjlJiOuChBpwXwaFzIeMMs/EBxRC6SG6tWRBiJqNTsa72EuLvfF3 Ui/E3BLtPUaSsHCXNEAh5+qm87PF9TR5Do9zSTxdadku/IC+iXDdK2qnLJ0YHD8dYZ yuooXt0kpyJDA== To: libcamera-devel@lists.libcamera.org Date: Wed, 22 Feb 2023 16:23:55 +0000 MIME-Version: 1.0 Message-ID: List-Id: List-Post: X-Patchwork-Original-From: David Plowman via libcamera-devel From: David Plowman Precedence: list X-Mailman-Version: 2.1.29 X-BeenThere: libcamera-devel@lists.libcamera.org List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: David Plowman List-Help: Subject: [libcamera-devel] [PATCH] ipa: raspberrypi: imx296: Minor tuning updates Content-Disposition: inline Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Some small updates to the tuning for the imx296 colour sensor: * Minor colour changes, generally makes things a little less green * Sharpening toned down * rpi.focus algorithm added so that focus measure can be accessed. The sharpening and focus changes are also made for the mono version of the sensor. The sharpness characteristics should be very similar so the change should beneficial, and the addition of the focus measure may be useful, and is at worst harmless. Signed-off-by: David Plowman Reviewed-by: Naushir Patuck Tested-by: Naushir Patuck Acked-by: Paul Elder --- src/ipa/raspberrypi/data/imx296.json | 20 ++++++++++++++------ src/ipa/raspberrypi/data/imx296_mono.json | 12 ++++++++++-- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/src/ipa/raspberrypi/data/imx296.json b/src/ipa/raspberrypi/data/imx296.json index 4e830517..2ced95e2 100644 --- a/src/ipa/raspberrypi/data/imx296.json +++ b/src/ipa/raspberrypi/data/imx296.json @@ -78,7 +78,7 @@ "auto": { "lo": 2500, - "hi": 8000 + "hi": 7600 }, "incandescent": { @@ -108,7 +108,7 @@ "cloudy": { "lo": 7000, - "hi": 8600 + "hi": 7600 } }, "bayes": 1, @@ -122,8 +122,8 @@ 5600.0, 0.2948, 0.6124, 7400.0, 0.2336, 0.6894 ], - "sensitivity_r": 1.0, - "sensitivity_b": 1.0, + "sensitivity_r": 1.05, + "sensitivity_b": 1.05, "transverse_pos": 0.03093, "transverse_neg": 0.02374 } @@ -418,7 +418,15 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.1, + "strength": 1.0, + "limit": 0.18 + } + }, + { + "rpi.focus": { } } ] -} \ No newline at end of file +} diff --git a/src/ipa/raspberrypi/data/imx296_mono.json b/src/ipa/raspberrypi/data/imx296_mono.json index b68b11db..d937bb30 100644 --- a/src/ipa/raspberrypi/data/imx296_mono.json +++ b/src/ipa/raspberrypi/data/imx296_mono.json @@ -222,7 +222,15 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.1, + "strength": 1.0, + "limit": 0.18 + } + }, + { + "rpi.focus": { } } ] -} \ No newline at end of file +}