CN102620687A - Transmission circular grating cradle head based on image processing and positioning detection method thereof - Google Patents
Transmission circular grating cradle head based on image processing and positioning detection method thereof Download PDFInfo
- Publication number
- CN102620687A CN102620687A CN2012100522799A CN201210052279A CN102620687A CN 102620687 A CN102620687 A CN 102620687A CN 2012100522799 A CN2012100522799 A CN 2012100522799A CN 201210052279 A CN201210052279 A CN 201210052279A CN 102620687 A CN102620687 A CN 102620687A
- Authority
- CN
- China
- Prior art keywords
- cloud terrace
- image
- moire fringe
- grating
- transmission
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a transmission circular grating cradle head based on image processing and a positioning detection method thereof. Transmission circular glass gratings are respectively and additionally arranged on a cradle head base and a cradle head rotary body, moire fringes are formed between two glass gratings by utilizing rotation process of the cradle head rotary body, and the method utilizing pixel numbers of the moire fringes in a target area to calculate the rotation angle of the cradle head is formed by collecting the images of the moire fringes and performing relative gray processing. The method is simple, convenient to implement, high in measurement accuracy, small in outside interference, good in stability of the whole device, high in reliability and especially suitable for the cradle head with high-accuracy control requirements in the rotation process.
Description
Technical field
The present invention relates to a kind of The Cloud Terrace position finding and detection method, particularly a kind of transmission-type circle grating The Cloud Terrace and position finding and detection method thereof based on Flame Image Process belong to security protection and industrial control field.
Background technology
The Cloud Terrace all has critical role in safety monitoring and commercial production manufacturing, wherein, realize that the High Accuracy Control of The Cloud Terrace and location are important contents of this area research, also is that The Cloud Terrace is used and development key.
For guaranteeing the High Accuracy Control and the location of The Cloud Terrace, it is effective a kind of means that high Precision Detection is carried out in The Cloud Terrace position in the operation process.Detection in the existing The Cloud Terrace generally is to measure with angular transducer; Measuring accuracy is more than 0.01 °, but this method receives the restriction and the influence of measurement error of angular transducer precision, and measuring accuracy is limited; Generally can't reach required more high precision, make troubles for actual the use.
How existing method is improved, improved measuring accuracy and measure accuracy, just become problem to be solved by this invention.
Summary of the invention
In view of the shortcoming and defect of above-mentioned prior art, the present invention aims to provide a kind of mode of utilizing transmission-type circle grating and image processing method to combine, the The Cloud Terrace rotational angle is accurately detected, to guarantee to rotate accuracy and reliability.
The present invention realizes through following technical scheme:
A kind of transmission-type circle grating The Cloud Terrace based on Flame Image Process; Comprise The Cloud Terrace pedestal, The Cloud Terrace rotor and control system; Also comprise two transmission-type Circular glass gratings, infrared light supply, lens, reflection unit and cameras, two transmission-type Circular glass grating pairs should be fixed on The Cloud Terrace pedestal and the The Cloud Terrace rotor; Lens and infrared light supply are separately fixed on the The Cloud Terrace pedestal, and the infrared light supply scioptics are corresponding with the glass raster on the The Cloud Terrace rotor; Reflection unit is corresponding to the glass raster below of The Cloud Terrace pedestal; Camera is corresponding with reflection unit, and the output terminal of camera is connected with control system, and camera and reflection unit are separately fixed on the The Cloud Terrace pedestal.
Said reflection unit is the prism of a 45, and camera is corresponding with the reflecting surface of prism.
A kind of position finding and detection method of the transmission-type circle grating The Cloud Terrace based on Flame Image Process comprises:
A), choose two blocks of transmission-type Circular glass gratings, one is fixed on the The Cloud Terrace pedestal as indication grating, another is fixed on the The Cloud Terrace rotor as the scale grating.
B), along with the rotation of The Cloud Terrace rotor, infrared light supply irradiation glass raster, camera utilizes reflection unit that the Moire fringe image between two glass rasters is gathered.
C), according to formula: Y=0.259R+0.588G+0.124B, the colored Moire fringe image that control system will collect changes into gray level image.
D), utilize the linear transformation mode gray level image to be carried out the grey level stretching of enhancing contrast ratio.
E), the image after the grey level stretching is converted into black white image.
F), black white image is scanned; Completion is to the wherein mark and the intercepting in a white Moire fringe zone; Calculate the pixel count of the white pixel in the single marking fringe area; Utilize sum formula, extrapolate with the relational expression between Moire fringe marked region sum of all pixels and the marked region area A, that is:
Wherein, n is a total number of image pixels in the single Moire fringe marked region, v
iFor image gray levels is the frequency of the pixel appearance of i, T is a gray threshold.
G), according to the area A of marked region, the rotational angle θ that the definition inverse cosine function calculates The Cloud Terrace accomplishes the accurate demarcation to the The Cloud Terrace turned position,
A wherein
MaxBe the maximum area in single white Moire fringe zone, its computing formula is following:
N wherein
MaxTotal number of image pixels during for white Moire fringe zone maximum area.
A kind of transmission-type circle grating The Cloud Terrace and position finding and detection method thereof based on Flame Image Process of the present invention through on The Cloud Terrace pedestal and The Cloud Terrace rotor, setting up transmission-type Circular glass grating respectively, utilize the rotation process of The Cloud Terrace rotor; Between two glass rasters, form Moire fringe, after gathering the Moire fringe image and carrying out the gray scale processing, form a kind of method of calculating the The Cloud Terrace rotational angle with the pixel count of Moire fringe in the target area; Avoided carrying out the shortcoming that measurement of angle exists with angular transducer in the prior art, precision is high, receives external interference little; It is convenient to realize; Wherein, adopt the pixel count method to calculate, calculated amount is little; Algorithm is simple, can not receive the influence of irregular Moire fringe shape.Whole apparatus structure is simple, easy to use, good stability, reliability height, and testing result is quick, accurate, is particularly suitable on the The Cloud Terrace that rotation process has High Accuracy Control to require, using.
Description of drawings
Fig. 1 is a structural representation of the present invention.
Embodiment
1 couple of the present invention does further description below in conjunction with accompanying drawing:
A kind of transmission-type circle grating The Cloud Terrace based on Flame Image Process of the present invention comprises The Cloud Terrace pedestal, The Cloud Terrace rotor, two transmission-type Circular glass gratings, infrared light supply, lens, reflection unit, camera and control system.The Cloud Terrace rotor relative The Cloud Terrace pedestal under the control of control system rotates, images acquired information at any time, and the image information of gathering sent in the far-end server, to realize security or production monitoring process.The glass raster that increases newly, infrared light supply, lens, reflection unit and camera then are the detection and localization that is used for the The Cloud Terrace rotation process, to guarantee that The Cloud Terrace rotor rotational angle accurately, reliably.
Wherein, two transmission-type Circular glass grating pairs should be fixed on The Cloud Terrace pedestal and the The Cloud Terrace rotor, are fixed on the indication grating that is called on the The Cloud Terrace pedestal, are fixed on to be called the scale grating on the The Cloud Terrace rotor.When The Cloud Terrace rotated, the scale grating rotated with respect to indication grating, and striped radially moves, and can form the Moire fringe of image change, and the area size of Moire fringe just can reflect the angle that The Cloud Terrace rotates.
For forming apparent Moire fringe; Also order is equipped with lens and infrared light supply above the scale grating; Lens are fixedly connected with the The Cloud Terrace pedestal respectively with infrared light supply; The infrared light supply scioptics are corresponding with the scale grating on the The Cloud Terrace rotor, and scale grating and indication grating are crossed in the IR transmission.
For making cradle head structure more reasonable; Collection to Moire fringe is more effective, and reflection unit also is housed below indication grating, and reflection unit is the prism of a 45; Prism can be refracted to prism one side with incident image; Thereby photograph function image behind the birefringence of side is taken pictures, shortened the integrally-built axial distance of The Cloud Terrace, satisfied the collection needs of Moire fringe in the rotary course.Camera and prism are separately fixed on the The Cloud Terrace pedestal, and it is fixing that the mutual alignment of camera, prism, indication grating keeps.
The output terminal of camera keeps being communicated with control system; The Moire fringe photo of taking is sent in the control system at any time; After the adjustment and simple operation of control system to image; Converse the angle of The Cloud Terrace rotor actual rotation at last through the pixel count of Moire fringe in the target area, this angle is used as feedback information and turns back in the control system, thereby finally accomplishes the correction of The Cloud Terrace rotor rotational angle.
Do further description in the face of position finding and detection method of the present invention down:
A kind of position finding and detection method of the transmission-type circle grating The Cloud Terrace based on Flame Image Process, concrete steps comprise:
Step 1, choose two blocks of transmission-type Circular glass gratings, one is fixed on the The Cloud Terrace pedestal as indication grating, and another is fixed on the The Cloud Terrace rotor as the scale grating.
Transmission-type Circular glass grating makes it still satisfying the condition that Moire fringe produces in the rotary course relatively mainly in order to cooperate the process that relatively rotates of The Cloud Terrace pedestal and The Cloud Terrace rotor, guarantees dependability and durability.
Wherein, infrared light supply is fixed on the The Cloud Terrace rotor, and it is fixing that the position of infrared light supply and target grating keeps.Reflection unit mainly plays the effect to a lateral reflection, and like this, the position of camera needn't be consistent with the incoming position of infrared light supply; Thereby dwindled the volume of The Cloud Terrace; Simultaneously, since the The Cloud Terrace rotor in continuous rotation, like this; The Moire fringe that reflection unit also can produce diverse location accurately, fully reflect away makes the process of taking pictures simpler, reliable.
Step 3, according to formula: Y=0.259R+0.588G+0.124B, the colored Moire fringe image that control system will collect changes into gray level image.
Because the image of gathering is a coloured image,, at first need convert coloured image to gray level image for ease of later image contrast, analysis.According to gray scale formula Y=0.259R+0.588G+0.124B, accomplish the conversion between Red Green Blue and the gray scale.
Step 4, utilize the linear transformation mode gray level image to be carried out the grey level stretching of enhancing contrast ratio.
If the gray scale of piece image concentrates on darker zone, cause the figure kine bias dark, then can stretch between the object gray area, to improve the image lightness with the grey level stretching function; Equally,, when causing the figure kine bias bright, then can come between the compressed objects gray area, to reduce the image lightness with the grey level stretching function if gradation of image concentrates on brighter zone.Adjusted gray level image, contrast obviously strengthens, for the mark and the intercepting of successive image provides convenience.
Step 5, the image after the grey level stretching is converted into black white image.Concrete steps comprise: at first, obtain the maximum gradation value and the minimum gradation value of image after the grey level stretching, be designated as Z respectively
MAXAnd Z
MIN, make initial threshold T
K=(Z
MAX+ Z
MIN)/2; Then, according to threshold value T
KWith image Segmentation is prospect and background, obtains prospect average gray value Z respectively
OWith background average gray value Z
B, calculate the threshold value T that makes new advances
K+1=(Z
0+ Z
B); At last, repeat above process, with the method for iteration, until T
KConvergence, i.e. T
K+ 1=T
K, and press T
KValue is accomplished black white image and is transformed, and accomplishes binarization processing of images.
Step 6, black white image is scanned; Accomplish the wherein mark and the intercepting in a white Moire fringe zone; Calculate the pixel count of white pixel in this single marking fringe area; Utilize sum formula, extrapolate with the relational expression between Moire fringe marked region sum of all pixels and the marked region area A, that is:
Wherein, n is a total number of image pixels in the single Moire fringe marked region, v
iFor image gray levels is the frequency of the pixel appearance of i; T is a gray threshold.
Because Moire fringe is very dull on background, is the black background and the white Moire fringe of sheet, therefore is easy to obtain through scan method the intercepting and the mark of a Moire fringe.
Step 7, according to the area A of marked region, the rotational angle θ that the definition inverse cosine function calculates The Cloud Terrace accomplishes the accurate demarcation to the The Cloud Terrace turned position,
A wherein
MaxBe the maximum area in single white Moire fringe zone, its computing formula is following:
N wherein
MaxTotal number of image pixels during for white Moire fringe zone maximum area.
So far, The Cloud Terrace actual rotation angle is calculated at any time, according to this angle, can carry out position compensation to the required rotational angle of The Cloud Terrace, has guaranteed that The Cloud Terrace rotates result's accuracy and reliability, has improved rotation precision greatly.
Claims (3)
1. the transmission-type based on Flame Image Process is justified the grating The Cloud Terrace; Comprise The Cloud Terrace pedestal, The Cloud Terrace rotor and control system; It is characterized in that; Also comprise two transmission-type Circular glass gratings, infrared light supply, lens, reflection unit and cameras, said two transmission-type Circular glass grating pairs should be fixed on The Cloud Terrace pedestal and the The Cloud Terrace rotor; Said lens and infrared light supply are separately fixed on the The Cloud Terrace pedestal, and the infrared light supply scioptics are corresponding with the glass raster on the The Cloud Terrace rotor; Said reflection unit is corresponding to the glass raster below of The Cloud Terrace pedestal; Said camera is corresponding with reflection unit, and the output terminal of camera is connected with control system, and camera and reflection unit are separately fixed on the The Cloud Terrace pedestal.
2. the transmission-type circle grating The Cloud Terrace based on Flame Image Process according to claim 1 is characterized in that said reflection unit is the prism of a 45, and camera is corresponding with the reflecting surface of prism.
3. the position finding and detection method based on the transmission-type circle grating The Cloud Terrace of Flame Image Process is characterized in that, comprising:
A), choose two blocks of transmission-type Circular glass gratings, one is fixed on the The Cloud Terrace pedestal as indication grating, another is fixed on the The Cloud Terrace rotor as the scale grating;
B), along with the rotation of The Cloud Terrace rotor, infrared light supply irradiation glass raster, camera utilizes reflection unit that the Moire fringe image between two glass rasters is gathered;
C), according to formula: Y=0.259R+0.588G+0.124B, the colored Moire fringe image that control system will collect changes into gray level image;
D), utilize the linear transformation mode gray level image to be carried out the grey level stretching of enhancing contrast ratio;
E), the image after the grey level stretching is converted into black white image,
F), black white image is scanned; Completion is to the wherein mark and the intercepting in a white Moire fringe zone; Calculate the pixel count of the white pixel in the single marking fringe area; Utilize sum formula, extrapolate with the relational expression between Moire fringe marked region sum of all pixels and the marked region area A, that is:
Wherein, n is a total number of image pixels in the single Moire fringe marked region, v
iFor image gray levels is the frequency of the pixel appearance of i, T is a gray threshold;
G), according to the area A of marked region, the rotational angle θ that the definition inverse cosine function calculates The Cloud Terrace accomplishes the accurate demarcation to the The Cloud Terrace turned position,
A wherein
MaxThe maximum area in single white Moire fringe zone, its computing formula is following:
N wherein
MaxTotal number of image pixels during for white Moire fringe zone maximum area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100522799A CN102620687A (en) | 2012-03-02 | 2012-03-02 | Transmission circular grating cradle head based on image processing and positioning detection method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100522799A CN102620687A (en) | 2012-03-02 | 2012-03-02 | Transmission circular grating cradle head based on image processing and positioning detection method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102620687A true CN102620687A (en) | 2012-08-01 |
Family
ID=46560760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100522799A Pending CN102620687A (en) | 2012-03-02 | 2012-03-02 | Transmission circular grating cradle head based on image processing and positioning detection method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102620687A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109903294A (en) * | 2019-01-25 | 2019-06-18 | 北京三快在线科技有限公司 | Image processing method, device, electronic equipment and readable storage medium storing program for executing |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0163362A1 (en) * | 1984-05-31 | 1985-12-04 | Dr. Johannes Heidenhain GmbH | Displacement measuring apparatus and method |
CN2526861Y (en) * | 2001-12-31 | 2002-12-18 | 中国石油集团地球物理勘探局 | Grating seismic wave detector |
CN2563551Y (en) * | 2002-08-29 | 2003-07-30 | 王锡成 | Coordinate detection plate |
CN101349576A (en) * | 2008-09-03 | 2009-01-21 | 吴亚明 | Optical fiber position digital encoder and uses thereof |
CN101419064A (en) * | 2008-12-02 | 2009-04-29 | 西安交通大学 | Small gapping place relatively rotating measuring and rotating positioning system and method |
CN102208098A (en) * | 2010-03-29 | 2011-10-05 | 佳能株式会社 | Image processing apparatus and method of controlling the same |
-
2012
- 2012-03-02 CN CN2012100522799A patent/CN102620687A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0163362A1 (en) * | 1984-05-31 | 1985-12-04 | Dr. Johannes Heidenhain GmbH | Displacement measuring apparatus and method |
CN2526861Y (en) * | 2001-12-31 | 2002-12-18 | 中国石油集团地球物理勘探局 | Grating seismic wave detector |
CN2563551Y (en) * | 2002-08-29 | 2003-07-30 | 王锡成 | Coordinate detection plate |
CN101349576A (en) * | 2008-09-03 | 2009-01-21 | 吴亚明 | Optical fiber position digital encoder and uses thereof |
CN101419064A (en) * | 2008-12-02 | 2009-04-29 | 西安交通大学 | Small gapping place relatively rotating measuring and rotating positioning system and method |
CN102208098A (en) * | 2010-03-29 | 2011-10-05 | 佳能株式会社 | Image processing apparatus and method of controlling the same |
Non-Patent Citations (1)
Title |
---|
陈戌冬 等: "基于磁角度传感器云台控制系统的设计和研制", 《传感器与微系统》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109903294A (en) * | 2019-01-25 | 2019-06-18 | 北京三快在线科技有限公司 | Image processing method, device, electronic equipment and readable storage medium storing program for executing |
CN109903294B (en) * | 2019-01-25 | 2020-05-29 | 北京三快在线科技有限公司 | Image processing method and device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204730814U (en) | A kind of parts passer based on line laser three-dimensional measurement | |
CN101566465B (en) | Method for measuring object deformation in real time | |
Chen et al. | Real-time identification system of asphalt pavement texture based on the close-range photogrammetry | |
CN102147281B (en) | Machine-vision based liquid level detection device and method | |
CN101814185B (en) | Line structured light vision sensor calibration method for micro-size measurement | |
CN104913737A (en) | Component quality checking device based on line laser three-dimensional measurement and detection method of device | |
CN107144240A (en) | A kind of system and method for detecting glass panel surface defect | |
CN104132613A (en) | Noncontact optical volume measurement method for complex-surface and irregular objects | |
CN102829736B (en) | Three-dimensional fingerprint sensing system | |
CN106168461B (en) | A kind of novel telemeasurement calibration instrument | |
CN202008382U (en) | Liquid level detector based on machine vision | |
CN105181082A (en) | Liquid level detection method and liquid level detection device based on visible laser and image processing | |
CN108665535A (en) | A kind of three-dimensional structure method for reconstructing and system based on coding grating structured light | |
CN107421466B (en) | A kind of synchronous acquisition device and acquisition method of two and three dimensions image | |
CN109191520B (en) | Plant leaf area measuring method and system based on color calibration | |
CN103994732A (en) | Three-dimensional measurement method based on fringe projection | |
CN105043720B (en) | The measuring method of infrared fileter refractive index based on single camera | |
CN101487702A (en) | Binocular vision based traffic accident on-site photogrammetric survey method | |
CN106677037A (en) | Portable asphalt pavement disease detection method and device based on machine vision | |
CN110514152A (en) | Degree of plainness for wall surface detection method and system based on laser scanning | |
CN104034259B (en) | A kind of image measurer bearing calibration | |
CN102620687A (en) | Transmission circular grating cradle head based on image processing and positioning detection method thereof | |
CN108387176A (en) | A kind of measurement method of laser galvanometer repetitive positioning accuracy | |
CN205607423U (en) | Automatic identification equipment of automobile instrument pointer indicated value | |
CN104034729A (en) | Five-dimensional imaging system for circuit board separation and imaging method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20120801 |
|
C20 | Patent right or utility model deemed to be abandoned or is abandoned |