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 ] }