HiSilicon Image quality Correction method (LCS calibration: Mid-bright, surrounding dark phenomena)

Source: Internet
Author: User


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
  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.