CN108088365B - Digital micromirror camera coordinate accurate mapping method based on phase - Google Patents
Digital micromirror camera coordinate accurate mapping method based on phase Download PDFInfo
- Publication number
- CN108088365B CN108088365B CN201711370888.8A CN201711370888A CN108088365B CN 108088365 B CN108088365 B CN 108088365B CN 201711370888 A CN201711370888 A CN 201711370888A CN 108088365 B CN108088365 B CN 108088365B
- Authority
- CN
- China
- Prior art keywords
- digital micromirror
- dmd
- ccd
- charge coupled
- coupled device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/002—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Light Control Or Optical Switches (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
Abstract
The invention discloses a phase-based accurate coordinate mapping method for a digital micromirror camera, wherein the digital micromirror camera comprises a Digital Micromirror Device (DMD), a Charge Coupled Device (CCD), a first lens group and a second lens group; mapping matching first controlsThe digital micromirror device DMD generates transverse sine stripes and longitudinal sine stripes, and then calculates the transverse phase distribution of the digital micromirror device DMDLongitudinal phase distributionFinally, determining pixel coordinates (i, j) of charge coupled device CCD and DMD mirror element coordinates (v) of digital micromirror deviced(i,j),ud(i, j)). The digital micromirror device DMD and the charge coupled device CCD do not need to be adjusted and aligned in space, so that a complex adjusting process is avoided, and the whole process of establishing a mapping relation is simpler and more convenient; the mapping relation is established by adopting a phase calculation mode, the corresponding DMD mirror element coordinate of the digital micromirror device can be directly calculated for all CCD pixel coordinates of the charge coupled device, and the mapping relation is more accurate.
Description
Technical Field
The invention relates to the field of high-dynamic camera application, in particular to a digital micromirror camera coordinate accurate mapping method based on phase.
Background
The digital micromirror camera mainly comprises a digital micromirror device DMD and a CCD camera. The DMD is a spatial optical modulator that can precisely attenuate light energy reaching an image plane at a pixel level. After attenuation adjustment, bright objects and dark objects in the observation scene can be imaged in the CCD camera at the same time. Compared with a common CCD camera or a CMOS camera, the digital micromirror camera has a higher dynamic range, can meet the observation requirement of a scene with a high dynamic range, and has wide application in a plurality of fields such as high dynamic imaging, spectral analysis, scanning measurement and the like.
In order to realize the pixel-level brightness adjustment function of the digital micromirror camera, the key is to establish the precise mapping matching relationship between the DMD mirror element and the CCD pixel of the charge coupled device. In a conventional method for establishing a mapping relationship, pixels of a DMD (digital micromirror device) and pixels of a CCD (charge coupled device) need to be spatially aligned by manual adjustment. Then setting a digital micromirror device DMD to make the plane present a checkerboard pattern, imaging the checkerboard pattern by a charge coupled device CCD, and establishing a mapping relation between the DMD mirror element coordinates and the CCD pixel coordinates of the charge coupled device at the corner position by adopting a corner detection method.
It can be seen that the conventional method for establishing mapping relationship has the following disadvantages: 1) the DMD mirror element and the CCD pixel of the charge coupled device of the digital micromirror device need to be adjusted and aligned in space, the adjusting process is complicated, and the operation is difficult; 2) the method can only establish the mapping relation between DMD mirror elements and CCD pixels of the charge coupled device at the corner positions, and only can establish the mapping relation between a small number of DMD mirror elements and CCD pixels due to a certain distance between the corners in the checkerboard pattern, and the mapping relation of the rest positions needs to be determined by a fitting method and is not accurate enough.
Disclosure of Invention
The invention aims to provide a phase-based accurate coordinate mapping method for a digital micromirror camera, which can conveniently, quickly and accurately establish the mapping relation between DMD mirror elements and CCD pixels of a charge coupled device of a digital micromirror device.
In order to achieve the purpose, the technical scheme of the invention is as follows: a digital micromirror camera coordinate accurate mapping method based on phase comprises a digital micromirror camera capable of carrying out pixel-level adjustment on image continuous reading, wherein the digital micromirror camera comprises a Digital Micromirror Device (DMD), a charge-coupled device (CCD), a first lens group and a second lens group; the first lens group is a fixed-magnification imaging objective lens and images the surface of the object to be measured on the digital micromirror device DMD completely; the digital micromirror device DMD consists of a plurality of mirror elements which are independently addressed and controlled, and accurately modulates the light intensity of incident light; the second lens group is a zoom lens and completely images an image on the digital micromirror device DMD on the charge coupled device CCD; the optical axes of the digital micromirror device DMD, the second lens group and the charge coupled device CCD are superposed;
establishing a corresponding relation between the DMD mirror element coordinates and the CCD pixel coordinates of the charge coupled device for mapping and matching, and specifically comprising the following steps of:
controlling a Digital Micromirror Device (DMD) to sequentially generate a group of transverse sine stripes and a group of longitudinal sine stripes, and simultaneously acquiring transverse stripe images and longitudinal stripe images by a Charge Coupled Device (CCD);
step two, calculating the transverse phase distribution of the digital micromirror device DMDLongitudinal phase distributionDMD lateral phase distribution of digital micromirror deviceThe longitudinal phase distribution of the DMD is calculated by the following formula (1)Calculated by the following formula (2):
in the above formulas (1) and (2), N is the total phase shift step number, IHn(i, j) is the brightness distribution of the transverse stripe during the phase shift of the nth step, and is obtained by measuring the image of the transverse stripe collected by the charge coupled device CCD; i isVn(i, j) is the brightness distribution of the longitudinal stripe during the phase shift of the nth step, which is obtained by measuring the image of the longitudinal stripe collected by the charge coupled device CCD; (i, j) are pixel coordinates of the charge coupled device CCD;
step three, determining pixel coordinates (i, j) of the charge coupled device CCD and mirror element coordinates (v) of the digital micromirror device DMDd(i,j),ud(i, j)), where vd(i, j) is determined by the following formula (3) ud(i, j) is determined by the following formula (4):
in the above formulae (3) and (4), THIs the period width, T, of the transverse sinusoidal stripeVIs the period width of the longitudinal sinusoidal stripes.
The invention has the beneficial effects that:
1) when the mapping relation between the DMD mirror element and the CCD pixel of the charge coupled device is established, the DMD mirror element and the CCD pixel of the charge coupled device do not need to be adjusted and aligned in space, so that a complicated adjusting process is avoided, and the whole process of establishing the mapping relation is simpler and more convenient;
2) the invention adopts a phase calculation mode to establish the mapping relation between the DMD mirror elements and the CCD pixels of the charge coupled device, and can directly calculate the corresponding DMD mirror element coordinates of the digital micromirror device for all the CCD pixel coordinates of the charge coupled device. The mapping relation established by the invention is more accurate because the calculation processes of fitting, interpolation and the like are saved.
Drawings
FIG. 1 is a schematic diagram of a digital micromirror camera;
FIG. 2 is a horizontal stripe pattern generated by the DMD;
FIG. 3 is a longitudinal stripe pattern generated by the DMD;
FIG. 4 is a transverse phase profile;
FIG. 5 is a longitudinal phase profile;
fig. 6 is a schematic diagram of a DMD mirror element and a CCD pixel mapping of the DMD.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
A phase-based accurate coordinate mapping method for a digital micromirror camera comprises a digital micromirror camera capable of performing pixel-level adjustment on continuous reading of images, as shown in FIG. 1, the digital micromirror camera comprises a digital micromirror device DMD1, a charge-coupled device CCD4, a first lens group 2, and a second lens group 3; the first lens group 2 is a fixed-magnification imaging objective lens and images the surface of the object to be measured on the digital micromirror device DMD1 completely; the digital micromirror device DMD1 is composed of a plurality of mirror elements which are independently addressed and controlled, and is used for accurately modulating the light intensity of incident light; the second lens group 3 is a zoom lens and completely images an image on the digital micromirror device DMD1 on the CCD 4; the optical axes of the digital micromirror device DMD1, the second lens group 3 and the charge coupled device CCD4 are coincident.
Establishing a corresponding relation between the coordinates of the DMD1 mirror elements of the digital micromirror device and the coordinates of the pixels of the CCD4, and performing mapping matching, wherein the method specifically comprises the following steps:
step one, as shown in fig. 2 and 3, controlling a digital micromirror device DMD1 to sequentially generate a group of transverse sinusoidal stripes and a group of longitudinal sinusoidal stripes, and simultaneously collecting transverse stripe images and longitudinal stripe images by a charge coupled device CCD 4;
step two, calculating the transverse phase distribution of the digital micromirror device DMD1 shown in FIG. 4 and FIG. 5Longitudinal phase distributionDigital micromirror device DMD1 transverse phase distributionThe longitudinal phase distribution of the DMD1 of the digital micromirror device is calculated by the following equation (1)Calculated by the following formula (2):
in the above formulas (1) and (2), N is the total phase shift step number, IHn(i, j) is the luminance distribution of the lateral stripe at the phase shift of the nth step, which is obtained by measuring the image of the lateral stripe collected by the CCD 4; i isVn(i, j) is the brightness distribution of the longitudinal stripe at the phase shift of the nth step, which is obtained by measuring the image of the longitudinal stripe collected by the CCD 4; (i, j) are pixel coordinates of the charge coupled device CCD;
step three, determining pixel coordinates (i, j) of the charge coupled device CCD and mirror element coordinates (v) of the digital micromirror device DMDd(i,j),ud(i, i)) as shown in FIG. 6, where vd(i, j) is determined by the following formula (3) ud(i, j) is determined by the following formula (4):
in the above formulae (3) and (4), THIs the period width, T, of the transverse sinusoidal stripeVIs the period width of the longitudinal sinusoidal stripes.
The described embodiments are only some embodiments of the invention, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Claims (1)
1. A digital micromirror camera coordinate accurate mapping method based on phase is characterized by comprising a digital micromirror camera capable of carrying out pixel-level adjustment on continuous reading of an image, wherein the digital micromirror camera comprises a Digital Micromirror Device (DMD), a charge-coupled device (CCD), a first lens group and a second lens group; the first lens group is a fixed-magnification imaging objective lens and images the surface of the object to be measured on the digital micromirror device DMD completely; the digital micromirror device DMD consists of a plurality of mirror elements which are independently addressed and controlled, and accurately modulates the light intensity of incident light; the second lens group is a zoom lens and completely images an image on the digital micromirror device DMD on the charge coupled device CCD; the optical axes of the digital micromirror device DMD, the second lens group and the charge coupled device CCD are superposed;
establishing a corresponding relation between the DMD mirror element coordinates and the CCD pixel coordinates of the charge coupled device for mapping and matching, and specifically comprising the following steps of:
controlling a Digital Micromirror Device (DMD) to sequentially generate a group of transverse sine stripes and a group of longitudinal sine stripes, and simultaneously acquiring transverse stripe images and longitudinal stripe images by a Charge Coupled Device (CCD);
step two, calculating the transverse phase distribution of the digital micromirror device DMDLongitudinal phase distributionDMD lateral phase distribution of digital micromirror deviceThe longitudinal phase distribution of the DMD is calculated by the following formula (1)Calculated by the following formula (2):
in the above formulas (1) and (2), N is the total phase shift step number,the luminance distribution of the transverse stripe during the phase shift of the nth step is obtained by measuring the image of the transverse stripe acquired by the charge coupled device CCD;the brightness distribution of the longitudinal stripe during the phase shift of the nth step is obtained by measuring the image of the longitudinal stripe acquired by the charge coupled device CCD;is the pixel coordinate of the charge coupled device CCD;
step three, determining the pixel coordinates of the charge coupled device CCDAnd DMD mirror element coordinate of digital micromirror deviceA mapping relationship between, whereinDetermined by the following formula (3),determined by the following formula (4):
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711370888.8A CN108088365B (en) | 2017-12-19 | 2017-12-19 | Digital micromirror camera coordinate accurate mapping method based on phase |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711370888.8A CN108088365B (en) | 2017-12-19 | 2017-12-19 | Digital micromirror camera coordinate accurate mapping method based on phase |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108088365A CN108088365A (en) | 2018-05-29 |
CN108088365B true CN108088365B (en) | 2020-04-07 |
Family
ID=62177312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711370888.8A Active CN108088365B (en) | 2017-12-19 | 2017-12-19 | Digital micromirror camera coordinate accurate mapping method based on phase |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108088365B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112070842B (en) * | 2020-07-28 | 2023-03-21 | 安徽农业大学 | Multi-camera global calibration method based on orthogonal coding stripes |
CN113466229A (en) * | 2021-06-29 | 2021-10-01 | 天津大学 | Digital micromirror camera pixel-level coordinate mapping method based on synthesized stripes |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106679591A (en) * | 2016-12-30 | 2017-05-17 | 合肥工业大学 | High-reflective surface three-dimensional measuring device and method based on digital micromirror |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4003274B2 (en) * | 1998-01-27 | 2007-11-07 | 松下電器産業株式会社 | Distance measuring device |
-
2017
- 2017-12-19 CN CN201711370888.8A patent/CN108088365B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106679591A (en) * | 2016-12-30 | 2017-05-17 | 合肥工业大学 | High-reflective surface three-dimensional measuring device and method based on digital micromirror |
Also Published As
Publication number | Publication date |
---|---|
CN108088365A (en) | 2018-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110689581B (en) | Structured light module calibration method, electronic device and computer readable storage medium | |
EP2745171B1 (en) | Projector and control method thereof | |
JP5929553B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and program | |
CN106101549B (en) | Automatic switching method, apparatus and system round the clock | |
US11375165B2 (en) | Image calibration for projected images | |
CN108063932B (en) | Luminosity calibration method and device | |
CN109714536B (en) | Image correction method, image correction device, electronic equipment and computer-readable storage medium | |
JP5859080B2 (en) | Method and related apparatus for correcting color artifacts in images | |
US8111290B2 (en) | Radiometric calibration using temporal irradiance mixtures | |
CN108627121B (en) | Mirror surface shape detection device and detection method thereof | |
JP5633058B1 (en) | 3D measuring apparatus and 3D measuring method | |
KR101941801B1 (en) | Image processing method and device for led display screen | |
CN104568963A (en) | Online three-dimensional detection device based on RGB structured light | |
CN108088365B (en) | Digital micromirror camera coordinate accurate mapping method based on phase | |
JP7310606B2 (en) | Two-dimensional flicker measuring device and two-dimensional flicker measuring method | |
Je et al. | Color-phase analysis for sinusoidal structured light in rapid range imaging | |
Hou et al. | Camera lens distortion evaluation and correction technique based on a colour CCD moiré method | |
CN106683133B (en) | Method for obtaining target depth image | |
CN108010071B (en) | System and method for measuring brightness distribution by using 3D depth measurement | |
CN112179292B (en) | Projector-based line structured light vision sensor calibration method | |
JP2015142364A (en) | Image processing device, imaging apparatus and image processing method | |
TWI538476B (en) | System and method for stereoscopic photography | |
RU2692970C2 (en) | Method of calibration of video sensors of the multispectral system of technical vision | |
KR101653649B1 (en) | 3D shape measuring method using pattern-light with uniformity compensation | |
JP2015119416A (en) | Image processing device and its control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |