@@ -47,15 +47,18 @@ lsc = LSCRkISP1(debug=[lt.Debug.Plot],
# values. This can also be a custom function.
smoothing_function=lt.smoothing.MedianBlur(3),)
lux = LuxRkISP1(debug=[lt.Debug.Plot])
+wdr = StaticModule('WideDynamicRange',
+ { 'ExposureConstraint': { 'MaxBrightPixels': 0.02, 'yTarget': 0.95 },
+ 'MinExposureValue': -4.0 })
tuner = lt.Tuner('RkISP1')
-tuner.add([agc, awb, blc, ccm, color_processing, filter, gamma_out, lsc, lux])
+tuner.add([agc, awb, blc, ccm, color_processing, filter, gamma_out, lsc, lux, wdr])
tuner.set_input_parser(YamlParser())
tuner.set_output_formatter(YamlOutput())
# Bayesian AWB uses the lux value, so insert the lux algorithm before AWB.
tuner.set_output_order([agc, lux, awb, blc, ccm, color_processing,
- filter, gamma_out, lsc])
+ filter, gamma_out, lsc, wdr])
if __name__ == '__main__':
sys.exit(tuner.run(sys.argv))
Add a static WideDynamicRange entry that gets added by default. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> --- utils/tuning/rkisp1.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)