ipa: raspberrypi: Convert existing cameara tuning files to version 2.0

Use the convert_tuning.py script to convert all existing tuning files to
version 2.0.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Naushir Patuck <naush@raspberrypi.com>
This commit is contained in:
Naushir Patuck 2022-07-18 09:16:02 +01:00 committed by Laurent Pinchart
parent 20bdc7ee88
commit b4cbb5c388
13 changed files with 4345 additions and 3545 deletions

View file

@ -1,12 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 4096 "black_level": 4096
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 27685, "reference_shutter_speed": 27685,
@ -14,41 +19,57 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 998, "reference_lux": 998,
"reference_Y": 12744 "reference_Y": 12744
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 3.67 "reference_slope": 3.67
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 204, "offset": 204,
"slope": 0.01633 "slope": 0.01633
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"priors": "priors": [
[
{ {
"lux": 0, "prior": "lux": 0,
"prior":
[ [
2000, 1.0, 3000, 0.0, 13000, 0.0 2000, 1.0,
3000, 0.0,
13000, 0.0
] ]
}, },
{ {
"lux": 800, "prior": "lux": 800,
"prior":
[ [
2000, 0.0, 6000, 2.0, 13000, 2.0 2000, 0.0,
6000, 2.0,
13000, 2.0
] ]
}, },
{ {
"lux": 1500, "prior": "lux": 1500,
"prior":
[ [
2000, 0.0, 4000, 1.0, 6000, 6.0, 6500, 7.0, 7000, 1.0, 13000, 1.0 2000, 0.0,
4000, 1.0,
6000, 6.0,
6500, 7.0,
7000, 1.0,
13000, 1.0
] ]
} }
], ],
@ -93,126 +114,123 @@
"bayes": 1, "bayes": 1,
"ct_curve": "ct_curve":
[ [
2498.0, 0.9309, 0.3599, 2911.0, 0.8682, 0.4283, 2919.0, 0.8358, 0.4621, 3627.0, 0.7646, 0.5327, 4600.0, 0.6079, 0.6721, 5716.0, 2498.0, 0.9309, 0.3599,
0.5712, 0.7017, 8575.0, 0.4331, 0.8037 2911.0, 0.8682, 0.4283,
2919.0, 0.8358, 0.4621,
3627.0, 0.7646, 0.5327,
4600.0, 0.6079, 0.6721,
5716.0, 0.5712, 0.7017,
8575.0, 0.4331, 0.8037
], ],
"sensitivity_r": 1.05, "sensitivity_r": 1.05,
"sensitivity_b": 1.05, "sensitivity_b": 1.05,
"transverse_pos": 0.04791, "transverse_pos": 0.04791,
"transverse_neg": 0.04881 "transverse_neg": 0.04881
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 66666 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 10000, 30000, 60000, 66666
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 33333 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 5000, 10000, 20000, 33333
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"long": "long":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 12.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
], ],
"shadows": "shadows": [
[
{ {
"bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target": "bound": "LOWER",
"q_lo": 0.0,
"q_hi": 0.5,
"y_target":
[ [
0, 0.17, 1000, 0.17 0, 0.17,
1000, 0.17
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
] ]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 100, "n_iter": 100,
"luminance_strength": 0.7, "luminance_strength": 0.7,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
1.487, 1.481, 1.481, 1.445, 1.389, 1.327, 1.307, 1.307, 1.307, 1.309, 1.341, 1.405, 1.458, 1.494, 1.494, 1.497, 1.487, 1.481, 1.481, 1.445, 1.389, 1.327, 1.307, 1.307, 1.307, 1.309, 1.341, 1.405, 1.458, 1.494, 1.494, 1.497,
1.491, 1.481, 1.448, 1.397, 1.331, 1.275, 1.243, 1.229, 1.229, 1.249, 1.287, 1.349, 1.409, 1.463, 1.494, 1.497, 1.491, 1.481, 1.448, 1.397, 1.331, 1.275, 1.243, 1.229, 1.229, 1.249, 1.287, 1.349, 1.409, 1.463, 1.494, 1.497,
@ -229,7 +247,8 @@
] ]
}, },
{ {
"ct": 3850, "table": "ct": 3850,
"table":
[ [
1.694, 1.688, 1.688, 1.649, 1.588, 1.518, 1.495, 1.495, 1.495, 1.497, 1.532, 1.602, 1.659, 1.698, 1.698, 1.703, 1.694, 1.688, 1.688, 1.649, 1.588, 1.518, 1.495, 1.495, 1.495, 1.497, 1.532, 1.602, 1.659, 1.698, 1.698, 1.703,
1.698, 1.688, 1.653, 1.597, 1.525, 1.464, 1.429, 1.413, 1.413, 1.437, 1.476, 1.542, 1.606, 1.665, 1.698, 1.703, 1.698, 1.688, 1.653, 1.597, 1.525, 1.464, 1.429, 1.413, 1.413, 1.437, 1.476, 1.542, 1.606, 1.665, 1.698, 1.703,
@ -246,7 +265,8 @@
] ]
}, },
{ {
"ct": 6000, "table": "ct": 6000,
"table":
[ [
2.179, 2.176, 2.176, 2.125, 2.048, 1.975, 1.955, 1.954, 1.954, 1.956, 1.993, 2.071, 2.141, 2.184, 2.185, 2.188, 2.179, 2.176, 2.176, 2.125, 2.048, 1.975, 1.955, 1.954, 1.954, 1.956, 1.993, 2.071, 2.141, 2.184, 2.185, 2.188,
2.189, 2.176, 2.128, 2.063, 1.973, 1.908, 1.872, 1.856, 1.856, 1.876, 1.922, 1.999, 2.081, 2.144, 2.184, 2.192, 2.189, 2.176, 2.128, 2.063, 1.973, 1.908, 1.872, 1.856, 1.856, 1.876, 1.922, 1.999, 2.081, 2.144, 2.184, 2.192,
@ -263,10 +283,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
1.967, 1.961, 1.955, 1.953, 1.954, 1.957, 1.961, 1.963, 1.963, 1.961, 1.959, 1.957, 1.954, 1.951, 1.951, 1.955, 1.967, 1.961, 1.955, 1.953, 1.954, 1.957, 1.961, 1.963, 1.963, 1.961, 1.959, 1.957, 1.954, 1.951, 1.951, 1.955,
1.961, 1.959, 1.957, 1.956, 1.962, 1.967, 1.975, 1.979, 1.979, 1.975, 1.971, 1.967, 1.957, 1.952, 1.951, 1.951, 1.961, 1.959, 1.957, 1.956, 1.962, 1.967, 1.975, 1.979, 1.979, 1.975, 1.971, 1.967, 1.957, 1.952, 1.951, 1.951,
@ -283,7 +303,8 @@
] ]
}, },
{ {
"ct": 3850, "table": "ct": 3850,
"table":
[ [
1.726, 1.724, 1.722, 1.723, 1.731, 1.735, 1.743, 1.746, 1.746, 1.741, 1.735, 1.729, 1.725, 1.721, 1.721, 1.721, 1.726, 1.724, 1.722, 1.723, 1.731, 1.735, 1.743, 1.746, 1.746, 1.741, 1.735, 1.729, 1.725, 1.721, 1.721, 1.721,
1.724, 1.723, 1.723, 1.727, 1.735, 1.744, 1.749, 1.756, 1.756, 1.749, 1.744, 1.735, 1.727, 1.719, 1.719, 1.719, 1.724, 1.723, 1.723, 1.727, 1.735, 1.744, 1.749, 1.756, 1.756, 1.749, 1.744, 1.735, 1.727, 1.719, 1.719, 1.719,
@ -300,7 +321,8 @@
] ]
}, },
{ {
"ct": 6000, "table": "ct": 6000,
"table":
[ [
1.374, 1.372, 1.373, 1.374, 1.375, 1.378, 1.378, 1.381, 1.382, 1.382, 1.378, 1.373, 1.372, 1.369, 1.365, 1.365, 1.374, 1.372, 1.373, 1.374, 1.375, 1.378, 1.378, 1.381, 1.382, 1.382, 1.378, 1.373, 1.372, 1.369, 1.365, 1.365,
1.371, 1.371, 1.372, 1.374, 1.378, 1.381, 1.384, 1.386, 1.388, 1.387, 1.384, 1.377, 1.372, 1.368, 1.364, 1.362, 1.371, 1.371, 1.372, 1.374, 1.378, 1.381, 1.384, 1.386, 1.388, 1.387, 1.384, 1.377, 1.372, 1.368, 1.364, 1.362,
@ -334,79 +356,131 @@
], ],
"sigma": 0.00381, "sigma": 0.00381,
"sigma_Cb": 0.00216 "sigma_Cb": 0.00216
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 2498, "ccm": "ct": 2498,
"ccm":
[ [
1.58731, -0.18011, -0.40721, -0.60639, 2.03422, -0.42782, -0.19612, -1.69203, 2.88815 1.58731, -0.18011, -0.40721,
-0.60639, 2.03422, -0.42782,
-0.19612, -1.69203, 2.88815
] ]
}, },
{ {
"ct": 2811, "ccm": "ct": 2811,
"ccm":
[ [
1.61593, -0.33164, -0.28429, -0.55048, 1.97779, -0.42731, -0.12042, -1.42847, 2.54889 1.61593, -0.33164, -0.28429,
-0.55048, 1.97779, -0.42731,
-0.12042, -1.42847, 2.54889
] ]
}, },
{ {
"ct": 2911, "ccm": "ct": 2911,
"ccm":
[ [
1.62771, -0.41282, -0.21489, -0.57991, 2.04176, -0.46186, -0.07613, -1.13359, 2.20972 1.62771, -0.41282, -0.21489,
-0.57991, 2.04176, -0.46186,
-0.07613, -1.13359, 2.20972
] ]
}, },
{ {
"ct": 2919, "ccm": "ct": 2919,
"ccm":
[ [
1.62661, -0.37736, -0.24925, -0.52519, 1.95233, -0.42714, -0.10842, -1.34929, 2.45771 1.62661, -0.37736, -0.24925,
-0.52519, 1.95233, -0.42714,
-0.10842, -1.34929, 2.45771
] ]
}, },
{ {
"ct": 3627, "ccm": "ct": 3627,
"ccm":
[ [
1.70385, -0.57231, -0.13154, -0.47763, 1.85998, -0.38235, -0.07467, -0.82678, 1.90145 1.70385, -0.57231, -0.13154,
-0.47763, 1.85998, -0.38235,
-0.07467, -0.82678, 1.90145
] ]
}, },
{ {
"ct": 4600, "ccm": "ct": 4600,
"ccm":
[ [
1.68486, -0.61085, -0.07402, -0.41927, 2.04016, -0.62089, -0.08633, -0.67672, 1.76305 1.68486, -0.61085, -0.07402,
-0.41927, 2.04016, -0.62089,
-0.08633, -0.67672, 1.76305
] ]
}, },
{ {
"ct": 5716, "ccm": "ct": 5716,
"ccm":
[ [
1.80439, -0.73699, -0.06739, -0.36073, 1.83327, -0.47255, -0.08378, -0.56403, 1.64781 1.80439, -0.73699, -0.06739,
-0.36073, 1.83327, -0.47255,
-0.08378, -0.56403, 1.64781
] ]
}, },
{ {
"ct": 8575, "ccm": "ct": 8575,
"ccm":
[ [
1.89357, -0.76427, -0.12931, -0.27399, 2.15605, -0.88206, -0.12035, -0.68256, 1.80292 1.89357, -0.76427, -0.12931,
-0.27399, 2.15605, -0.88206,
-0.12035, -0.68256, 1.80292
] ]
} }
] ]
},
"rpi.sharpen":
{
},
"rpi.dpc":
{
} }
},
{
"rpi.sharpen": { }
}
]
} }

View file

@ -1,12 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 4096 "black_level": 4096
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 27685, "reference_shutter_speed": 27685,
@ -14,137 +19,134 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 998, "reference_lux": 998,
"reference_Y": 12744 "reference_Y": 12744
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 3.67 "reference_slope": 3.67
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 204, "offset": 204,
"slope": 0.01633 "slope": 0.01633
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"bayes": 0 "bayes": 0
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 66666 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 10000, 30000, 60000, 66666
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 33333 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 5000, 10000, 20000, 33333
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"long": "long":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 12.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
], ],
"shadows": "shadows": [
[
{ {
"bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target": "bound": "LOWER",
"q_lo": 0.0,
"q_hi": 0.5,
"y_target":
[ [
0, 0.17, 1000, 0.17 0, 0.17,
1000, 0.17
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
] ]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 100, "n_iter": 100,
"luminance_strength": 0.7, "luminance_strength": 0.7,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
1.487, 1.481, 1.481, 1.445, 1.389, 1.327, 1.307, 1.307, 1.307, 1.309, 1.341, 1.405, 1.458, 1.494, 1.494, 1.497, 1.487, 1.481, 1.481, 1.445, 1.389, 1.327, 1.307, 1.307, 1.307, 1.309, 1.341, 1.405, 1.458, 1.494, 1.494, 1.497,
1.491, 1.481, 1.448, 1.397, 1.331, 1.275, 1.243, 1.229, 1.229, 1.249, 1.287, 1.349, 1.409, 1.463, 1.494, 1.497, 1.491, 1.481, 1.448, 1.397, 1.331, 1.275, 1.243, 1.229, 1.229, 1.249, 1.287, 1.349, 1.409, 1.463, 1.494, 1.497,
@ -161,7 +163,8 @@
] ]
}, },
{ {
"ct": 3850, "table": "ct": 3850,
"table":
[ [
1.694, 1.688, 1.688, 1.649, 1.588, 1.518, 1.495, 1.495, 1.495, 1.497, 1.532, 1.602, 1.659, 1.698, 1.698, 1.703, 1.694, 1.688, 1.688, 1.649, 1.588, 1.518, 1.495, 1.495, 1.495, 1.497, 1.532, 1.602, 1.659, 1.698, 1.698, 1.703,
1.698, 1.688, 1.653, 1.597, 1.525, 1.464, 1.429, 1.413, 1.413, 1.437, 1.476, 1.542, 1.606, 1.665, 1.698, 1.703, 1.698, 1.688, 1.653, 1.597, 1.525, 1.464, 1.429, 1.413, 1.413, 1.437, 1.476, 1.542, 1.606, 1.665, 1.698, 1.703,
@ -178,7 +181,8 @@
] ]
}, },
{ {
"ct": 6000, "table": "ct": 6000,
"table":
[ [
2.179, 2.176, 2.176, 2.125, 2.048, 1.975, 1.955, 1.954, 1.954, 1.956, 1.993, 2.071, 2.141, 2.184, 2.185, 2.188, 2.179, 2.176, 2.176, 2.125, 2.048, 1.975, 1.955, 1.954, 1.954, 1.956, 1.993, 2.071, 2.141, 2.184, 2.185, 2.188,
2.189, 2.176, 2.128, 2.063, 1.973, 1.908, 1.872, 1.856, 1.856, 1.876, 1.922, 1.999, 2.081, 2.144, 2.184, 2.192, 2.189, 2.176, 2.128, 2.063, 1.973, 1.908, 1.872, 1.856, 1.856, 1.876, 1.922, 1.999, 2.081, 2.144, 2.184, 2.192,
@ -195,10 +199,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
1.967, 1.961, 1.955, 1.953, 1.954, 1.957, 1.961, 1.963, 1.963, 1.961, 1.959, 1.957, 1.954, 1.951, 1.951, 1.955, 1.967, 1.961, 1.955, 1.953, 1.954, 1.957, 1.961, 1.963, 1.963, 1.961, 1.959, 1.957, 1.954, 1.951, 1.951, 1.955,
1.961, 1.959, 1.957, 1.956, 1.962, 1.967, 1.975, 1.979, 1.979, 1.975, 1.971, 1.967, 1.957, 1.952, 1.951, 1.951, 1.961, 1.959, 1.957, 1.956, 1.962, 1.967, 1.975, 1.979, 1.979, 1.975, 1.971, 1.967, 1.957, 1.952, 1.951, 1.951,
@ -215,7 +219,8 @@
] ]
}, },
{ {
"ct": 3850, "table": "ct": 3850,
"table":
[ [
1.726, 1.724, 1.722, 1.723, 1.731, 1.735, 1.743, 1.746, 1.746, 1.741, 1.735, 1.729, 1.725, 1.721, 1.721, 1.721, 1.726, 1.724, 1.722, 1.723, 1.731, 1.735, 1.743, 1.746, 1.746, 1.741, 1.735, 1.729, 1.725, 1.721, 1.721, 1.721,
1.724, 1.723, 1.723, 1.727, 1.735, 1.744, 1.749, 1.756, 1.756, 1.749, 1.744, 1.735, 1.727, 1.719, 1.719, 1.719, 1.724, 1.723, 1.723, 1.727, 1.735, 1.744, 1.749, 1.756, 1.756, 1.749, 1.744, 1.735, 1.727, 1.719, 1.719, 1.719,
@ -232,7 +237,8 @@
] ]
}, },
{ {
"ct": 6000, "table": "ct": 6000,
"table":
[ [
1.374, 1.372, 1.373, 1.374, 1.375, 1.378, 1.378, 1.381, 1.382, 1.382, 1.378, 1.373, 1.372, 1.369, 1.365, 1.365, 1.374, 1.372, 1.373, 1.374, 1.375, 1.378, 1.378, 1.381, 1.382, 1.382, 1.378, 1.373, 1.372, 1.369, 1.365, 1.365,
1.371, 1.371, 1.372, 1.374, 1.378, 1.381, 1.384, 1.386, 1.388, 1.387, 1.384, 1.377, 1.372, 1.368, 1.364, 1.362, 1.371, 1.371, 1.372, 1.374, 1.378, 1.381, 1.384, 1.386, 1.388, 1.387, 1.384, 1.377, 1.372, 1.368, 1.364, 1.362,
@ -266,79 +272,131 @@
], ],
"sigma": 0.00381, "sigma": 0.00381,
"sigma_Cb": 0.00216 "sigma_Cb": 0.00216
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 2498, "ccm": "ct": 2498,
"ccm":
[ [
1.58731, -0.18011, -0.40721, -0.60639, 2.03422, -0.42782, -0.19612, -1.69203, 2.88815 1.58731, -0.18011, -0.40721,
-0.60639, 2.03422, -0.42782,
-0.19612, -1.69203, 2.88815
] ]
}, },
{ {
"ct": 2811, "ccm": "ct": 2811,
"ccm":
[ [
1.61593, -0.33164, -0.28429, -0.55048, 1.97779, -0.42731, -0.12042, -1.42847, 2.54889 1.61593, -0.33164, -0.28429,
-0.55048, 1.97779, -0.42731,
-0.12042, -1.42847, 2.54889
] ]
}, },
{ {
"ct": 2911, "ccm": "ct": 2911,
"ccm":
[ [
1.62771, -0.41282, -0.21489, -0.57991, 2.04176, -0.46186, -0.07613, -1.13359, 2.20972 1.62771, -0.41282, -0.21489,
-0.57991, 2.04176, -0.46186,
-0.07613, -1.13359, 2.20972
] ]
}, },
{ {
"ct": 2919, "ccm": "ct": 2919,
"ccm":
[ [
1.62661, -0.37736, -0.24925, -0.52519, 1.95233, -0.42714, -0.10842, -1.34929, 2.45771 1.62661, -0.37736, -0.24925,
-0.52519, 1.95233, -0.42714,
-0.10842, -1.34929, 2.45771
] ]
}, },
{ {
"ct": 3627, "ccm": "ct": 3627,
"ccm":
[ [
1.70385, -0.57231, -0.13154, -0.47763, 1.85998, -0.38235, -0.07467, -0.82678, 1.90145 1.70385, -0.57231, -0.13154,
-0.47763, 1.85998, -0.38235,
-0.07467, -0.82678, 1.90145
] ]
}, },
{ {
"ct": 4600, "ccm": "ct": 4600,
"ccm":
[ [
1.68486, -0.61085, -0.07402, -0.41927, 2.04016, -0.62089, -0.08633, -0.67672, 1.76305 1.68486, -0.61085, -0.07402,
-0.41927, 2.04016, -0.62089,
-0.08633, -0.67672, 1.76305
] ]
}, },
{ {
"ct": 5716, "ccm": "ct": 5716,
"ccm":
[ [
1.80439, -0.73699, -0.06739, -0.36073, 1.83327, -0.47255, -0.08378, -0.56403, 1.64781 1.80439, -0.73699, -0.06739,
-0.36073, 1.83327, -0.47255,
-0.08378, -0.56403, 1.64781
] ]
}, },
{ {
"ct": 8575, "ccm": "ct": 8575,
"ccm":
[ [
1.89357, -0.76427, -0.12931, -0.27399, 2.15605, -0.88206, -0.12035, -0.68256, 1.80292 1.89357, -0.76427, -0.12931,
-0.27399, 2.15605, -0.88206,
-0.12035, -0.68256, 1.80292
] ]
} }
] ]
},
"rpi.sharpen":
{
},
"rpi.dpc":
{
} }
},
{
"rpi.sharpen": { }
}
]
} }

View file

@ -1,11 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 3840 "black_level": 3840
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 6813, "reference_shutter_speed": 6813,
@ -13,24 +19,32 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 890, "reference_lux": 890,
"reference_Y": 12900 "reference_Y": 12900
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 2.67 "reference_slope": 2.67
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 187, "offset": 187,
"slope": 0.00842 "slope": 0.00842
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"bayes": 0 "bayes": 0
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"speed": 0.2, "speed": 0.2,
@ -38,77 +52,65 @@
{ {
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
}, },
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 10, 30000, 60000 ],
[ "gain": [ 1.0, 2.0, 8.0 ]
10, 30000, 60000
],
"gain":
[
1.0, 2.0, 8.0
]
}, },
"sport": "sport":
{ {
"shutter": "shutter": [ 10, 5000, 10000, 20000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
10, 5000, 10000, 20000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [ ],
[ "highlight": [
],
"highlight":
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.16, 10000, 0.16 0, 0.16,
1000, 0.16,
10000, 0.16
] ]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
@ -131,35 +133,71 @@
], ],
"sigma": 0.005, "sigma": 0.005,
"sigma_Cb": 0.005 "sigma_Cb": 0.005
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
"rpi.sharpen":
{ {
"rpi.sharpen": { }
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 3900, "ccm": "ct": 3900,
"ccm":
[ [
1.54659, -0.17707, -0.36953, -0.51471, 1.72733, -0.21262, 0.06667, -0.92279, 1.85612 1.54659, -0.17707, -0.36953,
-0.51471, 1.72733, -0.21262,
0.06667, -0.92279, 1.85612
] ]
} }
] ]
}
}, },
"rpi.focus":
{ {
"rpi.focus": { }
} }
]
} }

View file

@ -1,11 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 4096 "black_level": 4096
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 19184, "reference_shutter_speed": 19184,
@ -13,112 +19,111 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 432, "reference_lux": 432,
"reference_Y": 13773 "reference_Y": 13773
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 2.957 "reference_slope": 2.957
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 185, "offset": 185,
"slope": 0.0105 "slope": 0.0105
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 6.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 6.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 6.0 ]
100, 5000, 10000, 20000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 6.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
] ]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 0, "n_iter": 0,
"luminance_strength": 0.5, "luminance_strength": 0.5,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 4000, "table": "ct": 4000,
"table":
[ [
2.554, 2.554, 2.541, 2.534, 2.495, 2.506, 2.516, 2.517, 2.518, 2.515, 2.513, 2.495, 2.481, 2.533, 2.533, 2.521, 2.554, 2.554, 2.541, 2.534, 2.495, 2.506, 2.516, 2.517, 2.518, 2.515, 2.513, 2.495, 2.481, 2.533, 2.533, 2.521,
2.522, 2.534, 2.539, 2.531, 2.531, 2.506, 2.506, 2.513, 2.513, 2.509, 2.498, 2.496, 2.508, 2.517, 2.521, 2.521, 2.522, 2.534, 2.539, 2.531, 2.531, 2.506, 2.506, 2.513, 2.513, 2.509, 2.498, 2.496, 2.508, 2.517, 2.521, 2.521,
@ -135,10 +140,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 4000, "table": "ct": 4000,
"table":
[ [
2.619, 2.603, 2.599, 2.597, 2.595, 2.594, 2.589, 2.587, 2.586, 2.589, 2.592, 2.597, 2.601, 2.608, 2.621, 2.621, 2.619, 2.603, 2.599, 2.597, 2.595, 2.594, 2.589, 2.587, 2.586, 2.589, 2.592, 2.597, 2.601, 2.608, 2.621, 2.621,
2.619, 2.615, 2.603, 2.601, 2.596, 2.595, 2.591, 2.589, 2.589, 2.592, 2.599, 2.593, 2.601, 2.613, 2.622, 2.631, 2.619, 2.615, 2.603, 2.601, 2.596, 2.595, 2.591, 2.589, 2.589, 2.592, 2.599, 2.593, 2.601, 2.613, 2.622, 2.631,
@ -172,20 +177,52 @@
], ],
"sigma": 0.005, "sigma": 0.005,
"sigma_Cb": 0.005 "sigma_Cb": 0.005
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
},
"rpi.sharpen":
{
} }
},
{
"rpi.sharpen": { }
}
]
} }

View file

@ -1,11 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 4096 "black_level": 4096
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 9999, "reference_shutter_speed": 9999,
@ -13,40 +19,57 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 1000, "reference_lux": 1000,
"reference_Y": 12996 "reference_Y": 12996
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 2.641 "reference_slope": 2.641
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 235, "offset": 235,
"slope": 0.00902 "slope": 0.00902
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"priors": "priors": [
[
{ {
"lux": 0, "prior": "lux": 0,
"prior":
[ [
2000, 1.0, 3000, 0.0, 13000, 0.0 2000, 1.0,
3000, 0.0,
13000, 0.0
] ]
}, },
{ {
"lux": 800, "prior": "lux": 800,
"prior":
[ [
2000, 0.0, 6000, 2.0, 13000, 2.0 2000, 0.0,
6000, 2.0,
13000, 2.0
] ]
}, },
{ {
"lux": 1500, "prior": "lux": 1500,
"prior":
[ [
2000, 0.0, 4000, 1.0, 6000, 6.0, 6500, 7.0, 7000, 1.0, 13000, 1.0 2000, 0.0,
4000, 1.0,
6000, 6.0,
6500, 7.0,
7000, 1.0,
13000, 1.0
] ]
} }
], ],
@ -91,105 +114,104 @@
"bayes": 1, "bayes": 1,
"ct_curve": "ct_curve":
[ [
2850.0, 0.6361, 0.3911, 3550.0, 0.5386, 0.5077, 4500.0, 0.4472, 0.6171, 5600.0, 0.3906, 0.6848, 8000.0, 0.3412, 0.7441 2850.0, 0.6361, 0.3911,
3550.0, 0.5386, 0.5077,
4500.0, 0.4472, 0.6171,
5600.0, 0.3906, 0.6848,
8000.0, 0.3412, 0.7441
], ],
"sensitivity_r": 1.0, "sensitivity_r": 1.0,
"sensitivity_b": 1.0, "sensitivity_b": 1.0,
"transverse_pos": 0.01667, "transverse_pos": 0.01667,
"transverse_neg": 0.01195 "transverse_neg": 0.01195
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 5000, 10000, 20000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
] ]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 100, "n_iter": 100,
"luminance_strength": 0.5, "luminance_strength": 0.5,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 2800, "table": "ct": 2800,
"table":
[ [
1.604, 1.601, 1.593, 1.581, 1.568, 1.561, 1.561, 1.561, 1.561, 1.567, 1.582, 1.596, 1.609, 1.622, 1.632, 1.636, 1.604, 1.601, 1.593, 1.581, 1.568, 1.561, 1.561, 1.561, 1.561, 1.567, 1.582, 1.596, 1.609, 1.622, 1.632, 1.636,
1.601, 1.594, 1.586, 1.571, 1.555, 1.546, 1.543, 1.543, 1.547, 1.555, 1.572, 1.584, 1.599, 1.614, 1.625, 1.632, 1.601, 1.594, 1.586, 1.571, 1.555, 1.546, 1.543, 1.543, 1.547, 1.555, 1.572, 1.584, 1.599, 1.614, 1.625, 1.632,
@ -206,7 +228,8 @@
] ]
}, },
{ {
"ct": 5500, "table": "ct": 5500,
"table":
[ [
2.664, 2.658, 2.645, 2.629, 2.602, 2.602, 2.602, 2.606, 2.617, 2.628, 2.649, 2.677, 2.699, 2.722, 2.736, 2.747, 2.664, 2.658, 2.645, 2.629, 2.602, 2.602, 2.602, 2.606, 2.617, 2.628, 2.649, 2.677, 2.699, 2.722, 2.736, 2.747,
2.658, 2.653, 2.629, 2.605, 2.576, 2.575, 2.577, 2.592, 2.606, 2.618, 2.629, 2.651, 2.678, 2.707, 2.727, 2.741, 2.658, 2.653, 2.629, 2.605, 2.576, 2.575, 2.577, 2.592, 2.606, 2.618, 2.629, 2.651, 2.678, 2.707, 2.727, 2.741,
@ -223,10 +246,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 2800, "table": "ct": 2800,
"table":
[ [
2.876, 2.868, 2.863, 2.851, 2.846, 2.846, 2.847, 2.851, 2.851, 2.857, 2.867, 2.875, 2.889, 2.899, 2.913, 2.926, 2.876, 2.868, 2.863, 2.851, 2.846, 2.846, 2.847, 2.851, 2.851, 2.857, 2.867, 2.875, 2.889, 2.899, 2.913, 2.926,
2.863, 2.861, 2.856, 2.846, 2.846, 2.847, 2.848, 2.851, 2.857, 2.859, 2.875, 2.882, 2.886, 2.896, 2.909, 2.917, 2.863, 2.861, 2.856, 2.846, 2.846, 2.847, 2.848, 2.851, 2.857, 2.859, 2.875, 2.882, 2.886, 2.896, 2.909, 2.917,
@ -243,7 +266,8 @@
] ]
}, },
{ {
"ct": 5500, "table": "ct": 5500,
"table":
[ [
1.488, 1.488, 1.488, 1.488, 1.491, 1.492, 1.492, 1.491, 1.491, 1.491, 1.492, 1.495, 1.497, 1.499, 1.499, 1.503, 1.488, 1.488, 1.488, 1.488, 1.491, 1.492, 1.492, 1.491, 1.491, 1.491, 1.492, 1.495, 1.497, 1.499, 1.499, 1.503,
1.482, 1.485, 1.485, 1.487, 1.489, 1.492, 1.492, 1.492, 1.492, 1.492, 1.494, 1.494, 1.492, 1.491, 1.493, 1.494, 1.482, 1.485, 1.485, 1.487, 1.489, 1.492, 1.492, 1.492, 1.492, 1.492, 1.494, 1.494, 1.492, 1.491, 1.493, 1.494,
@ -277,62 +301,113 @@
], ],
"sigma": 0.00428, "sigma": 0.00428,
"sigma_Cb": 0.00363 "sigma_Cb": 0.00363
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 2850, "ccm": "ct": 2850,
"ccm":
[ [
1.42601, -0.20537, -0.22063, -0.47682, 1.81987, -0.34305, 0.01854, -0.86036, 1.84181 1.42601, -0.20537, -0.22063,
-0.47682, 1.81987, -0.34305,
0.01854, -0.86036, 1.84181
] ]
}, },
{ {
"ct": 2900, "ccm": "ct": 2900,
"ccm":
[ [
1.29755, 0.04602, -0.34356, -0.41491, 1.73477, -0.31987, -0.01345, -0.97115, 1.98459 1.29755, 0.04602, -0.34356,
-0.41491, 1.73477, -0.31987,
-0.01345, -0.97115, 1.98459
] ]
}, },
{ {
"ct": 3550, "ccm": "ct": 3550,
"ccm":
[ [
1.49811, -0.33412, -0.16398, -0.40869, 1.72995, -0.32127, -0.01924, -0.62181, 1.64105 1.49811, -0.33412, -0.16398,
-0.40869, 1.72995, -0.32127,
-0.01924, -0.62181, 1.64105
] ]
}, },
{ {
"ct": 4500, "ccm": "ct": 4500,
"ccm":
[ [
1.47015, -0.29229, -0.17786, -0.36561, 1.88919, -0.52358, -0.03552, -0.56717, 1.60269 1.47015, -0.29229, -0.17786,
-0.36561, 1.88919, -0.52358,
-0.03552, -0.56717, 1.60269
] ]
}, },
{ {
"ct": 5600, "ccm": "ct": 5600,
"ccm":
[ [
1.60962, -0.47434, -0.13528, -0.32701, 1.73797, -0.41096, -0.07626, -0.40171, 1.47796 1.60962, -0.47434, -0.13528,
-0.32701, 1.73797, -0.41096,
-0.07626, -0.40171, 1.47796
] ]
}, },
{ {
"ct": 8000, "ccm": "ct": 8000,
"ccm":
[ [
1.54642, -0.20396, -0.34246, -0.31748, 2.22559, -0.90811, -0.10035, -0.65877, 1.75912 1.54642, -0.20396, -0.34246,
-0.31748, 2.22559, -0.90811,
-0.10035, -0.65877, 1.75912
] ]
} }
] ]
},
"rpi.sharpen":
{
} }
},
{
"rpi.sharpen": { }
}
]
} }

View file

@ -1,12 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 4096 "black_level": 4096
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 27242, "reference_shutter_speed": 27242,
@ -14,41 +19,57 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 830, "reference_lux": 830,
"reference_Y": 17755 "reference_Y": 17755
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 2.767 "reference_slope": 2.767
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 204, "offset": 204,
"slope": 0.01078 "slope": 0.01078
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"priors": "priors": [
[
{ {
"lux": 0, "prior": "lux": 0,
"prior":
[ [
2000, 1.0, 3000, 0.0, 13000, 0.0 2000, 1.0,
3000, 0.0,
13000, 0.0
] ]
}, },
{ {
"lux": 800, "prior": "lux": 800,
"prior":
[ [
2000, 0.0, 6000, 2.0, 13000, 2.0 2000, 0.0,
6000, 2.0,
13000, 2.0
] ]
}, },
{ {
"lux": 1500, "prior": "lux": 1500,
"prior":
[ [
2000, 0.0, 4000, 1.0, 6000, 6.0, 6500, 7.0, 7000, 1.0, 13000, 1.0 2000, 0.0,
4000, 1.0,
6000, 6.0,
6500, 7.0,
7000, 1.0,
13000, 1.0
] ]
} }
], ],
@ -93,126 +114,126 @@
"bayes": 1, "bayes": 1,
"ct_curve": "ct_curve":
[ [
2360.0, 0.6009, 0.3093, 2870.0, 0.5047, 0.3936, 2970.0, 0.4782, 0.4221, 3700.0, 0.4212, 0.4923, 3870.0, 0.4037, 0.5166, 4000.0, 2360.0, 0.6009, 0.3093,
0.3965, 0.5271, 4400.0, 0.3703, 0.5666, 4715.0, 0.3411, 0.6147, 5920.0, 0.3108, 0.6687, 9050.0, 0.2524, 0.7856 2870.0, 0.5047, 0.3936,
2970.0, 0.4782, 0.4221,
3700.0, 0.4212, 0.4923,
3870.0, 0.4037, 0.5166,
4000.0, 0.3965, 0.5271,
4400.0, 0.3703, 0.5666,
4715.0, 0.3411, 0.6147,
5920.0, 0.3108, 0.6687,
9050.0, 0.2524, 0.7856
], ],
"sensitivity_r": 1.05, "sensitivity_r": 1.05,
"sensitivity_b": 1.05, "sensitivity_b": 1.05,
"transverse_pos": 0.0238, "transverse_pos": 0.0238,
"transverse_neg": 0.04429 "transverse_neg": 0.04429
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 66666 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 10000, 30000, 60000, 66666
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 33333 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 5000, 10000, 20000, 33333
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"long": "long":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 12.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.3, 1000, 0.3 0, 0.3,
1000, 0.3
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.3, 1000, 0.3 0, 0.3,
1000, 0.3
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
], ],
"shadows": "shadows": [
[
{ {
"bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target": "bound": "LOWER",
"q_lo": 0.0,
"q_hi": 0.5,
"y_target":
[ [
0, 0.17, 1000, 0.17 0, 0.17,
1000, 0.17
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
] ]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 100, "n_iter": 100,
"luminance_strength": 0.5, "luminance_strength": 0.5,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 2960, "table": "ct": 2960,
"table":
[ [
2.088, 2.086, 2.082, 2.081, 2.077, 2.071, 2.068, 2.068, 2.072, 2.073, 2.075, 2.078, 2.084, 2.092, 2.095, 2.098, 2.088, 2.086, 2.082, 2.081, 2.077, 2.071, 2.068, 2.068, 2.072, 2.073, 2.075, 2.078, 2.084, 2.092, 2.095, 2.098,
2.086, 2.084, 2.079, 2.078, 2.075, 2.068, 2.064, 2.063, 2.068, 2.071, 2.072, 2.075, 2.081, 2.089, 2.092, 2.094, 2.086, 2.084, 2.079, 2.078, 2.075, 2.068, 2.064, 2.063, 2.068, 2.071, 2.072, 2.075, 2.081, 2.089, 2.092, 2.094,
@ -229,7 +250,8 @@
] ]
}, },
{ {
"ct": 4850, "table": "ct": 4850,
"table":
[ [
2.973, 2.968, 2.956, 2.943, 2.941, 2.932, 2.923, 2.921, 2.924, 2.929, 2.931, 2.939, 2.953, 2.965, 2.966, 2.976, 2.973, 2.968, 2.956, 2.943, 2.941, 2.932, 2.923, 2.921, 2.924, 2.929, 2.931, 2.939, 2.953, 2.965, 2.966, 2.976,
2.969, 2.962, 2.951, 2.941, 2.934, 2.928, 2.919, 2.918, 2.919, 2.923, 2.927, 2.933, 2.945, 2.957, 2.962, 2.962, 2.969, 2.962, 2.951, 2.941, 2.934, 2.928, 2.919, 2.918, 2.919, 2.923, 2.927, 2.933, 2.945, 2.957, 2.962, 2.962,
@ -246,7 +268,8 @@
] ]
}, },
{ {
"ct": 5930, "table": "ct": 5930,
"table":
[ [
3.312, 3.308, 3.301, 3.294, 3.288, 3.277, 3.268, 3.261, 3.259, 3.261, 3.267, 3.273, 3.285, 3.301, 3.303, 3.312, 3.312, 3.308, 3.301, 3.294, 3.288, 3.277, 3.268, 3.261, 3.259, 3.261, 3.267, 3.273, 3.285, 3.301, 3.303, 3.312,
3.308, 3.304, 3.294, 3.291, 3.283, 3.271, 3.263, 3.259, 3.257, 3.258, 3.261, 3.268, 3.278, 3.293, 3.299, 3.299, 3.308, 3.304, 3.294, 3.291, 3.283, 3.271, 3.263, 3.259, 3.257, 3.258, 3.261, 3.268, 3.278, 3.293, 3.299, 3.299,
@ -263,10 +286,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 2960, "table": "ct": 2960,
"table":
[ [
2.133, 2.134, 2.139, 2.143, 2.148, 2.155, 2.158, 2.158, 2.158, 2.161, 2.161, 2.162, 2.159, 2.156, 2.152, 2.151, 2.133, 2.134, 2.139, 2.143, 2.148, 2.155, 2.158, 2.158, 2.158, 2.161, 2.161, 2.162, 2.159, 2.156, 2.152, 2.151,
2.132, 2.133, 2.135, 2.142, 2.147, 2.153, 2.158, 2.158, 2.158, 2.158, 2.159, 2.159, 2.157, 2.154, 2.151, 2.148, 2.132, 2.133, 2.135, 2.142, 2.147, 2.153, 2.158, 2.158, 2.158, 2.158, 2.159, 2.159, 2.157, 2.154, 2.151, 2.148,
@ -283,7 +306,8 @@
] ]
}, },
{ {
"ct": 4850, "table": "ct": 4850,
"table":
[ [
1.463, 1.464, 1.471, 1.478, 1.479, 1.483, 1.484, 1.486, 1.486, 1.484, 1.483, 1.481, 1.478, 1.475, 1.471, 1.468, 1.463, 1.464, 1.471, 1.478, 1.479, 1.483, 1.484, 1.486, 1.486, 1.484, 1.483, 1.481, 1.478, 1.475, 1.471, 1.468,
1.463, 1.463, 1.468, 1.476, 1.479, 1.482, 1.484, 1.487, 1.486, 1.484, 1.483, 1.482, 1.478, 1.473, 1.469, 1.468, 1.463, 1.463, 1.468, 1.476, 1.479, 1.482, 1.484, 1.487, 1.486, 1.484, 1.483, 1.482, 1.478, 1.473, 1.469, 1.468,
@ -300,7 +324,8 @@
] ]
}, },
{ {
"ct": 5930, "table": "ct": 5930,
"table":
[ [
1.443, 1.444, 1.448, 1.453, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.466, 1.462, 1.457, 1.454, 1.451, 1.443, 1.444, 1.448, 1.453, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.466, 1.462, 1.457, 1.454, 1.451,
1.443, 1.444, 1.445, 1.451, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.451, 1.443, 1.444, 1.445, 1.451, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.451,
@ -334,97 +359,161 @@
], ],
"sigma": 0.00121, "sigma": 0.00121,
"sigma_Cb": 0.00115 "sigma_Cb": 0.00115
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 2360, "ccm": "ct": 2360,
"ccm":
[ [
1.66078, -0.23588, -0.42491, -0.47456, 1.82763, -0.35307, -0.00545, -1.44729, 2.45273 1.66078, -0.23588, -0.42491,
-0.47456, 1.82763, -0.35307,
-0.00545, -1.44729, 2.45273
] ]
}, },
{ {
"ct": 2870, "ccm": "ct": 2870,
"ccm":
[ [
1.78373, -0.55344, -0.23029, -0.39951, 1.69701, -0.29751, 0.01986, -1.06525, 2.04539 1.78373, -0.55344, -0.23029,
-0.39951, 1.69701, -0.29751,
0.01986, -1.06525, 2.04539
] ]
}, },
{ {
"ct": 2970, "ccm": "ct": 2970,
"ccm":
[ [
1.73511, -0.56973, -0.16537, -0.36338, 1.69878, -0.33539, -0.02354, -0.76813, 1.79168 1.73511, -0.56973, -0.16537,
-0.36338, 1.69878, -0.33539,
-0.02354, -0.76813, 1.79168
] ]
}, },
{ {
"ct": 3000, "ccm": "ct": 3000,
"ccm":
[ [
2.06374, -0.92218, -0.14156, -0.41721, 1.69289, -0.27568, -0.00554, -0.92741, 1.93295 2.06374, -0.92218, -0.14156,
-0.41721, 1.69289, -0.27568,
-0.00554, -0.92741, 1.93295
] ]
}, },
{ {
"ct": 3700, "ccm": "ct": 3700,
"ccm":
[ [
2.13792, -1.08136, -0.05655, -0.34739, 1.58989, -0.24249, -0.00349, -0.76789, 1.77138 2.13792, -1.08136, -0.05655,
-0.34739, 1.58989, -0.24249,
-0.00349, -0.76789, 1.77138
] ]
}, },
{ {
"ct": 3870, "ccm": "ct": 3870,
"ccm":
[ [
1.83834, -0.70528, -0.13307, -0.30499, 1.60523, -0.30024, -0.05701, -0.58313, 1.64014 1.83834, -0.70528, -0.13307,
-0.30499, 1.60523, -0.30024,
-0.05701, -0.58313, 1.64014
] ]
}, },
{ {
"ct": 4000, "ccm": "ct": 4000,
"ccm":
[ [
2.15741, -1.10295, -0.05447, -0.34631, 1.61158, -0.26528, -0.02723, -0.70288, 1.73011 2.15741, -1.10295, -0.05447,
-0.34631, 1.61158, -0.26528,
-0.02723, -0.70288, 1.73011
] ]
}, },
{ {
"ct": 4400, "ccm": "ct": 4400,
"ccm":
[ [
2.05729, -0.95007, -0.10723, -0.41712, 1.78606, -0.36894, -0.11899, -0.55727, 1.67626 2.05729, -0.95007, -0.10723,
] -0.41712, 1.78606, -0.36894,
}, -0.11899, -0.55727, 1.67626
{
"ct": 4715, "ccm":
[
1.90255, -0.77478, -0.12777, -0.31338, 1.88197, -0.56858, -0.06001, -0.61785, 1.67786
] ]
}, },
{ {
"ct": 5920, "ccm": "ct": 4715,
"ccm":
[ [
1.98691, -0.84671, -0.14019, -0.26581, 1.70615, -0.44035, -0.09532, -0.47332, 1.56864 1.90255, -0.77478, -0.12777,
-0.31338, 1.88197, -0.56858,
-0.06001, -0.61785, 1.67786
] ]
}, },
{ {
"ct": 9050, "ccm": "ct": 5920,
"ccm":
[ [
2.09255, -0.76541, -0.32714, -0.28973, 2.27462, -0.98489, -0.17299, -0.61275, 1.78574 1.98691, -0.84671, -0.14019,
-0.26581, 1.70615, -0.44035,
-0.09532, -0.47332, 1.56864
]
},
{
"ct": 9050,
"ccm":
[
2.09255, -0.76541, -0.32714,
-0.28973, 2.27462, -0.98489,
-0.17299, -0.61275, 1.78574
] ]
} }
] ]
},
"rpi.sharpen":
{
},
"rpi.focus":
{
} }
},
{
"rpi.sharpen": { }
},
{
"rpi.focus": { }
}
]
} }

View file

@ -1,12 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 4096 "black_level": 4096
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 27242, "reference_shutter_speed": 27242,
@ -14,137 +19,134 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 830, "reference_lux": 830,
"reference_Y": 17755 "reference_Y": 17755
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 2.767 "reference_slope": 2.767
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 204, "offset": 204,
"slope": 0.01078 "slope": 0.01078
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"bayes": 0 "bayes": 0
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 66666 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 10000, 30000, 60000, 66666
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 33333 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 5000, 10000, 20000, 33333
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"long": "long":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 12.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.3, 1000, 0.3 0, 0.3,
1000, 0.3
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.3, 1000, 0.3 0, 0.3,
1000, 0.3
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
], ],
"shadows": "shadows": [
[
{ {
"bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target": "bound": "LOWER",
"q_lo": 0.0,
"q_hi": 0.5,
"y_target":
[ [
0, 0.17, 1000, 0.17 0, 0.17,
1000, 0.17
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
] ]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 100, "n_iter": 100,
"luminance_strength": 0.5, "luminance_strength": 0.5,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 2960, "table": "ct": 2960,
"table":
[ [
2.088, 2.086, 2.082, 2.081, 2.077, 2.071, 2.068, 2.068, 2.072, 2.073, 2.075, 2.078, 2.084, 2.092, 2.095, 2.098, 2.088, 2.086, 2.082, 2.081, 2.077, 2.071, 2.068, 2.068, 2.072, 2.073, 2.075, 2.078, 2.084, 2.092, 2.095, 2.098,
2.086, 2.084, 2.079, 2.078, 2.075, 2.068, 2.064, 2.063, 2.068, 2.071, 2.072, 2.075, 2.081, 2.089, 2.092, 2.094, 2.086, 2.084, 2.079, 2.078, 2.075, 2.068, 2.064, 2.063, 2.068, 2.071, 2.072, 2.075, 2.081, 2.089, 2.092, 2.094,
@ -161,7 +163,8 @@
] ]
}, },
{ {
"ct": 4850, "table": "ct": 4850,
"table":
[ [
2.973, 2.968, 2.956, 2.943, 2.941, 2.932, 2.923, 2.921, 2.924, 2.929, 2.931, 2.939, 2.953, 2.965, 2.966, 2.976, 2.973, 2.968, 2.956, 2.943, 2.941, 2.932, 2.923, 2.921, 2.924, 2.929, 2.931, 2.939, 2.953, 2.965, 2.966, 2.976,
2.969, 2.962, 2.951, 2.941, 2.934, 2.928, 2.919, 2.918, 2.919, 2.923, 2.927, 2.933, 2.945, 2.957, 2.962, 2.962, 2.969, 2.962, 2.951, 2.941, 2.934, 2.928, 2.919, 2.918, 2.919, 2.923, 2.927, 2.933, 2.945, 2.957, 2.962, 2.962,
@ -178,7 +181,8 @@
] ]
}, },
{ {
"ct": 5930, "table": "ct": 5930,
"table":
[ [
3.312, 3.308, 3.301, 3.294, 3.288, 3.277, 3.268, 3.261, 3.259, 3.261, 3.267, 3.273, 3.285, 3.301, 3.303, 3.312, 3.312, 3.308, 3.301, 3.294, 3.288, 3.277, 3.268, 3.261, 3.259, 3.261, 3.267, 3.273, 3.285, 3.301, 3.303, 3.312,
3.308, 3.304, 3.294, 3.291, 3.283, 3.271, 3.263, 3.259, 3.257, 3.258, 3.261, 3.268, 3.278, 3.293, 3.299, 3.299, 3.308, 3.304, 3.294, 3.291, 3.283, 3.271, 3.263, 3.259, 3.257, 3.258, 3.261, 3.268, 3.278, 3.293, 3.299, 3.299,
@ -195,10 +199,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 2960, "table": "ct": 2960,
"table":
[ [
2.133, 2.134, 2.139, 2.143, 2.148, 2.155, 2.158, 2.158, 2.158, 2.161, 2.161, 2.162, 2.159, 2.156, 2.152, 2.151, 2.133, 2.134, 2.139, 2.143, 2.148, 2.155, 2.158, 2.158, 2.158, 2.161, 2.161, 2.162, 2.159, 2.156, 2.152, 2.151,
2.132, 2.133, 2.135, 2.142, 2.147, 2.153, 2.158, 2.158, 2.158, 2.158, 2.159, 2.159, 2.157, 2.154, 2.151, 2.148, 2.132, 2.133, 2.135, 2.142, 2.147, 2.153, 2.158, 2.158, 2.158, 2.158, 2.159, 2.159, 2.157, 2.154, 2.151, 2.148,
@ -215,7 +219,8 @@
] ]
}, },
{ {
"ct": 4850, "table": "ct": 4850,
"table":
[ [
1.463, 1.464, 1.471, 1.478, 1.479, 1.483, 1.484, 1.486, 1.486, 1.484, 1.483, 1.481, 1.478, 1.475, 1.471, 1.468, 1.463, 1.464, 1.471, 1.478, 1.479, 1.483, 1.484, 1.486, 1.486, 1.484, 1.483, 1.481, 1.478, 1.475, 1.471, 1.468,
1.463, 1.463, 1.468, 1.476, 1.479, 1.482, 1.484, 1.487, 1.486, 1.484, 1.483, 1.482, 1.478, 1.473, 1.469, 1.468, 1.463, 1.463, 1.468, 1.476, 1.479, 1.482, 1.484, 1.487, 1.486, 1.484, 1.483, 1.482, 1.478, 1.473, 1.469, 1.468,
@ -232,7 +237,8 @@
] ]
}, },
{ {
"ct": 5930, "table": "ct": 5930,
"table":
[ [
1.443, 1.444, 1.448, 1.453, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.466, 1.462, 1.457, 1.454, 1.451, 1.443, 1.444, 1.448, 1.453, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.466, 1.462, 1.457, 1.454, 1.451,
1.443, 1.444, 1.445, 1.451, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.451, 1.443, 1.444, 1.445, 1.451, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.451,
@ -266,97 +272,161 @@
], ],
"sigma": 0.00121, "sigma": 0.00121,
"sigma_Cb": 0.00115 "sigma_Cb": 0.00115
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 2360, "ccm": "ct": 2360,
"ccm":
[ [
1.66078, -0.23588, -0.42491, -0.47456, 1.82763, -0.35307, -0.00545, -1.44729, 2.45273 1.66078, -0.23588, -0.42491,
-0.47456, 1.82763, -0.35307,
-0.00545, -1.44729, 2.45273
] ]
}, },
{ {
"ct": 2870, "ccm": "ct": 2870,
"ccm":
[ [
1.78373, -0.55344, -0.23029, -0.39951, 1.69701, -0.29751, 0.01986, -1.06525, 2.04539 1.78373, -0.55344, -0.23029,
-0.39951, 1.69701, -0.29751,
0.01986, -1.06525, 2.04539
] ]
}, },
{ {
"ct": 2970, "ccm": "ct": 2970,
"ccm":
[ [
1.73511, -0.56973, -0.16537, -0.36338, 1.69878, -0.33539, -0.02354, -0.76813, 1.79168 1.73511, -0.56973, -0.16537,
-0.36338, 1.69878, -0.33539,
-0.02354, -0.76813, 1.79168
] ]
}, },
{ {
"ct": 3000, "ccm": "ct": 3000,
"ccm":
[ [
2.06374, -0.92218, -0.14156, -0.41721, 1.69289, -0.27568, -0.00554, -0.92741, 1.93295 2.06374, -0.92218, -0.14156,
-0.41721, 1.69289, -0.27568,
-0.00554, -0.92741, 1.93295
] ]
}, },
{ {
"ct": 3700, "ccm": "ct": 3700,
"ccm":
[ [
2.13792, -1.08136, -0.05655, -0.34739, 1.58989, -0.24249, -0.00349, -0.76789, 1.77138 2.13792, -1.08136, -0.05655,
-0.34739, 1.58989, -0.24249,
-0.00349, -0.76789, 1.77138
] ]
}, },
{ {
"ct": 3870, "ccm": "ct": 3870,
"ccm":
[ [
1.83834, -0.70528, -0.13307, -0.30499, 1.60523, -0.30024, -0.05701, -0.58313, 1.64014 1.83834, -0.70528, -0.13307,
-0.30499, 1.60523, -0.30024,
-0.05701, -0.58313, 1.64014
] ]
}, },
{ {
"ct": 4000, "ccm": "ct": 4000,
"ccm":
[ [
2.15741, -1.10295, -0.05447, -0.34631, 1.61158, -0.26528, -0.02723, -0.70288, 1.73011 2.15741, -1.10295, -0.05447,
-0.34631, 1.61158, -0.26528,
-0.02723, -0.70288, 1.73011
] ]
}, },
{ {
"ct": 4400, "ccm": "ct": 4400,
"ccm":
[ [
2.05729, -0.95007, -0.10723, -0.41712, 1.78606, -0.36894, -0.11899, -0.55727, 1.67626 2.05729, -0.95007, -0.10723,
] -0.41712, 1.78606, -0.36894,
}, -0.11899, -0.55727, 1.67626
{
"ct": 4715, "ccm":
[
1.90255, -0.77478, -0.12777, -0.31338, 1.88197, -0.56858, -0.06001, -0.61785, 1.67786
] ]
}, },
{ {
"ct": 5920, "ccm": "ct": 4715,
"ccm":
[ [
1.98691, -0.84671, -0.14019, -0.26581, 1.70615, -0.44035, -0.09532, -0.47332, 1.56864 1.90255, -0.77478, -0.12777,
-0.31338, 1.88197, -0.56858,
-0.06001, -0.61785, 1.67786
] ]
}, },
{ {
"ct": 9050, "ccm": "ct": 5920,
"ccm":
[ [
2.09255, -0.76541, -0.32714, -0.28973, 2.27462, -0.98489, -0.17299, -0.61275, 1.78574 1.98691, -0.84671, -0.14019,
-0.26581, 1.70615, -0.44035,
-0.09532, -0.47332, 1.56864
]
},
{
"ct": 9050,
"ccm":
[
2.09255, -0.76541, -0.32714,
-0.28973, 2.27462, -0.98489,
-0.17299, -0.61275, 1.78574
] ]
} }
] ]
},
"rpi.sharpen":
{
},
"rpi.focus":
{
} }
},
{
"rpi.sharpen": { }
},
{
"rpi.focus": { }
}
]
} }

View file

@ -1,11 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 4096 "black_level": 4096
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 13841, "reference_shutter_speed": 13841,
@ -13,40 +19,57 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 900, "reference_lux": 900,
"reference_Y": 12064 "reference_Y": 12064
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 2.776 "reference_slope": 2.776
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 189, "offset": 189,
"slope": 0.01495 "slope": 0.01495
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"priors": "priors": [
[
{ {
"lux": 0, "prior": "lux": 0,
"prior":
[ [
2000, 1.0, 3000, 0.0, 13000, 0.0 2000, 1.0,
3000, 0.0,
13000, 0.0
] ]
}, },
{ {
"lux": 800, "prior": "lux": 800,
"prior":
[ [
2000, 0.0, 6000, 2.0, 13000, 2.0 2000, 0.0,
6000, 2.0,
13000, 2.0
] ]
}, },
{ {
"lux": 1500, "prior": "lux": 1500,
"prior":
[ [
2000, 0.0, 4000, 1.0, 6000, 6.0, 6500, 7.0, 7000, 1.0, 13000, 1.0 2000, 0.0,
4000, 1.0,
6000, 6.0,
6500, 7.0,
7000, 1.0,
13000, 1.0
] ]
} }
], ],
@ -91,105 +114,104 @@
"bayes": 1, "bayes": 1,
"ct_curve": "ct_curve":
[ [
2890.0, 0.7328, 0.3734, 3550.0, 0.6228, 0.4763, 4500.0, 0.5208, 0.5825, 5700.0, 0.4467, 0.6671, 7900.0, 0.3858, 0.7411 2890.0, 0.7328, 0.3734,
3550.0, 0.6228, 0.4763,
4500.0, 0.5208, 0.5825,
5700.0, 0.4467, 0.6671,
7900.0, 0.3858, 0.7411
], ],
"sensitivity_r": 1.0, "sensitivity_r": 1.0,
"sensitivity_b": 1.0, "sensitivity_b": 1.0,
"transverse_pos": 0.02027, "transverse_pos": 0.02027,
"transverse_neg": 0.01935 "transverse_neg": 0.01935
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 5000, 10000, 20000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
] ]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 100, "n_iter": 100,
"luminance_strength": 0.5, "luminance_strength": 0.5,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
1.527, 1.521, 1.508, 1.493, 1.476, 1.455, 1.442, 1.441, 1.441, 1.441, 1.448, 1.467, 1.483, 1.494, 1.503, 1.504, 1.527, 1.521, 1.508, 1.493, 1.476, 1.455, 1.442, 1.441, 1.441, 1.441, 1.448, 1.467, 1.483, 1.494, 1.503, 1.504,
1.525, 1.513, 1.496, 1.477, 1.461, 1.434, 1.418, 1.409, 1.409, 1.416, 1.429, 1.449, 1.469, 1.485, 1.495, 1.503, 1.525, 1.513, 1.496, 1.477, 1.461, 1.434, 1.418, 1.409, 1.409, 1.416, 1.429, 1.449, 1.469, 1.485, 1.495, 1.503,
@ -206,7 +228,8 @@
] ]
}, },
{ {
"ct": 6000, "table": "ct": 6000,
"table":
[ [
2.581, 2.573, 2.558, 2.539, 2.514, 2.487, 2.473, 2.471, 2.471, 2.471, 2.479, 2.499, 2.517, 2.532, 2.543, 2.544, 2.581, 2.573, 2.558, 2.539, 2.514, 2.487, 2.473, 2.471, 2.471, 2.471, 2.479, 2.499, 2.517, 2.532, 2.543, 2.544,
2.575, 2.559, 2.539, 2.521, 2.491, 2.458, 2.435, 2.421, 2.421, 2.429, 2.449, 2.477, 2.499, 2.519, 2.534, 2.543, 2.575, 2.559, 2.539, 2.521, 2.491, 2.458, 2.435, 2.421, 2.421, 2.429, 2.449, 2.477, 2.499, 2.519, 2.534, 2.543,
@ -223,10 +246,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
3.132, 3.126, 3.116, 3.103, 3.097, 3.091, 3.087, 3.086, 3.088, 3.091, 3.092, 3.102, 3.113, 3.121, 3.141, 3.144, 3.132, 3.126, 3.116, 3.103, 3.097, 3.091, 3.087, 3.086, 3.088, 3.091, 3.092, 3.102, 3.113, 3.121, 3.141, 3.144,
3.149, 3.132, 3.123, 3.108, 3.101, 3.096, 3.091, 3.089, 3.091, 3.092, 3.101, 3.107, 3.116, 3.129, 3.144, 3.153, 3.149, 3.132, 3.123, 3.108, 3.101, 3.096, 3.091, 3.089, 3.091, 3.092, 3.101, 3.107, 3.116, 3.129, 3.144, 3.153,
@ -243,7 +266,8 @@
] ]
}, },
{ {
"ct": 6000, "table": "ct": 6000,
"table":
[ [
1.579, 1.579, 1.577, 1.574, 1.573, 1.571, 1.571, 1.571, 1.571, 1.569, 1.569, 1.571, 1.572, 1.574, 1.577, 1.578, 1.579, 1.579, 1.577, 1.574, 1.573, 1.571, 1.571, 1.571, 1.571, 1.569, 1.569, 1.571, 1.572, 1.574, 1.577, 1.578,
1.584, 1.579, 1.578, 1.575, 1.573, 1.572, 1.571, 1.572, 1.572, 1.571, 1.571, 1.572, 1.573, 1.576, 1.578, 1.579, 1.584, 1.579, 1.578, 1.575, 1.573, 1.572, 1.571, 1.572, 1.572, 1.571, 1.571, 1.572, 1.573, 1.576, 1.578, 1.579,
@ -277,62 +301,113 @@
], ],
"sigma": 0.00372, "sigma": 0.00372,
"sigma_Cb": 0.00244 "sigma_Cb": 0.00244
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 2890, "ccm": "ct": 2890,
"ccm":
[ [
1.36754, -0.18448, -0.18306, -0.32356, 1.44826, -0.12471, -0.00412, -0.69936, 1.70348 1.36754, -0.18448, -0.18306,
-0.32356, 1.44826, -0.12471,
-0.00412, -0.69936, 1.70348
] ]
}, },
{ {
"ct": 2920, "ccm": "ct": 2920,
"ccm":
[ [
1.26704, 0.01624, -0.28328, -0.28516, 1.38934, -0.10419, -0.04854, -0.82211, 1.87066 1.26704, 0.01624, -0.28328,
-0.28516, 1.38934, -0.10419,
-0.04854, -0.82211, 1.87066
] ]
}, },
{ {
"ct": 3550, "ccm": "ct": 3550,
"ccm":
[ [
1.42836, -0.27235, -0.15601, -0.28751, 1.41075, -0.12325, -0.01812, -0.54849, 1.56661 1.42836, -0.27235, -0.15601,
-0.28751, 1.41075, -0.12325,
-0.01812, -0.54849, 1.56661
] ]
}, },
{ {
"ct": 4500, "ccm": "ct": 4500,
"ccm":
[ [
1.36328, -0.19569, -0.16759, -0.25254, 1.52248, -0.26994, -0.01575, -0.53155, 1.54729 1.36328, -0.19569, -0.16759,
-0.25254, 1.52248, -0.26994,
-0.01575, -0.53155, 1.54729
] ]
}, },
{ {
"ct": 5700, "ccm": "ct": 5700,
"ccm":
[ [
1.49207, -0.37245, -0.11963, -0.21493, 1.40005, -0.18512, -0.03781, -0.38779, 1.42561 1.49207, -0.37245, -0.11963,
-0.21493, 1.40005, -0.18512,
-0.03781, -0.38779, 1.42561
] ]
}, },
{ {
"ct": 7900, "ccm": "ct": 7900,
"ccm":
[ [
1.34849, -0.05425, -0.29424, -0.22182, 1.77684, -0.55502, -0.07403, -0.55336, 1.62739 1.34849, -0.05425, -0.29424,
-0.22182, 1.77684, -0.55502,
-0.07403, -0.55336, 1.62739
] ]
} }
] ]
},
"rpi.sharpen":
{
} }
},
{
"rpi.sharpen": { }
}
]
} }

View file

@ -1,12 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 1024 "black_level": 1024
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 21663, "reference_shutter_speed": 21663,
@ -14,41 +19,57 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 987, "reference_lux": 987,
"reference_Y": 8961 "reference_Y": 8961
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 4.25 "reference_slope": 4.25
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 401, "offset": 401,
"slope": 0.05619 "slope": 0.05619
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"priors": "priors": [
[
{ {
"lux": 0, "prior": "lux": 0,
"prior":
[ [
2000, 1.0, 3000, 0.0, 13000, 0.0 2000, 1.0,
3000, 0.0,
13000, 0.0
] ]
}, },
{ {
"lux": 800, "prior": "lux": 800,
"prior":
[ [
2000, 0.0, 6000, 2.0, 13000, 2.0 2000, 0.0,
6000, 2.0,
13000, 2.0
] ]
}, },
{ {
"lux": 1500, "prior": "lux": 1500,
"prior":
[ [
2000, 0.0, 4000, 1.0, 6000, 6.0, 6500, 7.0, 7000, 1.0, 13000, 1.0 2000, 0.0,
4000, 1.0,
6000, 6.0,
6500, 7.0,
7000, 1.0,
13000, 1.0
] ]
} }
], ],
@ -93,127 +114,124 @@
"bayes": 1, "bayes": 1,
"ct_curve": "ct_curve":
[ [
2500.0, 1.0289, 0.4503, 2803.0, 0.9428, 0.5108, 2914.0, 0.9406, 0.5127, 3605.0, 0.8261, 0.6249, 4540.0, 0.7331, 0.7533, 5699.0, 2500.0, 1.0289, 0.4503,
0.6715, 0.8627, 8625.0, 0.6081, 1.0012 2803.0, 0.9428, 0.5108,
2914.0, 0.9406, 0.5127,
3605.0, 0.8261, 0.6249,
4540.0, 0.7331, 0.7533,
5699.0, 0.6715, 0.8627,
8625.0, 0.6081, 1.0012
], ],
"sensitivity_r": 1.05, "sensitivity_r": 1.05,
"sensitivity_b": 1.05, "sensitivity_b": 1.05,
"transverse_pos": 0.0321, "transverse_pos": 0.0321,
"transverse_neg": 0.04313 "transverse_neg": 0.04313
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 66666 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 10000, 30000, 60000, 66666
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 33333 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 5000, 10000, 20000, 33333
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"long": "long":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 12.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
], ],
"shadows": "shadows": [
[
{ {
"bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target": "bound": "LOWER",
"q_lo": 0.0,
"q_hi": 0.5,
"y_target":
[ [
0, 0.17, 1000, 0.17 0, 0.17,
1000, 0.17
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
], ],
"base_ev": 1.25 "base_ev": 1.25
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 100, "n_iter": 100,
"luminance_strength": 0.5, "luminance_strength": 0.5,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
1.105, 1.103, 1.093, 1.083, 1.071, 1.065, 1.065, 1.065, 1.066, 1.069, 1.072, 1.077, 1.084, 1.089, 1.093, 1.093, 1.105, 1.103, 1.093, 1.083, 1.071, 1.065, 1.065, 1.065, 1.066, 1.069, 1.072, 1.077, 1.084, 1.089, 1.093, 1.093,
1.103, 1.096, 1.084, 1.072, 1.059, 1.051, 1.047, 1.047, 1.051, 1.053, 1.059, 1.067, 1.075, 1.082, 1.085, 1.086, 1.103, 1.096, 1.084, 1.072, 1.059, 1.051, 1.047, 1.047, 1.051, 1.053, 1.059, 1.067, 1.075, 1.082, 1.085, 1.086,
@ -230,7 +248,8 @@
] ]
}, },
{ {
"ct": 5000, "table": "ct": 5000,
"table":
[ [
1.486, 1.484, 1.468, 1.449, 1.427, 1.403, 1.399, 1.399, 1.399, 1.404, 1.413, 1.433, 1.454, 1.473, 1.482, 1.488, 1.486, 1.484, 1.468, 1.449, 1.427, 1.403, 1.399, 1.399, 1.399, 1.404, 1.413, 1.433, 1.454, 1.473, 1.482, 1.488,
1.484, 1.472, 1.454, 1.431, 1.405, 1.381, 1.365, 1.365, 1.367, 1.373, 1.392, 1.411, 1.438, 1.458, 1.476, 1.481, 1.484, 1.472, 1.454, 1.431, 1.405, 1.381, 1.365, 1.365, 1.367, 1.373, 1.392, 1.411, 1.438, 1.458, 1.476, 1.481,
@ -247,7 +266,8 @@
] ]
}, },
{ {
"ct": 6500, "table": "ct": 6500,
"table":
[ [
1.567, 1.565, 1.555, 1.541, 1.525, 1.518, 1.518, 1.518, 1.521, 1.527, 1.532, 1.541, 1.551, 1.559, 1.567, 1.569, 1.567, 1.565, 1.555, 1.541, 1.525, 1.518, 1.518, 1.518, 1.521, 1.527, 1.532, 1.541, 1.551, 1.559, 1.567, 1.569,
1.565, 1.557, 1.542, 1.527, 1.519, 1.515, 1.511, 1.516, 1.519, 1.524, 1.528, 1.533, 1.542, 1.553, 1.559, 1.562, 1.565, 1.557, 1.542, 1.527, 1.519, 1.515, 1.511, 1.516, 1.519, 1.524, 1.528, 1.533, 1.542, 1.553, 1.559, 1.562,
@ -264,10 +284,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
1.684, 1.688, 1.691, 1.697, 1.709, 1.722, 1.735, 1.745, 1.747, 1.745, 1.731, 1.719, 1.709, 1.705, 1.699, 1.699, 1.684, 1.688, 1.691, 1.697, 1.709, 1.722, 1.735, 1.745, 1.747, 1.745, 1.731, 1.719, 1.709, 1.705, 1.699, 1.699,
1.684, 1.689, 1.694, 1.708, 1.721, 1.735, 1.747, 1.762, 1.762, 1.758, 1.745, 1.727, 1.716, 1.707, 1.701, 1.699, 1.684, 1.689, 1.694, 1.708, 1.721, 1.735, 1.747, 1.762, 1.762, 1.758, 1.745, 1.727, 1.716, 1.707, 1.701, 1.699,
@ -284,7 +304,8 @@
] ]
}, },
{ {
"ct": 5000, "table": "ct": 5000,
"table":
[ [
1.177, 1.183, 1.187, 1.191, 1.197, 1.206, 1.213, 1.215, 1.215, 1.215, 1.211, 1.204, 1.196, 1.191, 1.183, 1.182, 1.177, 1.183, 1.187, 1.191, 1.197, 1.206, 1.213, 1.215, 1.215, 1.215, 1.211, 1.204, 1.196, 1.191, 1.183, 1.182,
1.179, 1.185, 1.191, 1.196, 1.206, 1.217, 1.224, 1.229, 1.229, 1.226, 1.221, 1.212, 1.202, 1.195, 1.188, 1.182, 1.179, 1.185, 1.191, 1.196, 1.206, 1.217, 1.224, 1.229, 1.229, 1.226, 1.221, 1.212, 1.202, 1.195, 1.188, 1.182,
@ -301,7 +322,8 @@
] ]
}, },
{ {
"ct": 6500, "table": "ct": 6500,
"table":
[ [
1.166, 1.171, 1.173, 1.178, 1.187, 1.193, 1.201, 1.205, 1.205, 1.205, 1.199, 1.191, 1.184, 1.179, 1.174, 1.171, 1.166, 1.171, 1.173, 1.178, 1.187, 1.193, 1.201, 1.205, 1.205, 1.205, 1.199, 1.191, 1.184, 1.179, 1.174, 1.171,
1.166, 1.172, 1.176, 1.184, 1.195, 1.202, 1.209, 1.216, 1.216, 1.213, 1.208, 1.201, 1.189, 1.182, 1.176, 1.171, 1.166, 1.172, 1.176, 1.184, 1.195, 1.202, 1.209, 1.216, 1.216, 1.213, 1.208, 1.201, 1.189, 1.182, 1.176, 1.171,
@ -335,75 +357,131 @@
], ],
"sigma": 0.006, "sigma": 0.006,
"sigma_Cb": 0.00208 "sigma_Cb": 0.00208
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 2500, "ccm": "ct": 2500,
"ccm":
[ [
1.70741, -0.05307, -0.65433, -0.62822, 1.68836, -0.06014, -0.04452, -1.87628, 2.92079 1.70741, -0.05307, -0.65433,
-0.62822, 1.68836, -0.06014,
-0.04452, -1.87628, 2.92079
] ]
}, },
{ {
"ct": 2803, "ccm": "ct": 2803,
"ccm":
[ [
1.74383, -0.18731, -0.55652, -0.56491, 1.67772, -0.11281, -0.01522, -1.60635, 2.62157 1.74383, -0.18731, -0.55652,
-0.56491, 1.67772, -0.11281,
-0.01522, -1.60635, 2.62157
] ]
}, },
{ {
"ct": 2912, "ccm": "ct": 2912,
"ccm":
[ [
1.75215, -0.22221, -0.52995, -0.54568, 1.63522, -0.08954, 0.02633, -1.56997, 2.54364 1.75215, -0.22221, -0.52995,
-0.54568, 1.63522, -0.08954,
0.02633, -1.56997, 2.54364
] ]
}, },
{ {
"ct": 2914, "ccm": "ct": 2914,
"ccm":
[ [
1.72423, -0.28939, -0.43484, -0.55188, 1.62925, -0.07737, 0.01959, -1.28661, 2.26702 1.72423, -0.28939, -0.43484,
-0.55188, 1.62925, -0.07737,
0.01959, -1.28661, 2.26702
] ]
}, },
{ {
"ct": 3605, "ccm": "ct": 3605,
"ccm":
[ [
1.80381, -0.43646, -0.36735, -0.46505, 1.56814, -0.10309, 0.00929, -1.00424, 1.99495 1.80381, -0.43646, -0.36735,
-0.46505, 1.56814, -0.10309,
0.00929, -1.00424, 1.99495
] ]
}, },
{ {
"ct": 4540, "ccm": "ct": 4540,
"ccm":
[ [
1.85263, -0.46545, -0.38719, -0.44136, 1.68443, -0.24307, 0.04108, -0.85599, 1.81491 1.85263, -0.46545, -0.38719,
-0.44136, 1.68443, -0.24307,
0.04108, -0.85599, 1.81491
] ]
}, },
{ {
"ct": 5699, "ccm": "ct": 5699,
"ccm":
[ [
1.98595, -0.63542, -0.35054, -0.34623, 1.54146, -0.19522, 0.00411, -0.70936, 1.70525 1.98595, -0.63542, -0.35054,
-0.34623, 1.54146, -0.19522,
0.00411, -0.70936, 1.70525
] ]
}, },
{ {
"ct": 8625, "ccm": "ct": 8625,
"ccm":
[ [
2.21637, -0.56663, -0.64974, -0.41133, 1.96625, -0.55492, -0.02307, -0.83529, 1.85837 2.21637, -0.56663, -0.64974,
-0.41133, 1.96625, -0.55492,
-0.02307, -0.83529, 1.85837
] ]
} }
] ]
},
"rpi.sharpen":
{
} }
},
{
"rpi.sharpen": { }
}
]
} }

View file

@ -1,12 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 1024 "black_level": 1024
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 21663, "reference_shutter_speed": 21663,
@ -14,138 +19,135 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 987, "reference_lux": 987,
"reference_Y": 8961 "reference_Y": 8961
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 4.25 "reference_slope": 4.25
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 401, "offset": 401,
"slope": 0.05619 "slope": 0.05619
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"bayes": 0 "bayes": 0
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 66666 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 10000, 30000, 60000, 66666
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 33333 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 5000, 10000, 20000, 33333
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"long": "long":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 12.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
], ],
"shadows": "shadows": [
[
{ {
"bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target": "bound": "LOWER",
"q_lo": 0.0,
"q_hi": 0.5,
"y_target":
[ [
0, 0.17, 1000, 0.17 0, 0.17,
1000, 0.17
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
], ],
"base_ev": 1.25 "base_ev": 1.25
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 100, "n_iter": 100,
"luminance_strength": 0.5, "luminance_strength": 0.5,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
1.105, 1.103, 1.093, 1.083, 1.071, 1.065, 1.065, 1.065, 1.066, 1.069, 1.072, 1.077, 1.084, 1.089, 1.093, 1.093, 1.105, 1.103, 1.093, 1.083, 1.071, 1.065, 1.065, 1.065, 1.066, 1.069, 1.072, 1.077, 1.084, 1.089, 1.093, 1.093,
1.103, 1.096, 1.084, 1.072, 1.059, 1.051, 1.047, 1.047, 1.051, 1.053, 1.059, 1.067, 1.075, 1.082, 1.085, 1.086, 1.103, 1.096, 1.084, 1.072, 1.059, 1.051, 1.047, 1.047, 1.051, 1.053, 1.059, 1.067, 1.075, 1.082, 1.085, 1.086,
@ -162,7 +164,8 @@
] ]
}, },
{ {
"ct": 5000, "table": "ct": 5000,
"table":
[ [
1.486, 1.484, 1.468, 1.449, 1.427, 1.403, 1.399, 1.399, 1.399, 1.404, 1.413, 1.433, 1.454, 1.473, 1.482, 1.488, 1.486, 1.484, 1.468, 1.449, 1.427, 1.403, 1.399, 1.399, 1.399, 1.404, 1.413, 1.433, 1.454, 1.473, 1.482, 1.488,
1.484, 1.472, 1.454, 1.431, 1.405, 1.381, 1.365, 1.365, 1.367, 1.373, 1.392, 1.411, 1.438, 1.458, 1.476, 1.481, 1.484, 1.472, 1.454, 1.431, 1.405, 1.381, 1.365, 1.365, 1.367, 1.373, 1.392, 1.411, 1.438, 1.458, 1.476, 1.481,
@ -179,7 +182,8 @@
] ]
}, },
{ {
"ct": 6500, "table": "ct": 6500,
"table":
[ [
1.567, 1.565, 1.555, 1.541, 1.525, 1.518, 1.518, 1.518, 1.521, 1.527, 1.532, 1.541, 1.551, 1.559, 1.567, 1.569, 1.567, 1.565, 1.555, 1.541, 1.525, 1.518, 1.518, 1.518, 1.521, 1.527, 1.532, 1.541, 1.551, 1.559, 1.567, 1.569,
1.565, 1.557, 1.542, 1.527, 1.519, 1.515, 1.511, 1.516, 1.519, 1.524, 1.528, 1.533, 1.542, 1.553, 1.559, 1.562, 1.565, 1.557, 1.542, 1.527, 1.519, 1.515, 1.511, 1.516, 1.519, 1.524, 1.528, 1.533, 1.542, 1.553, 1.559, 1.562,
@ -196,10 +200,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 3000, "table": "ct": 3000,
"table":
[ [
1.684, 1.688, 1.691, 1.697, 1.709, 1.722, 1.735, 1.745, 1.747, 1.745, 1.731, 1.719, 1.709, 1.705, 1.699, 1.699, 1.684, 1.688, 1.691, 1.697, 1.709, 1.722, 1.735, 1.745, 1.747, 1.745, 1.731, 1.719, 1.709, 1.705, 1.699, 1.699,
1.684, 1.689, 1.694, 1.708, 1.721, 1.735, 1.747, 1.762, 1.762, 1.758, 1.745, 1.727, 1.716, 1.707, 1.701, 1.699, 1.684, 1.689, 1.694, 1.708, 1.721, 1.735, 1.747, 1.762, 1.762, 1.758, 1.745, 1.727, 1.716, 1.707, 1.701, 1.699,
@ -216,7 +220,8 @@
] ]
}, },
{ {
"ct": 5000, "table": "ct": 5000,
"table":
[ [
1.177, 1.183, 1.187, 1.191, 1.197, 1.206, 1.213, 1.215, 1.215, 1.215, 1.211, 1.204, 1.196, 1.191, 1.183, 1.182, 1.177, 1.183, 1.187, 1.191, 1.197, 1.206, 1.213, 1.215, 1.215, 1.215, 1.211, 1.204, 1.196, 1.191, 1.183, 1.182,
1.179, 1.185, 1.191, 1.196, 1.206, 1.217, 1.224, 1.229, 1.229, 1.226, 1.221, 1.212, 1.202, 1.195, 1.188, 1.182, 1.179, 1.185, 1.191, 1.196, 1.206, 1.217, 1.224, 1.229, 1.229, 1.226, 1.221, 1.212, 1.202, 1.195, 1.188, 1.182,
@ -233,7 +238,8 @@
] ]
}, },
{ {
"ct": 6500, "table": "ct": 6500,
"table":
[ [
1.166, 1.171, 1.173, 1.178, 1.187, 1.193, 1.201, 1.205, 1.205, 1.205, 1.199, 1.191, 1.184, 1.179, 1.174, 1.171, 1.166, 1.171, 1.173, 1.178, 1.187, 1.193, 1.201, 1.205, 1.205, 1.205, 1.199, 1.191, 1.184, 1.179, 1.174, 1.171,
1.166, 1.172, 1.176, 1.184, 1.195, 1.202, 1.209, 1.216, 1.216, 1.213, 1.208, 1.201, 1.189, 1.182, 1.176, 1.171, 1.166, 1.172, 1.176, 1.184, 1.195, 1.202, 1.209, 1.216, 1.216, 1.213, 1.208, 1.201, 1.189, 1.182, 1.176, 1.171,
@ -267,75 +273,131 @@
], ],
"sigma": 0.006, "sigma": 0.006,
"sigma_Cb": 0.00208 "sigma_Cb": 0.00208
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 2500, "ccm": "ct": 2500,
"ccm":
[ [
1.70741, -0.05307, -0.65433, -0.62822, 1.68836, -0.06014, -0.04452, -1.87628, 2.92079 1.70741, -0.05307, -0.65433,
-0.62822, 1.68836, -0.06014,
-0.04452, -1.87628, 2.92079
] ]
}, },
{ {
"ct": 2803, "ccm": "ct": 2803,
"ccm":
[ [
1.74383, -0.18731, -0.55652, -0.56491, 1.67772, -0.11281, -0.01522, -1.60635, 2.62157 1.74383, -0.18731, -0.55652,
-0.56491, 1.67772, -0.11281,
-0.01522, -1.60635, 2.62157
] ]
}, },
{ {
"ct": 2912, "ccm": "ct": 2912,
"ccm":
[ [
1.75215, -0.22221, -0.52995, -0.54568, 1.63522, -0.08954, 0.02633, -1.56997, 2.54364 1.75215, -0.22221, -0.52995,
-0.54568, 1.63522, -0.08954,
0.02633, -1.56997, 2.54364
] ]
}, },
{ {
"ct": 2914, "ccm": "ct": 2914,
"ccm":
[ [
1.72423, -0.28939, -0.43484, -0.55188, 1.62925, -0.07737, 0.01959, -1.28661, 2.26702 1.72423, -0.28939, -0.43484,
-0.55188, 1.62925, -0.07737,
0.01959, -1.28661, 2.26702
] ]
}, },
{ {
"ct": 3605, "ccm": "ct": 3605,
"ccm":
[ [
1.80381, -0.43646, -0.36735, -0.46505, 1.56814, -0.10309, 0.00929, -1.00424, 1.99495 1.80381, -0.43646, -0.36735,
-0.46505, 1.56814, -0.10309,
0.00929, -1.00424, 1.99495
] ]
}, },
{ {
"ct": 4540, "ccm": "ct": 4540,
"ccm":
[ [
1.85263, -0.46545, -0.38719, -0.44136, 1.68443, -0.24307, 0.04108, -0.85599, 1.81491 1.85263, -0.46545, -0.38719,
-0.44136, 1.68443, -0.24307,
0.04108, -0.85599, 1.81491
] ]
}, },
{ {
"ct": 5699, "ccm": "ct": 5699,
"ccm":
[ [
1.98595, -0.63542, -0.35054, -0.34623, 1.54146, -0.19522, 0.00411, -0.70936, 1.70525 1.98595, -0.63542, -0.35054,
-0.34623, 1.54146, -0.19522,
0.00411, -0.70936, 1.70525
] ]
}, },
{ {
"ct": 8625, "ccm": "ct": 8625,
"ccm":
[ [
2.21637, -0.56663, -0.64974, -0.41133, 1.96625, -0.55492, -0.02307, -0.83529, 1.85837 2.21637, -0.56663, -0.64974,
-0.41133, 1.96625, -0.55492,
-0.02307, -0.83529, 1.85837
] ]
} }
] ]
},
"rpi.sharpen":
{
} }
},
{
"rpi.sharpen": { }
}
]
} }

View file

@ -1,8 +1,14 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 4096 "black_level": 4096
}
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 2000, "reference_shutter_speed": 2000,
@ -10,21 +16,26 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 800, "reference_lux": 800,
"reference_Y": 20000 "reference_Y": 20000
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 2.5 "reference_slope": 2.5
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": { "centre-weighted":
"weights": [4, 4, 4, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0] {
"weights": [ 4, 4, 4, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
} }
}, },
"exposure_modes": "exposure_modes":
@ -37,23 +48,41 @@
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
{
"bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
{ "bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": [ 0, 0.4, 1000, 0.4 ] } 0, 0.4,
1000, 0.4
]
}
] ]
}, },
"y_target": [ 0, 0.16, 1000, 0.165, 10000, 0.17 ] "y_target":
[
0, 0.16,
1000, 0.165,
10000, 0.17
]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"n_iter": 0, "n_iter": 0,
"luminance_strength": 1.0, "luminance_strength": 1.0,
"corner_strength": 1.5 "corner_strength": 1.5
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 0, "ce_enable": 0,
"gamma_curve": [ "gamma_curve":
[
0, 0, 0, 0,
1024, 5040, 1024, 5040,
2048, 9338, 2048, 9338,
@ -89,4 +118,6 @@
65535, 65535 65535, 65535
] ]
} }
}
]
} }

View file

@ -1,11 +1,17 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 3840 "black_level": 3840
}
}, },
"rpi.dpc":
{ {
"rpi.dpc": { }
}, },
{
"rpi.lux": "rpi.lux":
{ {
"reference_shutter_speed": 6873, "reference_shutter_speed": 6873,
@ -13,40 +19,57 @@
"reference_aperture": 1.0, "reference_aperture": 1.0,
"reference_lux": 800, "reference_lux": 800,
"reference_Y": 12293 "reference_Y": 12293
}
}, },
{
"rpi.noise": "rpi.noise":
{ {
"reference_constant": 0, "reference_constant": 0,
"reference_slope": 1.986 "reference_slope": 1.986
}
}, },
{
"rpi.geq": "rpi.geq":
{ {
"offset": 207, "offset": 207,
"slope": 0.00539 "slope": 0.00539
}
}, },
"rpi.sdn":
{ {
"rpi.sdn": { }
}, },
{
"rpi.awb": "rpi.awb":
{ {
"priors": "priors": [
[
{ {
"lux": 0, "prior": "lux": 0,
"prior":
[ [
2000, 1.0, 3000, 0.0, 13000, 0.0 2000, 1.0,
3000, 0.0,
13000, 0.0
] ]
}, },
{ {
"lux": 800, "prior": "lux": 800,
"prior":
[ [
2000, 0.0, 6000, 2.0, 13000, 2.0 2000, 0.0,
6000, 2.0,
13000, 2.0
] ]
}, },
{ {
"lux": 1500, "prior": "lux": 1500,
"prior":
[ [
2000, 0.0, 4000, 1.0, 6000, 6.0, 6500, 7.0, 7000, 1.0, 13000, 1.0 2000, 0.0,
4000, 1.0,
6000, 6.0,
6500, 7.0,
7000, 1.0,
13000, 1.0
] ]
} }
], ],
@ -91,105 +114,104 @@
"bayes": 1, "bayes": 1,
"ct_curve": "ct_curve":
[ [
2900.0, 0.9217, 0.3657, 3600.0, 0.7876, 0.4651, 4600.0, 0.6807, 0.5684, 5800.0, 0.5937, 0.6724, 8100.0, 0.5447, 0.7403 2900.0, 0.9217, 0.3657,
3600.0, 0.7876, 0.4651,
4600.0, 0.6807, 0.5684,
5800.0, 0.5937, 0.6724,
8100.0, 0.5447, 0.7403
], ],
"sensitivity_r": 1.0, "sensitivity_r": 1.0,
"sensitivity_b": 1.0, "sensitivity_b": 1.0,
"transverse_pos": 0.0162, "transverse_pos": 0.0162,
"transverse_neg": 0.0204 "transverse_neg": 0.0204
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": "centre-weighted":
{ {
"weights": "weights": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
[
3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0
]
}, },
"spot": "spot":
{ {
"weights": "weights": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[
2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}, },
"matrix": "matrix":
{ {
"weights": "weights": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
]
} }
}, },
"exposure_modes": "exposure_modes":
{ {
"normal": "normal":
{ {
"shutter": "shutter": [ 100, 10000, 30000, 60000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 10000, 30000, 60000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
}, },
"short": "short":
{ {
"shutter": "shutter": [ 100, 5000, 10000, 20000, 120000 ],
[ "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
100, 5000, 10000, 20000, 120000
],
"gain":
[
1.0, 2.0, 4.0, 6.0, 8.0
]
} }
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
} }
], ],
"highlight": "highlight": [
[
{ {
"bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.5, 1000, 0.5 0, 0.5,
1000, 0.5
] ]
}, },
{ {
"bound": "UPPER", "q_lo": 0.98, "q_hi": 1.0, "y_target": "bound": "UPPER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
0, 0.8, 1000, 0.8 0, 0.8,
1000, 0.8
] ]
} }
] ]
}, },
"y_target": "y_target":
[ [
0, 0.16, 1000, 0.165, 10000, 0.17 0, 0.16,
1000, 0.165,
10000, 0.17
] ]
}
}, },
{
"rpi.alsc": "rpi.alsc":
{ {
"omega": 1.3, "omega": 1.3,
"n_iter": 100, "n_iter": 100,
"luminance_strength": 0.5, "luminance_strength": 0.5,
"calibrations_Cr": "calibrations_Cr": [
[
{ {
"ct": 4000, "table": "ct": 4000,
"table":
[ [
1.481, 1.471, 1.449, 1.429, 1.416, 1.404, 1.394, 1.389, 1.389, 1.389, 1.392, 1.397, 1.404, 1.416, 1.429, 1.437, 1.481, 1.471, 1.449, 1.429, 1.416, 1.404, 1.394, 1.389, 1.389, 1.389, 1.392, 1.397, 1.404, 1.416, 1.429, 1.437,
1.472, 1.456, 1.436, 1.418, 1.405, 1.394, 1.389, 1.384, 1.382, 1.382, 1.386, 1.388, 1.398, 1.407, 1.422, 1.429, 1.472, 1.456, 1.436, 1.418, 1.405, 1.394, 1.389, 1.384, 1.382, 1.382, 1.386, 1.388, 1.398, 1.407, 1.422, 1.429,
@ -206,7 +228,8 @@
] ]
}, },
{ {
"ct": 5000, "table": "ct": 5000,
"table":
[ [
1.742, 1.721, 1.689, 1.661, 1.639, 1.623, 1.613, 1.609, 1.607, 1.606, 1.609, 1.617, 1.626, 1.641, 1.665, 1.681, 1.742, 1.721, 1.689, 1.661, 1.639, 1.623, 1.613, 1.609, 1.607, 1.606, 1.609, 1.617, 1.626, 1.641, 1.665, 1.681,
1.728, 1.703, 1.672, 1.645, 1.631, 1.614, 1.602, 1.599, 1.596, 1.597, 1.601, 1.608, 1.618, 1.631, 1.653, 1.671, 1.728, 1.703, 1.672, 1.645, 1.631, 1.614, 1.602, 1.599, 1.596, 1.597, 1.601, 1.608, 1.618, 1.631, 1.653, 1.671,
@ -223,10 +246,10 @@
] ]
} }
], ],
"calibrations_Cb": "calibrations_Cb": [
[
{ {
"ct": 4000, "table": "ct": 4000,
"table":
[ [
2.253, 2.267, 2.289, 2.317, 2.342, 2.359, 2.373, 2.381, 2.381, 2.378, 2.368, 2.361, 2.344, 2.337, 2.314, 2.301, 2.253, 2.267, 2.289, 2.317, 2.342, 2.359, 2.373, 2.381, 2.381, 2.378, 2.368, 2.361, 2.344, 2.337, 2.314, 2.301,
2.262, 2.284, 2.314, 2.335, 2.352, 2.371, 2.383, 2.391, 2.393, 2.391, 2.381, 2.368, 2.361, 2.342, 2.322, 2.308, 2.262, 2.284, 2.314, 2.335, 2.352, 2.371, 2.383, 2.391, 2.393, 2.391, 2.381, 2.368, 2.361, 2.342, 2.322, 2.308,
@ -243,7 +266,8 @@
] ]
}, },
{ {
"ct": 5000, "table": "ct": 5000,
"table":
[ [
1.897, 1.919, 1.941, 1.969, 1.989, 2.003, 2.014, 2.019, 2.019, 2.017, 2.014, 2.008, 1.999, 1.988, 1.968, 1.944, 1.897, 1.919, 1.941, 1.969, 1.989, 2.003, 2.014, 2.019, 2.019, 2.017, 2.014, 2.008, 1.999, 1.988, 1.968, 1.944,
1.914, 1.932, 1.957, 1.982, 1.998, 2.014, 2.023, 2.029, 2.031, 2.029, 2.022, 2.014, 2.006, 1.995, 1.976, 1.955, 1.914, 1.932, 1.957, 1.982, 1.998, 2.014, 2.023, 2.029, 2.031, 2.029, 2.022, 2.014, 2.006, 1.995, 1.976, 1.955,
@ -277,65 +301,118 @@
], ],
"sigma": 0.00218, "sigma": 0.00218,
"sigma_Cb": 0.00194 "sigma_Cb": 0.00194
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 1, "ce_enable": 1,
"gamma_curve": "gamma_curve":
[ [
0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193, 0, 0,
8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168, 1024, 5040,
16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796, 2048, 9338,
32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476, 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,
65535, 65535 65535, 65535
] ]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
[
{ {
"ct": 2900, "ccm": "ct": 2900,
"ccm":
[ [
1.44924, -0.12935, -0.31989, -0.65839, 1.95441, -0.29602, 0.18344, -1.22282, 2.03938 1.44924, -0.12935, -0.31989,
-0.65839, 1.95441, -0.29602,
0.18344, -1.22282, 2.03938
] ]
}, },
{ {
"ct": 3000, "ccm": "ct": 3000,
"ccm":
[ [
1.38736, 0.07714, -0.46451, -0.59691, 1.84335, -0.24644, 0.10092, -1.30441, 2.20349 1.38736, 0.07714, -0.46451,
-0.59691, 1.84335, -0.24644,
0.10092, -1.30441, 2.20349
] ]
}, },
{ {
"ct": 3600, "ccm": "ct": 3600,
"ccm":
[ [
1.51261, -0.27921, -0.23339, -0.55129, 1.83241, -0.28111, 0.11649, -0.93195, 1.81546 1.51261, -0.27921, -0.23339,
-0.55129, 1.83241, -0.28111,
0.11649, -0.93195, 1.81546
] ]
}, },
{ {
"ct": 4600, "ccm": "ct": 4600,
"ccm":
[ [
1.47082, -0.18523, -0.28559, -0.48923, 1.95126, -0.46203, 0.07951, -0.83987, 1.76036 1.47082, -0.18523, -0.28559,
-0.48923, 1.95126, -0.46203,
0.07951, -0.83987, 1.76036
] ]
}, },
{ {
"ct": 5800, "ccm": "ct": 5800,
"ccm":
[ [
1.57294, -0.36229, -0.21065, -0.42272, 1.80305, -0.38032, 0.03671, -0.66862, 1.63191 1.57294, -0.36229, -0.21065,
-0.42272, 1.80305, -0.38032,
0.03671, -0.66862, 1.63191
] ]
}, },
{ {
"ct": 8100, "ccm": "ct": 8100,
"ccm":
[ [
1.58803, -0.09912, -0.48891, -0.42594, 2.22303, -0.79709, -0.00621, -0.90516, 1.91137 1.58803, -0.09912, -0.48891,
-0.42594, 2.22303, -0.79709,
-0.00621, -0.90516, 1.91137
] ]
} }
] ]
}
}, },
{
"rpi.sharpen": "rpi.sharpen":
{ {
"threshold": 2.0, "threshold": 2.0,
"strength": 0.5, "strength": 0.5,
"limit": 0.5 "limit": 0.5
} }
}
]
} }

View file

@ -1,19 +1,28 @@
{ {
"version": 2.0,
"target": "bcm2835",
"algorithms": [
{
"rpi.black_level": "rpi.black_level":
{ {
"black_level": 4096 "black_level": 4096
}
}, },
{
"rpi.awb": "rpi.awb":
{ {
"use_derivatives": 0, "use_derivatives": 0,
"bayes": 0 "bayes": 0
}
}, },
{
"rpi.agc": "rpi.agc":
{ {
"metering_modes": "metering_modes":
{ {
"centre-weighted": { "centre-weighted":
"weights": [4, 4, 4, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0] {
"weights": [ 4, 4, 4, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
} }
}, },
"exposure_modes": "exposure_modes":
@ -26,24 +35,49 @@
}, },
"constraint_modes": "constraint_modes":
{ {
"normal": "normal": [
{
"bound": "LOWER",
"q_lo": 0.98,
"q_hi": 1.0,
"y_target":
[ [
{ "bound": "LOWER", "q_lo": 0.98, "q_hi": 1.0, "y_target": [ 0, 0.4, 1000, 0.4 ] } 0, 0.4,
1000, 0.4
]
}
] ]
}, },
"y_target": [ 0, 0.16, 1000, 0.165, 10000, 0.17 ] "y_target":
[
0, 0.16,
1000, 0.165,
10000, 0.17
]
}
}, },
{
"rpi.ccm": "rpi.ccm":
{ {
"ccms": "ccms": [
{
"ct": 4000,
"ccm":
[ [
{ "ct": 4000, "ccm": [ 2.0, -1.0, 0.0, -0.5, 2.0, -0.5, 0, -1.0, 2.0 ] } 2.0, -1.0, 0.0,
-0.5, 2.0, -0.5,
0, -1.0, 2.0
] ]
}
]
}
}, },
{
"rpi.contrast": "rpi.contrast":
{ {
"ce_enable": 0, "ce_enable": 0,
"gamma_curve": [ "gamma_curve":
[
0, 0, 0, 0,
1024, 5040, 1024, 5040,
2048, 9338, 2048, 9338,
@ -79,4 +113,6 @@
65535, 65535 65535, 65535
] ]
} }
}
]
} }