CN107071371B - The camera lens colour brightness calibration method and device of panoramic shooting mould group - Google Patents

The camera lens colour brightness calibration method and device of panoramic shooting mould group Download PDF

Info

Publication number
CN107071371B
CN107071371B CN201710105118.4A CN201710105118A CN107071371B CN 107071371 B CN107071371 B CN 107071371B CN 201710105118 A CN201710105118 A CN 201710105118A CN 107071371 B CN107071371 B CN 107071371B
Authority
CN
China
Prior art keywords
value
camera lens
imaging
boundary
mould group
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
Application number
CN201710105118.4A
Other languages
Chinese (zh)
Other versions
CN107071371A (en
Inventor
程芳陆
杨文冠
方发清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Hongjing Optoelectronics Technology Co Ltd
Original Assignee
Guangdong Hongjing Optoelectronics Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Hongjing Optoelectronics Technology Co Ltd filed Critical Guangdong Hongjing Optoelectronics Technology Co Ltd
Priority to CN201710105118.4A priority Critical patent/CN107071371B/en
Publication of CN107071371A publication Critical patent/CN107071371A/en
Application granted granted Critical
Publication of CN107071371B publication Critical patent/CN107071371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Studio Devices (AREA)
  • Stereoscopic And Panoramic Photography (AREA)

Abstract

The embodiment of the invention provides a kind of camera lens colour brightness calibration methods of panoramic shooting mould group, include the following steps: to obtain the RGB tristimulus value of the imaging center point coordinate (p ', q ') of each camera lens in panoramic shooting mould group, radius r and different blocks respectively;According to each lens data of acquisition, LensShading calibration is carried out.On the other hand, the embodiment of the invention also provides a kind of camera lens colour brightness calibrating installations of panoramic shooting mould group.The embodiment of the present invention, by the imaging center point coordinate (p ' for obtaining each camera lens in panoramic shooting mould group, q '), the RGB tristimulus values of radius r and different blocks, further according to each lens data of acquisition, carry out LensShading calibration, panoramic shooting mould group existing color and luminance deviation when synthesizing panorama can be eliminated, guarantees that the image of panoramic shooting mould group output does not see any difference of color and brightness, reaches the optimum efficiency of " seamless spliced ".

Description

The camera lens colour brightness calibration method and device of panoramic shooting mould group
Technical field:
The present invention relates to a kind of camera lens colour brightness calibration method and device, especially a kind of camera lens of panoramic shooting mould group Colour brightness calibration method and device.
Background technique:
Existing camera module, which is typically necessary, carries out LensShading (camera lens colour brightness) calibration, to reach image Periphery and center are in color and effect more consistent in brightness.
And panoramic shooting mould group is effectively imaged picture and becomes because of its big wide-angle (more than the field angle of 180 degree) and sensor Circle, therefore analyzed in the past for the planar light source of low field angle and by square division picture, then carry out The calibration method of LensShading is no longer applicable in.
In addition, 360 degree of panorama, is generally all made of two or more camera, therefore when image mosaic synthesis, if pressing The method that previous single camera lens carries out alone LensShading calibration can only handle single module picture color and brightness well Consistency, and there are still the deviations of color and brightness for the picture of different mould groups, and 360 degree of panorama poles of synthesis is caused not assisted It adjusts.
Summary of the invention:
To overcome the problems, such as existing panoramic shooting mould group, when synthesizing panorama, there are color and luminance deviation, the present invention Embodiment provides a kind of camera lens colour brightness calibration method of panoramic shooting mould group.
The camera lens colour brightness calibration method of panoramic shooting mould group, includes the following steps:
The imaging center point coordinate (p ', q ') of each camera lens in panoramic shooting mould group, radius r and not same district are obtained respectively The RGB tristimulus value of block;
According to each lens data of acquisition, maximum tristimulus value MaxR, MaxG, MaxB conduct in each lens data is chosen Target level value is drawn high, LensShading calibration is carried out;
Step " obtains the imaging center point coordinate (p ', q ') of each camera lens in panoramic shooting mould group, radius r and not same district The RGB tristimulus value of block " includes:
Acquire the both full-pixel image data of any camera lens in panoramic shooting mould group;
According to the areas imaging of the both full-pixel image data analytical calculation camera lens;
The imaging center point coordinate (p ', q ') and imaging radius of circle r of the camera lens are calculated according to areas imaging;
The RGB tristimulus value of different blocks is calculated according to areas imaging;
The RGB tristimulus value of storage imaging center point coordinate (p ', q '), radius r and different blocks;
For remaining camera lens in panoramic shooting mould group, it is repeated in above-mentioned steps;
Step " according to the areas imaging of the both full-pixel image data analytical calculation camera lens " includes:
The both full-pixel image data of acquisition is read in progressive scan along the x axis;
Specific n several pixel for reading analysis continuous transition, when brightness beat value reaches setting threshold values, by this section of pixel Center be determined as the row X-direction boundary initial value StartXi or boundary stop value EndXi, i represent along the x axis by The line number of row scanning;
By the low areas imaging for being determined as camera lens sensitive chip on one side of brightness, it is of high brightness be determined as on one side camera lens at As range;
The boundary initial value and boundary stop value for determining the column Y direction are similarly scanned by column along the y axis, and determine mirror The head areas imaging of sensitive chip and the areas imaging of camera lens.
On the other hand, the embodiment of the invention also provides a kind of camera lens colour brightness calibrating installations of panoramic shooting mould group.
The camera lens colour brightness calibrating installation of panoramic shooting mould group, comprising:
Module is obtained, for obtaining imaging center point coordinate (p ', q '), the radius of each camera lens in panoramic shooting mould group respectively And the RGB tristimulus value of different blocks r,;
Calibration module, for each lens data according to acquisition, choose maximum tristimulus value MaxR in each lens data, MaxG, MaxB carry out LensShading calibration as target level value is drawn high;
Obtaining module includes:
Acquisition unit, for acquiring the both full-pixel image data of any camera lens in panoramic shooting mould group;
Areas imaging computing unit, for the areas imaging according to the both full-pixel image data analytical calculation camera lens;
Imaging center point and radius computing unit, for calculating the imaging center point coordinate of the camera lens according to areas imaging (p ', q ') and imaging radius of circle r;
Tristimulus value computing unit, for calculating the RGB tristimulus value of different blocks according to areas imaging;
Storage unit, the RGB three primary colours for storage imaging center point coordinate (p ', q '), radius r and different blocks Value;
Areas imaging computing unit includes:
Reading subunit is scanned, for progressively scanning the both full-pixel image data for reading acquisition along the x axis;And/or it uses In the both full-pixel image data for scanning by column reading acquisition along the y axis;
Boundary value determines subelement, for reading specific n several pixel of analysis continuous transition, reaches in brightness beat value When setting threshold values, the center of this section of pixel is determined as to the boundary initial value StartXi or boundary stop value of the row X-direction EndXi, i represent the line number progressively scanned along the x axis;And/or determine that the boundary initial value of the column Y direction or boundary are whole Only it is worth;
Determine subelement, for the areas imaging for being determined as camera lens sensitive chip on one side that brightness is low, of high brightness one While being determined as the areas imaging of camera lens.
The embodiment of the present invention, by the imaging center point coordinate (p ', q '), the radius that obtain each camera lens in panoramic shooting mould group R, and the RGB tristimulus value of different blocks carries out LensShading calibration, can disappear further according to each lens data of acquisition Except panoramic shooting mould group when synthesizing panorama existing color and luminance deviation, guarantee panoramic shooting mould group output image Any difference for not seeing color and brightness, reaches the optimum efficiency of " seamless spliced ".
Detailed description of the invention:
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the process signal of the first embodiment of the camera lens colour brightness calibration method of panoramic shooting mould group of the invention Figure;
Fig. 2 is the process signal of the second embodiment of the camera lens colour brightness calibration method of panoramic shooting mould group of the invention Figure;
Fig. 3 is that areas imaging ring block of the invention divides schematic diagram;
Fig. 4 is the structural representation of the first embodiment of the camera lens colour brightness calibrating installation of panoramic shooting mould group of the invention Figure;
Fig. 5 is the structural representation of the second embodiment of the camera lens colour brightness calibrating installation of panoramic shooting mould group of the invention Figure.
Specific embodiment:
In order to which the technical problems, technical solutions and beneficial effects solved by the present invention is more clearly understood, below in conjunction with Accompanying drawings and embodiments, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
Fig. 1 is the process signal of the first embodiment of the camera lens colour brightness calibration method of panoramic shooting mould group of the invention Figure comprising:
Step S101, obtain respectively the imaging center point coordinate (p ', q ') of each camera lens in panoramic shooting mould group, radius r, with And the RGB tristimulus value of different blocks.
In this step, panoramic shooting mould group can be double moulds that pan comprising the first camera module and the second camera module Group is also possible to the panorama mould group comprising three or more camera modules.
Step S102 carries out LensShading calibration according to each lens data of acquisition.
In this step, chooses maximum tristimulus value MaxR, MaxG, MaxB conduct in each lens data and draw high target level Value, carries out drawing high processing to whole picture camera lens picture or image, brightness and calibration while color when reaching synthesis panorama.
The embodiment of the present invention can eliminate panoramic shooting mould group existing color and luminance deviation when synthesizing panorama, Guarantee that the image of panoramic shooting mould group output does not see any difference of color and brightness, reaches the best effective of " seamless spliced " Fruit.
Fig. 2 is the process signal of the second embodiment of the camera lens colour brightness calibration method of panoramic shooting mould group of the invention Figure comprising:
Step S201 acquires the both full-pixel image data of any camera lens in panoramic shooting mould group.
In this step, panoramic shooting mould group can be double moulds that pan comprising the first camera module and the second camera module Group is also possible to the panorama mould group comprising three or more camera modules.
In this step, panoramic shooting mould group is placed in integrating sphere light source center, i.e. panoramic shooting mould group is placed in high evenness Spherical lighting environment in, and unconventional plane or other shapes light source.
Specifically, this step includes: opening integrating sphere light source, adjust light source parameters (such as colour temperature: 5100K, brightness: 1000lux), after light source complete stability (such as 30s or so), panoramic shooting mould group is steadily placed in integrating sphere center, surveyed Screen test face integrating sphere bottom;Then camera lens automatic exposure is controlled, after image frame brightness is suitable, acquires both full-pixel picture Data.
Step S202, according to the areas imaging of the both full-pixel image data analytical calculation camera lens.
This step specifically includes:
The both full-pixel image data of acquisition is read in progressive scan along the x axis;
Specific n several pixel for reading analysis continuous transition, when brightness beat value reaches setting threshold values, by this section of pixel Center be determined as the row X-direction boundary initial value StartXi or boundary stop value EndXi, i represent along the x axis by The line number of row scanning;
By the low areas imaging for being determined as camera lens sensitive chip on one side of brightness, it is of high brightness be determined as on one side camera lens at As range;
The boundary initial value and boundary stop value for determining the column Y direction are similarly scanned by column along the y axis, and determine mirror The head areas imaging of sensitive chip and the areas imaging of camera lens.
Step S203 calculates the imaging center point coordinate (p ', q ') and imaging radius of circle of the camera lens according to areas imaging r。
This step specifically includes:
The X of corresponding row is obtained according to the boundary initial value StartXi for the X-direction that do not go together and boundary stop value EndXi The centerpoint value CenterXi=(StartXi+EndXi)/2 of axis direction;
The centerpoint value of all rows is ranked up as descending;
The average value of the centerpoint value of centre 80% after asking sequence, obtains the x-axis direction of the imaging center point of camera lens Coordinate value p ', i.e. p '=(CenterXa+...+CenterXb)/(0.8*i), wherein a=0.1* (i+1), b=0.9*i;
Choose line number k corresponding to the centerpoint value CenterXk equal or similar with coordinate value p ' of x-axis direction;Specifically It is then chosen corresponding to centerpoint value CenterXk if there is the centerpoint value CenterXk equal with P ' coordinate value on ground Line number k;If there is no the centerpoint value equal with P ' coordinate value, then chooses and the immediate CenterXk institute of P ' coordinate value is right The line number value k answered;
Take the boundary point (StartXk, k) of row k as the typical boundary point in x-axis direction;
Similarly analytical calculation goes out corresponding on the coordinate value q ' and Y direction of the Y direction of the imaging center point of camera lens The typical boundary point (l, StartYl) of l column;
The X-axis radius of areas imaging is calculated with typical boundary point according to imaging center point (p ', q ')And Y-axis radiusAnd by r=min (r1, R2 imaging radius of circle r) is determined.
Step S204 calculates the RGB tristimulus value of different blocks according to areas imaging.
This step specifically includes:
It is 7 rings, each ring width r3=r/7, such as Fig. 3 institute from imaging center point to boundary equidistant partition by areas imaging Show;
Most outer ring is divided into 16 sectors, ring third from the bottom is divided into 8 sectors, and five rings reciprocal is divided into 4 fans Areas imaging is divided into 32 ring blocks by area;
Calculate separately out the tristimulus value of the 32 ring blocks marked off: R0G0B0, R1G1B1, R2G2B2 ..., R31G31B31。
Step S205, the RGB tristimulus value of storage imaging center point coordinate (p ', q '), radius r and different blocks.
In this step, mainly the tristimulus value information parameter of imaging center point coordinate, radius r and different blocks is burnt to In the OTP of the imaging sensor of corresponding camera module.
Specifically, this step mainly according to imaging sensor otp guide process, by imaging center point coordinate (p ', Q '), tristimulus value (R0G0B0, R1G1B1, the R2G2B2 ..., R31G31B31) burnings of radius r and different blocks is into OTP.
Step S206, whether judging that imaging center point coordinate, radius and the rgb value of remaining camera lens have obtained?
In this step, if it is judged that be it is yes, then process enters step S207, otherwise, process return step S201, needle To remaining camera lens in panoramic shooting mould group, the step of being repeated in above-mentioned S201~S205.
Step S207 carries out LensShading calibration according to each lens data of acquisition.
This step specifically includes:
The tristimulus value of more each camera lens, and choose maximum tristimulus value MaxR, MaxG, MaxB conduct and draw high target Level value;
Different camera lens pictures combine the tristimulus value (R G B) and target level value of respective different blocks, calculate each The correspondence of block draws high value;
According to imaging center point coordinate and radius r, value is drawn high as drawing high mould using the correspondence of calculated each block Quasi- reference quantity, the correspondence that linear interpolation analyzes each pixel of lens imaging picture draw high value;
Value, which is drawn high, by the correspondence of each pixel draws high processing whole picture image, calibration while to reach brightness and color.
The embodiment of the present invention, by the imaging center point coordinate (p ', q '), the radius that obtain each camera lens in panoramic shooting mould group R, and the RGB tristimulus value of different blocks carries out LensShading calibration, can disappear further according to each lens data of acquisition Except panoramic shooting mould group when synthesizing panorama existing color and luminance deviation, guarantee panoramic shooting mould group output image Any difference for not seeing color and brightness, reaches the optimum efficiency of " seamless spliced ".
The embodiment of the camera lens colour brightness calibration method of panoramic shooting mould group of the invention is discussed in detail above. The device that will correspond to the above method below is further elaborated.
Fig. 4 is the structural representation of the first embodiment of the camera lens colour brightness calibrating installation of panoramic shooting mould group of the invention Figure, the camera lens colour brightness calibrating installation 100 of the panoramic shooting mould group include: to obtain module 110 and calibration module 120.
Obtain module 110, for obtain respectively each camera lens in panoramic shooting mould group imaging center point coordinate (p ', q '), The RGB tristimulus value of radius r and different blocks;
Calibration module 120 carries out LensShading calibration for each lens data according to acquisition.
The embodiment of the present invention obtains each lens data by obtaining module, is then carried out by calibration module LensShading calibration, can eliminate panoramic shooting mould group existing color and luminance deviation when synthesizing panorama, guarantee The image of panoramic shooting mould group output does not see any difference of color and brightness, reaches the optimum efficiency of " seamless spliced ".
Fig. 5 is the structural representation of the second embodiment of the camera lens colour brightness calibrating installation of panoramic shooting mould group of the invention Figure, the camera lens colour brightness calibrating installation 200 of the panoramic shooting mould group include: to obtain module 210 and calibration module 220.
Specifically, obtaining module 210 includes: acquisition unit 211, areas imaging computing unit 212, imaging center point and half Diameter computing unit 213, tristimulus value computing unit 214 and storage unit 215.
Acquisition unit 211, for acquiring the both full-pixel image data of any camera lens in panoramic shooting mould group.
Areas imaging computing unit 212, for the areas imaging according to the both full-pixel image data analytical calculation camera lens.
Imaging center point and radius computing unit 213, the imaging center point for calculating the camera lens according to areas imaging are sat Mark (p ', q ') and imaging radius of circle r.
Tristimulus value computing unit 214, for calculating the RGB tristimulus value of different blocks according to areas imaging.
Storage unit 215, tri- base of RGB for storage imaging center point coordinate (p ', q '), radius r and different blocks Color value.
Further, areas imaging computing unit 212 includes:
Reading subunit is scanned, for progressively scanning the both full-pixel image data for reading acquisition along the x axis;And/or it uses In the both full-pixel image data for scanning by column reading acquisition along the y axis;
Boundary value determines subelement, for reading specific n several pixel of analysis continuous transition, reaches in brightness beat value When setting threshold values, the center of this section of pixel is determined as to the boundary initial value StartXi or boundary stop value of the row X-direction EndXi, i represent the line number progressively scanned along the x axis;And/or determine that the boundary initial value of the column Y direction or boundary are whole Only it is worth;
Determine subelement, for the areas imaging for being determined as camera lens sensitive chip on one side that brightness is low, of high brightness one While being determined as the areas imaging of camera lens.
Further, imaging center point and radius computing unit 213 include:
Centerpoint value computation subunit, for whole according to the boundary initial value StartXi for the X-direction that do not go together and boundary Only value EndXi obtains the centerpoint value CenterXi=(StartXi+EndXi)/2 of the X-direction of corresponding row;And/or it is used for root It is obtained in the Y direction of respective column according to the boundary initial value StartYi and boundary stop value EndYi of the Y direction of different lines Heart point value CenterYi=(StartYi+EndYi)/2.
Sorting subunit is ranked up for the centerpoint value to all rows as descending;(CenterX1, CenterX2 ..., CenterXi);And/or it is ranked up for the centerpoint value to all column by descending; (CenterY1, CenterY2 ..., CenterYi).
Imaging center point coordinate value computation subunit, the average value of the centerpoint value for asking the centre 80% after sorting, Obtain the coordinate value p ' of the x-axis direction of the imaging center point of camera lens, i.e. p '=(CenterXa+...+CenterXb)/(0.8* I), wherein a=0.1* (i+1), b=0.9*i;And/or the coordinate value of the Y direction of the imaging center point for obtaining camera lens Q ', i.e. q '=(CenterYa+...+CenterYb)/(0.8*i).
Ranks number chooses subelement, for choosing the centerpoint value equal or similar with coordinate value p ' of x-axis direction Line number k corresponding to CenterXk;Specifically, it if there is the centerpoint value CenterXk equal with P ' coordinate value, then chooses Line number k corresponding to centerpoint value CenterXk;If there is no the centerpoint value equal with P ' coordinate value, then choose and P ' Line number value k corresponding to the immediate CenterXk of coordinate value;And/or for choose the equal with coordinate value q ' of Y direction or Columns l corresponding to similar centerpoint value CenterYl.
Typical boundary point chooses subelement, for choosing the boundary point (StartXk, k) of row k as in x-axis direction Typical boundary point;And/or the boundary point (l, StartYl) for choosing l column is as the typical boundary point in Y direction.
Radius of circle computation subunit is imaged, for calculating imaging model according to imaging center point (p ', q ') and typical boundary point The X-axis radius enclosedAnd Y-axis radiusAnd it presses R=min (r1, r2) determines imaging radius of circle r.
Still further, tristimulus value computing unit 214 includes:
Areas imaging divides subelement, for being 7 rings from imaging center point to boundary equidistant partition by areas imaging, often A ring width r3=r/7.
Ring block divides subelement, and for most outer ring to be divided into 16 sectors, ring third from the bottom is divided into 8 sectors, Several five rings are divided into 4 sectors, i.e., areas imaging are divided into 32 ring blocks.
Tristimulus value computation subunit, for calculating separately out the tristimulus value of mark off 32 block rings: R0G0B0, R1G1B1, R2G2B2 ..., R31G31B31.
Further, calibration module 220 includes:
Target level value selection unit 221 is drawn high, for the tristimulus value of more each camera lens, and chooses maximum three base Color value MaxR, MaxG, MaxB are used as and draw high target level value.
Block draws high value computing unit 222, and tristimulus value (the R G of respective different blocks is combined for different camera lens pictures B) with target level value, the correspondence for calculating each block draws high value.
Each pixel draws high value computing unit 223, is used for according to imaging center point coordinate and radius r, with calculated The correspondence of each block draws high value as analog references amount is drawn high, and linear interpolation analyzes each pixel of lens imaging picture Correspondence draws high value.
Calibration unit 224 draws high processing whole picture image for drawing high value by the correspondence of calculated each pixel, to reach It is calibrated while brightness is with color.
The embodiment of the present invention, by the imaging center point coordinate (p ', q '), the radius that obtain each camera lens in panoramic shooting mould group R, and the RGB tristimulus value of different blocks carries out LensShading calibration, can disappear further according to each lens data of acquisition Except panoramic shooting mould group when synthesizing panorama existing color and luminance deviation, guarantee panoramic shooting mould group output image Any difference for not seeing color and brightness, reaches the optimum efficiency of " seamless spliced ".
It is the one or more embodiments provided in conjunction with particular content as described above, does not assert specific reality of the invention It applies and is only limited to these instructions.It is all approximate with method of the invention, structure etc., identical, or for present inventive concept under the premise of Several technology deduction or replace are made, all should be considered as protection scope of the present invention.

Claims (6)

1. the camera lens colour brightness calibration method of panoramic shooting mould group, it is characterised in that include the following steps:
The imaging center point coordinate (p ', q ') of each camera lens in panoramic shooting mould group, radius r and different blocks are obtained respectively RGB tristimulus value;
According to each lens data of acquisition, chooses maximum tristimulus value MaxR, MaxG, MaxB conduct in each lens data and draw high Target level value carries out LensShading calibration;
Step " obtains the imaging center point coordinate (p ', q ') of each camera lens in panoramic shooting mould group, radius r and different blocks RGB tristimulus value " includes:
Acquire the both full-pixel image data of any camera lens in panoramic shooting mould group;
According to the areas imaging of the both full-pixel image data analytical calculation camera lens;
The imaging center point coordinate (p ', q ') and imaging radius of circle r of the camera lens are calculated according to areas imaging;
The RGB tristimulus value of different blocks is calculated according to areas imaging;
The RGB tristimulus value of storage imaging center point coordinate (p ', q '), radius r and different blocks;
For remaining camera lens in panoramic shooting mould group, it is repeated in above-mentioned steps;
Step " according to the areas imaging of the both full-pixel image data analytical calculation camera lens " includes:
The both full-pixel image data of acquisition is read in progressive scan along the x axis;
Specific n several pixel for reading analysis continuous transition will be in this section of pixel when brightness beat value reaches setting threshold values The heart is determined as the boundary initial value StartXi of the row X-direction or boundary stop value EndXi, i representative are swept line by line along the x axis The line number retouched;
By the low areas imaging for being determined as camera lens sensitive chip on one side of brightness, the imaging model of high brightness for being determined as camera lens on one side It encloses;
The boundary initial value and boundary stop value for determining the column Y direction are similarly scanned by column along the y axis, and determine camera lens sense The areas imaging of optical chip and the areas imaging of camera lens.
2. the camera lens colour brightness calibration method of panoramic shooting mould group according to claim 1, which is characterized in that step " the imaging center point coordinate (p ', q ') and imaging radius of circle r " for calculating the camera lens include:
The X-axis side of corresponding row is obtained according to the boundary initial value StartXi for the X-direction that do not go together and boundary stop value EndXi To centerpoint value CenterXi=(StartXi+EndXi)/2;
The centerpoint value of all rows is ranked up as descending;
The average value of the centerpoint value of centre 80% after asking sequence, obtains the coordinate of the x-axis direction of the imaging center point of camera lens Value p ', i.e. p '=(CenterXa+...+CenterXb)/(0.8*i), wherein a=0.1* (i+1), b=0.9*i;
Choose line number k corresponding to the centerpoint value CenterXk equal or similar with coordinate value p ' of x-axis direction;
Take the boundary point (StartXk, k) of row k as the typical boundary point in x-axis direction;
Similarly analytical calculation goes out corresponding l on the coordinate value q ' and Y direction of the Y direction of the imaging center point of camera lens The typical boundary point (l, StartYl) of column;
The X-axis radius of areas imaging is calculated with typical boundary point according to imaging center point (p ', q ') And Y-axis radiusAnd imaging radius of circle r is determined by r=min (r1, r2).
3. the camera lens colour brightness calibration method of panoramic shooting mould group according to claim 2, which is characterized in that step " the RGB tristimulus value of different blocks is calculated according to areas imaging " includes:
It is 7 rings, each ring width r3=r/7 from imaging center point to boundary equidistant partition by areas imaging;
Most outer ring is divided into 16 sectors, ring third from the bottom is divided into 8 sectors, and five rings reciprocal is divided into 4 sectors, i.e., Areas imaging is divided into 32 ring blocks;
Calculate separately out the tristimulus value of the 32 ring blocks marked off: R0 G0 B0, R1 G1 B1, R2 G2 B2 ..., R31 G31 B31。
4. the camera lens colour brightness calibrating installation of panoramic shooting mould group, characterized by comprising:
Obtain module, for obtain respectively the imaging center point coordinate (p ', q ') of each camera lens in panoramic shooting mould group, radius r, with And the RGB tristimulus value of different blocks;
Calibration module, for each lens data according to acquisition, choose maximum tristimulus value MaxR in each lens data, MaxG, MaxB carry out LensShading calibration as target level value is drawn high;
Obtaining module includes:
Acquisition unit, for acquiring the both full-pixel image data of any camera lens in panoramic shooting mould group;
Areas imaging computing unit, for the areas imaging according to the both full-pixel image data analytical calculation camera lens;
Imaging center point and radius computing unit, for calculated according to areas imaging the camera lens imaging center point coordinate (p ', Q ') and imaging radius of circle r;
Tristimulus value computing unit, for calculating the RGB tristimulus value of different blocks according to areas imaging;
Storage unit, the RGB tristimulus value for storage imaging center point coordinate (p ', q '), radius r and different blocks;
Areas imaging computing unit includes:
Reading subunit is scanned, for progressively scanning the both full-pixel image data for reading acquisition along the x axis;And/or for along Y Axis direction scans by column the both full-pixel image data for reading acquisition;
Boundary value determines subelement, for reading specific n several pixel of analysis continuous transition, reaches setting in brightness beat value When threshold values, the center of this section of pixel is determined as to the boundary initial value StartXi or boundary stop value of the row X-direction EndXi, i represent the line number progressively scanned along the x axis;And/or determine that the boundary initial value of the column Y direction or boundary are whole Only it is worth;
Determine subelement, it is of high brightness to sentence on one side for the areas imaging for being determined as camera lens sensitive chip on one side that brightness is low It is set to the areas imaging of camera lens.
5. the camera lens colour brightness calibrating installation of panoramic shooting mould group according to claim 4, it is characterised in that in imaging Heart point and radius computing unit include:
Centerpoint value computation subunit, for the boundary initial value StartXi and boundary stop value according to the X-direction that do not go together EndXi obtains the centerpoint value CenterXi=(StartXi+EndXi)/2 of the X-direction of corresponding row;And/or for according to not The boundary initial value StartYi and boundary stop value EndYi of the Y direction of same column obtain the central point of the Y direction of respective column Value CenterYi=(StartYi+EndYi)/2;
Sorting subunit is ranked up for the centerpoint value to all rows as descending;And/or for in all column Heart point value is ranked up as descending;
Imaging center point coordinate value computation subunit, the average value of the centerpoint value for asking the centre 80% after sorting, obtains The coordinate value p ' of the x-axis direction of the imaging center point of camera lens, i.e. p '=(CenterXa+...+CenterXb)/(0.8*i), In, a=0.1* (i+1), b=0.9*i;And/or the coordinate value q ' of the Y direction of the imaging center point for obtaining camera lens, i.e., Q '=(CenterYa+...+CenterYb)/(0.8*i);
Ranks number chooses subelement, for choosing the centerpoint value CenterXk equal or similar with coordinate value p ' of x-axis direction Corresponding line number k;And/or the centerpoint value CenterYl institute equal or similar with coordinate value q ' for choosing Y direction Corresponding columns l;
Typical boundary point chooses subelement, for choosing the boundary point (StartXk, k) of row k as the typical case in x-axis direction Boundary point;And/or the boundary point (l, StartYl) for choosing l column is as the typical boundary point in Y direction;
Radius of circle computation subunit is imaged, for calculating the X of areas imaging with typical boundary point according to imaging center point (p ', q ') Axis radiusAnd Y-axis radiusAnd it presses R=min (r1, r2) determines imaging radius of circle r.
6. the camera lens colour brightness calibrating installation of panoramic shooting mould group according to claim 5, it is characterised in that three primary colours Value computing unit includes:
Areas imaging divides subelement, for being 7 rings, Mei Gehuan from imaging center point to boundary equidistant partition by areas imaging Wide r3=r/7;
Ring block divides subelement, and for most outer ring to be divided into 16 sectors, ring third from the bottom is divided into 8 sectors, and reciprocal the Five rings is divided into 4 sectors, i.e., areas imaging is divided into 32 ring blocks;
Tristimulus value computation subunit, for calculating separately out the tristimulus value of mark off 32 ring blocks: R0 G0 B0, R1 G1 B1, R2 G2 B2 ..., R31 G31 B31.
CN201710105118.4A 2017-02-25 2017-02-25 The camera lens colour brightness calibration method and device of panoramic shooting mould group Active CN107071371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710105118.4A CN107071371B (en) 2017-02-25 2017-02-25 The camera lens colour brightness calibration method and device of panoramic shooting mould group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710105118.4A CN107071371B (en) 2017-02-25 2017-02-25 The camera lens colour brightness calibration method and device of panoramic shooting mould group

Publications (2)

Publication Number Publication Date
CN107071371A CN107071371A (en) 2017-08-18
CN107071371B true CN107071371B (en) 2018-12-18

Family

ID=59621248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710105118.4A Active CN107071371B (en) 2017-02-25 2017-02-25 The camera lens colour brightness calibration method and device of panoramic shooting mould group

Country Status (1)

Country Link
CN (1) CN107071371B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515514A (en) * 2017-09-18 2017-12-26 信利光电股份有限公司 A kind of optical centre method of testing and system
CN107948639B (en) * 2017-12-15 2020-05-08 信利光电股份有限公司 Calibration method and calibration system for back-to-back camera module
CN109991805A (en) * 2017-12-29 2019-07-09 上海锐栩科技有限公司 A kind of more camera lens stitching portion color calibration methods of panorama camera and system
CN108632511A (en) * 2018-05-16 2018-10-09 上海小蚁科技有限公司 The brightness offset value of panorama fisheye camera is determining, luminance compensation method and device, terminal, fisheye camera
CN114205573B (en) * 2021-11-29 2024-04-30 信利光电股份有限公司 Lens shading correction method for camera imaging into circular picture and camera module

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4708192B2 (en) * 2006-01-10 2011-06-22 パナソニック株式会社 Dynamic camera color correction device and video search device using the same
CN101616336B (en) * 2009-07-13 2010-11-10 清华大学 Color calibration system for camera array and method thereof
CN101651844B (en) * 2009-09-11 2011-01-12 清华大学 Method for carrying out global color calibration on a plurality of video cameras
CN102137272B (en) * 2011-03-21 2012-11-28 西安理工大学 Method for calibrating colors of multiple cameras in open environment
US20150130972A1 (en) * 2013-11-11 2015-05-14 Omnivision Technologies, Inc. Self-Adaptive Lens Shading Calibration and Correction
CN104581098B (en) * 2014-12-01 2016-09-28 北京思比科微电子技术股份有限公司 A kind of adaptive processing method of lens shading
CN204836352U (en) * 2015-09-07 2015-12-02 深圳六滴科技有限公司 Adjust system and device of many cameras captured images's luminance

Also Published As

Publication number Publication date
CN107071371A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
CN107071371B (en) The camera lens colour brightness calibration method and device of panoramic shooting mould group
CN103824544B (en) The bearing calibration of LED display, Apparatus and system
ES2389987T3 (en) Focus aid system and method
CN105185302B (en) Lamp position deviation modification method and its application between monochrome image
CN102696228B (en) Imaging apparatus and color contamination correction method
CN110322830B (en) LED screen brightness correction method and device
US7274346B2 (en) Uniformity and brightness measurement in OLED displays
CN1820496A (en) Image correcting method and imaging apparatus
KR102138778B1 (en) Test chart and method for using thereof
CN107991665A (en) It is a kind of based on fixed-focus camera to target three-dimensional coordinate method for continuous measuring
CN101923825A (en) Regional correction method for planar lighting device
US20100149403A1 (en) Automatic white balancing using meter sensors
CN110519585A (en) A kind of imaging calibration method and device applied to image capture device
CN106067937A (en) Camera lens module array, image sensering device and digital zooming image interfusion method
CN112185301A (en) Display device correction method and device and processor
CN110740314B (en) Method and system for correcting defective pixel of color line array camera
US10971044B2 (en) Methods and systems for measuring electronic visual displays using fractional pixels
CN108010071B (en) System and method for measuring brightness distribution by using 3D depth measurement
RU2008141365A (en) METHOD AND DEVICE FOR MEASURING SURFACE QUALITY OF SUBSTRATE
CN101651844B (en) Method for carrying out global color calibration on a plurality of video cameras
CN115346464A (en) Display compensation data setting method, display compensation method and driving chip
CN108803097A (en) The detection method and detection device of pixel dark-state light leakage
JP2014090410A (en) Method for white balance adjustment
CN110708537B (en) Image sensor performance testing method and device and storage medium
US9699394B2 (en) Filter arrangement for image sensor

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180130

Address after: 528400 Guangdong province Zhongshan Qinye Torch Development Zone, Road No. 27

Applicant after: Guangdong Hongjing Optoelectronics Technology Co., Ltd.

Address before: 518106 research and development comprehensive building in Shenzhen, Shenzhen, Guangdong, Shenzhen, Baoan District Xixiang street Xixiang Avenue and forward two road

Applicant before: Shenzhen City products photoelectric Co Ltd

GR01 Patent grant
GR01 Patent grant