Datasheet
Table Of Contents
- applications
- features
- key specifications
- table of contents
- list of figures
- list of tables
- 1 signal descriptions
- 2 system level description
- 3 block level description
- 4 image sensor core digital functions
- 4.1 mirror and flip
- 4.2 image windowing
- 4.3 test pattern
- 4.4 50/60Hz detection
- 4.5 AEC and AGC algorithms
- 4.6 AEC/AGC steps
- 4.7 black level calibration (BLC)
- 4.8 strobe flash and frame exposure
- 4.9 xenon flash control
- 4.10 frame exposure (FREX) mode
- 4.11 FREX strobe flash control
- 4.12 one-time programmable (OTP) memory
- 5 image sensor processor digital functions
- 6 image sensor output interface digital functions
- 7 register tables
- table 7-1 system control registers (sheet 1 of 5)
- table 7-2 SCCB registers (sheet 1 of 2)
- table 7-3 group hold control registers
- table 7-4 AEC/AGC 1 registers
- table 7-5 system timing registers (sheet 1 of 3)
- table 7-6 AEC/AGC 2 registers (sheet 1 of 3)
- table 7-7 STROBE/frame exposure control registers (sheet 1 of 2)
- table 7-8 50/60 HZ DETECTION registers
- table 7-9 OTP control registers (sheet 1 of 2)
- table 7-10 BLC registers (sheet 1 of 3)
- table 7-11 frame control registers
- table 7-12 DVP registers (sheet 1 of 2)
- table 7-13 MIPI top registers (sheet 1 of 11)
- table 7-14 ISPFC registers
- table 7-15 ISP TOP control registers (sheet 1 of 6)
- table 7-16 AWB registers (sheet 1 of 3)
- table 7-17 average registers (sheet 1 of 2)
- table 7-18 DPC registers
- table 7-19 LENC registers (sheet 1 of 4)
- table 7-20 cluster DPC registers (sheet 1 of 2)
- table 7-21 windows registers
- table 7-22 AEC/AGC 3 registers
- 8 operating specifications
- 9 mechanical specifications
- 10 optical specifications
- revision history
Confidential for truly Only
color CMOS QSXGA (5 megapixel) image sensor with OmniBSI™ technology
OV5647
proprietary to OmniVision Technologies PRELIMINARY SPECIFICATION version 1.0
5.2 lens correction (LENC)
The main purpose of the LENC is to compensate for lens imperfection. According to the area where each pixel is located,
the module calculates a gain for the pixel, correcting each pixel with its gain calculated to compensate for the light
distribution due to lens curvature. The LENC correcting curve automatic calculation according sensor gain is also added
so that the LENC can adapt with the sensor gain. Also, the LENC supports the subsample function in both horizontal and
vertical directions.
Registers 0x5888 ~ 0x588F need to change only when DSP input is not generated internally. In other words, the DSP
input is from an external sensor.
table 5-2 LENC control registers (sheet 1 of 2)
address
register name
default
value
R/W
description
0x5000 ISP CTRL00 0x89 RW
Bit[7]: lenc_en
0: Disable
1: Enable
0x583E MAX GAIN 0x40 RW Bit[7:0]: max_gain
0x583F MIN GAIN 0x20 RW Bit[7:0]: min_gain
0x5840 MIN Q 0x18 RW Bit[6:0]: min_q
0x5841 LENC CTRL59 0x0D RW
Bit[3]: ADDBLC
0: Disable BLC add back
function
1: Enable BLC add back
function
Bit[2]: blc_en
0: Disable BLC function
1: Enable BLC function
Bit[1]: gain_man_en
Bit[0]: autoq_en
0: Used constant Q (0x40)
1: Used calculated Q
0x5842 BR HSCALE 0x01 RW
Bit[3:0]: br_hscale[11:8]
Reciprocal of horizontal step for
BR channel. BR channel in whole
image is divided into 5x5 blocks.
The step is used to point to the
border of the adjacent block
0x5843 BR HSCALE 0x2B RW
Bit[7:0]: br_hscale[7:0]
Reciprocal of horizontal step for
BR channel. BR channel in whole
image is divided into 5x5 blocks.
The step is used to point to the
border of the adjacent block










