CN107295271B - Illumination compensation method and system of spherical light source - Google Patents
Illumination compensation method and system of spherical light source Download PDFInfo
- Publication number
- CN107295271B CN107295271B CN201710724760.0A CN201710724760A CN107295271B CN 107295271 B CN107295271 B CN 107295271B CN 201710724760 A CN201710724760 A CN 201710724760A CN 107295271 B CN107295271 B CN 107295271B
- Authority
- CN
- China
- Prior art keywords
- light source
- brightness
- spherical light
- average value
- image file
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
The application discloses an illumination compensation method and system of a spherical light source, comprising the following steps: performing illumination point detection on the spherical light source, and calculating a brightness coefficient; when the spherical light source is a burning light source, the sample module captures data of the image file and calculates a first average value of the brightness of the central area of the image file; obtaining a compensated brightness value according to the first average value and the brightness coefficient of the brightness of the central area; and compensating the illumination of the spherical light source according to the compensated brightness value. Because the illumination difference of the spherical light source has certain influence on the brightness of the picture, the brightness coefficient is utilized to compensate the brightness value, and then the illumination of the spherical light source is compensated, so that the influence of the illumination difference of the spherical light source on the brightness of the picture in the production process can be reduced, the consistency of the brightness of the picture is ensured, and the brightness of the picture is more uniform when the modules are paired and assembled.
Description
Technical Field
The invention relates to the field of optics, in particular to an illumination compensation method and system of a spherical light source.
Background
The panoramic double cameras are formed by assembling two fisheye cameras with Field of View (FOV) exceeding 180 degrees back to back, and the panoramic image is formed by respectively shooting and splicing the two cameras. Because the modules have differences, the single module needs to be corrected, and the brightness parameters of the single module are burned into the module. The brightness parameter is calculated by data acquired under a specific spherical light source, and the spherical light source directly determines the accuracy and consistency of the burning parameters.
In the actual operation process, because the illuminance difference between the spherical light sources, even if the illuminance difference is very small, the same set of parameters is used, the brightness G value of the module exposure still has certain difference, and the image brightness is inconsistent when the modules are paired and installed and the image is fused.
In the production process of the module, there are differences between different spherical light sources and between different times of the same light source, so how to perform luminance coefficient compensation on the illumination of the light source is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the above, the present invention provides an illumination compensation method and system for a spherical light source, which can reduce the influence of illumination difference of the spherical light source on the image brightness during the production process, ensure the uniformity of the image brightness, and make the image brightness more uniform when the modules are assembled in pairs. The specific scheme is as follows:
an illumination compensation method of a spherical light source comprises the following steps:
performing illumination point detection on the spherical light source, and calculating a brightness coefficient;
when the spherical light source is a burning light source, the sample module captures data of an image file and calculates a first average value of the brightness of a central area of the image file;
obtaining a compensated brightness value according to the first average value of the brightness of the central area and the brightness coefficient;
and compensating the illumination of the spherical light source according to the compensated brightness value.
Preferably, in the illuminance compensation method for the spherical light source according to the embodiment of the present invention, performing illuminance spot detection on the spherical light source to calculate a luminance coefficient, specifically includes:
when the spherical light source is a standard light source, acquiring data of the image file by using a standard module, and calculating a second average value of the brightness of the central area of the image file;
when the spherical light source is a burning light source, a standard module is used for acquiring data of the image file, and a third average value of the brightness of the central area of the image file is calculated;
and obtaining a brightness coefficient according to the ratio of the second average value to the third average value.
Preferably, in the illumination compensation method for a spherical light source according to an embodiment of the present invention, after compensating the illumination of the spherical light source according to the compensated brightness value, the method further includes:
and burning the compensated brightness value into the sample module.
Preferably, in the illumination compensation method of the spherical light source provided in the embodiment of the present invention, when the color temperature of the spherical light source is a set value and the illumination is a set range, the luminance value after compensation is directly proportional to the illumination of the spherical light source.
Preferably, in the illuminance compensation method of the spherical light source provided by the embodiment of the present invention, the setting range of the illuminance is 800lux to 1200 lux.
Preferably, in the illuminance compensation method for the spherical light source provided by the embodiment of the present invention, the color temperature of the spherical light source is 5100K.
Preferably, in the illumination compensation method for a spherical light source provided by the embodiment of the present invention, the sample module includes a single fisheye camera.
The embodiment of the present invention further provides a brightness compensation system of a spherical light source, including:
the brightness coefficient calculation module is used for performing illumination point detection on the spherical light source and calculating a brightness coefficient;
the first average value calculating module is used for capturing data of the image file by the sample module when the spherical light source is a burning light source and calculating a first average value of the brightness of the central area of the image file;
the brightness value calculation module is used for obtaining a compensated brightness value according to the first average value of the brightness of the central area and the brightness coefficient;
and the illumination compensation module is used for compensating the illumination of the spherical light source according to the compensated brightness value.
The invention provides an illumination compensation method and system of a spherical light source, comprising the following steps: performing illumination point detection on the spherical light source, and calculating a brightness coefficient; when the spherical light source is a burning light source, the sample module captures data of the image file and calculates a first average value of the brightness of the central area of the image file; obtaining a compensated brightness value according to the first average value and the brightness coefficient of the brightness of the central area; and compensating the illumination of the spherical light source according to the compensated brightness value. Because the illumination difference of the spherical light source has certain influence on the brightness of the picture, the brightness coefficient is utilized to compensate the brightness value, and then the illumination of the spherical light source is compensated, so that the influence of the illumination difference of the spherical light source on the brightness of the picture in the production process can be reduced, the consistency of the brightness of the picture is ensured, and the brightness of the picture is more uniform when the modules are paired and assembled.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an illuminance compensation method for a spherical light source according to an embodiment of the present invention;
fig. 2 is a graph of luminance and brightness values of a light source according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an illuminance compensation method of a spherical light source, as shown in figure 1, comprising the following steps:
s101, performing illumination point detection on the spherical light source, and calculating a brightness coefficient;
s102, when the spherical light source is a burning light source, the sample module captures data of an image file and calculates a first average value of the brightness of a central area of the image file;
s103, obtaining a compensated brightness value according to the first average value and the brightness coefficient of the brightness of the central area;
and S104, compensating the illumination of the spherical light source according to the compensated brightness value.
In the illuminance compensation method for the spherical light source provided by the embodiment of the invention, firstly, illuminance spot inspection is carried out on the spherical light source, and a brightness coefficient is calculated; then when the spherical light source is a burning light source, the sample module captures data of the image file and calculates a first average value of the brightness of the central area of the image file; then obtaining a compensated brightness value according to the first average value and the brightness coefficient of the brightness of the central area; and finally, compensating the illumination of the spherical light source according to the compensated brightness value. Because the illumination difference of the spherical light source has certain influence on the brightness of the picture, the brightness coefficient is utilized to compensate the brightness value, and then the illumination of the spherical light source is compensated, so that the influence of the illumination difference of the spherical light source on the brightness of the picture in the production process can be reduced, the consistency of the brightness of the picture is ensured, and the brightness of the picture is more uniform when the modules are paired and assembled.
Specifically, assuming that the calculated luminance coefficient is k, the first average value of the luminance of the central region is G1;
the luminance value G-G1 × k after compensation.
It should be noted that, when the spherical light source is a burning light source, One Time Programmable (OTP) burning is performed; the image file is a Raw map.
Further, in a specific implementation, in the illuminance compensation method for the spherical light source provided in the embodiment of the present invention, the step S101 performs illuminance spot detection on the spherical light source to calculate the luminance coefficient, which may specifically include the following steps:
firstly, when a spherical light source is a standard light source, a standard module is used for acquiring data of an image file, and a second average value of the brightness of a central area of the image file is calculated;
then, when the spherical light source is a burning light source, the standard module is used for acquiring data of the image file, and a third average value of the brightness of the central area of the image file is calculated;
and finally, obtaining the brightness coefficient according to the ratio between the second average value and the third average value.
Specifically, for example, the second average value of the center-region luminance is G2, the third average value of the center-region luminance is G3, and the absolute deviation of G2 from G3 is calculated as the luminance coefficient: k is G2/G3.
When G2 is 600, G3 is 650, G1 is 655, the luminance coefficient k is G2/G3 is 600/650 is 0.9231; the compensated G-1-k-655-0.9321-605, i.e. the compensated luminance value is 605.
In a specific implementation, in the illumination compensation method for a spherical light source according to an embodiment of the present invention, in order to further make the brightness of the image more uniform after the modules are assembled in pairs, after compensating the illumination of the spherical light source according to the compensated brightness value, the method may further include:
and burning the compensated brightness value into the sample module.
It should be noted that the platform end can directly call the brightness value of the burning of the sample module.
In addition, it should be noted that the sample module is a fisheye camera module, the fisheye camera is a lens with a viewing angle close to or greater than 180 °, a CCD/CMOS photosensitive element is arranged in the fisheye camera, the core of the CCD/CMOS photosensitive element is a photosensitive diode, the photosensitive diode can generate an output current after receiving light irradiation, and the current intensity generated by the light source is proportional to the illumination intensity within a certain range.
In a specific implementation, in the illumination compensation method for a spherical light source according to the embodiment of the present invention, as shown in fig. 2, when the color temperature of the spherical light source is a set value and the illumination is a set range, the compensated brightness value is proportional to the illumination of the spherical light source.
At this time, as shown in fig. 2, the setting range of the illuminance may be 800lux to 1200 lux; in specific implementation, the color temperature of the spherical light source can be 5100K, that is, the color temperature of the spherical light source is constant (for example, 5000K), and when the illuminance is 800lux to 1200lux, the brightness G value is directly proportional to the illuminance.
Based on the same inventive concept, embodiments of the present invention further provide a brightness compensation system of a spherical light source, and since the principle of the system for solving the problem is similar to the above illumination compensation method of a spherical light source, the implementation of the system can refer to the implementation of the illumination compensation method of a spherical light source, and repeated details are not repeated.
In specific implementation, the brightness compensation system of a spherical light source provided in the embodiment of the present invention specifically includes:
the brightness coefficient calculation module is used for performing illumination point detection on the spherical light source and calculating a brightness coefficient;
the first average value calculating module is used for capturing data of the image file by the sample module when the spherical light source is a burning light source and calculating a first average value of the brightness of the central area of the image file;
the brightness value calculation module is used for obtaining a compensated brightness value according to the first average value of the brightness of the central area and the brightness coefficient;
and the illumination compensation module is used for compensating the illumination of the spherical light source according to the compensated brightness value.
In the brightness compensation system provided by the embodiment of the invention, the influence of the illumination difference of the spherical light source on the brightness of the picture in the production process can be reduced through the interaction of the modules, the consistency of the brightness of the picture is ensured, and the brightness of the picture is more uniform when the modules are assembled in a matched mode.
The embodiment of the invention provides an illumination compensation method and system of a spherical light source, comprising the following steps: performing illumination point detection on the spherical light source, and calculating a brightness coefficient; when the spherical light source is a burning light source, the sample module captures data of the image file and calculates a first average value of the brightness of the central area of the image file; obtaining a compensated brightness value according to the first average value and the brightness coefficient of the brightness of the central area; and compensating the illumination of the spherical light source according to the compensated brightness value. Because the illumination difference of the spherical light source has certain influence on the brightness of the picture, the brightness coefficient is utilized to compensate the brightness value, and then the illumination of the spherical light source is compensated, so that the influence of the illumination difference of the spherical light source on the brightness of the picture in the production process can be reduced, the consistency of the brightness of the picture is ensured, and the brightness of the picture is more uniform when the modules are paired and assembled.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The method and system for compensating the illuminance of the spherical light source provided by the invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (7)
1. An illumination compensation method for a spherical light source, comprising:
when the spherical light source is a standard light source, acquiring data of a first image file by using a standard module, and calculating a second average value of the brightness of a central area of the first image file;
when the spherical light source is a burning light source, acquiring data of a second image file by using a standard module, and calculating a third average value of the brightness of a central area of the second image file;
obtaining a brightness coefficient according to the ratio of the second average value to the third average value;
when the spherical light source is a burning light source, the sample module captures data of an image file and calculates a first average value of the brightness of a central area of the image file;
obtaining a compensated brightness value according to the first average value of the brightness of the central area and the brightness coefficient;
and compensating the illumination of the spherical light source according to the compensated brightness value.
2. The method for compensating illuminance of a spherical light source according to claim 1, further comprising, after compensating the illuminance of the spherical light source according to the compensated brightness value:
and burning the compensated brightness value into the sample module.
3. The method of claim 2, wherein the luminance value after compensation is proportional to the illuminance of the spherical light source when the color temperature of the spherical light source is a set value and the illuminance is within a set range.
4. The method of compensating illuminance for a spherical light source according to claim 3, wherein the illuminance is set to be in a range of 800lux to 1200 lux.
5. The method of claim 4, wherein the color temperature of the spherical light source is 5100K.
6. The method of claim 5, wherein the sample module comprises a single fisheye camera.
7. An illumination compensation system for a spherical light source, comprising:
the brightness coefficient calculation module is used for acquiring data of a first image file by using a standard module when the spherical light source is a standard light source, and calculating a second average value of the brightness of the central area of the first image file; when the spherical light source is a burning light source, acquiring data of a second image file by using a standard module, and calculating a third average value of the brightness of a central area of the second image file; obtaining a brightness coefficient according to the ratio of the second average value to the third average value;
the first average value calculating module is used for capturing data of the image file by the sample module when the spherical light source is a burning light source and calculating a first average value of the brightness of the central area of the image file;
the brightness value calculation module is used for obtaining a compensated brightness value according to the first average value of the brightness of the central area and the brightness coefficient;
and the illumination compensation module is used for compensating the illumination of the spherical light source according to the compensated brightness value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710724760.0A CN107295271B (en) | 2017-08-22 | 2017-08-22 | Illumination compensation method and system of spherical light source |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710724760.0A CN107295271B (en) | 2017-08-22 | 2017-08-22 | Illumination compensation method and system of spherical light source |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107295271A CN107295271A (en) | 2017-10-24 |
CN107295271B true CN107295271B (en) | 2020-05-29 |
Family
ID=60106729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710724760.0A Active CN107295271B (en) | 2017-08-22 | 2017-08-22 | Illumination compensation method and system of spherical light source |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107295271B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112631624A (en) * | 2020-12-30 | 2021-04-09 | 厦门骏微电子科技有限公司 | Correction method and correction system for photosensitive circuit board |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006121363A (en) * | 2004-10-21 | 2006-05-11 | Fujitsu Ltd | Lighting adjusting method, lighting unit, and image processor |
CN104299563A (en) * | 2014-09-05 | 2015-01-21 | 青岛海信电器股份有限公司 | Luminance compensation method and self-illumination display device |
CN104333710A (en) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | Camera exposure method, camera exposure device and camera exposure equipment |
CN106341617A (en) * | 2016-11-16 | 2017-01-18 | 信利光电股份有限公司 | Method and apparatus for crosstalk compensation of camera |
CN106526974A (en) * | 2016-12-30 | 2017-03-22 | 深圳Tcl数字技术有限公司 | Method and system for adjusting optical uniformity of liquid crystal modules |
CN106713755A (en) * | 2016-12-29 | 2017-05-24 | 北京疯景科技有限公司 | Method and apparatus for processing panoramic image |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4040613B2 (en) * | 2004-08-31 | 2008-01-30 | キヤノン株式会社 | Imaging device |
TWI401522B (en) * | 2008-12-31 | 2013-07-11 | Altek Corp | Flash intensity adjustment method |
CN101976012B (en) * | 2010-09-16 | 2012-06-06 | 青岛海信电器股份有限公司 | Method and device for regulating brightness of light source as well as laser projection equipment |
JP5498335B2 (en) * | 2010-09-27 | 2014-05-21 | 富士フイルム株式会社 | Imaging apparatus and endoscope diagnostic apparatus |
CN102641109B (en) * | 2011-07-08 | 2014-08-27 | 上海交通大学 | Method for intelligently adjusting endoscope illuminance |
CN102438107B (en) * | 2011-08-09 | 2013-11-13 | 宁波大学 | Method for processing microscope video image |
KR20150059686A (en) * | 2013-11-22 | 2015-06-02 | 삼성전자주식회사 | Method and apparatus for image processing |
CN103763546B (en) * | 2013-12-25 | 2016-07-13 | 宁波舜宇光电信息有限公司 | Light source difference correction method for monomer correction of mobile phone camera |
-
2017
- 2017-08-22 CN CN201710724760.0A patent/CN107295271B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006121363A (en) * | 2004-10-21 | 2006-05-11 | Fujitsu Ltd | Lighting adjusting method, lighting unit, and image processor |
CN104299563A (en) * | 2014-09-05 | 2015-01-21 | 青岛海信电器股份有限公司 | Luminance compensation method and self-illumination display device |
CN104333710A (en) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | Camera exposure method, camera exposure device and camera exposure equipment |
CN106341617A (en) * | 2016-11-16 | 2017-01-18 | 信利光电股份有限公司 | Method and apparatus for crosstalk compensation of camera |
CN106713755A (en) * | 2016-12-29 | 2017-05-24 | 北京疯景科技有限公司 | Method and apparatus for processing panoramic image |
CN106526974A (en) * | 2016-12-30 | 2017-03-22 | 深圳Tcl数字技术有限公司 | Method and system for adjusting optical uniformity of liquid crystal modules |
Also Published As
Publication number | Publication date |
---|---|
CN107295271A (en) | 2017-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI556645B (en) | Lens shading calibration for cameras | |
CN110166704B (en) | Calibration method and device of multispectral camera | |
JP2009147440A (en) | White balance adjustment device and white balance adjustment method | |
KR101656173B1 (en) | Method and apparatus for detecting faulty pixel in thermal camera | |
JP2002027491A (en) | Image input unit, white balance adjusting method, and computer readable recording medium storing program for executing the method | |
JP6991957B2 (en) | Image processing device, image pickup device and image processing method | |
CN105812661B (en) | A kind of digital camera uniformity correcting method based on light box and gray card | |
CN107979726B (en) | Panoramic lens pairing method and panoramic lens | |
US9172887B2 (en) | Imaging apparatus, control method of imaging apparatus, interchangeable lens and lens-interchangeable type imaging apparatus body | |
CN107295271B (en) | Illumination compensation method and system of spherical light source | |
CN110312116B (en) | Compensation method and compensation system of point inspection module | |
CN106461913B (en) | Photographing element and photographic device | |
JP3922238B2 (en) | Light amount control device and camera device | |
JP6716295B2 (en) | Processing device, imaging device, processing method, program, and recording medium | |
TW201722208A (en) | Illuminance acquiring device, illuminance control system, and program | |
US9219869B1 (en) | Image capturing device and method for shading compensation thereof | |
JP2017203674A (en) | Change degree derivation device, change degree derivation method, and program | |
JP6862114B2 (en) | Processing equipment, processing systems, imaging equipment, processing methods, programs, and recording media | |
CN114697537A (en) | Image acquisition method, image sensor, and computer-readable storage medium | |
US20190268548A1 (en) | Image sensor | |
CN105282401B (en) | Video capturing device and its vignetting compensation method | |
JP6561479B2 (en) | Imaging device capable of color shading correction | |
US20130141614A1 (en) | Shading correction method for image capturing apparatus, and image capturing apparatus | |
US10863107B2 (en) | Image sensor configured by imaging module installed in body module and lens module, and capable of performing good shading correction | |
JP5359330B2 (en) | EXPOSURE CONTROL DEVICE AND EXPOSURE CONTROL METHOD |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |