HiSilicon Image quality Correction method (LCS calibration: Mid-bright, surrounding dark phenomena)
Due to different camera lens, out of the original data, will appear in the middle bright, around the phenomenon of dark, so the need for ISP calibration processing.
The HiSilicon provides pqtools tools for calibration. Provide the document "Image quality debugging Tool use Guide" download
Before using the calibration tool, please note: The tool takes advantage of MATLAB, so users need to pre-install MCR (matlab
Compiler Runtime) The 32-bit version of 2012A (7.17). Download Address:
http://cn.mathworks.com/products/compiler/mcr/
1, first determine the black level of the camera.
A, the exposure is set to manual, the camera preview screen will be completely black.
b, when grasping the light source data, close shading Disable
C,hi Capture Tool setting parameters, the camera is 12 bits on the selected bits
D, cover the camera, capture raw raw data, record the Rgainbgain
2, Fetch raw data of 3 kinds of light source
A, open the raw analyzer analysis brightness is bright enough, about 500 brightness, if not enough to increase exposure time agindgain, etc.
3, calibration
A, open the ISP calibration Tools tool, turn on black level raw data, raw scene select Black
b, check the black level RAW file, the upper right corner black level cabration determine the black value
C, after determining the black level value, open the previously scratched 3 light source raw, select flat Field
D, fill in the previously noted Rgainbgrin, point calibrate Calibration, click Export result to export the header file
E, open the header file and copy the contents of the array g_stcmoslsctable to the OV9732_CMOS.C g_stcmoslsctable array
F, compile SDK, burn firmware, see calibration effect