libcamera v0.0.0+3423-a7ab5ef1
Supporting cameras in Linux since 2019
|
A class to handle black level correction. More...
Public Member Functions | |
void | prepare (IPAContext &context, ipu3_uapi_params *params) override |
Fill in the parameter structure, and enable black level correction. More... | |
![]() | |
virtual int | configure (Context &context, const Config &configInfo) |
Configure the Algorithm given an IPAConfigInfo. More... | |
virtual void | prepare (Context &context, Params *params) |
Fill the params buffer with ISP processing parameters for a frame. More... | |
virtual void | process (Context &context, const Stats *stats) |
Process ISP statistics, and run algorithm operations. More... | |
A class to handle black level correction.
The pixels output by the camera normally include a black level, because sensors do not always report a signal level of '0' for black. Pixels at or below this level should be considered black. To achieve that, the ImgU BLC algorithm subtracts a configurable offset from all pixels.
The black level can be measured at runtime from an optical dark region of the camera sensor, or measured during the camera tuning process. The first option isn't currently supported.
|
override |
Fill in the parameter structure, and enable black level correction.
context | The shared IPA context |
params | The IPU3 parameters |
Populate the IPU3 parameter structure with the correction values for each channel and enable the corresponding ImgU block processing.