|
libcamera v0.7.2+1-aebe4861-nvm
Supporting cameras in Linux since 2019
|
A collection of callbacks. More...
Public Member Functions | |
| virtual double | estimateLuminance (double gain) const =0 |
| Estimate the luminance of an image, adjusted by a given gain. | |
A collection of callbacks.
This type contains virtual methods that provide the necessary pieces of information for the algorithm, and are to be implemented by the user.
|
pure virtual |
Estimate the luminance of an image, adjusted by a given gain.
| [in] | gain | The gain with which to adjust the luminance estimate |
This function estimates the average relative luminance of the frame that would be output by the sensor if an additional gain was applied. It is a pure virtual function because estimation of luminance is a hardware-specific operation, which depends wholly on the format of the stats that are delivered to libcamera from the ISP. Derived classes must override this function with one that calculates the normalised mean luminance value across the entire image.