raspberrypi / libcamera

Other
196 stars 74 forks source link

utils: raspberrypi: ctt: Add a maximum gain parameter for LSC #142

Closed davidplowman closed 1 month ago

davidplowman commented 1 month ago

A max_gain parameter is added to the config file which we pass to the lens shading calibration. This clamps the maximum luminance gain that gets written into the tuning files so as to prevent overflows.

It is particularly useful for lenses that cut off the light completely from the sensor corners, and allows usable tables to be generated for them.

naushir commented 1 month ago

Closing this as it's been merged upstream and onto next.