CN110248179A - Camera pupil aberration correcting method based on light field coding - Google Patents

Camera pupil aberration correcting method based on light field coding Download PDF

Info

Publication number
CN110248179A
CN110248179A CN201910271140.5A CN201910271140A CN110248179A CN 110248179 A CN110248179 A CN 110248179A CN 201910271140 A CN201910271140 A CN 201910271140A CN 110248179 A CN110248179 A CN 110248179A
Authority
CN
China
Prior art keywords
light field
pupil
camera
light
coordinate
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
Application number
CN201910271140.5A
Other languages
Chinese (zh)
Other versions
CN110248179B (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.)
Fudan University
Original Assignee
Fudan University
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 Fudan University filed Critical Fudan University
Priority to CN201910271140.5A priority Critical patent/CN110248179B/en
Publication of CN110248179A publication Critical patent/CN110248179A/en
Application granted granted Critical
Publication of CN110248179B publication Critical patent/CN110248179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • 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)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Testing Of Optical Devices Or Fibers (AREA)

Abstract

The invention belongs to Technology of Precision Measurement field, specially a kind of camera pupil aberration correcting method based on light field coding.Step of the present invention are as follows: in order to overcome the pupil aberration of pinhole camera, determine every imaging ray, using four-dimensional function (x, y, u, v) description imaging light field, wherein (x, y) indicates picpointed coordinate, (u, v) it indicates coordinate of the light on pupil, namely indicates radiation direction;Binaryzation pupil coding is carried out using digital micromirror array;Based on compressed sensing thought, light field matrix is solved using the optimization of full variation;Calculate the corresponding pupil coordinate (u, v) of each picture point (x, y), in conjunction with camera calibration as a result, can effectively correcting camera pupil aberration, so that building one meets the camera model of actual imaging process.The present invention can effectively eliminate pupil aberration caused by pin-hole imaging is assumed, overcome the direction ambiguousness of monocular vision, the accurate direction for calculating imaging ray;It is significant for the measurement accuracy for improving photogrammetric technology.

Description

Camera pupil aberration correcting method based on light field coding
Technical field
The invention belongs to Technology of Precision Measurement field, specially a kind of camera pupil aberration correction side based on light field coding Method.
Background technique
In modern precision measurement, photometrology is common measuring three-dimensional morphology technology.Photometrology is mainly divided For two classes: for irreflexive surface three dimension measuring technique and for the surface three dimension measuring technique of mirror-reflection.The former is with three Angle is Typical Representative, and especially fringe projection technology is in industrial Precision measurement using very extensive.Its three-dimensional reconstruction Method mainly includes stereoscopic vision and phase height mapping.And it is directed to the surface of mirror-reflection, the most commonly used is phase measurement deviations Art.Since its measuring system is simple, dynamic range is big, strong antijamming capability, can be used for complex-curved measurement, obtains in recent years Extensive concern.Its principle is generation rule striped over the display, and striped deforms after measured surface reflects, using CCD Camera shooting deformation pattern, the surface graded distribution that can calculate tested surface shape is derived by geometrical relationship, then by integrating To face shape height.
In photometrology and camera calibration, camera is generally reduced to ideal pin-hole imaging model, it is believed that camera The light of each pixel of CCD passes through same point (camera pupil principal point).But since the pupil of camera lens has a scale Very little, this hypothesis can generate pupil aberration, and ray position calculated and direction can contain apparent deviation, then pin-hole model The object-image relation that camera cannot perfectly be expressed, causes to seriously affect to three-dimensional measurement precision.Therefore need it is a kind of it is easier, have The high-precision pupil aberration correcting method of effect.
Summary of the invention
The purpose of the present invention is to provide a kind of method that can effectively carry out camera pupil aberration correction, with realize camera at As the reconstruction of light field.
The present invention proposes a kind of camera pupil aberration correcting method, is based on light field coding techniques, the specific steps are as follows:
(1) it in order to overcome the pupil aberration of pinhole camera, determines every imaging ray, is retouched using four-dimensional function (X, Y, u, v) State imaging light field L:
(1)
Wherein, (X, Y) indicates coordinate of the light at image planes Z, (u, v) and indicate that coordinate of the light on pupil is (right The z coordinate answered be 0), namely indicate radiation direction;
(2) building light field encodes optical path;It include primary mirror, 2 relay lenses, digital micromirror arrays in the light field coding optical path (DMD), CCD, as shown in Figure 1;Wherein, use LCD screen as object, object space light is focused on through primary mirror to be invented in image planes, then Switch to parallel light projection on DMD for light is converged through the first relay lens, which carries out coded sample by DMD, and realizes The turnover of optical path;Directional light after coding is focused in CCD image planes by the second relay lens, realizes Image Acquisition;It is carried out on DMD Hadamard binaryzation coding, realizes effective pupil encoded acquisitions;In Fig. 1, L1 is object distance, L2=f1+k1+f2, In, f1 be primary mirror focal length, f2 be relay lens focal length, k1 be diffraction distance, L3 be relaying mirror spacing, L4 be relay lens focal length away from From;
(3) by pupil pixel (u, v) row of the vectorization as light field matrix L, by pixel coordinate (X, Y) vectorization as light field square The column of battle array L, and each element numerical value in light field matrix L is that formula (1) determines that all light travel to (X, Y) pixel from (u, v) Overall strength;Based on compressed sensing principle, observing matrix Φ is determined according to the corresponding binary-coding of DMD, by corresponding even numbers small echo Base forms sparse matrix Ψ;If light field matrix L=Ψ α, α is coefficient of the light field matrix L under wavelet basis, then following target is defined Function:
(2)
Wherein, image shot by camera when β is calibration for cameras under difference pupil coding,Indicate vector or matrixkNorm,Indicate full variation operation, λ is weight coefficient, is determined by the noise level of image;
(4) alternating direction multipliers method solving optimization problem (2) is used, obtains light field matrix L, and utilize ginseng mark outside participating in camera It is fixed, accurate ray position and direction are obtained, the corresponding pupil coordinate (u, v) of each picture point (X, Y) is calculated, in conjunction with camera Calibration result, can effectively correcting camera pupil aberration, so that building one more meets the camera mould of actual imaging process Type.
It is described to use alternating direction multipliers method (ADMM) solving optimization problem (2), it is to be converted into augmentation Lagrange Equation:
(3)
Wherein, D is the corresponding differential operator of full variation,tFor Lagrange multiplier, ρ is weight coefficient;To formula (3), with unknown quantityα,s,tAlternative optimization is grouped to solve.
The present invention is based on light field coding and compressed sensing principles, and sparse matrix and observing matrix therein are all freely to set It sets, suitable sparse matrix and observing matrix can be designed according to the distribution character of practical light field matrix.Meanwhile optimizing mesh Two of scalar functions, the respectively similitude of Metric reconstruction light field and acquisition data, and the clarity of reconstruct target, can basis Actual needs adjustment weight coefficient obtains accurate light field matrix.
The present invention can effectively eliminate pupil aberration caused by pin-hole imaging is assumed, overcome the direction ambiguousness of monocular vision, The accurate direction for calculating imaging ray.It is significant for the measurement accuracy for improving photogrammetric technology.
Detailed description of the invention
Fig. 1 is that the light field that the present invention constructs encodes optical path diagram.
Fig. 2 is the Hadamard matrix encoded for DMD.
Fig. 3 is Imaging Simulation figure.
Fig. 4 is the three-dimensional measurement situation before and after pupil aberration correction.Wherein, (a) is the three-dimensional after pupil aberration correction Measurement result is (b) the three-dimensional measurement error after pupil aberration correction, is (c) three-dimensional measurement before pupil aberration correction Error.
Specific embodiment
The present invention is further illustrated below by embodiment combination attached drawing.
Embodiment 1: in measurement process, suitable imaging optical path is built, as shown in Figure 1.Object space light is through primary mirror in optical path It focuses on and invents in image planes, then switch to parallel light projection on DMD for light is converged through the first relay lens, DMD turns optical path Folding converges on CCD via the second relay lens to be imaged, and is the mirror image of the second relay lens and CCD in dashed box.L1 is object distance, L2 =f1+k1+f2, wherein f1 is primary mirror focal length, and f2 is relay lens focal length, and k1 is diffraction distance, and L3 is relaying mirror spacing, during L4 is After mirror focal distance.Specific optical path parameter is as shown in table 1.(i.e. observing matrix is encoded using the Hadamard that DMD carries out 27 × 27 Φ), the image after acquisition coding, coding pattern are as shown in Figure 2.CCD pixel resolution ratio used is 3840 × 3840 in experiment, institute With the dimension of light field matrix L for 729 × 14745600 ((27 × 27) × (3840 × 3840)).Since actual imaging process is not Stringent pinhole imaging system, the light of single object point only can be by part pupil imagings on a certain CCD pixel, and as light field is divided Cloth, as shown in Figure 3.By the sparse matrix Ψ of the suitable light field matrix of complete dictionary method training excessively, managed by compressed sensing By with formula (4), available specific light field matrix L=Ψ α.Parameter in calculating process is chosen as shown in table 2, uses ADMM method is iterated optimization to objective function.It realizes the sampling to pupil, constructs the mapping relations of pupil and CCD, auxiliary The pupil aberration of Zhang Zhengyou peg model effectively correcting camera, building one more meet the camera model of actual imaging process. In order to prove the validity of pupil aberration correction, a three-dimensional measurement experiment is devised, is surveyed using the phase in photometrology Measuring deviation art method and measuring a radius of curvature is 1000mm, and bore is the spherical reflector of 60mm.Fig. 4 (a) is pupil aberration Three-dimensional measuring result after correction.Shown in three-dimensional measurement error such as Fig. 4 (b) after pupil aberration correction, whole RMS 67.91 nm.Shown in three-dimensional measurement error such as Fig. 4 (c) before pupil aberration correction, whole 230.51 nm of RMS.From reality Testing result and can be seen that the correction of pupil aberration can be effectively improved caused by the camera model excessively constrained in photometrology Measurement error.
(3)
Wherein, D is the corresponding differential operator of full variation,tFor Lagrange multiplier, ρ is weight coefficient;To formula (4), with unknown quantityα,s,tAlternative optimization is grouped to solve.
The main optical path parameter of table 1.
2. calculating process major parameter of table

Claims (2)

1. a kind of camera pupil aberration correcting method based on light field coding, which is characterized in that specific step is as follows:
(1) using four-dimensional function (X, Y, u, v) description imaging light field L, i.e. coordinate representation of the light at the z of section are as follows:
(1)
Wherein, (X, Y) indicates coordinate of the light at image planes Z, (u, v) and indicate coordinate of the light on pupil, it is right The z coordinate answered is 0, namely indicates radiation direction;
(2) building light field encode optical path: light field encode optical path in include primary mirror, 2 relay lenses, digital micromirror array (DMD), CCD;Wherein, use LCD screen as object, object space light is focused on through primary mirror to be invented in image planes, then will be converged through the first relay lens Caustic switchs to parallel light projection on DMD, which carries out coded sample by DMD, and realizes the turnover of optical path;In second The directional light after coding is focused in CCD image planes after mirror, realizes Image Acquisition;Hadamard binaryzation volume is carried out on DMD Code, realizes effective pupil encoded acquisitions;
(3) by pupil pixel (u, v) row of the vectorization as light field matrix L, by pixel coordinate (X, Y) vectorization as light field square The column of battle array L, and each element numerical value in light field matrix L is that formula (1) determines that all light travel to (X, Y) pixel from (u, v) Overall strength;Based on compressed sensing principle, observing matrix Φ is determined according to the corresponding binary-coding of DMD, by corresponding even numbers small echo Base forms sparse matrix Ψ;If light field matrix L=Ψ α, α is coefficient of the light field matrix L under wavelet basis, following target letter is defined Number:
(2)
Wherein, image shot by camera when β is calibration for cameras under difference pupil coding,Indicate vector or matrixkNorm,Indicate full variation operation, λ is weight coefficient, is determined by the noise level of image;
(4) alternating direction multipliers method solving optimization problem (2) is used, obtains light field matrix L, and utilize ginseng mark outside participating in camera It is fixed, accurate ray position and direction are obtained, the corresponding pupil coordinate (u, v) of each picture point (X, Y) is calculated, in conjunction with camera Calibration result, can effectively correcting camera pupil aberration, so that building one more meets the camera mould of actual imaging process Type.
2. the camera pupil aberration correcting method according to claim 1 based on light field coding, which is characterized in that described It is to be converted into augmentation Lagrange's equation using alternating direction multipliers method solving optimization problem (2):
(3)
Wherein, D is the corresponding differential operator of full variation,tFor Lagrange multiplier, ρ is weight coefficient;To formula (3), with unknown quantityα,s,tAlternative optimization is grouped to solve.
CN201910271140.5A 2019-04-04 2019-04-04 Camera pupil aberration correction method based on light field coding Active CN110248179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910271140.5A CN110248179B (en) 2019-04-04 2019-04-04 Camera pupil aberration correction method based on light field coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910271140.5A CN110248179B (en) 2019-04-04 2019-04-04 Camera pupil aberration correction method based on light field coding

Publications (2)

Publication Number Publication Date
CN110248179A true CN110248179A (en) 2019-09-17
CN110248179B CN110248179B (en) 2020-05-26

Family

ID=67883054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910271140.5A Active CN110248179B (en) 2019-04-04 2019-04-04 Camera pupil aberration correction method based on light field coding

Country Status (1)

Country Link
CN (1) CN110248179B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111862237A (en) * 2020-07-22 2020-10-30 复旦大学 Camera calibration method for optical surface shape measurement and device for implementing method
CN114488524A (en) * 2022-02-19 2022-05-13 复旦大学 Wavefront coding imaging system based on high-order polynomial free-form surface phase plate
CN116883517A (en) * 2023-09-07 2023-10-13 华东交通大学 Camera parameter calibration method without overlapping view fields based on plane mirror

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013169812A1 (en) * 2012-05-07 2013-11-14 Johns Lynette Customized wavefront-guided methods, systems, and devices to correct higher-order aberrations
US20140098356A1 (en) * 2010-05-13 2014-04-10 Asml Holding N.V. Optical system, inspection system and manufacturing method
CN104303090A (en) * 2012-05-17 2015-01-21 西铁城控股株式会社 Aberration correction device and laser microscope
CN107797218A (en) * 2016-08-30 2018-03-13 上海微电子装备(集团)股份有限公司 Objective lens aberration corrective lens (eye protection) and aberration correcting method and optical system, litho machine
CN109166154A (en) * 2018-08-29 2019-01-08 上海交通大学 Light-field camera calibration method for light field three dimensional particles image reconstruction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140098356A1 (en) * 2010-05-13 2014-04-10 Asml Holding N.V. Optical system, inspection system and manufacturing method
WO2013169812A1 (en) * 2012-05-07 2013-11-14 Johns Lynette Customized wavefront-guided methods, systems, and devices to correct higher-order aberrations
CN104303090A (en) * 2012-05-17 2015-01-21 西铁城控股株式会社 Aberration correction device and laser microscope
CN107797218A (en) * 2016-08-30 2018-03-13 上海微电子装备(集团)股份有限公司 Objective lens aberration corrective lens (eye protection) and aberration correcting method and optical system, litho machine
CN109166154A (en) * 2018-08-29 2019-01-08 上海交通大学 Light-field camera calibration method for light field three dimensional particles image reconstruction

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111862237A (en) * 2020-07-22 2020-10-30 复旦大学 Camera calibration method for optical surface shape measurement and device for implementing method
CN111862237B (en) * 2020-07-22 2024-01-05 复旦大学 Camera calibration method for optical surface shape measurement and device for realizing method
CN114488524A (en) * 2022-02-19 2022-05-13 复旦大学 Wavefront coding imaging system based on high-order polynomial free-form surface phase plate
CN116883517A (en) * 2023-09-07 2023-10-13 华东交通大学 Camera parameter calibration method without overlapping view fields based on plane mirror
CN116883517B (en) * 2023-09-07 2023-11-10 华东交通大学 Camera parameter calibration method without overlapping view fields based on plane mirror

Also Published As

Publication number Publication date
CN110248179B (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN110447220B (en) Calibration device, calibration method, optical device, imaging device, and projection device
CN107462184B (en) A kind of the parameter recalibration method and its equipment of structured light three-dimensional measurement system
CN107492127B (en) Light field camera parameter calibration method and device, storage medium and computer equipment
CN106595528B (en) A kind of micro- binocular stereo vision measurement method of telecentricity based on digital speckle
CN104730802B (en) Calibration, focusing method and the system and dual camera equipment of optical axis included angle
CN110248179A (en) Camera pupil aberration correcting method based on light field coding
CN108171758B (en) Multi-camera calibration method based on minimum optical path principle and transparent glass calibration plate
WO2018029950A1 (en) Calibration device, calibration method, optical device, imaging device and projection device
CN110207614B (en) High-resolution high-precision measurement system and method based on double telecentric camera matching
CN108012147B (en) The virtual image of AR imaging system is away from test method and device
CN108225737A (en) A kind of novel optical lens measurement method
CN115775303B (en) Three-dimensional reconstruction method for high-reflection object based on deep learning and illumination model
CN108917602B (en) A kind of panoramic structure light vision measurement system and general distortion model parameter calibration method
CN112489109B (en) Three-dimensional imaging system method and device and three-dimensional imaging system
CN107941153A (en) A kind of vision system of laser ranging optimization calibration
Burke et al. Deflectometry for specular surfaces: an overview
CN102937421A (en) Real-time detection method of symmetrical optical non-spherical face of rotary shaft
CN111009014A (en) Calibration method of orthogonal spectral imaging pose sensor of general imaging model
CN110487425A (en) A kind of wavefront sensing methods and its device based on defocus type light-field camera
CN110146032B (en) Synthetic aperture camera calibration method based on light field distribution
CN104634323B (en) A kind of multistage shooting tri-dimensional photographing system and method
CN116625258A (en) Chain spacing measuring system and chain spacing measuring method
JP2018179577A (en) Position measuring device
CN103926677B (en) For the fourier transformation object lens that lithography illuminating system pupil is measured
CN103258327A (en) Single-pint calibration method based on two-degree-freedom video camera

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant