CN109186762B - Method for determining coding image data area and coding template - Google Patents

Method for determining coding image data area and coding template Download PDF

Info

Publication number
CN109186762B
CN109186762B CN201811159458.6A CN201811159458A CN109186762B CN 109186762 B CN109186762 B CN 109186762B CN 201811159458 A CN201811159458 A CN 201811159458A CN 109186762 B CN109186762 B CN 109186762B
Authority
CN
China
Prior art keywords
template
coding
coded
image data
determining
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
CN201811159458.6A
Other languages
Chinese (zh)
Other versions
CN109186762A (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.)
XiAn Institute of Optics and Precision Mechanics of CAS
Original Assignee
XiAn Institute of Optics and Precision Mechanics of CAS
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 XiAn Institute of Optics and Precision Mechanics of CAS filed Critical XiAn Institute of Optics and Precision Mechanics of CAS
Priority to CN201811159458.6A priority Critical patent/CN109186762B/en
Publication of CN109186762A publication Critical patent/CN109186762A/en
Application granted granted Critical
Publication of CN109186762B publication Critical patent/CN109186762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/28Investigating the spectrum
    • G01J3/2823Imaging spectrometer
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a method for determining a coded image data area and a coded template, firstly, designating positions around the coded template, setting marker bits, and determining the position relation between the marker bits and the coded template; then, carrying out single-spectrum or full-color imaging on the coding template with the marker bit to obtain a single-spectrum coding image or full-color coding image; then searching the position of the marker bit on the single-spectrum coded image or the full-color coded image, and determining the coding template area on the single-spectrum coded image or the full-color coded image by utilizing the position of the searched marker bit and the position relation between the marker bit and the coding template determined in the first step; and finally, acquiring a coded image data area according to the coded template area, and improving the accuracy of a coded reconstruction result.

Description

Method for determining coding image data area and coding template
Technical Field
The invention relates to a method for acquiring coded image data and a coding template.
Background
In a coded (spectral) imaging system, a coding template is a key device, and its main function is to code and modulate an optical signal, and its design determines whether an original (spectral) image can be finally reconstructed with high efficiency and accuracy. The code template is composed of different code units, each code unit having a specific modulation response to the optical signal. Physically, the coding template is mainly realized by a mask plate, a spatial light modulator and a liquid crystal light valve; mathematically, the responses of all the coding units are represented in a unified way, thus obtaining the code modulation function or the code projection matrix of the whole code template.
In specific use, the position of the actual detector image area encoded by the encoding template needs to be determined first, so that effective encoding data is obtained and reconstructed. In a more common way, the position of the coding image region of the coding template is determined by searching the corresponding geometric features of the coding image according to the geometric features of the coding design of the coding template. However, due to the arbitrary geometric structure of the coding design of the coding template and the aliasing modulation effect, the accuracy of the actual characteristic positioning is greatly low, so that errors exist in the effective coding data selected for reconstruction, and the accuracy of the actual recovery data is greatly reduced.
Disclosure of Invention
In order to improve the accuracy of the real data after the coding reconstruction, the invention provides a coded image data area confirmation method with universality and high precision, and provides a coding template.
The technical solution of the present invention is to provide a method for determining a region of encoded image data, comprising the steps of:
step one: designating positions around the coding template, designing a zone bit, and determining the position relation between the zone bit and the coding template;
step two: carrying out single-spectrum or full-color imaging on the coding template with the marker bit in the first step to obtain a single-spectrum coding image or full-color coding image;
step three: searching the position of the marker bit on the single-spectrum coded image or the full-color coded image, and determining the coding template area on the single-spectrum coded image or the full-color coded image by utilizing the position of the searched marker bit and the position relation between the marker bit and the coding template determined in the step one;
step four: and acquiring a coded image data area according to the coded template area.
Further, the flag bit includes at least one pair of marker elements symmetrical about a geometric center of the encoding template, the marker elements being in a same plane as the encoding template.
Further, for the mask plate, the marker bit is a geometric pattern specially designed on the mask plate by means of photoetching and the like; for the spatial light modulator, the marker bit is controlled by a microcomputer structure, so that the modulation of an optical signal passing through the marker bit is realized, and a designed special geometric pattern is realized in a marker bit imaging area when the detector images; for the liquid crystal light valve, the marker bit is controlled by an electric signal to realize the modulation of an optical signal passing through the marker bit, and a designed special geometric pattern is realized in a marker bit imaging area when the detector images.
Further, in order to avoid spectrum mixing and drop, and ensure that the imaging result of the marker bit is aligned with the detector pixel, and meanwhile, the imaging center of the marker bit in the process of dispersion imaging is conveniently determined, and the marking element is in a cross star structure.
Further, in order to simplify the calculation process, the code template is rectangular, and the marking element is located on an extension line of the symmetry axis or an extension line of the diagonal line of the code template.
Further, in step four:
in a full color imaging system, the encoded image data region coincides with the encoded template region on the full color encoded image;
in the coded spectral imaging system, the coded template region obtained by monochromatic light imaging of the first spectral channel is utilized to determine the coded template region obtained by monochromatic light imaging of the last spectral channel.
The invention also provides a coding template, which comprises a coding template body and is characterized by further comprising marker bits arranged at the periphery of the coding template body.
Further, the flag bit includes at least one pair of marker elements that are symmetrical about a geometric center of the encoding template, the marker elements being coplanar with the encoding template.
Further, the marking element is in a cross star structure.
Further, the upper code template is rectangular, and the marking element is positioned on an extension line of the symmetry axis or an extension line of a diagonal line of the code template.
The beneficial effects of the invention are as follows:
1. according to the invention, when the coding template is designed and engineering is realized, the pairs of the zone bits are added around the coding template, and are determined through the zone bit imaging center, and the geometric position relation between the zone bits and the coding template, so that the effective coding imaging area is accurately positioned and calculated, and the accurate coding imaging data is obtained, thereby improving the accuracy of the coding reconstruction result.
2. The invention designs the marker bit into a cross star structure, avoids spectrum mixing and falling, ensures that the imaging result of the marker bit is aligned with the pixel of the detector, and simultaneously, the imaging center of the marker bit is easy to determine during dispersion imaging.
Drawings
FIG. 1 is a schematic diagram of a first encoding template according to an embodiment;
FIG. 2 is a schematic diagram of a second encoding template according to an embodiment;
FIG. 3 is a schematic diagram of a third encoding template according to an embodiment;
FIG. 4 is a schematic diagram of a fourth encoding template according to an embodiment;
the reference numerals in the drawings are: 1-coding a template body and 2-mark bits;
Detailed Description
The invention is further described below with reference to the accompanying drawings and specific examples.
The method comprises the steps of determining the position of an actual coding image area of a coding template by designating positions around the coding area of the coding template and designing marker bits; the marker bit includes at least one pair of marker elements that are centrally symmetric about the geometric center of the encoding template, the marker elements being coplanar with the encoding template. For the mask plate, the zone bit is a geometric pattern specially designed on the mask plate by means of photoetching and the like; for the spatial light modulator, the marker bit is controlled by a microcomputer structure, so that the modulation of an optical signal passing through the marker bit is realized, and a designed special geometric pattern is realized in a marker bit imaging area when the detector images; for the liquid crystal light valve, the marker bit is controlled by an electric signal to realize the modulation of an optical signal passing through the marker bit, and a designed special geometric pattern is realized in a marker bit imaging area when the detector images.
The structure of the marking element can be a cross star structure or other structures.
The flag bits may have the following distribution manner, and B1 and B2 in fig. 1 to 4 are flag bits:
as shown in fig. 1, located directly above and directly below the coding region of the coding template;
or, as shown in fig. 2, directly to the left and directly to the right of the coding region of the coding template;
or as shown in fig. 3 and 4, on an extension of the diagonal of the coding region of the coding template.
Under single-spectrum imaging or full-color imaging, determining a coding template area by positioning the position of a 'cross star' on a detector, and selecting an effective coding image data area by the determined coding template area; the specific operation is as follows:
1) Imaging and detecting the coding template with the marker bit by using a monochromator or a laser to obtain a single-spectrum coded image; or under the condition of removing the system light splitting module, imaging and detecting the coding template by using an integrating sphere to obtain a full-color coding image; here, since both of the above cases are not split, they are collectively called a coded image.
2) The imaging position of the 'cross star' mark is found on the coded image, and the center of the 'cross star' imaging mark is taken as B1 (X1, Y1), and B2 (X2, Y2).
3) Assuming the coding template size is (2m+1) ×2n+1 units;
if the flag bit is designed as shown in fig. 1, according to the position relationship between the flag bit center and the coding template, the coding template center can be determined as follows: (X1, (y1+y2)/2) and the radii of the code template in the horizontal and vertical axes directions are M and N, respectively, so the code template region is:
Code1=(X1-M:X1+M,(Y1+Y2)/2-N:(Y1+Y2)/2+N);
if the flag bit is designed as shown in fig. 2, according to the left-right symmetrical position relationship between the flag bit center and the coding template, the coding template center can be determined as follows: ((X1 + X2)/2, Y1) and the radii of the code template in the transverse and longitudinal directions are M and N, respectively, so the code template region is:
Code2=((X1+X2)/2-M:(X1+X2)/2+M,Y1-N:Y1+N);
if the flag bit is designed as shown in fig. 3, according to the symmetrical position relationship between the center of the flag bit and the center of the coding template, the center of the coding template can be determined as follows: ((X1 + X2)/2, (y1 + Y2)/2), while the radii of the coding template in the transverse and longitudinal directions are M and N, respectively, so the coding template region is:
Code3=((X1+X2)/2-M:(X1+X2)/2+M,(Y1+Y2)/2-N:(Y1+Y2)/2+N);
if the flag bit is designed as shown in fig. 4, according to the symmetrical position relationship between the center of the flag bit and the center of the coding template, the center of the coding template can be determined as follows: ((X1 + X2)/2, (y1 + Y2)/2), while the radii of the coding template in the transverse and longitudinal directions are M and N, respectively, so the coding template region is:
Code4=((X1+X2)/2-M:(X1+X2)/2+M,(Y1+Y2)/2-N:(Y1+Y2)/2+N);
4) Coded image data region positioning mode:
in the coded panchromatic imaging system, the position of the coded image data area is consistent with that of the coded template area;
in the coded spectral imaging system, the coded image data area may be determined by the coded template area position, and assuming that the coded template area coordinates obtained by monochromatic light imaging of the first spectral channel of the coded spectral imaging system are code_band1= (X11: X12, Y11: Y12), and the coded template area coordinates obtained by monochromatic light imaging of the last spectral channel of the coded spectral imaging system are code_bandn= (Xn 1: xn2, yn1: yn 2), the final full-channel spectral imaging coded image data area is:
Code_Bandall=(min(X11,Xn1):max(X12,Xn2),min(Y11,Yn1):max(Y12,Yn2))。
the present invention will be described in detail below with reference to an encoded spectral imaging system.
As shown in fig. 1, defining the plane of the coding template as xy plane, and firstly designing a marker bit of a cross star structure on an extension line of a y-direction symmetry axis of the coding template; the marker bits B1 and B2 are vertically symmetrical with respect to the geometric center of the coding template;
when the imaging area of the coding template is determined, imaging detection is needed to be carried out on the coding template by using a monochromator, and a single-spectrum coded imaging image of a first spectrum channel and a last spectrum channel is obtained;
1 encoded image region of the first spectral channel
Firstly, searching an imaging position of a 'cross star' marker bit on a coded image, and counting the center of the 'cross star' imaging marker as P1 (80, 20), P2 (80, 120);
then, a coding template region is determined on the coded image, and assuming that the coding template size in this embodiment is (2×44+1) ×2×44+1 units, the first spectral channel coding template region is calculated as:
Code1=(80-44:80+44,(20+120)/2-44:(20+120)/2+44)=(36:124,26:114);
2 encoded image region of last spectral channel
Firstly, searching an imaging position of a 'cross star' marker bit on a coded image, and counting the center of the 'cross star' imaging marker as P1 (130, 20), P2 (130, 120);
then, the coding template region is determined on the coded image, and assuming that the coding template size in this embodiment is (2×44+1) ×2×44+1 units, the last spectral channel coding template region is calculated as:
Code1=(130-44:130+44,(20+120)/2-44:(20+120)/2+44)=(86:174,26:114);
2 coding image region of coding spectral imaging system
The final full channel spectral imaging encoded image data region is:
Code_Bandall=(min(36,86):max(124,174),min(26,26):max(114,114))
=(36:174,26:114)
here, since the code dispersion is generally in one dimension, in the above example, the code region is spread out in the X direction.

Claims (6)

1. A method of determining a region of encoded image data, comprising the steps of:
step one: designating positions around the coding template, setting a marker bit, and determining the position relation between the marker bit and the coding template;
step two: carrying out single-spectrum or full-color imaging on the coding template with the marker bit in the first step to obtain a single-spectrum coding image or full-color coding image;
step three: searching the position of the marker bit on the single-spectrum coded image or the full-color coded image, and determining the coding template area on the single-spectrum coded image or the full-color coded image by utilizing the position of the searched marker bit and the position relation between the marker bit and the coding template determined in the step one;
step four: and acquiring a coded image data area according to the coded template area.
2. The method of determining an area of encoded image data according to claim 1, wherein: the marker bit includes at least one pair of marker elements that are symmetrical about a geometric center of the encoding template, the marker elements being coplanar with the encoding template.
3. The method of determining an area of encoded image data according to claim 1, wherein: when the coding template is a mask plate, etching the marker bit on the mask plate by a photoetching method;
when the coding template is realized by the spatial light modulator, the optical signal passing through the spatial light modulator is modulated by microcomputer structure control to form a zone bit;
when the coding template is realized through the liquid crystal diaphragm, the optical signal passing through the liquid crystal diaphragm is modulated through the control of the electric signal to form the zone bit.
4. The method of determining an area of encoded image data according to claim 2, wherein: the marking element is in a cross star structure.
5. The method of determining an encoded image data area according to claim 4, wherein: the coding template is rectangular, and the marking element is positioned on an extension line of a symmetrical axis or an extension line of a diagonal line of the coding template.
6. The method of determining a coded image data area according to claim 1, wherein in step four:
in a full color imaging system, the encoded image data region coincides with the encoded template region on the full color encoded image;
in the coded spectral imaging system, the coded template region obtained by monochromatic light imaging of the first spectral channel is utilized to determine the coded template region obtained by monochromatic light imaging of the last spectral channel.
CN201811159458.6A 2018-09-30 2018-09-30 Method for determining coding image data area and coding template Active CN109186762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811159458.6A CN109186762B (en) 2018-09-30 2018-09-30 Method for determining coding image data area and coding template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811159458.6A CN109186762B (en) 2018-09-30 2018-09-30 Method for determining coding image data area and coding template

Publications (2)

Publication Number Publication Date
CN109186762A CN109186762A (en) 2019-01-11
CN109186762B true CN109186762B (en) 2023-09-01

Family

ID=64946905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811159458.6A Active CN109186762B (en) 2018-09-30 2018-09-30 Method for determining coding image data area and coding template

Country Status (1)

Country Link
CN (1) CN109186762B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882207A (en) * 2010-06-01 2010-11-10 福建新大陆电脑股份有限公司 Bar code decoding chip of Data Matrix codes and decoding method thereof
CN201897692U (en) * 2010-10-16 2011-07-13 中芯国际集成电路制造(上海)有限公司 Masking plate with alignment marks
CN102569258A (en) * 2010-12-09 2012-07-11 中芯国际集成电路制造(上海)有限公司 Sample structure and measuring method for CDSEM (critical dimension scanning electronic microscope)
CN103024386A (en) * 2012-12-14 2013-04-03 北京大学 Method and device for encoding and decoding header information
CN105911815A (en) * 2016-05-24 2016-08-31 京东方科技集团股份有限公司 Manufacturing system and method of nano-imprinting template
CN107560735A (en) * 2017-09-07 2018-01-09 西安电子科技大学 High-resolution infrared imaging system and method based on compressed sensing
CN108573511A (en) * 2018-02-11 2018-09-25 湖南科技大学 Spot distribution cooperative coding mark and its recognition positioning method
CN109186761A (en) * 2018-09-14 2019-01-11 中国科学院西安光学精密机械研究所 A kind of calibrating method and coding templet encoding spectrum imaging system
CN209197898U (en) * 2018-09-30 2019-08-02 中国科学院西安光学精密机械研究所 A kind of coding templet

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008074019A2 (en) * 2006-12-13 2008-06-19 Georgia Tech Research Corporation Systems and methods for real time multispectral imaging

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882207A (en) * 2010-06-01 2010-11-10 福建新大陆电脑股份有限公司 Bar code decoding chip of Data Matrix codes and decoding method thereof
CN201897692U (en) * 2010-10-16 2011-07-13 中芯国际集成电路制造(上海)有限公司 Masking plate with alignment marks
CN102569258A (en) * 2010-12-09 2012-07-11 中芯国际集成电路制造(上海)有限公司 Sample structure and measuring method for CDSEM (critical dimension scanning electronic microscope)
CN103024386A (en) * 2012-12-14 2013-04-03 北京大学 Method and device for encoding and decoding header information
CN105911815A (en) * 2016-05-24 2016-08-31 京东方科技集团股份有限公司 Manufacturing system and method of nano-imprinting template
CN107560735A (en) * 2017-09-07 2018-01-09 西安电子科技大学 High-resolution infrared imaging system and method based on compressed sensing
CN108573511A (en) * 2018-02-11 2018-09-25 湖南科技大学 Spot distribution cooperative coding mark and its recognition positioning method
CN109186761A (en) * 2018-09-14 2019-01-11 中国科学院西安光学精密机械研究所 A kind of calibrating method and coding templet encoding spectrum imaging system
CN209197898U (en) * 2018-09-30 2019-08-02 中国科学院西安光学精密机械研究所 A kind of coding templet

Also Published As

Publication number Publication date
CN109186762A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN106468553B (en) A kind of localization method of the mobile object based on road sign
EP3480556B1 (en) Three-dimensional measurement apparatus, three-dimensional measurement method and program
CN103827917A (en) Method and apparatus for automatic camera calibration using one or more images of a checkerboard pattern
CN103258329B (en) A kind of camera marking method based on ball one-dimensional
CN110969663B (en) Static calibration method for external parameters of camera
US11120570B2 (en) Method for obtaining road marking data
CN108510546B (en) Camera calibration method suitable for map and structure information synchronous detection system
US20230039293A1 (en) Method of processing image, electronic device, and storage medium
CN110414674A (en) A kind of monocular depth estimation method based on residual error network and local refinement
CN107016210B (en) Imaging quality simulation method of Fresnel diffraction optical system
CN103366555B (en) Aerial image-based traffic accident scene image rapid generation method and system
CN106709944A (en) Satellite remote sensing image registration method
CN109615664A (en) A kind of scaling method and equipment for optical perspective augmented reality display
CN101763654B (en) Feather point matching method based on colored false random coding projection
CN110705433A (en) Bridge deformation monitoring method, device and equipment based on visual perception
CN110337674A (en) Three-dimensional rebuilding method, device, equipment and storage medium
CN101482398A (en) Fast three-dimensional appearance measuring method and device
CN109186762B (en) Method for determining coding image data area and coding template
CN209197898U (en) A kind of coding templet
CN100383810C (en) Distorted QR code image correction method
CN103968829B (en) Three-dimensional fix method for tracing based on virtual signage thing and system
CN103713477B (en) The aligning structure of double face photoetching machine and alignment method
CN105096314A (en) Binary grid template-based method for obtaining structured light dynamic scene depth
CN107728316A (en) With the Equivalent analysis method of off-axis three reflecting optical systems imaging law
CN105809652A (en) Linear array camera attitude calibration device and 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