CN105025230A - Camera assembly correction method - Google Patents
Camera assembly correction method Download PDFInfo
- Publication number
- CN105025230A CN105025230A CN201410157658.3A CN201410157658A CN105025230A CN 105025230 A CN105025230 A CN 105025230A CN 201410157658 A CN201410157658 A CN 201410157658A CN 105025230 A CN105025230 A CN 105025230A
- Authority
- CN
- China
- Prior art keywords
- image
- image data
- green
- blue
- red
- 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.)
- Granted
Links
Abstract
The invention provides a camera assembly correction method. The characteristics of camera assemblies are measured in advance, and the gain values of images are calculated during shooting. Through the approach, different camera assemblies can shoot images of the same brightness and color at the same time, and huge computation burden generated due to increase in the number of the camera assemblies can be effectively reduced.
Description
Technical field
The present invention has to relate to a kind of camera module bearing calibration, particularly relates to a kind of bearing calibration that the different camera modules of camera module array can be allowed to produce same brightness and color.
Background technology
Camera module array (camera array) can be made up of multiple small-sized camera module, and multiple images utilizing it to produce can be applicable to many aspects, and its topmost application is these multiple images to be combined into an image.If but the brightness of multiple original images or color variations too large time, will be increased in image combination upper time difficulty.
Existing mode utilizes on each camera module, configure a set of automatic exposure (autoexposure) and Automatic white balance (auto white balance) algorithm, makes each camera module can independent work.But when camera module quantity increases, then must configure different algorithms on each camera module, this camera module array pick-up image is made to produce approximate brightness or color, but this kind of mode can cause operand to cross as huge, and the position of putting due to each camera module is different, its shooting angle also has the phenomenon of skew, and then brightness when having influence on camera module array pick-up image or color, and cannot produce consistent exposure results.
Summary of the invention
Because the problem of above-mentioned existing skill, object of the present invention is providing a kind of camera module bearing calibration exactly, each camera module in camera module array can be allowed simultaneously to produce the image of same or similar brightness or color, and then produce consistent image feature.
Because the problem of above-mentioned existing skill, object of the present invention is providing a kind of camera module bearing calibration exactly, utilize and measure each camera module characteristic in advance, make different camera modules during taking in can carry out relative difference compensation, and then effectively to reduce because component count increases the operand produced.
According to object of the present invention, a kind of camera module bearing calibration is proposed, it is applicable to the adjustment of image between one first camera module and one second camera module, and camera module bearing calibration comprises the following step: utilize the first camera module and the second camera module to capture the image of a light emitting source to produce the first image and the second image respectively.According to the second red image data of the first red image data of the first image, the first green image data and the first blue image data and the second image, the second green image data and the second blue image data, calculate the first red image yield value, the first green image yield value, the first blue image yield value, the second red image yield value, the second green image yield value and the second blue image yield value respectively.Calculate the red image gain scale of the second image, green image gain scale and blue image gain scale, wherein red image gain scale be the ratio of the second red image yield value and the first red image yield value, the ratio of green image gain scale to be the ratio of the second green image yield value and the first green image yield value and blue image gain scale be the second blue image yield value and the first blue image yield value.When the image that the first camera module and the second camera module capture external environment condition is again to produce the 3rd image and the 4th image, produce the red adjustment of image gain of the 3rd image, green adjustment of image gain and blue adjustment of image gain.Red image gain scale, red adjustment of image gain are carried out being multiplied in the hope of red adjustment of image data with the second red image data, green image gain scale, green adjustment of image gain are carried out being multiplied in the hope of green adjustment of image data with the second green image data, and blue image gain scale, blue adjustment of image gain are carried out being multiplied in the hope of blue adjustment of image data with the second blue image data.And according to red adjustment of image data, green adjustment of image data and blue adjustment of image Data correction the 4th image to produce correcting image, make correcting image have identical image feature with the 3rd image.
Preferably, first red image data or the second red image data report are containing the brightness of red component image or the white balance value of red component image, first green image data or the second green image data report are containing the brightness of green component image or the white balance value of green component image, and the first blue image data or the second blue image data report are containing the brightness of blue component image or the white balance value of blue component image.
Preferably, the resolution system of the second camera module is lower than the resolution of the first camera module.
Preferably, correcting image system makes it have the resolution identical with the 3rd image through an interpolation process.
Preferably, first red image yield value is the ratio of the first green image data and the first red image data, first green image yield value is the ratio of the first green image data and the first green image data, first blue image yield value is the ratio of the first green image data and the first blue image data, second red image yield value is the ratio of the first green image data and the second red image data, second green image yield value is the ratio of the first green image data and the second green image data, second blue image yield value is the ratio of the first green image data and the second blue image data.
Preferably, image feature comprises white balance or automatic exposure value.
Preferably, correcting image and the 3rd image system are together for follow-up image procossing.
Accompanying drawing explanation
Fig. 1 is the calcspar of the camera module bearing calibration for the embodiment of the present invention.
Fig. 2 is the flow chart of steps of the camera module bearing calibration of another embodiment for the present invention.
Embodiment
Please refer to Fig. 1, is the calcspar of the camera module bearing calibration for the embodiment of the present invention.The camera module array of the present embodiment comprises one first camera module 10 and a plurality of second camera module 20, and the bearing calibration of this camera module is applicable to the adjustment of image between this first camera module 10 and arbitrary second camera module 20.The present embodiment to be illustrated enforcement higher than the resolution of the second camera module 20 with the resolution of the first camera module 10, and both have the identical time for exposure, but not as limit.
In this camera module array, first the first camera module 10 and the second camera module 20 is utilized to capture the image of a light source, and then produce one first image 51 and one second image 52, wherein this first camera module 10 and the second camera module 20 can be positioned in same plane or Different Plane, and carry out computing and storage by a processing unit 41 and a storage element 42, wherein this processing unit 41 and storage element 42 can be contained in an electronic installation or in the second camera module 20.
Processing unit 41 is utilized to calculate one first red image yield value for the first image 51 and the second image 52, one first green image yield value, one first blue image yield value, one second red image yield value, one second green image yield value and one second blue image yield value, wherein the first red image yield value equals the result that the first green image data and the first red image data are divided by, first green image yield value equals the result that the first green image data and the first green image data are divided by, first blue image yield value equals the result that the first green image data and the first blue image data are divided by, second red image yield value equals the result that the first green image data and the second red image data 64 are divided by, second green image yield value equals the result that the first green image data and the second green image data 65 are divided by, second blue image yield value equals the result that the first green image data and the second blue image data 66 are divided by, its citing example as shown in Table 1, in table one first image 51 and the second image 52 under same light source the image data of pixel one of in the image that captures, its unit is brightness value.
Table one. the image data of the first image and the second image and image yield value
According to the first red image yield value, first green image yield value, first blue image yield value, second red image yield value, second green image yield value and the second blue image yield value are to obtain the red image gain scale 79 of the second image, green image gain scale 80 and blue image gain scale 81, wherein red image gain scale 79 equals the result that the second red image yield value and the first red image yield value are divided by, green image gain scale 80 equals the result that the second green image yield value and the first green image yield value are divided by, and blue image gain scale 81 equals the result that the second blue image yield value and the first blue image yield value be divided by.This red image gain scale 79, green image gain scale 80 and blue image gain scale 81 are then stored in storage element 42.Its citing data as shown in Table 2.
Table two. the image gain scale of the second image
When the image that the first camera module 10 and the second camera module 20 capture external environment condition is again to produce the 3rd image 53 and the 4th image 54, Automatic white balance algorithm 91 one of now can be utilized in processing unit 41 to calculate the red adjustment of image gain 85 of the 3rd image 53, green adjustment of image gain 86 and blue adjustment of image gain 87, and Automatic white balance algorithm 91 can comprise the known techniques such as Median CutAlgorithm, Voronoi Diagram.Its citing data as shown in Table 3.
Table three. the white balance gains of the 3rd image
Now the second green image data 65 of red image data 64, second and the second blue image data 66 only need be sent in processing unit 41 and calculate by the second camera module 20, can produce red adjustment of image data, green adjustment of image data and blue adjustment of image data.Wherein these red adjustment of image data equal red image gain scale 79, red adjustment of image gain 85 and the second red image data 64 carry out the result that is multiplied, green adjustment of image data equal green image gain scale 80, green adjustment of image gain 86 and the second green image data 65 carry out the result that is multiplied, and blue adjustment of image data equal blue image gain scale 81, blue adjustment of image gain 87 and the second blue image data 66 carry out the result that is multiplied.
Further, processing unit 41 according to these red adjustment of image data, green adjustment of image data and blue adjustment of image Data correction the 4th image 54 to produce a correcting image 89, this correcting image 89 is made to have identical white balance image feature with the 3rd image 53, make this correcting image 89 and the 3rd image 53 can together for follow-up image procossing, as carried out combination image or setting up a 3D image.Its citing data as shown in Table 4, can be found out that by table four brightness of its image data of correcting image 89 calculated equals the brightness value of the 3rd image.
Table four. the image data of the 3rd image and correcting image
2nd figure is the flow chart of steps of the camera module bearing calibration of another embodiment according to the present invention.Step S1 utilizes the first camera module and the second camera module to capture the image of a light emitting source to produce the first image and the second image respectively.Step S2, according to the second red image data of first of the first image the red image data, the first green image data and the first blue image data and the second image, the second green image data and the second blue image data, calculates one first red image yield value, one first green image yield value, one first blue image yield value, one second red image yield value, one second green image yield value and one second blue image yield value respectively.Detailed yield value account form as described in above-described embodiment, therefore does not repeat at this.
Step S3 calculates the red image gain scale of the second image, green image gain scale and blue image gain scale.Step S4 system, when the image that the first camera module and the second camera module capture external environment condition is again to produce the 3rd image and the 4th image, produces the red adjustment of image gain of the 3rd image, green adjustment of image gain and blue adjustment of image gain.Its producing method is as shown in above-described embodiment and table three.
Red image gain scale, red adjustment of image gain are carried out being multiplied in the hope of red adjustment of image data with the second red image data by step S5, green image gain scale, green adjustment of image gain are carried out being multiplied in the hope of green adjustment of image data with the second green image data, and blue image gain scale, blue adjustment of image gain are carried out being multiplied in the hope of blue adjustment of image data with the second blue image data.Step S6 by processing unit according to red adjustment of image data, green adjustment of image data and blue adjustment of image Data correction the 4th image to produce correcting image, make correcting image and the 3rd image have one of identical image feature.Its result is as described in above-mentioned table four, and the 3rd image 53 has identical brightness value with correcting image 89.
Comprehensively the above can be learnt, each camera module in camera module array can be allowed to produce the image of same brightness or color through the camera module bearing calibration of the present invention, and then produce consistent image feature, and amount of calculation can be made not increase progressively with the increase of camera module quantity thereupon.
Although the present invention shows especially with reference to its exemplary embodiments and describes, usually know that the knowledgeable understands by for art tool, the various changes in form and details can be carried out it under the spirit not departing from following claim and the present invention that equivalent defined thereof and category.
Claims (7)
1. a camera module bearing calibration, is applicable to the adjustment of image between the first camera module and the second camera module, and described camera module bearing calibration bag is containing ﹕
Utilize the image of described first camera module and described second camera module acquisition light emitting source to produce the first image and the second image respectively;
According to the second red image data of the first red image data of described first image, the first green image data and the first blue image data and described second image, the second green image data and the second blue image data, calculate the first red image yield value, the first green image yield value, the first blue image yield value, the second red image yield value, the second green image yield value and the second blue image yield value respectively;
Calculate the red image gain scale of described second image, green image gain scale and blue image gain scale, the ratio that wherein said red image gain scale is the ratio of described second red image yield value and described first red image yield value, described green image gain scale is described second green image yield value and described first green image yield value and described blue image gain scale are the ratio of described second blue image yield value and described first blue image yield value;
When the image that described first camera module and described second camera module capture external environment condition is again to produce the 3rd image and the 4th image, produce the red adjustment of image gain of described 3rd image, green adjustment of image gain and blue adjustment of image gain;
Described red image gain scale, described red adjustment of image gain are carried out being multiplied in the hope of red adjustment of image data with described second red image data, described green image gain scale, described green adjustment of image gain are carried out being multiplied in the hope of green adjustment of image data with described second green image data, and described blue image gain scale, described blue adjustment of image gain are carried out being multiplied in the hope of blue adjustment of image data with described second blue image data; And
According to described red adjustment of image data, described green adjustment of image data and described blue adjustment of image Data correction, the 4th image is to produce correcting image, makes described correcting image have identical image feature with described 3rd image.
2. camera module bearing calibration as claimed in claim 1, wherein said first red image data or described second red image data report are containing the brightness of red component image or the white balance value of red component image, described first green image data or described second green image data report are containing the brightness of green component image or the white balance value of green component image, and described first blue image data or described second blue image data report are containing the brightness of blue component image or the white balance value of blue component image.
3. camera module bearing calibration as claimed in claim 1, the resolution system of wherein said second camera module is lower than the resolution of described first camera module.
4. camera module bearing calibration as claimed in claim 3, wherein said correcting image system makes it have the resolution identical with described 3rd image through interpolation process.
5. camera module bearing calibration as claimed in claim 1, wherein said first red image yield value is the ratio of described first green image data and described first red image data, described first green image yield value is the ratio of described first green image data and described first green image data, described first blue image yield value is the ratio of described first green image data and described first blue image data, described second red image yield value is the ratio of described first green image data and described second red image data, described second green image yield value is the ratio of described first green image data and described second green image data, described second blue image yield value is the ratio of described first green image data and described second blue image data.
6. camera module bearing calibration as claimed in claim 1, wherein said image feature comprises white balance or automatic exposure value.
7. camera module bearing calibration as claimed in claim 1, wherein said correcting image and described 3rd image system are together for follow-up image procossing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410157658.3A CN105025230B (en) | 2014-04-18 | 2014-04-18 | Camera module bearing calibration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410157658.3A CN105025230B (en) | 2014-04-18 | 2014-04-18 | Camera module bearing calibration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105025230A true CN105025230A (en) | 2015-11-04 |
CN105025230B CN105025230B (en) | 2018-03-06 |
Family
ID=54414902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410157658.3A Active CN105025230B (en) | 2014-04-18 | 2014-04-18 | Camera module bearing calibration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105025230B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009017457A (en) * | 2007-07-09 | 2009-01-22 | Fujifilm Corp | Compound eye photographic apparatus and method of adjusting the same |
JP2012209618A (en) * | 2011-03-29 | 2012-10-25 | Kyocera Corp | Electronic device |
JP2013070141A (en) * | 2011-09-21 | 2013-04-18 | Eastman Kodak Co | Imaging apparatus |
CN103119928A (en) * | 2010-09-30 | 2013-05-22 | 佳能株式会社 | Solid-state imaging apparatus |
-
2014
- 2014-04-18 CN CN201410157658.3A patent/CN105025230B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009017457A (en) * | 2007-07-09 | 2009-01-22 | Fujifilm Corp | Compound eye photographic apparatus and method of adjusting the same |
CN103119928A (en) * | 2010-09-30 | 2013-05-22 | 佳能株式会社 | Solid-state imaging apparatus |
JP2012209618A (en) * | 2011-03-29 | 2012-10-25 | Kyocera Corp | Electronic device |
JP2013070141A (en) * | 2011-09-21 | 2013-04-18 | Eastman Kodak Co | Imaging apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105025230B (en) | 2018-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9516290B2 (en) | White balance method in multi-exposure imaging system | |
US20080266417A1 (en) | White balance adjusting device, imaging apparatus, and recording medium storing white balance adjusting program | |
CN108234971B (en) | White balance parameter determines method, white balance adjustment method and device, storage medium, terminal | |
US10757386B2 (en) | White balance calibration method based on skin color data and image processing apparatus using the same | |
US8659685B2 (en) | Method and apparatus for calibrating and correcting shading non-uniformity of camera systems | |
CN105100601B (en) | Photographic device and its control method and signal processing apparatus | |
US9837011B2 (en) | Optical compensation system for performing smear compensation of a display device and optical compensation method thereof | |
US9307214B1 (en) | Automatic white balance methods and systems for electronic cameras | |
CN103945145A (en) | Apparatus and method for processing image | |
US9716880B2 (en) | Image calibrating method for stitching images and related camera and image processing system with image calibrating function | |
US10645317B2 (en) | Devices and methods for lens shading correction of an image | |
US9270961B2 (en) | Color shading correction using color channel consistency | |
WO2020156653A1 (en) | Method for generating image data for machine learning based imaging algorithms | |
US9270872B2 (en) | Apparatus, systems, and methods for removing shading effect from image | |
TW201601538A (en) | Image capture apparatus and image compensating method thereof | |
US9100584B1 (en) | Camera array correction method | |
US9800793B2 (en) | Method for generating target gain value of wide dynamic range operation | |
US8542919B2 (en) | Method and system for correcting lens shading | |
US9665948B2 (en) | Saturation compensation method | |
JP2008092565A (en) | Color matching method and image capturing device | |
CN107172323B (en) | Method and device for removing dark corners of images of large-view-field camera | |
US20070177019A1 (en) | Method and device for the correction of the brightness of a raw image generated by a sensor matrix | |
CN105025230A (en) | Camera assembly correction method | |
JP2017022621A5 (en) | ||
CN115965541A (en) | Color correction method, color correction device, electronic device, 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |