API Introduction
ISP tunning algorithm APIs are provided for developers to perform ISP secondary development and image quality tunning.
Algorithm |
Function |
Description |
|---|---|---|
BLC |
Black level correction |
Provides sensor-related BLC. |
BNR |
Bayer noise reduction |
Implements image NR in the Bayer domain to retain details while reducing image noise. |
DEMOSAIC |
Demosaicing |
Converts raw images in Bayer format into RGB images. |
CAC |
Purple fringing correction |
Corrects the axial chromatic aberration (purple fringing) and lateral chromatic aberration (color fringing on opposite sides of an object with different colors) introduced by the lens. |
GAMMA |
Video luminance adjustment |
Adjusts the luminance through the R, G, and B channels based on the gamma curve. |
DRC |
Dynamic range compression |
Adjusts the display dynamic range of the image so that the display effect on the display device is consistent with the perception of human eyes. |
AWB |
Automatic white balance |
Collects global statistics and regional statistics, and implements AWB based on statistics. |
AE |
Automatic exposure |
Collects AE statistics and implements AE through sensor adjustment based on statistics. |
AF |
Auto focus |
Collects AF statistics and image clarity evaluation information, and implements AF based on the information. Currently, only the AF statistics can be collected, whereas the AF algorithm is not supported. |
LSC |
Lens shading correction |
Corrects lens shading. Currently, only mesh shading is supported. |
SHARPEN |
Image sharpening |
Implements image sharpening to improve the image definition. |
LDCI |
Local contrast enhancement |
Enhances local contrast based on local histogram equalization to improve detail effect in dark regions, and enhances the high frequency in images to improve contrast. |
CA |
Color adaptation |
Supports saturation adjustment and thermal imaging coloring (currently, the latter is not supported). |
3DNR |
3D noise reduction |
Removes Gaussian noise from images through parameter configuration, to smooth the images and reduce the encoding bit rate. |
Crop |
Image cropping |
Crops the input image. |
GE |
Image quality improvement |
Equalizes the Gb and Gr channels when imbalance occurs and improves the image quality in some scenarios. |
Expander |
Data decompression |
Decompresses the compressed data in the sensor. |
DG |
Digital gain |
Provides digital gains for each channel. |
MG |
Maximum gain statistics |
Collects statistics on the average value of divided blocks after the DRC, and compares the average value with that of the AE statistics to obtain the maximum gain. The MG statistics include the average value statistics on the blocks R/Gr/Gb/B based on 8-bit precision. The maximum number of blocks is 17 x 15. |
CCM |
Color correction |
Linearly corrects the color space by using the standard 3 x 3 matrix and vector offset. |
CSC |
Color space conversion |
Coverts RGB into YUV by using the standard 3 x 3 matrix and vector offset. |