CN107014348A - A kind of scale bar code and its coding-decoding method for ranging electronic level levelling rod - Google Patents

A kind of scale bar code and its coding-decoding method for ranging electronic level levelling rod Download PDF

Info

Publication number
CN107014348A
CN107014348A CN201710209401.1A CN201710209401A CN107014348A CN 107014348 A CN107014348 A CN 107014348A CN 201710209401 A CN201710209401 A CN 201710209401A CN 107014348 A CN107014348 A CN 107014348A
Authority
CN
China
Prior art keywords
code
bar code
width
scale bar
white
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
CN201710209401.1A
Other languages
Chinese (zh)
Other versions
CN107014348B (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.)
Wuhan University of Technology WUT
Original Assignee
Wuhan University of Technology WUT
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 Wuhan University of Technology WUT filed Critical Wuhan University of Technology WUT
Priority to CN201710209401.1A priority Critical patent/CN107014348B/en
Publication of CN107014348A publication Critical patent/CN107014348A/en
Application granted granted Critical
Publication of CN107014348B publication Critical patent/CN107014348B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C5/00Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels

Abstract

The invention discloses a kind of scale bar code and its coding-decoding method for ranging electronic level levelling rod, the scale bar code is made up of chequered with black and white bar code, characterized in that, the blackstreak code has identical width, white stripes code has different width;Each code element is made up of two white stripes codes and a blackstreak code, and two groups of adjacent code elements share a white stripes code.Scale bar code of the present invention and its coding-decoding method have decoding computing simple, ranging electronic level has been widened the use scope of spirit level with the function of measurement distance while elevation is measured.

Description

A kind of scale bar code and its coding and decoding for ranging electronic level levelling rod Method
Technical field
The present invention relates to instrument of surveying and mapping technology, more particularly to a kind of scale bar code for ranging electronic level levelling rod And its coding-decoding method.
Background technology
The decoding process of current electronic level mainly has correlation method, geometric method and phase method.Correlation method and geometric method Coded system is complicated, and the calculating time needed for decoding is longer, and measuring speed is slow, is unfavorable for the measurement of field operation environment.Existing electricity The measurement accuracy of sub- spirit level is not high, in 0.1mm or so, and main cause is exactly electronic level in decoding merely with one-dimensional Phase spectrum in the phase spectrum and spirit level of black and white bar code composition is compared, the height according to where phasometer calculates middle silk, So merely with one-dimension information, precision, which certainly will be difficult to meet, to be required.And now can be with the electronic level precision of measurement distance It is relatively low, use is typically only made reference, and generally require also to adjust the distance while height is measured in Practical Project measurement to be surveyed Amount, and ensure its precision.Total powerstation can be with measurement distance and height, but the complex operation of total powerstation, in field operation operation Take long enough to carry out Levelling operation to it, and it is expensive.
The content of the invention
The technical problem to be solved in the present invention is to be used for ranging electronic water there is provided one kind for defect of the prior art The scale bar code and its coding-decoding method of quasi- instrument levelling rod.
The technical solution adopted for the present invention to solve the technical problems is:It is a kind of for ranging electronic level levelling rod Scale bar code, the scale bar code is made up of chequered with black and white bar code, it is characterised in that the blackstreak code has identical Width, white stripes code have different width;Each code element is made up of two white stripes codes and a blackstreak code, Two groups of adjacent code elements share a white stripes code.
By such scheme, the aligned transfer of the width of white stripes code to set.
By such scheme, the aligned transfer of the width of the white stripes code is:
White bar code Breadth Maximum is 1.5 times of black bar code, and Breadth Maximum is 0.3 times of black bar code, remaining white bar code Width is interval interior by linear interpolation herein.
By such scheme, to ensure the bar code uniformity of scale, the aligned transfer of the width of the white stripes code is:
By such scheme, the width ratio of 3 bar codes of any two groups of code elements is differed on the scale.
A kind of coding-decoding method for ranging electronic level levelling rod, it is characterised in that decoding is by following steps Composition:
1)Using median filtering algorithm by the code element greyscale image transitions of acquisition be bianry image;
2)Bianry image is split using mean-shift algorithms, and the code according to belonging to silk in the determination of middle silk position Member;
3)The up-and-down boundary straight line of each striped in code element is determined using least square method, striped is determined according to the distance between straight line Width, and determine according to the width ratio of 3 stripeds the height of code element;
4)According to middle silk position by striped where middle silk be divided into above and below two parts, and determined according to two-part width ratio up and down The height of middle silk, i.e. measurement gained height.
5)The imaging width and image distance of black bar code in the code element according to where middle silk, with reference to Similar Principle of Triangle, meter Sighting distance is calculated, namely needs the distance of measurement.
The beneficial effect comprise that:The present invention has decoding computing simple, can be surveyed while elevation is measured Span from function, widened the use scope of spirit level.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is one section of striped after coding method coding of the present invention;
Fig. 2 is image of the coding/decoding method of the present invention after the segmentation of mean-shift algorithms;
Fig. 3 is the instrumentation plan of striped where silk in coding/decoding method of the present invention;
Fig. 4 is coding/decoding method range measurement schematic diagram of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to embodiments, to the present invention It is further elaborated.It should be appreciated that specific embodiment described herein is not used to limit only to explain the present invention The fixed present invention.
As shown in figure 1, a kind of example skeleton diagrams of the Fig. 1 for the present invention.Black bar code has identical width in figure, white Bar code has different width.Each code element is made up of the bar code of two white, one black, and two code elements share a white Bar code.Three stripe width ratios differences of each code element on one ruler.
The aligned transfer of width of white stripes code is:
White bar code Breadth Maximum is 1.5 times of black bar code, and Breadth Maximum is 0.3 times of black bar code, remaining white bar code Width is interval interior by linear interpolation herein.
Three stripe width ratios of code element where silk determine the height of code element in during decoding, corresponding to middle silk 2 Height is determined by following steps.
1. it is bianry image by the Quick Response Code greyscale image transitions of acquisition to use median filtering algorithm
2. bianry image is split using mean-shift algorithms, and according to belonging to silk in the determination of the middle position of silk 2 Code element.
3. up-and-down boundary straight line L1, L2, L3, L4 of each striped in code element are determined using least square method, according to straight line Between determine the width of striped apart from d1, d2, d3, and according to the width ratio d1 of 3 stripeds:d2:D3 determines the height of code element.
4. in silk position by striped where middle silk be divided into above and below two parts, and according to two-part width ratio up and down d4:The height of silk 2 during d5 is determined, i.e. measurement gained height.
The developed width d1 of the measurement of distance black bar code in the place code element of silk 2 in, imaging width d7 and picture Away from determination.Due to known to the developed width of black code and fixed, according to Similar Principle of Triangle, sighting distance can be extrapolated, namely Need the distance of measurement.
It should be appreciated that for those of ordinary skills, can according to the above description be improved or converted, And all these modifications and variations should all belong to the protection domain of appended claims of the present invention.

Claims (5)

1. a kind of scale bar code for ranging electronic level levelling rod, the scale bar code is by chequered with black and white striped code character Into, it is characterised in that the blackstreak code has identical width, and white stripes code has different width;Each code element It is made up of two white stripes codes and a blackstreak code, two groups of adjacent code elements share a white stripes code.
2. scale bar code according to claim 1, it is characterised in that rule of the width of the white stripes code to set Arrangement.
3. scale bar code according to claim 2, it is characterised in that the aligned transfer of the width of the white stripes code For:
The Breadth Maximum of white bar code is 1.5 times of black bar code, and minimum widith is 0.3 times of black bar code, remaining white bars Code width is interval interior by linear interpolation herein.
4. scale bar code according to claim 1, it is characterised in that 3 bar codes of any two groups of code elements on the scale Width ratio differ.
5. a kind of coding-decoding method for ranging electronic level levelling rod, it is characterised in that decoding is by following steps group Into:
1)Using median filtering algorithm by the code element greyscale image transitions of acquisition be bianry image;
2)Bianry image is split using mean-shift algorithms, and the code according to belonging to silk in the determination of middle silk position Member;
3)The up-and-down boundary straight line of each striped in code element is determined using least square method, striped is determined according to the distance between straight line Width, and determine according to the width ratio of 3 stripeds the height of code element;
4)According to middle silk position by striped where middle silk be divided into above and below two parts, and determined according to two-part width ratio up and down The height of middle silk, i.e. measurement gained height;
5)The imaging width and image distance of black bar code, with reference to Similar Principle of Triangle, are calculated in the code element according to where middle silk Sighting distance, namely need the distance of measurement.
CN201710209401.1A 2017-03-31 2017-03-31 Scale bar code for leveling rod of distance measuring electronic level and encoding and decoding method thereof Active CN107014348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710209401.1A CN107014348B (en) 2017-03-31 2017-03-31 Scale bar code for leveling rod of distance measuring electronic level and encoding and decoding method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710209401.1A CN107014348B (en) 2017-03-31 2017-03-31 Scale bar code for leveling rod of distance measuring electronic level and encoding and decoding method thereof

Publications (2)

Publication Number Publication Date
CN107014348A true CN107014348A (en) 2017-08-04
CN107014348B CN107014348B (en) 2020-08-04

Family

ID=59446545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710209401.1A Active CN107014348B (en) 2017-03-31 2017-03-31 Scale bar code for leveling rod of distance measuring electronic level and encoding and decoding method thereof

Country Status (1)

Country Link
CN (1) CN107014348B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110864666A (en) * 2019-11-29 2020-03-06 西安理工大学 Two-dimensional leveling staff and reading method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4715714A (en) * 1983-12-30 1987-12-29 Wild Heerbrugg Ag Measuring device for determining relative position between two items
CN2180971Y (en) * 1994-01-18 1994-10-26 周坤升 Two-purpose level for engineering survey
CN1482435A (en) * 2003-08-14 2004-03-17 杨俊志 Absolute coding and decoding method for distance (elevation) and angulations measurement
CN1632464A (en) * 2004-11-26 2005-06-29 叶晓明 Bar code for digital level bar code ruler and electronic theodolite dial and encoding and decoding method therefor
CN1743802A (en) * 2005-09-21 2006-03-08 叶晓明 Barcode for measurement and its measuring instrument
CN101131331A (en) * 2007-09-10 2008-02-27 王源仁 Two-dimensional code staff gauge and identification method thereof
CN101871777A (en) * 2010-05-07 2010-10-27 樊小鹏 Bar code suitable for measurement and measuring instrument
CN102261926A (en) * 2011-05-06 2011-11-30 常州市新瑞得仪器有限公司 Coding and decoding methods of digital level bar code ruler
EP2476997A2 (en) * 2011-01-13 2012-07-18 Kabushiki Kaisha TOPCON Electronic level device and level staff associated thereto
CN102654400A (en) * 2011-03-01 2012-09-05 丁梅 Pseudorandom bar code applied to digital level bar code ruler
CN102829757A (en) * 2012-08-22 2012-12-19 邹涛 Digital levelling system, method, composite coding levelling staff and production method thereof
CN102865851A (en) * 2011-07-04 2013-01-09 株式会社拓普康 Surveying staff for electronic levelling instrument

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4715714A (en) * 1983-12-30 1987-12-29 Wild Heerbrugg Ag Measuring device for determining relative position between two items
CN2180971Y (en) * 1994-01-18 1994-10-26 周坤升 Two-purpose level for engineering survey
CN1482435A (en) * 2003-08-14 2004-03-17 杨俊志 Absolute coding and decoding method for distance (elevation) and angulations measurement
CN1632464A (en) * 2004-11-26 2005-06-29 叶晓明 Bar code for digital level bar code ruler and electronic theodolite dial and encoding and decoding method therefor
CN1743802A (en) * 2005-09-21 2006-03-08 叶晓明 Barcode for measurement and its measuring instrument
CN101131331A (en) * 2007-09-10 2008-02-27 王源仁 Two-dimensional code staff gauge and identification method thereof
CN101871777A (en) * 2010-05-07 2010-10-27 樊小鹏 Bar code suitable for measurement and measuring instrument
EP2476997A2 (en) * 2011-01-13 2012-07-18 Kabushiki Kaisha TOPCON Electronic level device and level staff associated thereto
CN102654400A (en) * 2011-03-01 2012-09-05 丁梅 Pseudorandom bar code applied to digital level bar code ruler
CN102261926A (en) * 2011-05-06 2011-11-30 常州市新瑞得仪器有限公司 Coding and decoding methods of digital level bar code ruler
CN102865851A (en) * 2011-07-04 2013-01-09 株式会社拓普康 Surveying staff for electronic levelling instrument
CN102829757A (en) * 2012-08-22 2012-12-19 邹涛 Digital levelling system, method, composite coding levelling staff and production method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
G.V.KOLESNIKOV: "Method of bar coding a leveling rod", 《J.OPT.TECHNOL》 *
何迪: "基于双CCD的编码靶标型无导轨三坐标测量系统的研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110864666A (en) * 2019-11-29 2020-03-06 西安理工大学 Two-dimensional leveling staff and reading method

Also Published As

Publication number Publication date
CN107014348B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN107490348A (en) Coding grating projecting method in coding structural light three-dimensional measurement
CN107036556B (en) Structured light three-dimensional measurement method based on segmented quantization phase coding
US20220107173A1 (en) Phase-shifting phase measurement error correction method based on pixel tracing of object raster images
CN104501724B (en) Suitable for the contact net geometric parameter measurement and scaling method of high speed motor car
CN105890634B (en) A kind of absolute type encoder and its decoding measuring method
CN102506705B (en) Method and device for obtaining coordinates of positioning mark on PCB (Printed Circuit Board) and patch device
CN114359841B (en) Video water level identification method based on space-time average
CN102654400A (en) Pseudorandom bar code applied to digital level bar code ruler
CN104567730A (en) Method for generating light field with sine structure by means of space-time binary encoding
CN103292725A (en) Special boundary measuring system and method
CN110849290B (en) Three-dimensional measurement method for segmented quantization coding intensity based on morphological operation
CN103411540A (en) High-precision grating displacement measuring device
CN103868471A (en) Three-dimensional shape measuring apparatus and control method thereof
CN104019834A (en) Single code channel absolute position coding method and reading measuring system
CN105180732A (en) Steel band tape scale error measuring method
CN107014348A (en) A kind of scale bar code and its coding-decoding method for ranging electronic level levelling rod
CN104048603A (en) System and method for measuring array laser reticle and area array CCD high-resolution large visual field
CN2831045Y (en) Digital electronic level
CN102829757B (en) Digital levelling system, method, composite coding levelling staff and production method thereof
CN105758312B (en) A kind of absolute grating scale and its striped boundary alignment method
CN104596484A (en) Method of measuring drift ice density in ice flood season of Yellow River
CN100470197C (en) Bar code for digital level bar code ruler and electronic theodolite dial and encoding and decoding method therefor
CN100491927C (en) Two-dimensional code staff gauge and identification method thereof
CN202329553U (en) Precise displacement measurement device with real scale
CN102645186B (en) Implement method for water film thickness sensor based on bilinear interpolation algorithm

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