CN105812661B - A kind of digital camera uniformity correcting method based on light box and gray card - Google Patents

A kind of digital camera uniformity correcting method based on light box and gray card Download PDF

Info

Publication number
CN105812661B
CN105812661B CN201610150471.XA CN201610150471A CN105812661B CN 105812661 B CN105812661 B CN 105812661B CN 201610150471 A CN201610150471 A CN 201610150471A CN 105812661 B CN105812661 B CN 105812661B
Authority
CN
China
Prior art keywords
digital camera
gray card
light source
camera
card
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.)
Expired - Fee Related
Application number
CN201610150471.XA
Other languages
Chinese (zh)
Other versions
CN105812661A (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201610150471.XA priority Critical patent/CN105812661B/en
Publication of CN105812661A publication Critical patent/CN105812661A/en
Application granted granted Critical
Publication of CN105812661B publication Critical patent/CN105812661B/en
Expired - Fee Related 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/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • 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
    • 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
    • H04N23/13Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths with multiple sensors
    • H04N23/16Optical arrangements associated therewith, e.g. for beam-splitting or for colour correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

The invention discloses a kind of digital camera uniformity correcting method based on light box and gray card.Standard gray card is positioned in light box by this method, translates the image for obtaining standard color card by way of camera is repeatedly shot in image different location vertical optical axis, homogeneity correction coefficient is mathematically obtained finally by difference or fitting.The method of the present invention exchanges the spatially uniform of light source for the time stability of light source, overcome traditional digital cameras uniformity test and correction must be in the limitation using such as integrating sphere uniform source system, the scope of application for considerably increasing test and correcting digital camera imaging uniformity, also avoid as metamerism phenomenon that color filter type integrating sphere light source generates and caused by measurement error.

Description

A kind of digital camera uniformity correcting method based on light box and gray card
Technical field
The present invention relates to optical imagery, digital image processing fields, more particularly to one kind being based on light box and gray card The method for substituting the digital camera imaging homogeneity corrections of special uniform source of light device such as integrating sphere.
Background technology
Currently, digital camera is widely used, it is used not only for captured image recording landscape, also in scientific research Field is used as the colour examining equipment of imaging type.But digital camera imaging and imperfect, one of them typical imaging phenomenon is exactly The heterogeneity of imaging.Since (illuminance of off-axis image point is with field angle for the dark angle of cosine of the vignetting stop of camera lens, off-axis image point The biquadratic of cosine and reduce), the common work of image-forming component (such as CCD or CMOS) heterogeneity many factors of itself With camera finally shows characteristic heterogeneous for the object imaging of a brightness uniformity.This non-homogeneous phenomenon of imaging Also often referred as shade (shading).
ISO 17957 recommends the skiametry condition of digital camera imaging:A uniform field target is needed, it can To represent the light source of three kinds of common lighting environments, i.e. averagely outdoor daylight, indoor incandescent lighting and room fluorescent lights illumination.In order to Satisfactory test condition is generated, needs specially to build the lighting environment for testing shade.Industry is usually using integrating sphere Uniform source of light system is to provide uniform illumination condition.On the one hand, such test condition and method significantly limit number The test occasion of camera uniformity test and correction measures and correction is made troubles to be practical, especially for using wide-angle lens The digital camera of head, the uniform illumination that provide enough large area are even more difficulty.On the other hand, it to realize as defined in ISO Three kinds of exemplary light sources, at present integrating sphere often generate different types of light source by the way of incandescent lamp and optical filter combination, Such light source can only ensure the accurate of colour temperature, can but cause potentially to measure inaccurate risk because of metamerism.
Invention content
In order to need to fill using special uniform source of light in overcoming the test bearing calibration of existing digital camera imaging uniformity The inconvenience set, present invention offer is a kind of to use light box and standard gray card, tests the imagewise uniform of digital camera With the method for correction.
The purpose of the present invention is achieved through the following technical solutions:A kind of digital phase based on light box and gray card Machine uniformity correcting method, this approach includes the following steps:
(1) it arranges lamp box, places gray card:Lamp box is positioned in darkroom, gray card is positioned in lamp box, gray card and lamp box Bottom surface is at fixed angle.
(2) a kind of light source for opening lamp box, preheats light source.
(3) camera position and parameter setting:Wait for that lamphouse light source preheating finishes, digital camera is positioned over gray card can be normal right At burnt distance, digital camera optical axis is arranged perpendicular to gray card plane and fixes digital camera acquisition parameter so that digital camera It is correct to grey exposed card;The digital camera acquisition parameters include ISO sensitivity, aperture, shutter and focal length.
(4) camera is shot:Digital camera is being translated and shot on optical axial plane so that n times were shot Gray card spreads each position for appearing in image as far as possible;Extract the rgb value in gray card uniform illumination region in the i-th pictures Average value RGBiAnd the center q in the regioni, i=1,2 ..., N.
(5) uniformity of prediction and correcting camera:The location variable q obtained according to step (4)iWith image response value RGBi, It is obtained from location variable q by interpolation or fittingiIt is mapped to image response value RGBiAnticipation function f (), for image P In any point p, obtain the homogeneity correction coefficient k (p):
(6) the light source type for replacing lamp box, repeats step (2)~(5), until all kinds test of light source finishes, obtains The digital camera is directed to the homogeneity correction coefficient of each light source.
The beneficial effects of the invention are as follows:The present invention uses light box and standard gray card, using multiple translation camera shooting The mode of same standard color card obtains the homogeneity correction coefficient of image by the mathematical method of interpolation fitting.This method is with light The time stability in source exchanges the spatially uniform of light source for, overcomes traditional digital cameras uniformity test and correction that must use Such as limitation of integrating sphere uniform source system considerably increases the applicable model of test and correcting digital camera imaging uniformity It encloses.
Description of the drawings
Fig. 1 is digital camera imaging uniformity test and the flow chart of correction;
Fig. 2 is experimental apparatus for testing figure;
Fig. 3 is the standard gray card picture shot in example;
Fig. 4 is that the test result of integrating sphere method and the method for the present invention compares figure, and (a) is using A light sources, is (b) to use D65 light sources.
Specific implementation mode
Below with Nikon digital single-lens reflex camera D3x with Nikon AF-S Nikkor 24-120mm f/4G ED VR camera lenses, Gray card in GretagMacbeth Spectralight III light boxs and X-rite ColorChecker Passport For, it illustrates test and corrects the specific steps of the imagewise uniform of this digital camera.It should be noted that the present invention is not limited to Nikon digital single-lens reflex camera, it is also unlimited as long as the digital camera that can get the output of image digitization format is suitable for the present invention In GretagMacbeth light boxs or X-rite colour atlas, as long as stabilized light source can be provided and comprising spectral neutrality color lump Colour atla is suitable for the present invention.
As shown in Figure 1, a kind of digital camera uniformity correcting method based on light box and gray card provided by the invention, Include the following steps:
(1) it arranges lamp box, places gray card:As shown in Fig. 2, Spectralight III light boxs are positioned over darkroom In, X-rite ColorChecker Passport colour atlas are turned into white balance target page (i.e. neutral grey page), are positioned over lamp box In, gray card is with lamp box bottom surface at 45 angles so as to camera captures images.
(2) light source is selected:D65 light sources are selected from Spectralight III light boxs, open preheating.
(3) camera position and parameter setting:It waits for that the lamphouse light source preheating of step (2) finishes, D3x digital cameras is positioned over At the distance 2.0m that gray card can normally focus, simultaneously fixed camera acquisition parameters are arranged as possible perpendicular to gray card plane in camera optical axis, ISO sensitivity 200, F-number 4, shutter 1/80s, focal length 50mm so that digital camera is correct (Ev=0) to grey exposed card.
(4) camera is shot:By camera on optical axial plane from left to right from top to bottom translation (axial displacement is made At theoretical error be only f Δs r/ [r (f+r)] × 100%, wherein r is object distance, and f is camera focus, and Δ r is that axial displacement is poor, Δ r units are mm.Theoretical error caused by axial displacement is only Δ r/82000 × 100% in the present embodiment) so that 40 times It shoots obtained gray card and spreads each position for appearing in image as far as possible.Extract gray card uniform illumination area in the i-th pictures The average value of the rgb value in domain, is denoted as RGBiAnd the center in the region, it is denoted as qi, i=1,2 ..., 40.
(5) uniformity of prediction and correcting camera:The location variable qi and image response value obtained according to step (4) RGBi, i=1,2 ..., 40, by two dimension a cube interpolation method obtain from location variable qiIt is mapped to image response value RGBiIt is pre- It surveys function f () and the homogeneity correction coefficient k (p) is obtained for any point p in image P:
In formula, max () is maximizing function.
(6) Spectralight III light boxs are replaced to A light sources, are repeated (2)~(5) step, are obtained the number phase Homogeneity correction coefficient of the eedle to various light sources.
Experimental result is by taking green channel (channels G) as an example, as shown in figure 4, the experimental result and integrating sphere of the method for the present invention The correction coefficient obtained under uniform source of light system is very close.

Claims (1)

1. a kind of digital camera uniformity correcting method based on light box and gray card, which is characterized in that this method include with Lower step:
(1) it arranges lamp box, places gray card:Lamp box is positioned in darkroom, gray card is positioned in lamp box, gray card and lamp box bottom surface At fixed angle;
(2) a kind of light source for opening lamp box, preheats light source;
(3) camera position and parameter setting:It waits for that lamphouse light source preheating finishes, digital camera is positioned over what gray card can normally focus At distance, digital camera optical axis is arranged perpendicular to gray card plane and fixes digital camera acquisition parameter so that digital camera is to ash Exposed card is correct;The digital camera acquisition parameters include ISO sensitivity, aperture, shutter and focal length;
(4) camera is shot:Digital camera is being translated and shot on optical axial plane so that the gray card that n times are shot The each position for appearing in image is spread as far as possible;Extract the average RGB responses in gray card uniform illumination region in the i-th pictures Value RGBiAnd the center q in the regioni, i=1,2 ..., N;
(5) uniformity of prediction and correcting camera:The location variable q obtained according to step (4)iWith average RGB responses RGBi, It is obtained from location variable q by interpolation or fittingiIt is mapped to average RGB responses RGBiAnticipation function f (), for figure As any point p in P, the homogeneity correction coefficient k (p) is obtained:
(6) the light source type for replacing lamp box, repeats step (2)~(5), until all kinds test of light source finishes, obtains the number Code camera is directed to the homogeneity correction coefficient of each light source.
CN201610150471.XA 2016-03-16 2016-03-16 A kind of digital camera uniformity correcting method based on light box and gray card Expired - Fee Related CN105812661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610150471.XA CN105812661B (en) 2016-03-16 2016-03-16 A kind of digital camera uniformity correcting method based on light box and gray card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610150471.XA CN105812661B (en) 2016-03-16 2016-03-16 A kind of digital camera uniformity correcting method based on light box and gray card

Publications (2)

Publication Number Publication Date
CN105812661A CN105812661A (en) 2016-07-27
CN105812661B true CN105812661B (en) 2018-07-17

Family

ID=56467500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610150471.XA Expired - Fee Related CN105812661B (en) 2016-03-16 2016-03-16 A kind of digital camera uniformity correcting method based on light box and gray card

Country Status (1)

Country Link
CN (1) CN105812661B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108120680B (en) * 2017-12-19 2019-11-22 清华大学 The stray light minimizing technology and device of micro-imaging based on photoelectric characteristic priori
CN109889823B (en) * 2019-04-08 2021-02-26 苏州莱测检测科技有限公司 Detection method for detecting performance of stereoscopic vision imaging equipment
CN110275387A (en) * 2019-07-02 2019-09-24 珠海达明科技有限公司 A kind of camera flat field calibration platform and calibration method
CN111609998A (en) * 2020-05-11 2020-09-01 歌尔股份有限公司 Detection method and detection device for illumination uniformity and readable storage medium
CN113143521B (en) * 2020-12-07 2022-06-24 深圳云甲科技有限公司 Color correction method for image acquired by three-dimensional scanning equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1561338A1 (en) * 2002-10-09 2005-08-10 Diane Wallace System and method for effectively performing a white balance procedure for electronic cameras
CN101907488A (en) * 2010-07-28 2010-12-08 中国建筑科学研究院 Image brightness meter based on digital camera and measuring method thereof
CN103389162A (en) * 2012-11-26 2013-11-13 中国计量学院 Reflective object color measuring instrument with color digital camera
CN104168475A (en) * 2014-08-15 2014-11-26 浙江大学 Digital-camera-parameter-variable imaging type method for obtaining color tristimulus value

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1561338A1 (en) * 2002-10-09 2005-08-10 Diane Wallace System and method for effectively performing a white balance procedure for electronic cameras
CN101907488A (en) * 2010-07-28 2010-12-08 中国建筑科学研究院 Image brightness meter based on digital camera and measuring method thereof
CN103389162A (en) * 2012-11-26 2013-11-13 中国计量学院 Reflective object color measuring instrument with color digital camera
CN104168475A (en) * 2014-08-15 2014-11-26 浙江大学 Digital-camera-parameter-variable imaging type method for obtaining color tristimulus value

Also Published As

Publication number Publication date
CN105812661A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105812661B (en) A kind of digital camera uniformity correcting method based on light box and gray card
Tocci et al. A versatile HDR video production system
Inanici et al. Evaluation of high dynamic range photography as a luminance mapping technique
Wüller et al. The usage of digital cameras as luminance meters
CN104168475B (en) A kind of imaging type of digital camera changeable parameters obtains the method for color tristimulus values
US20150116535A1 (en) White-balance color temperature measuring device for image pick-up device
Cauwerts et al. Comparison of the vignetting effects of two identical fisheye lenses
CN109151426A (en) A kind of white balance adjustment method, device, camera and medium
US20180288292A1 (en) Multicamera Imaging System and Method for Measuring Illumination
WO2010031252A1 (en) Method for correcting lightness of electrical display screen
US8040412B2 (en) Imaging apparatus and image data correcting method
KR102100031B1 (en) Camera and method of producing color images
Martínez-Verdú et al. Calculation of the color matching functions of digital cameras from their complete spectral sensitivities
Kim et al. Characterization for high dynamic range imaging
CN108347600A (en) Industrial camera bearing calibration and system
CN104994361A (en) Color imaging system for collecting standard color information of object and using method thereof
CN112082738B (en) Performance evaluation test system and test method for color night vision camera
CN103369252A (en) Image processing apparatus and control method therefor
Varghese et al. Colorimetric calibration of high dynamic range images with a ColorChecker chart
CN114503097A (en) Method and apparatus for color lookup using mobile device
JP2016525723A (en) Movie projection measurement
CN204859430U (en) Gather colored imaging system of object standard colour information
CN105744267B (en) Acquisition tristimulus values method based on quantic digital camera changeable parameters
CN113132694B (en) Colourity-based color consistency correction method for multi-camera lens of colour camera
Słomiński Typical Causes of Errors during Measuring Luminance Distributions in Relation to Glare Calculations

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180717