From patchwork Fri Aug 22 12:37:04 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 24176 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 6D56DBD87C for ; Fri, 22 Aug 2025 12:37:21 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 15501692EE; Fri, 22 Aug 2025 14:37:17 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="O94l/ds0"; dkim-atps=neutral Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 28E2C613DC for ; Fri, 22 Aug 2025 14:37:14 +0200 (CEST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-45a15fd04d9so20913625e9.1 for ; Fri, 22 Aug 2025 05:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1755866233; x=1756471033; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wiumghQ1tOf7RLY7Ch6y8G0M/NNIVVdnDRDSrg9IvwI=; b=O94l/ds0ztDMH31p71t/DjqMtYpp+ob2056RnggaRTGinImNyki9ZfmZCPm8FET5lE aPRbbeZTr0z7Pt6Fq0RXOFfpirGGHdjbAJ2dclqgB5Wg3NnYflZj1IbjcwJVuNCfgoTv /YC87EyQpX+1WliQceHbjxOf1L4cEmZ+GtbvKa7lKi7LXpYyoNVwGSyv8hKDE5PfMTvT RguLRqNP3HIRyylp+rImByjjak/UFqsiwblG/ol6D6I7LnIj4pu0Dn9FoivmNhEcOnt7 K//n1Sd4VMLR+uu3R1Y7WKgrrEjoBsERpaDLUjXO+G4mLBGyeqAzOzOArFesjjQ8X9MC nFzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755866233; x=1756471033; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wiumghQ1tOf7RLY7Ch6y8G0M/NNIVVdnDRDSrg9IvwI=; b=ByNThWEe22ce3xH7u9c9300OQIPjDYs967cXJW2Kt0RQqKraqWM4KT4OMrnCNvAlCc mKqXV54yhfsQ2oCggsBukxhPQ2s9pN9D6NTRRKXUeD/JCuInzE1YkdjUGoKJMscmHMQ4 aZCamLqiw3f1yGw9YyzH+/E5NGqOu5Tu4niObxx7NBhTaFra3NW6x0rWB5TW004EFmrK 1EvvbS753Sfq+q6nu0PP6BKx0ICcz9dM5OENIzbQwlayr+HQG/UP1cuiSZi5qfPIShmR Ud/7f1WGCwnBYlfk3O1s8gBlSnFNnKFQESlGRkq0P4QCrgs71LqbHEONWQyhkvz7kyvW 0ZRg== X-Gm-Message-State: AOJu0Yx6Pp0AtHhkMdh1UtRhOOxkXHwBRCRG0+qU7zF7BJpGIgJnlR1Y vINZsH+EfyVQFvj5GnvXxhTzUsOKI5AmbfoN5QDuUbB2bPYe5qt9SkzdhXjTEcHMxNOk4eEtyPM FiZkc X-Gm-Gg: ASbGncsbkmnDM5LQfBDZFeGq8A1nMTra7vvIePNEqj4EfsyWEOXayESrUNJjWzLyuq5 yulBiR6vv8HpNS3slNl1Bqkss4H/g6qGS/gNG1uHKRMmU0298jqCaqQd26kvfskciRSM/6ym1/E IKcA53pGEv5JnRIYOlu/5wkp28OnOCUiCiaFvRG8GIk6LkjVusl8E/RuCpCsxYTEhTEjRtvDzQG X4pZgQruRpCHxdxUY4ZjeyJrURqVjVg6iTsrPjvmUquj50jQmhnWXH7QDmyxa8hH4wffIUzNEmd H+ylFZo/3JZ3zKeseiZuFIJiOLDaFbRA9iN3+IWiMUH88CTLfPFyryBkUKFBn7x6R9wE8GiErav FHAKi4v8d3YeBim8JEmCbfKr3jpawseHFukUS/yQseIFd+tUA2r5k1K9PLQFMu3OuF2iCkRVOAQ bt+J/gVpadwoMUx8wHorSaJ8tmTFKiP6jJo2wUD7g= X-Google-Smtp-Source: AGHT+IHgE7csRxHLYKP8b2kF6NhHpECDTOq09/WA6PwH1yKKhDBUOTlSf9M5BDM6Z2ogrkPmeeczIw== X-Received: by 2002:a05:600c:3b0c:b0:455:f7d5:1224 with SMTP id 5b1f17b1804b1-45b51791ed7mr22993995e9.9.1755866233355; Fri, 22 Aug 2025 05:37:13 -0700 (PDT) Received: from raspberrypi.pitowers.org ([2a00:1098:3142:1f:ffc9:aff6:7f7f:893b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3c07487986fsm16685787f8f.1.2025.08.22.05.37.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 05:37:12 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Cc: David Plowman Subject: [PATCH 1/6] utils: raspberrypi: ctt: Update noise/sharpness tuning Date: Fri, 22 Aug 2025 13:37:04 +0100 Message-Id: <20250822123709.16966-2-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250822123709.16966-1-david.plowman@raspberrypi.com> References: <20250822123709.16966-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The default noise/sharpness/gamma values are updated to reflect the latest camera tuning work. - Denoise is inceased when not using temporal denoise. - Denoise is reduced when benefitting from temporal denoise. - Over-sharpening is reduced. - High contrast gamma is slightly reduced. Signed-off-by: David Plowman Reviewed-by: Naushir Patuck --- utils/raspberrypi/ctt/ctt.py | 3 +- utils/raspberrypi/ctt/ctt_pisp.py | 106 +++++++++++++++++------------- 2 files changed, 64 insertions(+), 45 deletions(-) diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py index 186afda5..93a8e8fb 100755 --- a/utils/raspberrypi/ctt/ctt.py +++ b/utils/raspberrypi/ctt/ctt.py @@ -436,7 +436,8 @@ class Camera: write to json """ self.json['rpi.noise']['reference_constant'] = int(noise_out[1]) - self.json['rpi.noise']['reference_slope'] = round(noise_out[0], 3) + # Results are better with about 40% higher deviation. + self.json['rpi.noise']['reference_slope'] = round(1.4 * noise_out[0], 3) self.log += '\nNOISE calibrations written to json' print('Finished NOISE calibrations') diff --git a/utils/raspberrypi/ctt/ctt_pisp.py b/utils/raspberrypi/ctt/ctt_pisp.py index a59b053c..8a5fc03f 100755 --- a/utils/raspberrypi/ctt/ctt_pisp.py +++ b/utils/raspberrypi/ctt/ctt_pisp.py @@ -29,11 +29,11 @@ json_template = { { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -42,7 +42,7 @@ json_template = { }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -50,11 +50,11 @@ json_template = { { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -71,11 +71,11 @@ json_template = { { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -714,38 +714,56 @@ json_template = { "rpi.contrast": { "ce_enable": 1, "gamma_curve": [ - 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 0, 0, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] }, @@ -754,8 +772,8 @@ json_template = { "rpi.cac": { }, "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 }, "rpi.hdr": From patchwork Fri Aug 22 12:37:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 24178 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 E199CBD87C for ; Fri, 22 Aug 2025 12:37:24 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 800E2692F2; Fri, 22 Aug 2025 14:37:23 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="qbKUVeGR"; dkim-atps=neutral Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A916F692ED for ; Fri, 22 Aug 2025 14:37:16 +0200 (CEST) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3c68ac7e1c4so149448f8f.2 for ; Fri, 22 Aug 2025 05:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1755866235; x=1756471035; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=K/FFP3zTzHFztawzhrpPqDXxZR3P1VOOi0PudFwZkcM=; b=qbKUVeGRPs0Z/jmK5QZkRj9ZNpx5kgTQY2flvyu7xydj99dYBmTdiG6JjwmbMnm0yF g01EtPlRVYJgrpxEdKpqL0Gr29EktDygIcKzakTgpCrbDwwYgBpSFN7v8WYRKthhlP0w LAX0/Roi/MI4ZSak/q25JY0sXcIbz0ANhjV56+PXQ9+cbFjH/VnZC3/xIhPvUOwNTeDz DHk33ScMn7MloZ4PIq33Z2jVcKHX5jCfXSaPQNoPavsWFNxx476o1LxDfa/6wTFWRQc5 VMtGK4n1v/h5s6NZjQAnV84vDogYy2IZdPbwNpk4OVPYoNfkeiQ08c34ZJm+Zlv9VOZp b1IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755866235; x=1756471035; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K/FFP3zTzHFztawzhrpPqDXxZR3P1VOOi0PudFwZkcM=; b=YGlQzt96PBg+af4nnCrSHuXIwoMvTDZFy3D9FFshF/vvV+fOpOdeifY/aMRbtcL5tZ 7PMCDFFz3juZMYAdnV+FENPrSwikpv6NhKLe0cog6lsEzqEH1XpcrUmGbtmDKqv551/E MPu/y1TljEbStVBKQUq1IQErO1wCYVkpuoULXJLQZYEcdgplVOFQ14bsq7XMTu8B2qjH DkE2XQAx//rBFhRjfKRbN+vU3BqfO/mWn/xg2XY7Z2/GkU7REAzBgYc+fFU0suNYp9rW wU9f01S7ouYxxRdPLChvtLNf7lbmtqDz+pxkc7YJqsxSCaaNfj9TqEwp68RPN7wLQHx4 XPIA== X-Gm-Message-State: AOJu0Yybt5AQah+EHkdHtKtrwCcq7Cempb1HljN++NNZzoP08bgGnAWf e+QU+/alaQPAsm0BqIEXwkqIXSLAE24MRLT5uu3R4hF1sAvKw8h4k2+NkmNpbtLtqq0JQlWjmE/ KH2gr X-Gm-Gg: ASbGncsbATMWI4fwfVdBipDXFXK3JovfjmsImblvZ7KK8Iej1VwyLE2KEwiUVXbP7fd gsLGMl8CgThTSRAsY9mltQ27LdsTxcsibh7klHMY/ZlhXadKNXhappsPWBHk7Qmcg03/YcW6LUO 7ciZbltwKWaEpsgYJJPHqEZuqugQBQDxFeldJDC4iwPhDcy145zcwsLR9KH1llCeYPOYnJeuq+p DHNK1X94xa437y6Gfi9YL8hG7U1o83lPyY+1Bdag33Ntq4k/rKz3E12H4N9Y2SiyjBaSylmCYNT O55KJZS1JCmbzGTqlt4ebGrFCnG1nczNBO8CTjUjxfBhsk8dSswFiB0MiX3WoIL/BmuabuZ6aIp QlBAj8i5xkI1TGtekdcdtonsMI2V5XyH9vfbQIG/hf5qtKROCHmT+2d18+9TEPZt7WRtGsEIGGX JmqQNPeWX0CO6dkd7w8Aga2rMbaI1ZjyxPCQHCFhM= X-Google-Smtp-Source: AGHT+IHEcHcseVm1D+kcvzB+V+Qrmy34hBgDN/QrkNsRcpHfFYaAA3GIGNXnS7wwl365z22SaJ+lSQ== X-Received: by 2002:a05:6000:2f86:b0:3a4:eda1:6c39 with SMTP id ffacd0b85a97d-3c5da931b49mr2073162f8f.13.1755866234387; Fri, 22 Aug 2025 05:37:14 -0700 (PDT) Received: from raspberrypi.pitowers.org ([2a00:1098:3142:1f:ffc9:aff6:7f7f:893b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3c07487986fsm16685787f8f.1.2025.08.22.05.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 05:37:13 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Cc: David Plowman Subject: [PATCH 2/6] ipa: rpi: pisp: data: Improve noise and detail tuning Date: Fri, 22 Aug 2025 13:37:05 +0100 Message-Id: <20250822123709.16966-3-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250822123709.16966-1-david.plowman@raspberrypi.com> References: <20250822123709.16966-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Noise and detail tuning is improved for all official Raspberry Pi cameras. The old tunings left too much noise in and even sharpened some of it. The new tunings remove more noise, and no longer sharpen it. Some of the more general over-sharpening is also removed. Note that lost detail can be recovered well using TDN (temporal denoise), which is the recommended method to get the best results. There are some minor adjustments to the CDN deviation, now that this gets backed-off as TDN ramps up. The contrast in the gamma in the bright areas is also toned down just a little. Signed-off-by: David Plowman Reviewed-by: Naushir Patuck --- src/ipa/rpi/pisp/data/imx219.json | 118 +++++++++-------- src/ipa/rpi/pisp/data/imx219_noir.json | 118 +++++++++-------- src/ipa/rpi/pisp/data/imx296.json | 126 ++++++++++-------- src/ipa/rpi/pisp/data/imx296_16mm.json | 126 ++++++++++-------- src/ipa/rpi/pisp/data/imx296_6mm.json | 126 ++++++++++-------- src/ipa/rpi/pisp/data/imx296_mono.json | 126 ++++++++++-------- src/ipa/rpi/pisp/data/imx477.json | 128 +++++++++++-------- src/ipa/rpi/pisp/data/imx477_16mm.json | 128 +++++++++++-------- src/ipa/rpi/pisp/data/imx477_6mm.json | 128 +++++++++++-------- src/ipa/rpi/pisp/data/imx477_noir.json | 128 +++++++++++-------- src/ipa/rpi/pisp/data/imx477_scientific.json | 16 +-- src/ipa/rpi/pisp/data/imx708.json | 128 +++++++++++-------- src/ipa/rpi/pisp/data/imx708_noir.json | 128 +++++++++++-------- src/ipa/rpi/pisp/data/imx708_wide.json | 128 +++++++++++-------- src/ipa/rpi/pisp/data/imx708_wide_noir.json | 128 +++++++++++-------- src/ipa/rpi/pisp/data/ov5647.json | 118 +++++++++-------- src/ipa/rpi/pisp/data/ov5647_noir.json | 118 +++++++++-------- 17 files changed, 1152 insertions(+), 864 deletions(-) diff --git a/src/ipa/rpi/pisp/data/imx219.json b/src/ipa/rpi/pisp/data/imx219.json index 5254e60d..727f8e2d 100644 --- a/src/ipa/rpi/pisp/data/imx219.json +++ b/src/ipa/rpi/pisp/data/imx219.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 3.661 + "reference_slope": 5.38 } }, { @@ -45,11 +45,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -58,7 +58,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,11 +66,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -79,19 +79,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -100,8 +100,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -271,7 +271,7 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], + "shutter": [ 100, 10000, 30000, 50000, 66666 ], "gain": [ 1.0, 1.5, 2.0, 4.0, 10.0 ] }, "short": @@ -282,7 +282,7 @@ "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 10.0 ] } }, "constraint_modes": @@ -1021,37 +1021,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1120,8 +1138,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx219_noir.json b/src/ipa/rpi/pisp/data/imx219_noir.json index 8a8ad330..cfd2daac 100644 --- a/src/ipa/rpi/pisp/data/imx219_noir.json +++ b/src/ipa/rpi/pisp/data/imx219_noir.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 3.661 + "reference_slope": 5.38 } }, { @@ -45,11 +45,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -58,7 +58,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,11 +66,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -79,19 +79,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -100,8 +100,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -188,7 +188,7 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], + "shutter": [ 100, 10000, 30000, 50000, 66666 ], "gain": [ 1.0, 1.5, 2.0, 4.0, 10.0 ] }, "short": @@ -199,7 +199,7 @@ "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 10.0 ] } }, "constraint_modes": @@ -928,37 +928,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1045,8 +1063,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx296.json b/src/ipa/rpi/pisp/data/imx296.json index d9dde898..d833c837 100644 --- a/src/ipa/rpi/pisp/data/imx296.json +++ b/src/ipa/rpi/pisp/data/imx296.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.751 + "reference_slope": 3.751 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -270,18 +270,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -1019,37 +1019,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1127,7 +1145,7 @@ { "rpi.sharpen": { - "threshold": 0.06, + "threshold": 0.76, "strength": 0.5, "limit": 0.5 } diff --git a/src/ipa/rpi/pisp/data/imx296_16mm.json b/src/ipa/rpi/pisp/data/imx296_16mm.json index 87443745..62344533 100644 --- a/src/ipa/rpi/pisp/data/imx296_16mm.json +++ b/src/ipa/rpi/pisp/data/imx296_16mm.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.751 + "reference_slope": 3.751 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -270,18 +270,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -1019,37 +1019,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1127,7 +1145,7 @@ { "rpi.sharpen": { - "threshold": 0.06, + "threshold": 0.76, "strength": 0.5, "limit": 0.5 } diff --git a/src/ipa/rpi/pisp/data/imx296_6mm.json b/src/ipa/rpi/pisp/data/imx296_6mm.json index abbcaa83..c71a0327 100644 --- a/src/ipa/rpi/pisp/data/imx296_6mm.json +++ b/src/ipa/rpi/pisp/data/imx296_6mm.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.751 + "reference_slope": 3.751 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -270,18 +270,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -1019,37 +1019,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1127,7 +1145,7 @@ { "rpi.sharpen": { - "threshold": 0.06, + "threshold": 0.76, "strength": 0.5, "limit": 0.5 } diff --git a/src/ipa/rpi/pisp/data/imx296_mono.json b/src/ipa/rpi/pisp/data/imx296_mono.json index 153f86a0..e8fb9f27 100644 --- a/src/ipa/rpi/pisp/data/imx296_mono.json +++ b/src/ipa/rpi/pisp/data/imx296_mono.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.751 + "reference_slope": 3.751 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -182,18 +182,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -855,37 +855,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -893,7 +911,7 @@ { "rpi.sharpen": { - "threshold": 0.06, + "threshold": 0.76, "strength": 0.5, "limit": 0.5 } diff --git a/src/ipa/rpi/pisp/data/imx477.json b/src/ipa/rpi/pisp/data/imx477.json index 2fe04c21..1dce5964 100644 --- a/src/ipa/rpi/pisp/data/imx477.json +++ b/src/ipa/rpi/pisp/data/imx477.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.809 + "reference_slope": 3.9 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -271,18 +271,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -1020,37 +1020,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1119,8 +1137,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx477_16mm.json b/src/ipa/rpi/pisp/data/imx477_16mm.json index f4e65c92..3c835341 100644 --- a/src/ipa/rpi/pisp/data/imx477_16mm.json +++ b/src/ipa/rpi/pisp/data/imx477_16mm.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.809 + "reference_slope": 3.9 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -271,18 +271,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -1020,37 +1020,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1119,8 +1137,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx477_6mm.json b/src/ipa/rpi/pisp/data/imx477_6mm.json index 27268c23..af4f7891 100644 --- a/src/ipa/rpi/pisp/data/imx477_6mm.json +++ b/src/ipa/rpi/pisp/data/imx477_6mm.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.809 + "reference_slope": 3.9 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -271,18 +271,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -1020,37 +1020,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1119,8 +1137,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx477_noir.json b/src/ipa/rpi/pisp/data/imx477_noir.json index defc4f4d..0c2020bb 100644 --- a/src/ipa/rpi/pisp/data/imx477_noir.json +++ b/src/ipa/rpi/pisp/data/imx477_noir.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.809 + "reference_slope": 3.9 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -188,18 +188,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -937,37 +937,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1081,8 +1099,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx477_scientific.json b/src/ipa/rpi/pisp/data/imx477_scientific.json index 4ec5a15b..1d9bae9b 100644 --- a/src/ipa/rpi/pisp/data/imx477_scientific.json +++ b/src/ipa/rpi/pisp/data/imx477_scientific.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.809 + "reference_slope": 3.9 } }, { @@ -43,20 +43,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } } @@ -537,8 +537,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } } diff --git a/src/ipa/rpi/pisp/data/imx708.json b/src/ipa/rpi/pisp/data/imx708.json index 7f2e7865..d86afc2e 100644 --- a/src/ipa/rpi/pisp/data/imx708.json +++ b/src/ipa/rpi/pisp/data/imx708.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 1.856 + "reference_slope": 2.856 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 3.2, - "strength": 0.75, + "deviation": 0.2, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -270,18 +270,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -1019,37 +1019,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1109,8 +1127,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx708_noir.json b/src/ipa/rpi/pisp/data/imx708_noir.json index c5e6a265..d4c7cb9d 100644 --- a/src/ipa/rpi/pisp/data/imx708_noir.json +++ b/src/ipa/rpi/pisp/data/imx708_noir.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 1.856 + "reference_slope": 2.856 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -188,18 +188,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -937,37 +937,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1126,8 +1144,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx708_wide.json b/src/ipa/rpi/pisp/data/imx708_wide.json index 8550cdfc..7208823a 100644 --- a/src/ipa/rpi/pisp/data/imx708_wide.json +++ b/src/ipa/rpi/pisp/data/imx708_wide.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.9 + "reference_slope": 2.856 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -270,18 +270,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -1019,37 +1019,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1118,8 +1136,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx708_wide_noir.json b/src/ipa/rpi/pisp/data/imx708_wide_noir.json index 069a0618..f0fa66c9 100644 --- a/src/ipa/rpi/pisp/data/imx708_wide_noir.json +++ b/src/ipa/rpi/pisp/data/imx708_wide_noir.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.9 + "reference_slope": 2.856 } }, { @@ -45,20 +45,20 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,42 +66,42 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { - "deviation": 200, + "deviation": 100, "strength": 0.3 }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -188,18 +188,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "shutter": [ 100, 10000, 30000, 50000, 66666 ], + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "short": { "shutter": [ 100, 5000, 10000, 20000, 60000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ] } }, "constraint_modes": @@ -937,37 +937,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1027,8 +1045,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/ov5647.json b/src/ipa/rpi/pisp/data/ov5647.json index d5156767..d534af31 100644 --- a/src/ipa/rpi/pisp/data/ov5647.json +++ b/src/ipa/rpi/pisp/data/ov5647.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 4.371 + "reference_slope": 5.871 } }, { @@ -45,11 +45,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -58,7 +58,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,11 +66,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -79,19 +79,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -100,8 +100,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -271,7 +271,7 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], + "shutter": [ 100, 10000, 30000, 50000, 66666 ], "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] }, "short": @@ -282,7 +282,7 @@ "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 8.0 ] } }, "constraint_modes": @@ -1020,37 +1020,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1119,8 +1137,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/ov5647_noir.json b/src/ipa/rpi/pisp/data/ov5647_noir.json index 3e04f21b..a900af43 100644 --- a/src/ipa/rpi/pisp/data/ov5647_noir.json +++ b/src/ipa/rpi/pisp/data/ov5647_noir.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 4.371 + "reference_slope": 5.871 } }, { @@ -45,11 +45,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -58,7 +58,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,11 +66,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -79,19 +79,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -100,8 +100,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -188,7 +188,7 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 66666 ], + "shutter": [ 100, 10000, 30000, 50000, 66666 ], "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0 ] }, "short": @@ -199,7 +199,7 @@ "long": { "shutter": [ 100, 10000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ] + "gain": [ 1.0, 1.5, 2.0, 4.0, 8.0, 8.0 ] } }, "constraint_modes": @@ -937,37 +937,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1054,8 +1072,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, From patchwork Fri Aug 22 12:37:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 24177 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 70554C32BB for ; Fri, 22 Aug 2025 12:37:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A15AF692E6; Fri, 22 Aug 2025 14:37:21 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="kAEhHaIK"; dkim-atps=neutral Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E83D8692DF for ; Fri, 22 Aug 2025 14:37:16 +0200 (CEST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-45a1b0c52f3so12539085e9.3 for ; Fri, 22 Aug 2025 05:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1755866236; x=1756471036; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xjxCBR+7WAdwE9NKYGnwPKbj41XVPAZaPXKpp2R/msI=; b=kAEhHaIKmls3/HfYBJBGyKPJ143M1tMCRrWJAbc5HZsSgdpiTpVi+fklApP9rKm5eE wGXHJQYM3TIOJSIhyuIsq1fweV9DCNSkUgmW/MFi/imSFPzGd4XxttT/FHsEwuPaMxt5 AzVhlIvxbopRy5HEW7Mxhr9pAnh+YXXWiogHCzaUydhnl0DH86USbwJl48ulNaMphYGd x+tNjq5qLmfRUC9uMalUwADjkTuelBAdY+x8Tyh3Hra+3NoSbt8WFnOlVEPnLtJKVJCi ydP2yXJqKe/8nSSkI8bEF1k5anuJSczN6AX0HVNM4ZbJhNdzdEIK9SfOssyZV14RAF6i u3Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755866236; x=1756471036; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xjxCBR+7WAdwE9NKYGnwPKbj41XVPAZaPXKpp2R/msI=; b=fKTTZSJc2ycr3PyEag8rAXPv96gUXrvFCyGeWJggEe1rh+JlIsWK4XFU7M+yCt5n+G eh+7FW+A1taTCllIMTwgoMuTMIHGptxRxIEqr+hLTBlMkMSIhwcIaZyXGh7gJHTfg/7g 5MD/na0kLmMj/HzX0h8Sh5QBLfb2zDTe7AwLXTK+JmELzk+e/j1Vy9qAJt1qFT+wqJTb fNvC/A/tXB8h5YPj4wrXDXr9daCesWEA7/5y91/jigDZBuwX8Ml7X1fb0D+w5qyB+KZa ntXgMtRdw7ROm7AqByCzEvhM3BuifYNjQpsW6EoTLDyUvSTJPhJbEqZbzMpzFnU5ziPW KW2Q== X-Gm-Message-State: AOJu0Yy78q4GPeGhkY5HkGQjvkS7HJuPoGmHYwd0EB6zw4gPYOzroTdn BdRgFroHgaVYmFTBD6L/jbStDCVeKBKNobITzwHYlA25WWdV9fbPeYn8bzROI4euXknAO6JUzib 38lmB X-Gm-Gg: ASbGncv34de0x1GbEHBnJ/QEJMVVPC2s5+PB25zEZpKBbonDEL+fio5PiAiabOypotZ 1v3W1wBRUbiqa40CgL2yDOv5smaEi20oQe2bkHEpSIemBaMnfCrUQnBGOXQpqDsZSGr7mwAtiQs wHZNbnDlrDhk9KWem/u9Y7dHebRRwtMSgBDjdV6cddWq2UiarAcFbjuUtDBwfE0KlZmV0mReMWo ffDP/KR/m65gLgeY6U+9NON7jCQ21DxXyKWgVE8Czn5xADxo7BwXytK/nLMI6OXHdji0WJYYPhu 3q5wJt2XDWIFDUZtkFEQDPYkhAF3XOR00G6NY5wtVfdmT1yzblXdlx9+5uXlpUigocIL+KMEzel CMgfMJlFuPRT2FbLbxjW2FWnueKvUr2+I9lB7nymDX2UlrfMAyu5CyOml091+l0ElWv5BwVagKF ZU3YujreJV/RugRoMHlfT7J5F3+L3/TUgocqajQ00= X-Google-Smtp-Source: AGHT+IFNyX5hperBzRp6Qtl2qE0ySK+P7lRSVPjyFMGPnjlJvyeOQtkDU0cGonFGLe6RDnB2GCZ6iQ== X-Received: by 2002:a05:600c:198f:b0:459:d709:e5cf with SMTP id 5b1f17b1804b1-45b5179b710mr23837295e9.3.1755866235279; Fri, 22 Aug 2025 05:37:15 -0700 (PDT) Received: from raspberrypi.pitowers.org ([2a00:1098:3142:1f:ffc9:aff6:7f7f:893b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3c07487986fsm16685787f8f.1.2025.08.22.05.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 05:37:14 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Cc: David Plowman Subject: [PATCH 3/6] ipa: rpi: pisp: data: Update all non-official camera tuning files Date: Fri, 22 Aug 2025 13:37:06 +0100 Message-Id: <20250822123709.16966-4-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250822123709.16966-1-david.plowman@raspberrypi.com> References: <20250822123709.16966-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Same updates as to the official cameras. Signed-off-by: David Plowman Reviewed-by: Naushir Patuck --- src/ipa/rpi/pisp/data/imx283.json | 114 ++++++++++++++---------- src/ipa/rpi/pisp/data/imx378.json | 110 +++++++++++++---------- src/ipa/rpi/pisp/data/imx415.json | 114 ++++++++++++++---------- src/ipa/rpi/pisp/data/imx462.json | 110 +++++++++++++---------- src/ipa/rpi/pisp/data/imx519.json | 110 +++++++++++++---------- src/ipa/rpi/pisp/data/ov64a40.json | 114 ++++++++++++++---------- src/ipa/rpi/pisp/data/ov9281_mono.json | 110 +++++++++++++---------- src/ipa/rpi/pisp/data/se327m12.json | 110 +++++++++++++---------- src/ipa/rpi/pisp/data/uncalibrated.json | 80 ++++++++++------- 9 files changed, 567 insertions(+), 405 deletions(-) diff --git a/src/ipa/rpi/pisp/data/imx283.json b/src/ipa/rpi/pisp/data/imx283.json index 2e90512c..ccd74ae2 100644 --- a/src/ipa/rpi/pisp/data/imx283.json +++ b/src/ipa/rpi/pisp/data/imx283.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.147 + "reference_slope": 3.005 } }, { @@ -45,11 +45,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -58,7 +58,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,11 +66,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -79,19 +79,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -100,8 +100,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -1084,37 +1084,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1267,8 +1285,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx378.json b/src/ipa/rpi/pisp/data/imx378.json index ac760f79..f80573cb 100644 --- a/src/ipa/rpi/pisp/data/imx378.json +++ b/src/ipa/rpi/pisp/data/imx378.json @@ -25,7 +25,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.641 + "reference_slope": 3.7 } }, { @@ -42,11 +42,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -55,7 +55,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -63,11 +63,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -76,19 +76,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -97,8 +97,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -531,37 +531,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } diff --git a/src/ipa/rpi/pisp/data/imx415.json b/src/ipa/rpi/pisp/data/imx415.json index 824a5371..ced65c35 100755 --- a/src/ipa/rpi/pisp/data/imx415.json +++ b/src/ipa/rpi/pisp/data/imx415.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 17, - "reference_slope": 3.439 + "reference_slope": 4.8 } }, { @@ -45,11 +45,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -58,7 +58,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,11 +66,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -79,19 +79,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -100,8 +100,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -999,37 +999,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1092,8 +1110,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/imx462.json b/src/ipa/rpi/pisp/data/imx462.json index 20ca1a66..6968766a 100644 --- a/src/ipa/rpi/pisp/data/imx462.json +++ b/src/ipa/rpi/pisp/data/imx462.json @@ -26,7 +26,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.67 + "reference_slope": 3.7 } }, { @@ -43,11 +43,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -56,7 +56,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -64,11 +64,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -77,19 +77,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -98,8 +98,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -284,37 +284,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } diff --git a/src/ipa/rpi/pisp/data/imx519.json b/src/ipa/rpi/pisp/data/imx519.json index 9bc4d9a3..d9b750ed 100644 --- a/src/ipa/rpi/pisp/data/imx519.json +++ b/src/ipa/rpi/pisp/data/imx519.json @@ -25,7 +25,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.776 + "reference_slope": 3.8 } }, { @@ -42,11 +42,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -55,7 +55,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -63,11 +63,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -76,19 +76,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -97,8 +97,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -531,37 +531,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } diff --git a/src/ipa/rpi/pisp/data/ov64a40.json b/src/ipa/rpi/pisp/data/ov64a40.json index d9e263eb..c83802b3 100755 --- a/src/ipa/rpi/pisp/data/ov64a40.json +++ b/src/ipa/rpi/pisp/data/ov64a40.json @@ -28,7 +28,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.984 + "reference_slope": 4.1 } }, { @@ -45,11 +45,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -58,7 +58,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -66,11 +66,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -79,19 +79,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -100,8 +100,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -924,37 +924,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } @@ -1026,8 +1044,8 @@ { "rpi.sharpen": { - "threshold": 0.25, - "limit": 1.0, + "threshold": 0.75, + "limit": 0.5, "strength": 1.0 } }, diff --git a/src/ipa/rpi/pisp/data/ov9281_mono.json b/src/ipa/rpi/pisp/data/ov9281_mono.json index 54229b83..c4067c49 100644 --- a/src/ipa/rpi/pisp/data/ov9281_mono.json +++ b/src/ipa/rpi/pisp/data/ov9281_mono.json @@ -22,7 +22,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 2.5 + "reference_slope": 3.5 } }, { @@ -32,11 +32,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -45,7 +45,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -53,11 +53,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -66,19 +66,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -87,8 +87,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -176,37 +176,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } diff --git a/src/ipa/rpi/pisp/data/se327m12.json b/src/ipa/rpi/pisp/data/se327m12.json index 46f2378c..5618dc38 100644 --- a/src/ipa/rpi/pisp/data/se327m12.json +++ b/src/ipa/rpi/pisp/data/se327m12.json @@ -25,7 +25,7 @@ "rpi.noise": { "reference_constant": 0, - "reference_slope": 1.986 + "reference_slope": 2.7 } }, { @@ -42,11 +42,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -55,7 +55,7 @@ }, "tdn": { - "deviation": 0.8, + "deviation": 1.0, "threshold": 0.05 } }, @@ -63,11 +63,11 @@ { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -76,19 +76,19 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } }, "night": { "sdn": { - "deviation": 1.6, - "strength": 0.5, + "deviation": 0.6, + "strength": 0.95, "deviation2": 3.2, "deviation_no_tdn": 3.2, - "strength_no_tdn": 0.75 + "strength_no_tdn": 0.95 }, "cdn": { @@ -97,8 +97,8 @@ }, "tdn": { - "deviation": 1.3, - "threshold": 0.1 + "deviation": 1.0, + "threshold": 0.05 } } } @@ -531,37 +531,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } diff --git a/src/ipa/rpi/pisp/data/uncalibrated.json b/src/ipa/rpi/pisp/data/uncalibrated.json index ff1e316e..4d1f1fa4 100644 --- a/src/ipa/rpi/pisp/data/uncalibrated.json +++ b/src/ipa/rpi/pisp/data/uncalibrated.json @@ -96,37 +96,55 @@ "gamma_curve": [ 0, 0, - 1024, 5040, - 2048, 9338, - 3072, 12356, - 4096, 15312, - 5120, 18051, - 6144, 20790, - 7168, 23193, - 8192, 25744, - 9216, 27942, - 10240, 30035, - 11264, 32005, - 12288, 33975, - 13312, 35815, - 14336, 37600, - 15360, 39168, - 16384, 40642, - 18432, 43379, - 20480, 45749, - 22528, 47753, - 24576, 49621, - 26624, 51253, - 28672, 52698, - 30720, 53796, - 32768, 54876, - 36864, 57012, - 40960, 58656, - 45056, 59954, - 49152, 61183, - 53248, 62355, - 57344, 63419, - 61440, 64476, + 512, 2518, + 1024, 5033, + 1536, 7175, + 2048, 9309, + 2560, 10814, + 3072, 12312, + 3584, 13773, + 4096, 15225, + 4608, 16566, + 5120, 17899, + 5632, 19221, + 6144, 20534, + 6656, 21684, + 7168, 22826, + 7680, 24024, + 8192, 25212, + 9216, 27251, + 10240, 29167, + 11264, 30947, + 12288, 32696, + 13312, 34309, + 14336, 35849, + 15360, 37194, + 16384, 38445, + 17408, 39598, + 18432, 40732, + 19456, 41717, + 20480, 42687, + 22528, 44343, + 24576, 45871, + 26624, 47222, + 28672, 48441, + 30720, 49460, + 32768, 50470, + 34816, 51476, + 36864, 52480, + 38912, 53382, + 40960, 54294, + 43008, 55155, + 45056, 56035, + 47104, 56920, + 49152, 57824, + 51200, 58737, + 53248, 59666, + 55296, 60604, + 57344, 61558, + 59392, 62529, + 61440, 63516, + 63488, 64519, 65535, 65535 ] } From patchwork Fri Aug 22 12:37:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 24179 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 E220AC32BB for ; Fri, 22 Aug 2025 12:37:26 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0A3C9692EE; Fri, 22 Aug 2025 14:37:26 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="QhhZRI9L"; dkim-atps=neutral Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3EB04692EF for ; Fri, 22 Aug 2025 14:37:17 +0200 (CEST) Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3c6412336d4so259143f8f.2 for ; Fri, 22 Aug 2025 05:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1755866236; x=1756471036; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MmHZ3GbEF0RZch7D4ktsP0lTeFnHoemNR5dp0SygqxE=; b=QhhZRI9LNOz7d+2Yf/shLHUpqFvDWAGugbpUBcyS9J+tJQjYuAJ5y68xVcAfL6uuKF ouyDjFgXMyln1HV7ipK34wpwrEYC4Cn7eXxSFjQ/f2yUP2ia4Kv8cwFQMwmZjTOYXhRs DtMGYL+oFbOrOASjomBREJNozGXUMlKNYblvBSTKASzPdRgfJlmnBwBPa5JexqgMmTfe seEWKlf1OmkUwTLkCjuc/1Qsj90AB/z7qk/+nqMk7lCqbC41zobl/+f4j9KrW62AiHDY SaN0VL957P1chW6HbkE9odZEA2N6TQgxrjCLjZ4Ga9aOg+QhnyCMooHIsHa+PZCR38fU /wCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755866236; x=1756471036; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MmHZ3GbEF0RZch7D4ktsP0lTeFnHoemNR5dp0SygqxE=; b=FvqJob0PVNGzSkqbfbXGxWFHlbg1d79UUzL72oNoiQpOPkM0QVE1NW0UVK6dYT3SN8 Vy+qFoDlxCW2V4x/q3AxB7uCQPeU5Giew/2AC7ePFevXiyMBdTk7sC9wiOeGtHbOAFKK joC8quetv8ipz5BZUAavP0p/+lkc+QzkTOgo1VSv5+pCm9aPRV/XqUftubq58DfrGKKw GCMVZYE3TFwueJEhs8z6QaxSBY2EThiK9xAzyJiNpYRiuU4aHHkNvg+Cj4cJCq4DAfO2 vuigv1sFkVT6lzvbRGnDaNKIESGhPAr+ekYDFe6lEfP1FPSimEq8Fxnnct+xSGbXPMof ISmA== X-Gm-Message-State: AOJu0YwgIsI3RXBBq//XcbUTydLLXlDrP2FP4dRQN9KCobu2ZuNUe+aj Qm976/yT1XetRrLjFsxQ1HrRoGG3Ts5UFS24HBvLAZ2AzBiR5qv3T7h/7/QZSVFe+z+JCj6zCoZ sYOOo X-Gm-Gg: ASbGncu9u37Z6xm3cNl5idJFneMylBtOl+KszA8RDXwj7H/YfyLec3MXC60t5GkAz0v Q2qy+tRywk+5J15gq6MnhHEUfK1wnXk5wsOLZwHfUOlowKM6Ptrh8aQIrL7dZVEwyaaL6ne55U6 G10k1c7NYyyhSpYJqid39WRhM5ya5vcfUUmCFiSkncbklhiZk36zj/XV8t8kSsSYiJTB6bzjxmz eQ9UliTUlj8o29QC/7clF+/bAXqPJ91KgYRETnTwm/03wezN6Peg7Vi40rDIvXlJ6PTDgoeK5UA 3Wp0p1xZpjeIQiqW+qH3xuZlBHFKyF5Jq9QPve7xr0iIDlmve9iTxR2P2axZQApJxgZxpHJi3Uh gBNEh4o1rkDHBxDTzHRumyOY6kLnP2TWN3JAGScsCviCtF20c7j7QWZ6MxAckdtCX1LI6dtqiGL H0RTOYT/T/lf5oTWLqF2EkWAlJBZNIgFBmBh0E2kE= X-Google-Smtp-Source: AGHT+IHwpBC3l3OOUpmhfHZ2I5udB8Yzxon9mNI3Lb6XZ+yk5K31zhV9xFr+FcB6N5PAbb/toKhTjw== X-Received: by 2002:a05:6000:1a8d:b0:3b8:d32e:9222 with SMTP id ffacd0b85a97d-3c5dc638675mr2136108f8f.38.1755866236057; Fri, 22 Aug 2025 05:37:16 -0700 (PDT) Received: from raspberrypi.pitowers.org ([2a00:1098:3142:1f:ffc9:aff6:7f7f:893b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3c07487986fsm16685787f8f.1.2025.08.22.05.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 05:37:15 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Cc: David Plowman Subject: [PATCH 4/6] ipa: rpi: vc4: Minor tuning changes Date: Fri, 22 Aug 2025 13:37:07 +0100 Message-Id: <20250822123709.16966-5-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250822123709.16966-1-david.plowman@raspberrypi.com> References: <20250822123709.16966-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Sharpening is reduced slightly for official Raspberry Pi cameras, and exposure profiles made a bit more consistent. Denoise is reduced for the imx708 where it appears too strong. Signed-off-by: David Plowman Reviewed-by: Naushir Patuck --- src/ipa/rpi/vc4/data/imx219.json | 15 ++++++++++----- src/ipa/rpi/vc4/data/imx219_noir.json | 15 ++++++++++----- src/ipa/rpi/vc4/data/imx296.json | 8 ++++---- src/ipa/rpi/vc4/data/imx296_mono.json | 10 +++++----- src/ipa/rpi/vc4/data/imx477.json | 15 ++++++++++----- src/ipa/rpi/vc4/data/imx477_noir.json | 15 ++++++++++----- src/ipa/rpi/vc4/data/imx477_scientific.json | 15 ++++++++++----- src/ipa/rpi/vc4/data/imx708.json | 21 +++++++++++++-------- src/ipa/rpi/vc4/data/imx708_noir.json | 21 +++++++++++++-------- src/ipa/rpi/vc4/data/imx708_wide.json | 21 +++++++++++++-------- src/ipa/rpi/vc4/data/imx708_wide_noir.json | 21 +++++++++++++-------- src/ipa/rpi/vc4/data/ov5647.json | 11 ++++++++--- src/ipa/rpi/vc4/data/ov5647_noir.json | 11 ++++++++--- 13 files changed, 127 insertions(+), 72 deletions(-) diff --git a/src/ipa/rpi/vc4/data/imx219.json b/src/ipa/rpi/vc4/data/imx219.json index a020b12f..8098889e 100644 --- a/src/ipa/rpi/vc4/data/imx219.json +++ b/src/ipa/rpi/vc4/data/imx219.json @@ -162,17 +162,17 @@ "normal": { "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 10.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 33333 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 10.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 10.0 ] } }, "constraint_modes": @@ -675,7 +675,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } }, { "rpi.hdr": diff --git a/src/ipa/rpi/vc4/data/imx219_noir.json b/src/ipa/rpi/vc4/data/imx219_noir.json index d8bc9639..c8c59da0 100644 --- a/src/ipa/rpi/vc4/data/imx219_noir.json +++ b/src/ipa/rpi/vc4/data/imx219_noir.json @@ -78,17 +78,17 @@ "normal": { "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 10.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 33333 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 10.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 10.0 ] } }, "constraint_modes": @@ -609,7 +609,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } }, { "rpi.hdr": diff --git a/src/ipa/rpi/vc4/data/imx296.json b/src/ipa/rpi/vc4/data/imx296.json index 8f24ce5b..7c8589b2 100644 --- a/src/ipa/rpi/vc4/data/imx296.json +++ b/src/ipa/rpi/vc4/data/imx296.json @@ -159,18 +159,18 @@ { "normal": { - "shutter": [ 100, 30000, 45000, 60000, 120000 ], - "gain": [ 1.0, 1.0, 2.0, 4.0, 12.0 ] + "shutter": [ 100, 30000, 45000, 60000, 66666 ], + "gain": [ 1.0, 1.0, 2.0, 4.0, 16.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 30000 ], + "shutter": [ 100, 5000, 10000, 20000, 66666 ], "gain": [ 1.0, 2.0, 4.0, 8.0, 16.0 ] }, "long": { "shutter": [ 1000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] } }, "constraint_modes": diff --git a/src/ipa/rpi/vc4/data/imx296_mono.json b/src/ipa/rpi/vc4/data/imx296_mono.json index fe331569..ea1ed768 100644 --- a/src/ipa/rpi/vc4/data/imx296_mono.json +++ b/src/ipa/rpi/vc4/data/imx296_mono.json @@ -62,18 +62,18 @@ { "normal": { - "shutter": [ 100, 10000, 30000, 60000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 6.0 ] + "shutter": [ 100, 10000, 30000, 60000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 6.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "long": { "shutter": [ 1000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] } }, "constraint_modes": diff --git a/src/ipa/rpi/vc4/data/imx477.json b/src/ipa/rpi/vc4/data/imx477.json index fa25ee86..7d922d68 100644 --- a/src/ipa/rpi/vc4/data/imx477.json +++ b/src/ipa/rpi/vc4/data/imx477.json @@ -167,17 +167,17 @@ "normal": { "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 33333 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] } }, "constraint_modes": @@ -680,7 +680,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } }, { "rpi.hdr": diff --git a/src/ipa/rpi/vc4/data/imx477_noir.json b/src/ipa/rpi/vc4/data/imx477_noir.json index 472f33fe..9de6ac4e 100644 --- a/src/ipa/rpi/vc4/data/imx477_noir.json +++ b/src/ipa/rpi/vc4/data/imx477_noir.json @@ -78,17 +78,17 @@ "normal": { "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 33333 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] } }, "constraint_modes": @@ -636,7 +636,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } }, { "rpi.hdr": diff --git a/src/ipa/rpi/vc4/data/imx477_scientific.json b/src/ipa/rpi/vc4/data/imx477_scientific.json index 9dc32eb1..1e5d8433 100644 --- a/src/ipa/rpi/vc4/data/imx477_scientific.json +++ b/src/ipa/rpi/vc4/data/imx477_scientific.json @@ -173,17 +173,17 @@ "normal": { "shutter": [ 100, 10000, 30000, 60000, 66666 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 33333 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] } }, "constraint_modes": @@ -482,7 +482,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } } ] } \ No newline at end of file diff --git a/src/ipa/rpi/vc4/data/imx708.json b/src/ipa/rpi/vc4/data/imx708.json index e54ceff4..ec17243d 100644 --- a/src/ipa/rpi/vc4/data/imx708.json +++ b/src/ipa/rpi/vc4/data/imx708.json @@ -24,8 +24,8 @@ { "rpi.noise": { - "reference_constant": 16.0, - "reference_slope": 4.0 + "reference_constant": 0.0, + "reference_slope": 2.5 } }, { @@ -169,18 +169,18 @@ { "normal": { - "shutter": [ 100, 15000, 30000, 60000, 120000 ], - "gain": [ 1.0, 1.0, 2.0, 4.0, 6.0 ] + "shutter": [ 100, 15000, 30000, 60000, 66666 ], + "gain": [ 1.0, 1.0, 2.0, 4.0, 16.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 6.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "long": { "shutter": [ 1000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] } }, "constraint_modes": @@ -611,7 +611,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } }, { "rpi.af": diff --git a/src/ipa/rpi/vc4/data/imx708_noir.json b/src/ipa/rpi/vc4/data/imx708_noir.json index f351a180..b03906fb 100644 --- a/src/ipa/rpi/vc4/data/imx708_noir.json +++ b/src/ipa/rpi/vc4/data/imx708_noir.json @@ -24,8 +24,8 @@ { "rpi.noise": { - "reference_constant": 16.0, - "reference_slope": 4.0 + "reference_constant": 0.0, + "reference_slope": 2.5 } }, { @@ -169,18 +169,18 @@ { "normal": { - "shutter": [ 100, 15000, 30000, 60000, 120000 ], - "gain": [ 1.0, 1.0, 2.0, 4.0, 6.0 ] + "shutter": [ 100, 15000, 30000, 60000, 66666 ], + "gain": [ 1.0, 1.0, 2.0, 4.0, 16.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 6.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "long": { "shutter": [ 1000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] } }, "constraint_modes": @@ -710,7 +710,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } }, { "rpi.af": diff --git a/src/ipa/rpi/vc4/data/imx708_wide.json b/src/ipa/rpi/vc4/data/imx708_wide.json index bf1b122c..e94f2441 100644 --- a/src/ipa/rpi/vc4/data/imx708_wide.json +++ b/src/ipa/rpi/vc4/data/imx708_wide.json @@ -24,8 +24,8 @@ { "rpi.noise": { - "reference_constant": 16.0, - "reference_slope": 4.0 + "reference_constant": 0.0, + "reference_slope": 2.5 } }, { @@ -159,18 +159,18 @@ { "normal": { - "shutter": [ 100, 15000, 30000, 60000, 120000 ], - "gain": [ 1.0, 1.0, 2.0, 4.0, 6.0 ] + "shutter": [ 100, 15000, 30000, 60000, 66666 ], + "gain": [ 1.0, 1.0, 2.0, 4.0, 16.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 6.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "long": { "shutter": [ 1000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] } }, "constraint_modes": @@ -610,7 +610,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } }, { "rpi.af": diff --git a/src/ipa/rpi/vc4/data/imx708_wide_noir.json b/src/ipa/rpi/vc4/data/imx708_wide_noir.json index ea1c8c69..791e05bc 100644 --- a/src/ipa/rpi/vc4/data/imx708_wide_noir.json +++ b/src/ipa/rpi/vc4/data/imx708_wide_noir.json @@ -24,8 +24,8 @@ { "rpi.noise": { - "reference_constant": 16.0, - "reference_slope": 4.0 + "reference_constant": 0.0, + "reference_slope": 2.5 } }, { @@ -159,18 +159,18 @@ { "normal": { - "shutter": [ 100, 15000, 30000, 60000, 120000 ], - "gain": [ 1.0, 1.0, 2.0, 4.0, 6.0 ] + "shutter": [ 100, 15000, 30000, 60000, 66666 ], + "gain": [ 1.0, 1.0, 2.0, 4.0, 16.0 ] }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 6.0 ] + "shutter": [ 100, 5000, 10000, 20000, 66666 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] }, "long": { "shutter": [ 1000, 30000, 60000, 90000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 16.0 ] } }, "constraint_modes": @@ -601,7 +601,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } }, { "rpi.af": diff --git a/src/ipa/rpi/vc4/data/ov5647.json b/src/ipa/rpi/vc4/data/ov5647.json index 40c6059c..ca561e59 100644 --- a/src/ipa/rpi/vc4/data/ov5647.json +++ b/src/ipa/rpi/vc4/data/ov5647.json @@ -166,13 +166,13 @@ }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 33333 ], + "shutter": [ 100, 5000, 10000, 20000, 66666 ], "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] } }, "constraint_modes": @@ -676,7 +676,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } }, { "rpi.hdr": diff --git a/src/ipa/rpi/vc4/data/ov5647_noir.json b/src/ipa/rpi/vc4/data/ov5647_noir.json index 488b7119..ae2eb71e 100644 --- a/src/ipa/rpi/vc4/data/ov5647_noir.json +++ b/src/ipa/rpi/vc4/data/ov5647_noir.json @@ -80,13 +80,13 @@ }, "short": { - "shutter": [ 100, 5000, 10000, 20000, 33333 ], + "shutter": [ 100, 5000, 10000, 20000, 66666 ], "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] }, "long": { "shutter": [ 100, 10000, 30000, 60000, 120000 ], - "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ] + "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] } }, "constraint_modes": @@ -406,7 +406,12 @@ } }, { - "rpi.sharpen": { } + "rpi.sharpen": + { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 + } } ] } \ No newline at end of file From patchwork Fri Aug 22 12:37:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 24180 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 1B32BC332A for ; Fri, 22 Aug 2025 12:37:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6A5D7692F3; Fri, 22 Aug 2025 14:37:27 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="L+N5pcjN"; dkim-atps=neutral Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BCF52692F0 for ; Fri, 22 Aug 2025 14:37:17 +0200 (CEST) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-45a1b0990b2so15583275e9.2 for ; Fri, 22 Aug 2025 05:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1755866237; x=1756471037; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SJOetcTaoIM32bYiVeYyfUMatXlRcufMYGMd2pqtsgw=; b=L+N5pcjNyU7TtU2Zvjbp9K5fGxp6KOQqe6zF/ZTUFNOhq7pRO9rDKlSYPfOH/7ClHC oCzICLMnNHbdfuO99EWbTguhdPP1bxXkDg0VzNrkM4wRelX3fJHSAlaDiI/AwjN+RH+n M7TDXES5kHqyGlw0sol/daid0FQQwDclfLcjq84j/vOiLhIZOgnOzxDG2QmsmTu/ydwi Fp0/2N94LF61enPCKfFvXz51Mp8wuAccD/m5Pin0oS1fv970D82XcEWSGtkpN/s17xkX 9n2cnrn1CPNPoZOW0KYmN4nbnQXbK32sxDv1o1G2FlMTFKjnWvsfSbtOzBlWKy2oyIqE sWRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755866237; x=1756471037; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SJOetcTaoIM32bYiVeYyfUMatXlRcufMYGMd2pqtsgw=; b=ZcqjcRh+ZNg+27slL8ViJiHX00ZEowMpBZv2y/9jOXeX1BnvEeyLbg5IqO17GkRbmD JXx1A32Oyq2ZXxi0OCruH6DTGEU/TVGnwK9MX39zX06bCWoIJGlRNCjEOE3qp0zew2rR vJSLL9YnNSm5lsZnfI+4a6L7KDKoyx43/JkEKxTIGQOhVpCi6RqcHYxzCiH0WOnGut7L VtBESsYyhVeg/sn1Eouje5ka2xvZUiSLou+LYMpT85KsL4oO2L7ofPOan+votvT5p8uE 3DOV3tqMjrOAAS3f5vgFJX1qn9a0kvlykOu4MaRoHXClkQTiuQYJG0+twhve9ybrHMx7 /+zw== X-Gm-Message-State: AOJu0YzbsgOM6HkKFn+5Qtarf+OjcGYsClCB6KFwreHr+3nUcogMEV3i w08IKr59CrZwCW9pBs64KEzS46Y8uPHMmLPA+vEBAaR74EilhOw/x3hvwW/I8gIUTW+75/X29wP 2HuaD X-Gm-Gg: ASbGncuuuiLDsLCaAErifXMj3zz5e4+t7X0iEg1ekgfTsNCfkYV1MFi3IDgewGkJhKL 6/GsytipggPC8h6oH5LKKSGQy/OcNbakqfWEK7JEFYLDcVHoUfqM2weceNQ95DIvhtazSIlYCox a+Dvid6MfjFvxvMqdPO0zW7Xn29XAplLdFdj7UWaajgdpVOWobIWLTcP9TCWVTcKZyhAg4MJ5uL hHlFL/Gl0109L8woua4lik1ohKrrjtOuQ9A4LHHMBuE2P9EqGk+S6kWqnjton47k3Z+mZvy7T+V LPaOKEEOmwp4kfeXp6JTgKOIevfRFG5RJO5/4qi4LezLM0uA0iVHZz3IbHaZanQQ/oTbJ1yNs6V pVS1IxFVW4L87Q0lxD+0QQtiqpoS1gYYjtb5VO8aYdHLGMb0xkxK/goyD1Pc7glALYrAPIzxVls 2Aus1nbWI3OiVx9EdKnrNYg2Zd9/xwMMWi5+oaIZM= X-Google-Smtp-Source: AGHT+IFHR2h3x3G/mT0FkZ/cQyu+ayHN1nU2b5e7e23JJlJ1FwGJ1G/noxar6yCHwrhh6Y0P5Rty9w== X-Received: by 2002:a05:600c:4715:b0:459:db54:5f34 with SMTP id 5b1f17b1804b1-45b517d902bmr26111955e9.31.1755866236748; Fri, 22 Aug 2025 05:37:16 -0700 (PDT) Received: from raspberrypi.pitowers.org ([2a00:1098:3142:1f:ffc9:aff6:7f7f:893b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3c07487986fsm16685787f8f.1.2025.08.22.05.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 05:37:16 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Cc: David Plowman Subject: [PATCH 5/6] utils: raspberrypi: ctt: Update vc4 tuning defaults Date: Fri, 22 Aug 2025 13:37:08 +0100 Message-Id: <20250822123709.16966-6-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250822123709.16966-1-david.plowman@raspberrypi.com> References: <20250822123709.16966-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The sharpening default values are updated to be slightly less aggressive, and exposure profiles are made slightly more consistent. This now matches the latest tuning changes. Signed-off-by: David Plowman Reviewed-by: Naushir Patuck --- utils/raspberrypi/ctt/ctt_vc4.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/utils/raspberrypi/ctt/ctt_vc4.py b/utils/raspberrypi/ctt/ctt_vc4.py index 7154e110..dd0c5414 100755 --- a/utils/raspberrypi/ctt/ctt_vc4.py +++ b/utils/raspberrypi/ctt/ctt_vc4.py @@ -55,12 +55,16 @@ json_template = { }, "exposure_modes": { "normal": { - "shutter": [100, 10000, 30000, 60000, 120000], - "gain": [1.0, 2.0, 4.0, 6.0, 6.0] + "shutter": [100, 10000, 30000, 60000, 66666], + "gain": [1.0, 2.0, 4.0, 6.0, 8.0] }, "short": { - "shutter": [100, 5000, 10000, 20000, 120000], - "gain": [1.0, 2.0, 4.0, 6.0, 6.0] + "shutter": [100, 5000, 10000, 20000, 66666], + "gain": [1.0, 2.0, 4.0, 6.0, 8.0] + }, + "long": { + "shutter": [ 100, 10000, 30000, 60000, 120000 ], + "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ] } }, "constraint_modes": { @@ -120,6 +124,9 @@ json_template = { "rpi.ccm": { }, "rpi.sharpen": { + "threshold": 0.75, + "limit": 0.5, + "strength": 1.0 } } From patchwork Fri Aug 22 12:37:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 24181 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 2DCDABD87C for ; Fri, 22 Aug 2025 12:37:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 39999692F1; Fri, 22 Aug 2025 14:37:28 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="Ccuy3kA9"; dkim-atps=neutral Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5534F692F1 for ; Fri, 22 Aug 2025 14:37:18 +0200 (CEST) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-45b4d8921f2so12910775e9.2 for ; Fri, 22 Aug 2025 05:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1755866237; x=1756471037; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dU7J13NSut7B4IXKbFasfDqJ2OiBxOotiJwfrFWeKDQ=; b=Ccuy3kA97d0zOM8DpZe4ZlorXVWs1fAEyXbwoGx0ll923rKP4M5jQVe6712js+z/Eu RgJGjcA371JyZgw6c2FBsaQcPaFYENy4XRCNz+uBFN7ZPYnm2kwT64NZIZXthxfFWmF7 GCsG2ZsuqCk/sooHwxii/OnIqCRBXWEIq2GWwBQ9wLrlTJCHA9+f+M9NV8251bnzCcfP hDjObbP7eccNvI3bzmjEbssNZ3Wwf6FgIIVzQfbDo/HV9qTHIxHwqGBSoWcwHINv8K5O DFl0CweIaYRU3vKMR5CM4jKJ4tR7nei8DfhXNRwKNzYfQAoQo9pyhqUvek6zH6SNxlgG kM4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755866237; x=1756471037; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dU7J13NSut7B4IXKbFasfDqJ2OiBxOotiJwfrFWeKDQ=; b=e518Dv4unagE/+8KsZhpSovCiP/1FBqFwb9hCL3PXXvZwPNGzdH8h7OqF1NVG3pK0Y YSpMgxkw+VVwodREm7CEuo5rbSlXG2O/B+jhI65JsTMZsdgGvVKoV7MhWBZPNrE12fIj HfGb+7na63Ku8boDMSelNg+mi1VmJRbR1jwjq1SpKbFkCzp2xmWTl3CT2tkWJB2zy6XI rHvpkBql8quS9jBmLrzFJdqQhuuCalURXMz/tck3hNvz/zCusFobOK7LjFIoIvUybzu+ bei6iN3MNCHg4CZwUzmrD3pbQoNp4zn0R+ASc0O0dacQeDFdez7I6ERIF32IrsjZSGM5 7fhw== X-Gm-Message-State: AOJu0YzOsFZbTNcf9fAE+pI3R4Tlyvj0lOYnNfe/PB9dWWAf2N54JTCQ 23J8rDdPhVYMnUCS0AevptzdcGwn3JNfxcAFu3eDHCO0oc27OZq64KkXf24/rBYmdqLWWV7YzZO EYLXU X-Gm-Gg: ASbGncthl6zD4SixttC/m3aG35Urz7KzMdQbYxSVh6MAqsVK7fkh7k79NKdI4myoYjx V/VnHk+6RnD60dEjhfnfqLdES2RrbpnH3x1utqYV641mXPM1F7LLeG9D/GKZ7hzrbXNgVp4k1qZ qF7cM9damQPxz951z9rhkP3zibn3EwKMysD5SfpJIj7Nf1kgyCP9J6i2m7RF3PmSQm7ARAU05Zg cRswE2kS4ngO7j51FkyDqF2OMfhSKmFzqM9dy14XRv8XQMhljuT8/YBunZX4WwUIp2EDldNqa+b q4Nd5HUUI20nPIZv/Zriq6bcF4kP42R+cumyXCwiFcdKwnsCZF43tIEc0YC+HGWJk7TWbujsK4B uosR5MgDKUAIArNJQvpL/P8C4sXb0f7Um9AMJbkakRTvwFWN+O/ZEi/zeUEAstn73kEbFS3uDFH Y9It8YNaedMVxj10n9VpQpaF+vlHg4w510DFR+bLdHgNxa/BtUpw== X-Google-Smtp-Source: AGHT+IGhjL140dX94YApZ7+pNushWYPQBlE0RJ+eOAmCgZ0MDJuf2sb9afDPK45yQ7vrcv0rbPrLmw== X-Received: by 2002:a05:600c:5493:b0:459:d709:e5a1 with SMTP id 5b1f17b1804b1-45b53af6c77mr19948285e9.6.1755866237511; Fri, 22 Aug 2025 05:37:17 -0700 (PDT) Received: from raspberrypi.pitowers.org ([2a00:1098:3142:1f:ffc9:aff6:7f7f:893b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3c07487986fsm16685787f8f.1.2025.08.22.05.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 05:37:17 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Cc: David Plowman Subject: [PATCH 6/6] ipa: rpi: sdn: Remove legacy denoise warning Date: Fri, 22 Aug 2025 13:37:09 +0100 Message-Id: <20250822123709.16966-7-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250822123709.16966-1-david.plowman@raspberrypi.com> References: <20250822123709.16966-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" We use the legacy format for the VC4 platform, and are not planning to change this. So remove the warning. Signed-off-by: David Plowman Reviewed-by: Naushir Patuck --- src/ipa/rpi/controller/rpi/sdn.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ipa/rpi/controller/rpi/sdn.cpp b/src/ipa/rpi/controller/rpi/sdn.cpp index 619178a8..594ea701 100644 --- a/src/ipa/rpi/controller/rpi/sdn.cpp +++ b/src/ipa/rpi/controller/rpi/sdn.cpp @@ -37,8 +37,6 @@ char const *Sdn::name() const int Sdn::read(const libcamera::YamlObject ¶ms) { - LOG(RPiSdn, Warning) - << "Using legacy SDN tuning - please consider moving SDN inside rpi.denoise"; deviation_ = params["deviation"].get(3.2); strength_ = params["strength"].get(0.75); return 0;