@@ -48,16 +48,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}})
tuner = lt.Tuner('RkISP1')
-tuner.add([agc, awb, blc, ccm, color_processing, filter, gamma_out, lsc, lux, compress])
+tuner.add([agc, awb, blc, ccm, color_processing, filter, gamma_out, lsc, lux, wdr, compress])
tuner.set_input_parser(YamlParser())
tuner.set_output_formatter(YamlOutput())
# Bayesian AWB uses the lux value, so insert the lux algorithm before AWB.
# Compress is parameterized by others, so add it at the end.
tuner.set_output_order([agc, lux, awb, blc, ccm, color_processing,
- filter, gamma_out, lsc, compress])
+ filter, gamma_out, lsc, wdr, compress])
if __name__ == '__main__':
sys.exit(tuner.run(sys.argv))