{"id":18033,"url":"https://patchwork.libcamera.org/api/1.1/patches/18033/?format=json","web_url":"https://patchwork.libcamera.org/patch/18033/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20221216135903.17446-1-naush@raspberrypi.com>","date":"2022-12-16T13:59:03","name":"[libcamera-devel] ipa: raspberrypi: Add a \"scientific\" tuning for the IMX477","commit_ref":"bf66a1d25162350a66444e0398cc2d5f90c26e10","pull_url":null,"state":"accepted","archived":false,"hash":"6eef817dfb373690908fbd0397c5e748c00bd592","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/18033/mbox/","series":[{"id":3676,"url":"https://patchwork.libcamera.org/api/1.1/series/3676/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3676","date":"2022-12-16T13:59:03","name":"[libcamera-devel] ipa: raspberrypi: Add a \"scientific\" tuning for the IMX477","version":1,"mbox":"https://patchwork.libcamera.org/series/3676/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18033/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18033/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id F3B3EC31E9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 16 Dec 2022 13:59:09 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7292E63360;\n\tFri, 16 Dec 2022 14:59:09 +0100 (CET)","from mail-wr1-x432.google.com (mail-wr1-x432.google.com\n\t[IPv6:2a00:1450:4864:20::432])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 36107603D0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 16 Dec 2022 14:59:08 +0100 (CET)","by mail-wr1-x432.google.com with SMTP id h7so2584641wrs.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 16 Dec 2022 05:59:08 -0800 (PST)","from localhost.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\tq9-20020a05600000c900b0024228b0b932sm2730001wrx.27.2022.12.16.05.59.06\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 16 Dec 2022 05:59:07 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1671199149;\n\tbh=WXN+gcNFJBAtdpqKZ3+koPJfO+iF4cv7M4tjpgENF9k=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=pf8rnT4S7qURPsZ5QXi51k8t/zTx0dZVCieJXexn3raAgW3JZGp1H5J7cuV5Ikqbt\n\tE6fw6oaa9tCk8U18FsdSNXFu6PDzwZoNZ8THj5PiA1F7Gio1XwvZiZsnAI4Fa5aQ6w\n\tztyk9IKJP+mWdGeYdLug0Egd2Ynugm76aQUHDc0dGq94oWf+NBOhcngl0cqp9lFPoU\n\tuSzXIA/Brz2jSs5YEdn3ImID78SJgZz5AeylTNsDQdlRh93cTszljeW3c4d7SqTRZd\n\tFc5QeBcUtVDYbbDKrZhgyjyQPZhs86RqxS+8uWnxVoK7WutjDkeqluwwb9OvNvlbbL\n\tKbOBrqCozLBJg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=WH1ZuLZT3gyJTWGgwZ5pjRL+L74R8qA3q7E7Mx6+Pfo=;\n\tb=MnRqLL3AS1zXJOdJkFgL3Vq9zoDjFQAZDbW+rEAj5uaR36WItlT+FAgrlWMjSAunHm\n\tGyJ93ja8Q6r2SVOP/Xcu+E7yBKjtLvkaLNqyWYbIzFdN5rcPlkYpdH8iHvgIEakkUVi1\n\taqVyJnMtIFWYXeUD2UQNjKeDFsQKGXsrk0GcIIJWkVzFuMDLvkTAOftjkF9tzTjvl3pb\n\tsEqFdznLHxr7ip0B40VzcTgzMCgE3/l5LRZIC2oBwmWdObyhRo9fGrmfKmP1Xsomhdcn\n\tmjKOb0vpshsSdNvQaBnweCbFymRGUK4p/r97rc5swsvOaGaHHtyqamZ2TpFKvwVyPrlJ\n\tgO+A=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"MnRqLL3A\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=WH1ZuLZT3gyJTWGgwZ5pjRL+L74R8qA3q7E7Mx6+Pfo=;\n\tb=ab2x+aaZj9KP8gfbBvdUA09urjEQnWYkuGvhYsqZwd469dli1pWbXLEf9BSxNO/9Pd\n\tbr56+g0Cx5GT+NhsWppD9+k2kiw+eW4KjNixFrejWMk3ZF7RZaZ+olBIYGUwwcDE8dSb\n\t4TWoKC9ddWb4VjeAXPspcw0vFEpGbJ8gyqMoCoLU5y/bXleljFhYM7+R2ryiFXdIu6HW\n\tVVFo6QcSWM3F+SetnxNKsLfhTrX6Wq6LWi17w4mtHAAbCCatlkIjxFXa6W+TGD6U4raO\n\txnDx8E4NokiHZoC2xRXrse8TsFsLHsR/BII+lYI34oCTiTnzGZwrZq/2bcfOCHCVK33x\n\tsb4A==","X-Gm-Message-State":"ANoB5pmd5H42jXvOIcCw7caWTDb4x4jQWgQdzSQICm7oiCpVmFYL96PY\n\tw/3LNveCOl09//5FqwQwoa3ydne0PSGpFDti","X-Google-Smtp-Source":"AA0mqf5ulqzEBWtpLb4NBkRlA75KXQnswhoIoGFOTY89XKqFUhh7B/8fcGILzLcEM2twq4OENn3UQw==","X-Received":"by 2002:adf:ef42:0:b0:242:647d:9c57 with SMTP id\n\tc2-20020adfef42000000b00242647d9c57mr21060709wrp.36.1671199147472; \n\tFri, 16 Dec 2022 05:59:07 -0800 (PST)","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 16 Dec 2022 13:59:03 +0000","Message-Id":"<20221216135903.17446-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH] ipa: raspberrypi: Add a \"scientific\"\n\ttuning for the IMX477","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Naushir Patuck <naush@raspberrypi.com>","Cc":"Rolf Henkel <cpixip@pixelcircus.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Add a tuning file for the IMX477 more suited to scientific applications.\nThe key differences from the original tuning file are:\n\n- Disable ALSC block completely\n- Pure rec709 gamma curve, and no contrast enhance\n- New CT curve and CCMs based on the illumination spectrum of a black body\nradiator up to about 3600 K and the CIE illuminant D for higher color\ntemperatures.\n\nFurther details on the changes can be found at:\nhttps://forums.raspberrypi.com/viewtopic.php?t=343449\n\nAll credit for these changes go to Dr. Rolf Henkel.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\nSigned-off-by: Rolf Henkel <cpixip@pixelcircus.com>\n---\n .../raspberrypi/data/imx477_scientific.json   | 482 ++++++++++++++++++\n src/ipa/raspberrypi/data/meson.build          |   1 +\n 2 files changed, 483 insertions(+)\n create mode 100755 src/ipa/raspberrypi/data/imx477_scientific.json","diff":"diff --git a/src/ipa/raspberrypi/data/imx477_scientific.json b/src/ipa/raspberrypi/data/imx477_scientific.json\nnew file mode 100755\nindex 000000000000..17c4ed0a5e74\n--- /dev/null\n+++ b/src/ipa/raspberrypi/data/imx477_scientific.json\n@@ -0,0 +1,482 @@\n+{\n+    \"version\": 2.0,\n+    \"target\": \"bcm2835\",\n+    \"algorithms\": [\n+        {\n+            \"rpi.black_level\":\n+            {\n+                \"black_level\": 4096\n+            }\n+        },\n+        {\n+            \"rpi.dpc\": { }\n+        },\n+        {\n+            \"rpi.lux\":\n+            {\n+                \"reference_shutter_speed\": 27242,\n+                \"reference_gain\": 1.0,\n+                \"reference_aperture\": 1.0,\n+                \"reference_lux\": 830,\n+                \"reference_Y\": 17755\n+            }\n+        },\n+        {\n+            \"rpi.noise\":\n+            {\n+                \"reference_constant\": 0,\n+                \"reference_slope\": 2.767\n+            }\n+        },\n+        {\n+            \"rpi.geq\":\n+            {\n+                \"offset\": 204,\n+                \"slope\": 0.01078\n+            }\n+        },\n+        {\n+            \"rpi.sdn\": { }\n+        },\n+        {\n+            \"rpi.awb\":\n+            {\n+                \"priors\": [\n+                    {\n+                        \"lux\": 0,\n+                        \"prior\":\n+                        [\n+                            2000, 1.0,\n+                            3000, 0.0,\n+                            13000, 0.0\n+                        ]\n+                    },\n+                    {\n+                        \"lux\": 800,\n+                        \"prior\":\n+                        [\n+                            2000, 0.0,\n+                            6000, 2.0,\n+                            13000, 2.0\n+                        ]\n+                    },\n+                    {\n+                        \"lux\": 1500,\n+                        \"prior\":\n+                        [\n+                            2000, 0.0,\n+                            4000, 1.0,\n+                            6000, 6.0,\n+                            6500, 7.0,\n+                            7000, 1.0,\n+                            13000, 1.0\n+                        ]\n+                    }\n+                ],\n+                \"modes\":\n+                {\n+                    \"auto\":\n+                    {\n+                        \"lo\": 2500,\n+                        \"hi\": 8000\n+                    },\n+                    \"incandescent\":\n+                    {\n+                        \"lo\": 2500,\n+                        \"hi\": 3000\n+                    },\n+                    \"tungsten\":\n+                    {\n+                        \"lo\": 3000,\n+                        \"hi\": 3500\n+                    },\n+                    \"fluorescent\":\n+                    {\n+                        \"lo\": 4000,\n+                        \"hi\": 4700\n+                    },\n+                    \"indoor\":\n+                    {\n+                        \"lo\": 3000,\n+                        \"hi\": 5000\n+                    },\n+                    \"daylight\":\n+                    {\n+                        \"lo\": 5500,\n+                        \"hi\": 6500\n+                    },\n+                    \"cloudy\":\n+                    {\n+                        \"lo\": 7000,\n+                        \"hi\": 8600\n+                    }\n+                },\n+                \"bayes\": 1,\n+                \"ct_curve\":\n+                [\n+                    2000.0, 0.6331025775790707, 0.27424225990946915,\n+                    2200.0, 0.5696117366212947, 0.3116091368689487,\n+                    2400.0, 0.5204264653110015, 0.34892179554105873,\n+                    2600.0, 0.48148675531667223, 0.38565229719076793,\n+                    2800.0, 0.450085403501908, 0.42145684622485047,\n+                    3000.0, 0.42436130159169017, 0.45611835670028816,\n+                    3200.0, 0.40300023695527337, 0.48950766215198593,\n+                    3400.0, 0.3850520052612984, 0.5215567075837261,\n+                    3600.0, 0.36981508088230314, 0.5522397906415475,\n+                    4100.0, 0.333468007836758, 0.5909770465167908,\n+                    4600.0, 0.31196097364221376, 0.6515706327327178,\n+                    5100.0, 0.2961860409294588, 0.7068178946570284,\n+                    5600.0, 0.2842607232745885, 0.7564837749584288,\n+                    6100.0, 0.2750265787051251, 0.8006183524920533,\n+                    6600.0, 0.2677057225584924, 0.8398879225373039,\n+                    7100.0, 0.2617955199757274, 0.8746456080032436,\n+                    7600.0, 0.25693714288250125, 0.905569559506562,\n+                    8100.0, 0.25287531441063316, 0.9331696750390895,\n+                    8600.0, 0.24946601483331993, 0.9576820904825795\n+                ],\n+                \"sensitivity_r\": 1.05,\n+                \"sensitivity_b\": 1.05,\n+                \"transverse_pos\": 0.0238,\n+                \"transverse_neg\": 0.04429,\n+                \"coarse_step\": 0.1\n+            }\n+        },\n+        {\n+            \"rpi.agc\":\n+            {\n+                \"metering_modes\":\n+                {\n+                    \"centre-weighted\":\n+                    {\n+                        \"weights\": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]\n+                    },\n+                    \"spot\":\n+                    {\n+                        \"weights\": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]\n+                    },\n+                    \"matrix\":\n+                    {\n+                        \"weights\": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]\n+                    }\n+                },\n+                \"exposure_modes\":\n+                {\n+                    \"normal\":\n+                    {\n+                        \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n+                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]\n+                    },\n+                    \"short\":\n+                    {\n+                        \"shutter\": [ 100, 5000, 10000, 20000, 33333 ],\n+                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]\n+                    },\n+                    \"long\":\n+                    {\n+                        \"shutter\": [ 100, 10000, 30000, 60000, 120000 ],\n+                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]\n+                    }\n+                },\n+                \"constraint_modes\":\n+                {\n+                    \"normal\": [\n+                        {\n+                            \"bound\": \"LOWER\",\n+                            \"q_lo\": 0.98,\n+                            \"q_hi\": 1.0,\n+                            \"y_target\":\n+                            [\n+                                0, 0.3,\n+                                1000, 0.3\n+                            ]\n+                        }\n+                    ],\n+                    \"highlight\": [\n+                        {\n+                            \"bound\": \"LOWER\",\n+                            \"q_lo\": 0.98,\n+                            \"q_hi\": 1.0,\n+                            \"y_target\":\n+                            [\n+                                0, 0.3,\n+                                1000, 0.3\n+                            ]\n+                        },\n+                        {\n+                            \"bound\": \"UPPER\",\n+                            \"q_lo\": 0.98,\n+                            \"q_hi\": 1.0,\n+                            \"y_target\":\n+                            [\n+                                0, 0.8,\n+                                1000, 0.8\n+                            ]\n+                        }\n+                    ],\n+                    \"shadows\": [\n+                        {\n+                            \"bound\": \"LOWER\",\n+                            \"q_lo\": 0.0,\n+                            \"q_hi\": 0.5,\n+                            \"y_target\":\n+                            [\n+                                0, 0.17,\n+                                1000, 0.17\n+                            ]\n+                        }\n+                    ]\n+                },\n+                \"y_target\":\n+                [\n+                    0, 0.16,\n+                    1000, 0.165,\n+                    10000, 0.17\n+                ]\n+            }\n+        },\n+        {\n+            \"rpi.contrast\":\n+            {\n+                \"ce_enable\": 0,\n+                \"gamma_curve\":\n+                [\n+                    0, 0,\n+                    512, 2304,\n+                    1024, 4608,\n+                    1536, 6573,\n+                    2048, 8401,\n+                    2560, 9992,\n+                    3072, 11418,\n+                    3584, 12719,\n+                    4096, 13922,\n+                    4608, 15045,\n+                    5120, 16103,\n+                    5632, 17104,\n+                    6144, 18056,\n+                    6656, 18967,\n+                    7168, 19839,\n+                    7680, 20679,\n+                    8192, 21488,\n+                    9216, 23028,\n+                    10240, 24477,\n+                    11264, 25849,\n+                    12288, 27154,\n+                    13312, 28401,\n+                    14336, 29597,\n+                    15360, 30747,\n+                    16384, 31856,\n+                    17408, 32928,\n+                    18432, 33966,\n+                    19456, 34973,\n+                    20480, 35952,\n+                    22528, 37832,\n+                    24576, 39621,\n+                    26624, 41330,\n+                    28672, 42969,\n+                    30720, 44545,\n+                    32768, 46065,\n+                    34816, 47534,\n+                    36864, 48956,\n+                    38912, 50336,\n+                    40960, 51677,\n+                    43008, 52982,\n+                    45056, 54253,\n+                    47104, 55493,\n+                    49152, 56704,\n+                    51200, 57888,\n+                    53248, 59046,\n+                    55296, 60181,\n+                    57344, 61292,\n+                    59392, 62382,\n+                    61440, 63452,\n+                    63488, 64503,\n+                    65535, 65535\n+                ]\n+            }\n+        },\n+        {\n+            \"rpi.ccm\":\n+            {\n+                \"ccms\": [\n+                    {\n+                        \"ct\": 2000,\n+                        \"ccm\":\n+                        [\n+                            1.5813882365848004, -0.35293683714581114, -0.27378771561617715,\n+                            -0.4347297185453639, 1.5792631087746074, -0.12102601986382337,\n+                            0.2322290578987574, -1.4382672640468128, 2.1386425781770755\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 2200,\n+                        \"ccm\":\n+                        [\n+                            1.6322048484088305, -0.45932286857238486, -0.21373542690252198,\n+                            -0.3970719209901105, 1.5877868651467202, -0.17249380832122455,\n+                            0.20753774825903412, -1.2660673594740142, 2.005654261091916\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 2400,\n+                        \"ccm\":\n+                        [\n+                            1.6766610071470398, -0.5447101051688111, -0.16838641107407676,\n+                            -0.3659845183388154, 1.592223692670396, -0.2127091997471162,\n+                            0.1833964516767549, -1.1339155942419321, 1.9089342978542396\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 2600,\n+                        \"ccm\":\n+                        [\n+                            1.7161984340622154, -0.6152585785678794, -0.1331100845092582,\n+                            -0.33972082628066275, 1.5944888273736966, -0.2453979465898787,\n+                            0.1615577497676328, -1.0298684958833109, 1.8357854177422053\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 2800,\n+                        \"ccm\":\n+                        [\n+                            1.7519307259815728, -0.6748682080165339, -0.10515169074540848,\n+                            -0.3171703484479931, 1.5955820297498486, -0.2727395854813966,\n+                            0.14230870739974305, -0.9460976023551511, 1.778709391659538\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 3000,\n+                        \"ccm\":\n+                        [\n+                            1.7846716625128374, -0.7261240476375332, -0.08274697420358428,\n+                            -0.2975654035173307, 1.5960425637021738, -0.2961043416505157,\n+                            0.12546426281675097, -0.8773434727076518, 1.7330356805246685\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 3200,\n+                        \"ccm\":\n+                        [\n+                            1.8150085872943436, -0.7708109672515514, -0.06469468211419174,\n+                            -0.2803468940646277, 1.596168842967451, -0.3164044170681625,\n+                            0.11071494533513807, -0.8199772290209191, 1.69572135046367\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 3400,\n+                        \"ccm\":\n+                        [\n+                            1.8433668304932087, -0.8102060605062592, -0.05013485852801454,\n+                            -0.2650934036324084, 1.5961288492969294, -0.33427554893845535,\n+                            0.0977478941863518, -0.7714303112098978, 1.6647070820146963\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 3600,\n+                        \"ccm\":\n+                        [\n+                            1.8700575831917468, -0.8452518300291346, -0.03842644337477299,\n+                            -0.2514794528347016, 1.5960178299141876, -0.3501774949366156,\n+                            0.08628520830733245, -0.729841503339915, 1.638553343939267\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 4100,\n+                        \"ccm\":\n+                        [\n+                            1.8988700903560716, -0.8911278803351247, -0.018848644425650693,\n+                            -0.21487101487384094, 1.599236541382614, -0.39405450457918206,\n+                            0.08251488056482173, -0.7178919368326191, 1.6267009056502704\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 4600,\n+                        \"ccm\":\n+                        [\n+                            1.960355191764125, -0.9624344812121991, -0.0017122408632169205,\n+                            -0.19444620905212898, 1.5978493736948447, -0.416727638296156,\n+                            0.06310261513271084, -0.6483790952487849, 1.5834605477213093\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 5100,\n+                        \"ccm\":\n+                        [\n+                            2.014680536961399, -1.0195930302148566, 0.007728256612638915,\n+                            -0.17751999660735496, 1.5977081555831, -0.4366085498741474,\n+                            0.04741267583041334, -0.5950327902073489, 1.5512919847321853\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 5600,\n+                        \"ccm\":\n+                        [\n+                            2.062652337917251, -1.0658386679125478, 0.011886354256281267,\n+                            -0.16319197721451495, 1.598363237584736, -0.45422061523742235,\n+                            0.03465810928795378, -0.5535454108047286, 1.5269025836946852\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 6100,\n+                        \"ccm\":\n+                        [\n+                            2.104985902038069, -1.103597868736314, 0.012503517136539277,\n+                            -0.15090797064906178, 1.5994703078166095, -0.4698414300864995,\n+                            0.02421766063474242, -0.5208922818196823, 1.5081270847783788\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 6600,\n+                        \"ccm\":\n+                        [\n+                            2.1424988751299714, -1.134760232367728, 0.010730356010435522,\n+                            -0.14021846798466234, 1.600822462230719, -0.48379204794526487,\n+                            0.015521315410496622, -0.49463630325832275, 1.4933313534840327\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 7100,\n+                        \"ccm\":\n+                        [\n+                            2.1758034100130925, -1.1607558481037359, 0.007452724895469076,\n+                            -0.13085694672641826, 1.6022648614493245, -0.4962330524084075,\n+                            0.008226943206113427, -0.4733077192319791, 1.4815336120437468\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 7600,\n+                        \"ccm\":\n+                        [\n+                            2.205529206931895, -1.1826662383072108, 0.0032019529917605167,\n+                            -0.122572009780486, 1.6037258133595753, -0.5073973734282445,\n+                            0.0020132587619863425, -0.4556590236414181, 1.471939788496745\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 8100,\n+                        \"ccm\":\n+                        [\n+                            2.232224969223067, -1.2013672897252885, -0.0016234598095482985,\n+                            -0.11518026734442414, 1.6051544769439803, -0.5174558699422255,\n+                            -0.0033378143542219835, -0.4408590373867774, 1.4640252230667452\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 8600,\n+                        \"ccm\":\n+                        [\n+                            2.256082295891265, -1.2173210549996634, -0.0067231350481711675,\n+                            -0.10860272839843167, 1.6065150139140594, -0.5264728573611493,\n+                            -0.007952618707984149, -0.4284003574050791, 1.4574646927117558\n+                        ]\n+                    }\n+                ]\n+            }\n+        },\n+        {\n+            \"rpi.sharpen\": { }\n+        },\n+        {\n+            \"rpi.focus\": { }\n+        }\n+    ]\n+}\n\\ No newline at end of file\ndiff --git a/src/ipa/raspberrypi/data/meson.build b/src/ipa/raspberrypi/data/meson.build\nindex 84c1dabbec9c..5565508cf602 100644\n--- a/src/ipa/raspberrypi/data/meson.build\n+++ b/src/ipa/raspberrypi/data/meson.build\n@@ -9,6 +9,7 @@ conf_files = files([\n     'imx378.json',\n     'imx477.json',\n     'imx477_noir.json',\n+    'imx477_scientific.json',\n     'imx519.json',\n     'ov5647.json',\n     'ov5647_noir.json',\n","prefixes":["libcamera-devel"]}