CN104363390A - Lens vignetting compensation method and system - Google Patents
Lens vignetting compensation method and system Download PDFInfo
- Publication number
- CN104363390A CN104363390A CN201410633297.5A CN201410633297A CN104363390A CN 104363390 A CN104363390 A CN 104363390A CN 201410633297 A CN201410633297 A CN 201410633297A CN 104363390 A CN104363390 A CN 104363390A
- Authority
- CN
- China
- Prior art keywords
- pixel
- compensation coefficient
- chip
- illumination
- memory module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Studio Devices (AREA)
Abstract
An embodiment of the invention provides a lens vignetting compensation method and system and solves the problems of the prior art that a hardware module for interpolation operation is required to a chip, thus chip size is larger, and chip production cost increases. The lens vignetting compensation method includes collecting images generated by uniform light lighting lens; based on lighting intensity of pixels on the images and lighting intensity of central points of the images, calculating compensation coefficients of pixels; saving the compensation coefficients of the pixels in a storage module outside the chip; extracting the compensation coefficients of the pixels to be compensated from the storage module outside the chip and compensating the same.
Description
Technical field
The present invention relates to image processing field, particularly the dark angle compensation method and system of a kind of camera lens.
Technical background
The dark angle of camera lens is that the light intensity being embodied in lens edge is less than camera lens middle section because the characteristic of camera lens itself causes, and causes the surrounding of image to occur the dark angle phenomenon darker than central area.In order to eliminate dark angle, need to revise to each pixel of image compensation coefficient.
Figure 1 shows that the principle schematic of the dark angle compensation method of camera lens in prior art.As shown in Figure 1, this compensation deals process first image to be compensated is divided into N × M rectangular area, then obtains the end points compensation coefficient value of each end points in this N × M rectangular area, and these end points compensation coefficient values be stored in compensation coefficient table.
When process will be compensated to a pixel to be compensated, first to judge whether this pixel to be compensated is end points.If this point to be compensated is end points, then direct this end points compensation coefficient value that reads from compensation coefficient table compensates and processes.If this point to be compensated is not end points, then from compensation coefficient table, read the end points compensation coefficient value of end points around this pixel, utilize the end points compensation coefficient value of end points around these to carry out the compensation coefficient of interpolation arithmetic in the hope of this pixel.Such as, as indicated with 1, the end points compensation coefficient being numbered the end points of 1 ~ 16 is utilized to carry out cubic algebraic curves computing, in the hope of the compensation coefficient of pixel A to be compensated.Must arrange the hardware module of carrying out interpolation arithmetic in the chip of such execution compensation deals and just can complete compensation process, this not only can increase the size of chip, also improves the manufacturing cost of chip.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of new camera lens dark angle compensation method and system, solves in chip of the prior art the hardware module that must arrange and carry out interpolation arithmetic and causes chip size to increase, and the problem that chip manufacturing cost increases.
Embodiments provide a kind of dark angle compensation method of camera lens, comprising:
Gather the image penetrating camera lens generation with uniform illumination;
The intensity of illumination of each pixel and the intensity of illumination of image center on image is utilized to calculate the compensation coefficient of each pixel;
The compensation coefficient of described each pixel is stored in chip exterior memory module;
The compensation coefficient obtaining pixel to be compensated from described chip exterior memory module compensates.
The dark angle compensation system of a kind of camera lens that the embodiment of the present invention provides, comprising:
Uniform source of light, makes lens sensors gather image for irradiating camera lens with uniform source of light;
Computing module, is configured to utilize the intensity of illumination of each pixel and the intensity of illumination of image center on image to calculate the compensation coefficient of each pixel;
Control module, is configured to the compensation coefficient of described each pixel to be stored in chip exterior memory module;
Compensation chips, the compensation coefficient being configured to obtain pixel to be compensated from described chip exterior memory module compensates.
The dark angle compensation method and system of the camera lens utilizing the embodiment of the present invention to provide, is stored in the compensation coefficient of each for image to be compensated pixel in chip exterior memory module.Like this when processing a pixel to be compensated, chip directly reads the compensation coefficient of this pixel to be compensated from this chip exterior memory module, without the need to carrying out interpolation arithmetic at chip internal, thus save the hardware spending that chip internal arranges interpolation arithmetic.So both reduce the size of chip, again reduce the manufacturing cost of chip.
Accompanying drawing explanation
Figure 1 shows that the principle schematic of the dark angle compensation method of camera lens in prior art.
Figure 2 shows that the schematic flow sheet of the dark angle compensation method of camera lens that one embodiment of the invention provides.
Figure 3 shows that the principle schematic of the acquisition pixel compensation coefficient that one embodiment of the invention provides.
Figure 4 shows that the structural representation of the dark angle compensation system of camera lens that one embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Figure 2 shows that the schematic flow sheet of the dark angle compensation method of camera lens that one embodiment of the invention provides.As shown in Figure 2, the dark angle compensation method of this camera lens comprises:
Step 201: gather the image penetrating camera lens generation with uniform illumination.All identical due to the illumination condition of each pixel on the image that lens sensors generates will be ensured, uniform illumination therefore will be adopted to penetrate camera lens.
Step 202: utilize the intensity of illumination of each pixel and the intensity of illumination of image center on image to calculate the compensation coefficient of each pixel.In an embodiment of the present invention, compensation coefficient is directly proportional to the intensity of illumination of image center, is inversely proportional to the intensity of illumination of pixel.
It will be understood by those skilled in the art that and any method of the prior art can be adopted to try to achieve the compensation coefficient of each pixel in image, the present invention does not limit this.The concrete grammar of the compensation coefficient obtaining a pixel in image is described below by an example.
Figure 3 shows that the principle schematic of the acquisition pixel compensation coefficient that one embodiment of the invention provides.As shown in Figure 3, the light intensity of Ex represent pixel point x, Eo represents the light intensity of o position, center, focal plane.The Relationship of Light intensity between Ex and E0 is:
θ is the light angle of light source and pixel x and center, focal plane o;
Again according to triangle geometry relation:
and l
1 2=l
0 2+ r
2; Wherein, r is the distance of pixel apart from center on focal plane, 1
0for focal plane is to the distance of camera lens;
Compensation coefficient coef can be drawn:
That is the compensation coefficient of pixel and this pixel are apart from the distance r of center on focal plane and focal plane to the distance 1 of camera lens
0relevant.
Step 203: the compensation coefficient of described each pixel is stored in chip exterior memory module.
In an embodiment of the present invention, chip exterior memory module comprises non-volatility memorizer.Now the compensation coefficient of each pixel is stored in chip exterior memory module to comprise: the compensation coefficient of each pixel is stored in non-volatility memorizer.When the reading speed of non-volatility memorizer cannot meet the reading requirement of compensation coefficient, chip exterior memory module also can comprise further: the plug-in memory of chip.Now when compensating initialization, also will by the compensation coefficient of each pixel from non-volatility memorizer unloading to the plug-in memory of chip.
Step 204: the compensation coefficient obtaining pixel to be compensated from described chip exterior memory module compensates.Such chip directly reads the compensation coefficient of this pixel to be compensated from this chip exterior memory module, without the need to carrying out interpolation arithmetic at chip internal, thus saves the hardware spending that chip internal arranges interpolation arithmetic.So both reduce the size of chip, again reduce the manufacturing cost of chip.
Figure 4 shows that the structural representation of the dark angle compensation system of camera lens that one embodiment of the invention provides.As shown in Figure 4, the dark angle compensation system of this camera lens comprises:
Uniform source of light, makes lens sensors gather image for irradiating camera lens with uniform source of light.
Computing module, is configured to utilize the intensity of illumination of each pixel and the intensity of illumination of image center on image to calculate the compensation coefficient of each pixel.
Control module, is configured to the compensation coefficient of each pixel to be stored in chip exterior memory module.
Compensation chips, the compensation coefficient being configured to obtain from chip exterior memory module pixel to be compensated compensates.
In an embodiment of the present invention, chip exterior memory module comprises non-volatility memorizer and the plug-in memory of chip.Now, in an alternative embodiment of the invention, control module is further configured to: be stored in non-volatility memorizer by the compensation coefficient of each pixel; When compensating initialization, by the compensation coefficient of each pixel from non-volatility memorizer unloading to the plug-in memory of chip.
In an embodiment of the present invention, non-volatility memorizer is eeprom memory or FLASH memory.The plug-in memory of chip is DDR memory.
These are only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement etc., all should be included within protection scope of the present invention.
Claims (9)
1. the dark angle compensation method of camera lens, is characterized in that, comprising:
Gather the image penetrating camera lens generation with uniform illumination;
The intensity of illumination of each pixel and the intensity of illumination of image center on image is utilized to calculate the compensation coefficient of each pixel;
The compensation coefficient of described each pixel is stored in chip exterior memory module;
The compensation coefficient obtaining pixel to be compensated from described chip exterior memory module compensates.
2. the dark angle compensation method of camera lens according to claim 1, is characterized in that, described chip exterior memory module comprises non-volatility memorizer;
The described compensation coefficient by described each pixel is stored in chip exterior memory module and comprises:
The compensation coefficient of described each pixel is stored in non-volatility memorizer.
3. the dark angle compensation method of camera lens according to claim 2, is characterized in that, described chip exterior memory module comprises the plug-in memory of chip further;
The described compensation coefficient by described each pixel is stored in chip exterior memory module and comprises further:
When compensating initialization, by the compensation coefficient of described each pixel from described non-volatility memorizer unloading to the plug-in memory of chip.
4. the dark angle compensation method of camera lens according to claim 1, is characterized in that, the described compensation coefficient utilizing the intensity of illumination of each pixel and the intensity of illumination of image center on image to calculate each pixel comprises:
Described compensation coefficient is directly proportional to the intensity of illumination of described image center, is inversely proportional to the intensity of illumination of described pixel.
5. the dark angle compensation system of camera lens, is characterized in that, comprising:
Uniform source of light, makes lens sensors gather image for irradiating camera lens with uniform source of light;
Computing module, is configured to utilize the intensity of illumination of each pixel and the intensity of illumination of image center on image to calculate the compensation coefficient of each pixel;
Control module, is configured to the compensation coefficient of described each pixel to be stored in chip exterior memory module;
Compensation chips, the compensation coefficient being configured to obtain pixel to be compensated from described chip exterior memory module compensates.
6. system according to claim 5, is characterized in that, described chip exterior memory module comprises non-volatility memorizer.
7. system according to claim 6, described non-volatility memorizer is eeprom memory or FLASH memory.
8. system according to claim 6, is characterized in that, described chip exterior memory module comprises the plug-in memory of chip further.
9. system according to claim 8, the plug-in memory of described chip is DDR memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410633297.5A CN104363390A (en) | 2014-11-11 | 2014-11-11 | Lens vignetting compensation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410633297.5A CN104363390A (en) | 2014-11-11 | 2014-11-11 | Lens vignetting compensation method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104363390A true CN104363390A (en) | 2015-02-18 |
Family
ID=52530613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410633297.5A Pending CN104363390A (en) | 2014-11-11 | 2014-11-11 | Lens vignetting compensation method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104363390A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681680A (en) * | 2016-02-22 | 2016-06-15 | 信利光电股份有限公司 | Image vignetting correction method, device and system |
CN108111777A (en) * | 2017-12-15 | 2018-06-01 | 武汉精立电子技术有限公司 | A kind of dark angle correction system and method |
CN108650471A (en) * | 2018-04-24 | 2018-10-12 | 信利光电股份有限公司 | A kind of LSC compensation methodes of fish-eye camera and device, readable storage medium storing program for executing |
CN112118370A (en) * | 2019-06-20 | 2020-12-22 | 浙江宇视科技有限公司 | Dark corner defect eliminating method, device, equipment and storage medium |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0713267A (en) * | 1993-06-28 | 1995-01-17 | Minolta Co Ltd | Variable power copying machine |
US20040155970A1 (en) * | 2003-02-12 | 2004-08-12 | Dialog Semiconductor Gmbh | Vignetting compensation |
CN1624515A (en) * | 2003-12-05 | 2005-06-08 | 鸿富锦精密工业(深圳)有限公司 | Digital camera lens mould set regulating method |
CN1703831A (en) * | 2002-09-26 | 2005-11-30 | 阿纳洛格装置公司 | Integrated digital calibration circuit and digital to analog converter (DAC) |
CN2745085Y (en) * | 2003-03-27 | 2005-12-07 | 鸿富锦精密工业(深圳)有限公司 | Optical homogenizing device and camera using the same |
US20060204128A1 (en) * | 2005-03-07 | 2006-09-14 | Silverstein D A | System and method for correcting image vignetting |
TWI273343B (en) * | 2003-12-05 | 2007-02-11 | Hon Hai Prec Ind Co Ltd | An adjusting method for digital camera lens module |
CN1921563A (en) * | 2005-08-22 | 2007-02-28 | 广达电脑股份有限公司 | Method and device for peripherial blind-corner compensation of image sensor |
CN101179662A (en) * | 2006-11-06 | 2008-05-14 | 亚洲光学股份有限公司 | Video dark corner correcting method and device |
CN101207833A (en) * | 2006-12-19 | 2008-06-25 | Tcl数码科技(深圳)有限责任公司 | Method for checking optical centre bias of lens of digital camera |
CN101640038A (en) * | 2009-08-26 | 2010-02-03 | 广东威创视讯科技股份有限公司 | Display device colour luminance compensation method, device and system |
CN102280097A (en) * | 2011-08-31 | 2011-12-14 | 广东威创视讯科技股份有限公司 | Display brightness and chrominance uniformity regulating method |
CN102291554A (en) * | 2011-08-31 | 2011-12-21 | 广东威创视讯科技股份有限公司 | Uniformity regulating method for brightness and chrominance of screen |
CN102376292A (en) * | 2011-09-13 | 2012-03-14 | 广东威创视讯科技股份有限公司 | Display unit brightness correcting method |
CN102740110A (en) * | 2012-05-31 | 2012-10-17 | 惠州Tcl移动通信有限公司 | Detection method of picture dark corner and mobile equipment |
CN102801912A (en) * | 2012-07-17 | 2012-11-28 | 北京伽略电子系统技术有限公司 | Infrared image processing chip and processing method |
CN102905077A (en) * | 2012-10-09 | 2013-01-30 | 深圳市掌网立体时代视讯技术有限公司 | Image vignetting brightness regulating method and device |
CN103141107A (en) * | 2010-12-24 | 2013-06-05 | 三菱电机株式会社 | Liquid crystal display device and vehicle-mounted information device |
CN103531175A (en) * | 2013-10-31 | 2014-01-22 | 广东威创视讯科技股份有限公司 | Method and system for adjusting brightness uniformity of screen of splicing display device |
CN103973991A (en) * | 2014-05-12 | 2014-08-06 | 华中科技大学 | Automatic exposure method for judging illumination scene on basis of B-P neural network |
CN104113675A (en) * | 2014-07-09 | 2014-10-22 | 宁波摩视光电科技有限公司 | Image real-time correction output method for broad-width scanner |
CN104778664A (en) * | 2015-04-10 | 2015-07-15 | 信利光电股份有限公司 | Image brightness correction method |
-
2014
- 2014-11-11 CN CN201410633297.5A patent/CN104363390A/en active Pending
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0713267A (en) * | 1993-06-28 | 1995-01-17 | Minolta Co Ltd | Variable power copying machine |
CN1703831A (en) * | 2002-09-26 | 2005-11-30 | 阿纳洛格装置公司 | Integrated digital calibration circuit and digital to analog converter (DAC) |
US20040155970A1 (en) * | 2003-02-12 | 2004-08-12 | Dialog Semiconductor Gmbh | Vignetting compensation |
CN2745085Y (en) * | 2003-03-27 | 2005-12-07 | 鸿富锦精密工业(深圳)有限公司 | Optical homogenizing device and camera using the same |
CN1624515A (en) * | 2003-12-05 | 2005-06-08 | 鸿富锦精密工业(深圳)有限公司 | Digital camera lens mould set regulating method |
TWI273343B (en) * | 2003-12-05 | 2007-02-11 | Hon Hai Prec Ind Co Ltd | An adjusting method for digital camera lens module |
US20060204128A1 (en) * | 2005-03-07 | 2006-09-14 | Silverstein D A | System and method for correcting image vignetting |
CN1921563A (en) * | 2005-08-22 | 2007-02-28 | 广达电脑股份有限公司 | Method and device for peripherial blind-corner compensation of image sensor |
CN101179662A (en) * | 2006-11-06 | 2008-05-14 | 亚洲光学股份有限公司 | Video dark corner correcting method and device |
CN101207833A (en) * | 2006-12-19 | 2008-06-25 | Tcl数码科技(深圳)有限责任公司 | Method for checking optical centre bias of lens of digital camera |
CN101640038A (en) * | 2009-08-26 | 2010-02-03 | 广东威创视讯科技股份有限公司 | Display device colour luminance compensation method, device and system |
CN103141107A (en) * | 2010-12-24 | 2013-06-05 | 三菱电机株式会社 | Liquid crystal display device and vehicle-mounted information device |
CN102280097A (en) * | 2011-08-31 | 2011-12-14 | 广东威创视讯科技股份有限公司 | Display brightness and chrominance uniformity regulating method |
CN102291554A (en) * | 2011-08-31 | 2011-12-21 | 广东威创视讯科技股份有限公司 | Uniformity regulating method for brightness and chrominance of screen |
CN102376292A (en) * | 2011-09-13 | 2012-03-14 | 广东威创视讯科技股份有限公司 | Display unit brightness correcting method |
CN102740110A (en) * | 2012-05-31 | 2012-10-17 | 惠州Tcl移动通信有限公司 | Detection method of picture dark corner and mobile equipment |
CN102801912A (en) * | 2012-07-17 | 2012-11-28 | 北京伽略电子系统技术有限公司 | Infrared image processing chip and processing method |
CN102905077A (en) * | 2012-10-09 | 2013-01-30 | 深圳市掌网立体时代视讯技术有限公司 | Image vignetting brightness regulating method and device |
CN103531175A (en) * | 2013-10-31 | 2014-01-22 | 广东威创视讯科技股份有限公司 | Method and system for adjusting brightness uniformity of screen of splicing display device |
CN103973991A (en) * | 2014-05-12 | 2014-08-06 | 华中科技大学 | Automatic exposure method for judging illumination scene on basis of B-P neural network |
CN104113675A (en) * | 2014-07-09 | 2014-10-22 | 宁波摩视光电科技有限公司 | Image real-time correction output method for broad-width scanner |
CN104778664A (en) * | 2015-04-10 | 2015-07-15 | 信利光电股份有限公司 | Image brightness correction method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681680A (en) * | 2016-02-22 | 2016-06-15 | 信利光电股份有限公司 | Image vignetting correction method, device and system |
CN108111777A (en) * | 2017-12-15 | 2018-06-01 | 武汉精立电子技术有限公司 | A kind of dark angle correction system and method |
CN108650471A (en) * | 2018-04-24 | 2018-10-12 | 信利光电股份有限公司 | A kind of LSC compensation methodes of fish-eye camera and device, readable storage medium storing program for executing |
CN108650471B (en) * | 2018-04-24 | 2020-08-04 | 信利光电股份有限公司 | L SC compensation method and device of fisheye camera and readable storage medium |
CN112118370A (en) * | 2019-06-20 | 2020-12-22 | 浙江宇视科技有限公司 | Dark corner defect eliminating method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104363390A (en) | Lens vignetting compensation method and system | |
US10504400B2 (en) | Method and apparatus for performing correction processing on grayscale of a pixel in an image | |
US9105090B2 (en) | Wide-angle lens image correction | |
CN107464265B (en) | Parameter calibration system and method for binocular panoramic camera | |
CN107223244A (en) | Localization method and device | |
KR20100114848A (en) | System and method for image correction | |
CN103369192A (en) | Method and device for Full-hardware splicing of multichannel video images | |
CN105892021A (en) | Imaging lens assembly | |
CN103885611A (en) | Method and device for adjusting image | |
CN107454303A (en) | A kind of video anti-fluttering method and terminal device | |
US9538076B2 (en) | Image processing devices for suppressing color fringe, and image sensor modules and electronic devices including the same | |
US20160343143A1 (en) | Edge detection apparatus, edge detection method, and computer readable medium | |
CN107356213B (en) | Optical filter concentricity measuring method and terminal equipment | |
CN109685789A (en) | The battery core surface gummed paper detection method and device of view-based access control model detection | |
US20210225239A1 (en) | Mura compensation device, display device and mura compensation method | |
CN106530219A (en) | Image splicing method and device | |
CN211247425U (en) | Mobile phone shell surface defect machine vision detection equipment | |
CN109792497A (en) | Image-forming component and photographic device | |
US7561306B2 (en) | One-dimensional lens shading correction | |
CN107257443A (en) | The method and its device, terminal device of a kind of anti-vignetting of stitching image | |
CN107507130A (en) | A kind of quickly QFN chip pins image obtains and amplification method | |
CN105512659A (en) | Correction method and system for character line bending | |
IL233523A (en) | System and method for quantifying reflection e.g. when analyzing laminated documents | |
US8611700B2 (en) | Distance map-based warping of binary images | |
CN116843665A (en) | Camera module gluing condition judging method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190311 Address after: 519031 Room 105-15070, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province Applicant after: Guangdong Vimicro Corp Address before: 519000 room 105, 6 Baohua Road, Hengqin New District, Zhuhai, Guangdong -478 Applicant before: GUANGDONG ZHONGXING ELECTRONICS CO., LTD. |
|
TA01 | Transfer of patent application right |