CN101126633A - Colorful stripe encoding method based on ring-shape arrangement - Google Patents

Colorful stripe encoding method based on ring-shape arrangement Download PDF

Info

Publication number
CN101126633A
CN101126633A CNA2007101321118A CN200710132111A CN101126633A CN 101126633 A CN101126633 A CN 101126633A CN A2007101321118 A CNA2007101321118 A CN A2007101321118A CN 200710132111 A CN200710132111 A CN 200710132111A CN 101126633 A CN101126633 A CN 101126633A
Authority
CN
China
Prior art keywords
sequence period
sequence
value
period
color
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
Application number
CNA2007101321118A
Other languages
Chinese (zh)
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.)
Southeast University
Original Assignee
Southeast University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CNA2007101321118A priority Critical patent/CN101126633A/en
Publication of CN101126633A publication Critical patent/CN101126633A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The utility model discloses a coding method for colored strips based on the annular array method in a three-dimensional (three D) scanning system, which belongs to the technical field of the reverse engineering; wherein, by means of the color images with more information, the utility model solves the problem that the Gray code requires seven amplitudes of gradually dimidiate black and white strip patterns to conduct the late-stage phase unwrapping, thus reduce the images to be acquired; in terms of the colors and numbers of the color strips to select, 8 pure colors will be chose to enhance color discrimination degree and expand the measurement scope; the components of the red color, as well as the green and the blue in all colored strips are arranged; the annular array cycles and the sequence cycles on each annular array cycle are designed via the annular array method, thus acquiring the colored strips code with single sequence cycle. By adopting the colored strips code to design projecting grating, the real-time and dynamic measurement performance of the phase method in the three-dimensional (three D) scanning system is improved. .

Description

Color strip coding method based on ring shooting
Technical field
The invention belongs to the technical field of three-dimensional information reconstruct, be mainly concerned with in the reverse-engineering, solve the cycle ambiguity problem with ring shooting, obtain the method for the unique color fringe coding of sequence period, relate in particular to a kind of color strip coding method based on ring shooting.
Background technology
Along with the development of society and the raising of people's living standard, it is more and more that coloured image occurs, and the develop rapidly of computer technology and processing speed also can be satisfied the needs of the more complicated coloured image of processing, makes the processing of coloured image become possibility.The three-dimensional measurement technology adopts the mode of Color Image Processing can not only reconstruct colored three-dimensional information, and because coloured image comprises more information than black white image, therefore the precision of measurement also can improve; The grating of color fringe coding comprises abundant information simultaneously, can reduce the quantity of images acquired, is more suitable for dynamic three-dimensional measurement, improves the real-time of phase method.
Reverse-engineering (Reverse Engineering, RE) technology is the later stage eighties 20th century to appear at the new technology in the advanced manufacturing field, it generally comprises four basic links: three-dimensional body detects and conversion (acquisition of physical data), data pre-service (put cloud processing, identification, look splicing more), the foundation of cad model (surface reconstruction), the moulding of CAM product.Great majority mainly concentrate in the reverse reconstruct in kind about the research of reverse-engineering, and promptly the cad model reconstruct of product material object and the manufacture view of final products are called " reverse-engineering in kind ".Its basic flow sheet as shown in Figure 1.
Three-D profile detects and reconfiguration technique is a branch of computer image processing technology, be that computer vision and computer graphic image are handled a research direction that combines, it all has a wide range of applications in fields such as the production automation, robot vision, CAD, virtual reality and the diagnosis of medical science reflection.
The optical grating projection method is a kind of in the reverse Engineering Technology in kind, has the complete noncontact of testing process, data space resolution height, disposable moment projection and realizes that directly the three dimensions body form detects and obtain the characteristics of three-dimensional information.Have multiple advantages such as low, with low cost to environmental requirement, that use is easy to operate in actual applications.
In grating fringe figure, add known or unknown Chang Xiangwei by giving the field of behaviour to be asked, obtain new bar graph, promptly increase solving condition.Thisly increase some constant phase and obtain several bar graphs, be called phase-shift method in order to find the solution the method for the field of behaviour by the bar graph field of behaviour being carried out phase shift.Phase-shift method can provide than the more high-precision result of additive method, the more important thing is, it does not have the phase symbol ambiguity problem.This is because several phase shifts figure provides more information than single width figure.The phase value that obtains by said method is (wrapped) that folds in the scope of-π~π, in order to obtain the unique phase value of the whole audience, before from PHASE DISTRIBUTION, deriving measured parameter, must go out 2 unknown π multiple transition to all pixel identification, thus the phase decoding that obtains restoring.This process is called a phase demodulation (phase unwrapping) or restore mutually the position.
Early stage three-D profile detection and reconfiguration technique thereof are owing to be subjected to the restriction of Computer Processing speed, people have just begun to handle at gray level image, very ripe now partitioning algorithm also is at the cutting apart of monochrome image mostly, promptly extracts interested target from monochrome image.When the change background of gray scale or when having of gray level image itself, carry out the very difficulty of cutting apart of visual pattern than high-gray level scope regional.This is because lightness is only available information for the cutting apart of monochrome image, so this problem is that gray level image itself is intrinsic.
When carrying out phase demodulation at gray scale grating fringe figure, adopt traditionally when separating phase method, because the not independence between pixel, be interrupted the district and the noise spot place is prone to " backguy " phenomenon at physics.Local error will have influence on the overall situation.The patent documentation phase developing method of Gray code " in the 3 D scanning system based on " is according to the binary-coded requirement in space design 7 width of cloth two minutes projection grating figure progressively, utilizes the method for Gray code to determine the cycle at phase place place, carries out phase unwrapping thus.It is simple relatively that the method is carried out phase developing method, can well distinguish physics discontinuities and noise, do not rely on the path, do not have error propagation, can access the cycle accurately.And, because object edge position Gray code lacks to some extent, cause the phase place disappearance, make the phase diagram indentation that launches, patent inventor also adopt the method for phase hit division will lack the phase place completion.This method is carried out a phase demodulation at gray scale grating fringe figure very effectively also can obtain good effect.
But, because gray scale grating fringe figure, needs progressively two minutes projection grating figure of design 7 width of cloth through being the grating fringe of black and white two-value after the Threshold Segmentation, the unique definite absolute phase of ability, and then carry out phase unwrapping, be unfavorable for very much kinetic measurement.And colour projection's raster pattern comprises abundanter information, can reduce the quantity of images acquired, in theory, utilizes the just unique definite absolute phase of energy of piece image, carries out phase unwrapping, is more suitable for dynamic three-dimensional measurement, improves the real-time of phase method.
Design colour projection raster pattern mainly contains the problem of two aspects: the kind that, should as far as possible reduce color in the image, color is many more in the image, unfavorable more to the later stage color images, and the discrimination between each color also directly affects the precision that colour is cut apart.Two,, need the unique striped sequence of design, i.e. the color fringe coding problem for unique definite absolute phase.Simultaneously, in order to enlarge measurement range, should make unique striped sequence period big as far as possible.
When realizing color fringe coding, need to consider following problem:
1) design of the width of color fringe is suitable, can not be too narrow, and when carrying out projection acquisition, too narrow striped can thicken, increasing is looked for the difficulty of striped; And too widely can cause the stepped distribution of elevation information, influence measuring accuracy.According to experiment experience, choosing width of fringe is 16 pixels, can make optical grating projection clear like this, can effectively preserve the deformed grating information of object height modulation again.
2) in order to make full use of the high characteristics of phase-shift method precision, guaranteeing in the programming that the R component is periodically 0 and 1 is alternately distributed, and I just can utilize four width of cloth phase-shift methods in the gray level image that the simple component of color fringe is carried out four width of cloth phase-shift processing and obtain the higher phase information of precision like this.
3) the coded combination sequence must be unique, could accurately determine the cycle at color fringe place like this, and then carry out phase unwrapping.
Summary of the invention
At existing in prior technology shortcoming and restriction, the object of the present invention is to provide in the 3 D scanning system of a kind of real-time that can improve phase method and kinetic measurement performance color strip coding method based on ring shooting.
The present invention designs a kind of with ring shooting solution cycle ambiguity problem, obtain the method for the unique color fringe coding of sequence period, the method comprises more information by coloured image, solve Gray code and need progressively two minutes black and white strip figure of 7 width of cloth, just can carry out the Phase unwrapping in later stage, reduce the quantity of images acquired; Select color fringe color and number, select eight kinds of pure colors for use, to improve the chromatic zones calibration and to enlarge measurement range; The red component of all stripeds then is set, and green component and blue component are provided with, adopt ring shooting method design ring shooting cycle and the sequence period of each ring shooting on the cycle, obtained the unique color fringe coding of sequence period.The present invention adopts following technical scheme:
A kind of color strip coding method based on ring shooting, step is as follows:
Step 1: select color fringe color and number: when the design color fringe coding, employing is to three components R of 24 rgb images, G, B assignment respectively realizes, the R of 24 rgb images, G, the B component is respectively 8,256 GTGs are arranged, each component is only got 0 and 255 two value, and be 1 during with GTG 255, be 0 during GTG 0, R like this, G, the value of B component is respectively 0 or 1, these three components have 8 kinds of combinations and represent eight kinds of pure colors respectively: black is 000, blueness is 001, green is 010, cyan is 011, redness is 100, the product look is 101, yellow is 110, white is 111
Step 2: the red component that all stripeds are set: the red component value is that 0, one fringe period pixel is 1 to be alternately distributed according to a fringe period pixel,
Step 3: green component and blue component to striped are provided with: the binary combination state of green component and blue component is: 00,01,10 or 11, binary combination state to 4 kinds of green components and blue component is arranged entirely, and each is arranged as a sequence period, obtain 24 sequence periods, and the width of sequence period is 4 times of the stripe pixel number, and the width of this sequence period is 16 * 4=64, wherein, 16 is the pixel count of every stripe
Step 4: the method with ring shooting designed for the first ring shooting cycle: the binary combination state 00,01,10 or 11 with the GB component, be converted to decimal number assembled state 0,1,2 or 3,
From 24 sequence periods, select 4 sequence periods, constituted for the first ring shooting cycle, this system of selection is: choose a kind of sequence period arbitrarily from 24 sequence periods, allow four assembled state of this sequence period join end to end then, constitute ring-type, then, adopt mode clockwise or counterclockwise annular value that color fringe is encoded, this annular obtaining value method is: first assembled state of selecting sequence period earlier is an initial value, GB value as first striped of first sequence period, take off the GB value that a numeral is second striped of first sequence period then clockwise or counterclockwise, the rest may be inferred, till obtaining the GB value of the 4th striped that fourth digit is first sequence period, obtains first sequence period; Then, the GB value with second striped of first sequence period is an initial value again, gets four numerals clockwise or counterclockwise successively, and the GB value as four stripeds of second sequence period obtains second sequence period; The rest may be inferred, is initial with the GB value of the 3rd striped of first sequence period, obtains the 3rd sequence period, is initial with the GB value of the 4th striped of first sequence period, obtains the 4th sequence period, obtained for the first ring shooting cycle,
Step 5: designed for the second ring shooting cycle: from remaining sequence period, select 4 sequence periods, constituted for the second ring shooting cycle, this second ring shooting cycle system of selection is: choose a sequence period and this sequence period earlier and satisfy from remaining sequence period: first assembled state of this sequence period is identical with the GB value of the 4th striped of the 4th sequence period in a last ring shooting cycle
Allow four assembled state of this sequence period join end to end then, constitute ring-type, then, adopt mode clockwise or counterclockwise annular value that color fringe is encoded, identical in annular obtaining value method and the step 4 obtained for the second ring shooting cycle,
Step 6: design other ring shooting cycle: again from the remaining sequence period in selection back of the last ring shooting cycle, select 4 sequence periods, constitute current annular and arrange the cycle, use the second ring shooting cycle system of selection in the step 5, choose a sequence period earlier, allow four assembled state of this sequence period of at first selecting join end to end then, constitute ring-type, then, adopt mode clockwise or counterclockwise annular value that color fringe is encoded, obtain first to the 4th sequence period successively with annular obtaining value method in the step 4, obtained for the 3rd ring shooting cycle, the rest may be inferred, till obtaining for the 6th ring shooting cycle, finally obtains the unique color fringe coding of sequence period.
Compared with prior art, the present invention has following advantage:
Color strip coding method based on ring shooting mainly is provided to provide in the 3 D scanning system of a kind of real-time that can improve phase method and kinetic measurement performance in the present invention.
In three-dimensional information reconstruct, select for use the projection grating method to have and be subjected to ground unrest to influence the advantage little, that measurement range is big, but, because after the gray scale grating fringe figure process Threshold Segmentation is the grating fringe of black and white two-value, need progressively two minutes projection grating figure of design 7 width of cloth, the unique definite absolute phase of ability, and then carry out phase unwrapping, be unfavorable for very much kinetic measurement.Simultaneously, design colour projection raster pattern mainly contains the problem of two aspects: the kind that, should as far as possible reduce color in the image, color is many more in the image, and is unfavorable more to the later stage color images, and the discrimination between each color also directly affects the precision that colour is cut apart.Two,, need the unique striped sequence of design, i.e. the color fringe coding problem for unique definite absolute phase.
At above situation, we have designed a kind of with ring shooting solution cycle ambiguity problem, obtain the method for the unique color fringe coding of sequence period, the method comprises more information by coloured image, and solving Gray code needs progressively two minutes black and white strip figure of 7 width of cloth, just can carry out the Phase unwrapping in later stage, reduce the quantity of images acquired, select color fringe color and number, select eight kinds of pure colors for use, to improve the chromatic zones calibration and to enlarge measurement range; The red component of all stripeds then is set, and green component and blue component are provided with, adopt ring shooting method design ring shooting cycle and the sequence period of each ring shooting on the cycle, obtained the unique color fringe coding of sequence period.With this color fringe coding design projection grating, the coding method programming is simple, carry out phase unwrapping follow-up in the 3 D scanning system and only need verify that putting in order of four adjacent stripe just can locate the absolute phase of striped, accelerate image processing speed, improved the real-time and the kinetic measurement performance of phase method in the 3 D scanning system.
Description of drawings
Fig. 1 is the reverse-engineering generalized flow chart.
Fig. 2 is based on the color strip coding method process flow diagram of ring shooting.
Fig. 3 is preceding each component assignment graph of four stripeds.
Fig. 4 is a ring shooting illustrated example 1.
Fig. 5 is a ring shooting illustrated example 2.
Fig. 6 is a cycle ambiguity problem synoptic diagram.
Fig. 7 is a GB component coding sequence chart.
Embodiment
Show below in conjunction with accompanying drawing the specific embodiment of the present invention is further described.According to said method, in Windows operating system, realized operation with C++ programming based on the color fringe coding of ring shooting by the VC++6.0 platform.
At gray scale grating fringe figure through being the grating fringe of black and white two-value after the Threshold Segmentation, need progressively two minutes projection grating figure of design 7 width of cloth, the unique definite absolute phase of ability, and then carry out phase unwrapping, the problem that is unfavorable for very much kinetic measurement, colour projection's grating of abundant information carries out projection with comprising more for we, reduces the quantity of images acquired, to improve the real-time and the kinetic measurement performance of phase method.
At first two aspect problems that exist from design colour projection raster pattern are started with, the first, should reduce the kind of color in the image as far as possible, color is many more in the image, and is unfavorable more to the later stage color images, and the discrimination between each color also directly affects the precision that colour is cut apart.The research GTG is selected the big pure color of chromatic zones calibration to the influence of color images, and for R, G, three components of B, we only select 0 and 255 two GTG for use, such three components can constitute eight kinds of pure colors: white (255,255,255), red (255,0,0), green (0,255,0), blue (0,0,255) and their complementary color: black (0,0,0), cyan (0,255,255), product look (255,0,255), yellow (255,255,0); Wherein respectively the gray-scale value of R, G, three components of B in the bracket of each color back.Simultaneously, the research number of color is selected eight kinds of pure colors to the influence of code length, as long as carry out rational color fringe coding, just can satisfy the needs of projection grating.The second,, need the unique striped sequence of design, color fringe coding problem that Here it is for unique definite absolute phase.We utilize the method for ring shooting, solve the cycle ambiguity problem, utilize assembly coding, write the unique striped coding of color striped composite sequence, obtain the unique color fringe grating of sequence period.
Process flow diagram of the present invention as shown in Figure 2, the specific implementation step is as follows:
Step 1: select color fringe color and number: when design colour projection raster pattern, in order to improve later stage color images precision, consider to reduce the kind of color in the image as far as possible, and improve the problem of the discrimination between each color.When realizing color fringe coding, need to consider following problem: the first, the design of the width of color fringe is suitable, can not be too narrow, and when carrying out projection acquisition, too narrow striped can thicken, increasing is looked for the difficulty of striped; And too widely can cause the stepped distribution of elevation information, influence measuring accuracy.According to experiment experience, choosing width of fringe is 16 pixels, can make optical grating projection clear like this, can effectively preserve the deformed grating information of object height modulation again.The second, in order to make full use of the high characteristics of phase-shift method precision, guaranteeing in the programming that the R component is periodically 0 and 1 is alternately distributed, and I just can utilize four width of cloth phase-shift methods in the gray level image that the simple component of color fringe is carried out four width of cloth phase-shift processing and obtain the higher phase information of precision like this.Three, the coded combination sequence must be unique, could accurately determine the cycle at color fringe place like this, and then carry out phase unwrapping.
So, when the design color fringe coding, adopt three components R of 24 rgb images, G, B assignment respectively realizes, the R of 24 rgb images, G, the B component is respectively 8, and 256 GTGs can be arranged, and we only get 0 and 255 two value to each component, and be 1 when allowing GTG 255, be 0 during GTG 0, R like this, G, the value of B component can be respectively 0 or 1, these three components just have 8 kinds of combinations, are respectively 000,001,010,011,100,101,110,111, they can represent eight kinds of pure colors: white (255,255,255), red (255,0,0), green (0,255,0), blue (0,0,255) and their complementary color: black (0,0,0), cyan (0,255,255), product look (255,0,255), yellow (255,255,0); Our coding rearranges according to certain rules with these eight kinds of colors exactly.Like this, eight kinds of colors both can guarantee that the colour in later stage is cut apart can carry out smoothly, also can obtain sufficiently long grating sequence, enlarges measurement range; The GTG of each component is only got 0 and 255 two value, can reach the purpose of the discrimination maximum between each color like this,
Step 2: the red component that all stripeds are set: red component is 0 according to the half period pixel, and the half period pixel is 1 to be alternately distributed; Such as, assumption period is 32 pixels, and then red component is alternately distributed according to 0,16 pixels 1 of 16 pixels, and promptly the cycle is the square wave of 32 pixels; Being alternately distributed of red component conveniently utilized four width of cloth phase-shift methods in the gray level image that the simple component of color fringe is carried out four width of cloth phase-shift processing and obtained the higher phase information of precision; Simultaneously, can revise the red component periodic width easily in this step, and then adjust the color fringe width to satisfy the projection grating requirement.
Step 3: green component and blue component to striped are provided with: the binary combination state of green component and blue component is: 00,01,10 or 11, binary combination state to 4 kinds of green components and blue component is arranged entirely, and each is arranged as a sequence period, obtain 24 sequence periods, and the width of sequence period is 4 times of the stripe pixel number, the width of this sequence period is 16 * 4=64, wherein, 16 is the pixel count of every stripe, according to the method, each component assignment of preceding four stripeds of designing as shown in Figure 3;
Step 4: the method with ring shooting designed for the first ring shooting cycle: the binary combination state 00,01,10 or 11 with the GB component, be converted to decimal number assembled state 0,1,2 or 3,
From 24 sequence periods, select 4 sequence periods, constituted for the first ring shooting cycle, this system of selection is: choose a kind of sequence period arbitrarily from 24 sequence periods, allow four assembled state of this sequence period join end to end then, constitute ring-type, as shown in Figure 4, same, though four numeral shapes shown in Fig. 5 are not annulus, but also join end to end, constitute ring-type, this also is a kind of way of realization of ring shooting.
Then, adopt mode clockwise or counterclockwise annular value that color fringe is encoded, this annular obtaining value method is: first assembled state of selecting sequence period earlier is an initial value, GB value as first striped of first sequence period, take off the GB value that a numeral is second striped of first sequence period then clockwise or counterclockwise, the rest may be inferred, till obtaining the GB value of the 4th striped that fourth digit is first sequence period, obtains first sequence period; Then, the GB value with second striped of first sequence period is an initial value again, gets four numerals clockwise or counterclockwise successively, and the GB value as four stripeds of second sequence period obtains second sequence period; The rest may be inferred, is initial with the GB value of the 3rd striped of first sequence period, obtains the 3rd sequence period, is initial with the GB value of the 4th striped of first sequence period, obtains the 4th sequence period, obtained for the first ring shooting cycle.
Mode with clockwise circulation value is an example, and the composite sequence that might as well establish the GB component here is 0,1,2,3 orders are 1,2,3 immediately following GB component in second sequence period thereafter so successively, 0, the rest may be inferred, and the GB component is 2,3 successively in the 3rd sequence period, the GB component is 3,0 successively in the 0,1, four sequence period, 1,2, such 0,1,2,3 use in order finishes, and we are defined as a ring shooting cycle to four such sequence periods; 0,1,2,3, the annular row columns of four numerals is P 4 4 4 = 6 , Therefore can construct 6 ring shooting cycles, totally 4 * 6=24 sequence period.Such ring shooting cycle inside the cycle ambiguity problem can not occur,
The cycle ambiguity problem is meant: when code Design, because coding is unreasonable, causes the sequence period of GB built-up sequence not unique, and then can not correctly carry out the phenomenon of phase unwrapping.Cycle ambiguity problem synoptic diagram when code Design, expects that striped 1~4 constitutes sequence period 1 originally as shown in Figure 6, and striped 5~8 constitutes sequence period 2; But,, make three stripe of the 4th stripe and back can also constitute sequence period because coding is unreasonable, be ambiguity sequence period (striped 4~7), so just can not determine that the 4th stripe is to belong to GB combination 0,1,2, the sequence period 1 of 3 orders, still belong to GB combination 3,2,1, the ambiguity fringe period of 0 order causes phase place to launch.Adopt annular obtaining value method, can guarantee that ring shooting cycle inside the cycle ambiguity problem can not occur.
Step 5: designed for the second ring shooting cycle: from remaining sequence period, select 4 sequence periods, constituted for the second ring shooting cycle, this second ring shooting cycle system of selection is: choose a sequence period and this sequence period earlier and satisfy from remaining sequence period: first assembled state of this sequence period is identical with the GB value of the 4th striped of the 4th sequence period in a last ring shooting cycle.
This sequence period has following feature: 1. second of the 4th sequence period in first assembled state of this sequence period and a last ring shooting cycle, the 3rd, the GB value of the 4th striped can not constitute sequence period, 2. first of this sequence period, the 3rd of the 4th sequence period in second assembled state and a last ring shooting cycle, the GB value of the 4th striped can not constitute sequence period, 3. first of this sequence period, second, the GB value of the 4th striped of the 4th sequence period in the 3rd assembled state and a last ring shooting cycle can not constitute sequence period, like this, guarantee that there are not the cycle ambiguity problem in the 4th sequence period in previous ring shooting cycle and first sequence period in a back ring shooting cycle, just guaranteed the cycle ambiguity problem can not occur during adjacent annular is arranged week.
Allow four assembled state of this sequence period join end to end then, constitute ring-type, then, adopt mode clockwise or counterclockwise annular value that color fringe is encoded, identical in annular obtaining value method and the step 4 obtained for the second ring shooting cycle,
Step 6: design other ring shooting cycle: again from the remaining sequence period in selection back of the last ring shooting cycle, select 4 sequence periods, constitute current annular and arrange the cycle, use the second ring shooting cycle system of selection in the step 5, choose a sequence period earlier, allow four assembled state of this sequence period of at first selecting join end to end then, constitute ring-type, then, adopt mode clockwise or counterclockwise annular value that color fringe is encoded, obtain first to the 4th sequence period successively with annular obtaining value method in the step 4, obtained for the 3rd ring shooting cycle, the rest may be inferred, till obtaining for the 6th ring shooting cycle, finally obtains the unique color fringe coding of sequence period.
According to above-mentioned color strip coding method based on ring shooting, the sequence order of design GB component, a kind of way of realization of GB component coding sequence chart is as shown in Figure 7.

Claims (1)

1. color strip coding method based on ring shooting is characterized in that:
Step 1: select color fringe color and number: when the design color fringe coding, employing is to three components R of 24 rgb images, G, B assignment respectively realizes, the R of 24 rgb images, G, the B component is respectively 8,256 GTGs are arranged, each component is only got 0 and 255 two value, and be 1 during with GTG 255, be 0 during GTG 0, R like this, G, the value of B component is respectively 0 or 1, these three components have 8 kinds of combinations and represent eight kinds of pure colors respectively: black is 000, blueness is 001, green is 010, cyan is 011, redness is 100, the product look is 101, yellow is 110, white is 111
Step 2: the red component that all stripeds are set: the red component value is that 0, one fringe period pixel is 1 to be alternately distributed according to a fringe period pixel,
Step 3: green component and blue component to striped are provided with: the binary combination state of green component and blue component is: 00,01,10 or 11, binary combination state to 4 kinds of green components and blue component is arranged entirely, and each is arranged as a sequence period, obtain 24 sequence periods, and the width of sequence period is 4 times of the stripe pixel number, and the width of this sequence period is 16 * 4=64, wherein, 16 is the pixel count of every stripe
Step 4: the method with ring shooting designed for the first ring shooting cycle: the binary combination state 00,01,10 or 11 with the GB component, be converted to decimal number assembled state 0,1,2 or 3,
From 24 sequence periods, select 4 sequence periods, constituted for the first ring shooting cycle, this system of selection is: choose a kind of sequence period arbitrarily from 24 sequence periods, allow four assembled state of this sequence period join end to end then, constitute ring-type, then, adopt mode clockwise or counterclockwise annular value that color fringe is encoded, this annular obtaining value method is: first assembled state of selecting sequence period earlier is an initial value, GB value as first striped of first sequence period, take off the GB value that a numeral is second striped of first sequence period then clockwise or counterclockwise, the rest may be inferred, till obtaining the GB value of the 4th striped that fourth digit is first sequence period, obtains first sequence period; Then, the GB value with second striped of first sequence period is an initial value again, gets four numerals clockwise or counterclockwise successively, and the GB value as four stripeds of second sequence period obtains second sequence period; The rest may be inferred, is initial with the GB value of the 3rd striped of first sequence period, obtains the 3rd sequence period, is initial with the GB value of the 4th striped of first sequence period, obtains the 4th sequence period, obtained for the first ring shooting cycle,
Step 5: designed for the second ring shooting cycle: from remaining sequence period, select 4 sequence periods, constituted for the second ring shooting cycle, this second ring shooting cycle system of selection is: choose a sequence period and this sequence period earlier and satisfy from remaining sequence period: first assembled state of this sequence period is identical with the GB value of the 4th striped of the 4th sequence period in a last ring shooting cycle
Allow four assembled state of this sequence period join end to end then, constitute ring-type, then, adopt mode clockwise or counterclockwise annular value that color fringe is encoded, identical in annular obtaining value method and the step 4 obtained for the second ring shooting cycle,
Step 6: design other ring shooting cycle: again from the remaining sequence period in selection back of the last ring shooting cycle, select 4 sequence periods, constitute current annular and arrange the cycle, use the second ring shooting cycle system of selection in the step 5, choose a sequence period earlier, allow four assembled state of this sequence period of at first selecting join end to end then, constitute ring-type, then, adopt mode clockwise or counterclockwise annular value that color fringe is encoded, obtain first to the 4th sequence period successively with annular obtaining value method in the step 4, obtained for the 3rd ring shooting cycle, the rest may be inferred, till obtaining for the 6th ring shooting cycle, finally obtains the unique color fringe coding of sequence period.
CNA2007101321118A 2007-09-11 2007-09-11 Colorful stripe encoding method based on ring-shape arrangement Pending CN101126633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101321118A CN101126633A (en) 2007-09-11 2007-09-11 Colorful stripe encoding method based on ring-shape arrangement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101321118A CN101126633A (en) 2007-09-11 2007-09-11 Colorful stripe encoding method based on ring-shape arrangement

Publications (1)

Publication Number Publication Date
CN101126633A true CN101126633A (en) 2008-02-20

Family

ID=39094718

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101321118A Pending CN101126633A (en) 2007-09-11 2007-09-11 Colorful stripe encoding method based on ring-shape arrangement

Country Status (1)

Country Link
CN (1) CN101126633A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526340B (en) * 2009-03-20 2010-09-01 东南大学 Stripe color coding method for grating stripe images based on Gray code principle
CN101666631B (en) * 2009-09-07 2010-12-29 东南大学 Three-dimensional measuring method based on positive and inverse code color encoding stripes
CN102261920A (en) * 2010-05-25 2011-11-30 广达电脑股份有限公司 system and method for detecting three-dimensional sensor
CN102878950A (en) * 2012-08-14 2013-01-16 香港应用科技研究院有限公司 System and method for 3D profile measurement
CN102944187A (en) * 2012-10-18 2013-02-27 北京航空航天大学 Method for acquiring phase position of fast bright reflection surface on basis of color stripe permutation projection
CN103712638A (en) * 2013-02-27 2014-04-09 叶秋诗 Color absolute raster sensing device
CN104197861A (en) * 2014-08-25 2014-12-10 深圳大学 Three-dimensional digital imaging method based on structured light gray level vector
CN109186476A (en) * 2018-10-26 2019-01-11 广东工业大学 A kind of color structured light method for three-dimensional measurement, device, equipment and storage medium
CN113310431A (en) * 2021-05-25 2021-08-27 伏燕军 Four-frame rapid three-dimensional measurement method based on phase coding
CN114681088A (en) * 2020-12-31 2022-07-01 先临三维科技股份有限公司 Three-dimensional scanning method, device, storage medium and processor

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526340B (en) * 2009-03-20 2010-09-01 东南大学 Stripe color coding method for grating stripe images based on Gray code principle
CN101666631B (en) * 2009-09-07 2010-12-29 东南大学 Three-dimensional measuring method based on positive and inverse code color encoding stripes
CN102261920A (en) * 2010-05-25 2011-11-30 广达电脑股份有限公司 system and method for detecting three-dimensional sensor
CN102878950B (en) * 2012-08-14 2015-03-25 香港应用科技研究院有限公司 System and method for 3D profile measurement
CN102878950A (en) * 2012-08-14 2013-01-16 香港应用科技研究院有限公司 System and method for 3D profile measurement
CN102944187A (en) * 2012-10-18 2013-02-27 北京航空航天大学 Method for acquiring phase position of fast bright reflection surface on basis of color stripe permutation projection
CN102944187B (en) * 2012-10-18 2014-12-31 北京航空航天大学 Method for acquiring phase position of fast bright reflection surface on basis of color stripe permutation projection
CN103712638A (en) * 2013-02-27 2014-04-09 叶秋诗 Color absolute raster sensing device
CN104197861A (en) * 2014-08-25 2014-12-10 深圳大学 Three-dimensional digital imaging method based on structured light gray level vector
CN104197861B (en) * 2014-08-25 2017-03-01 深圳大学 Three-dimension digital imaging method based on structure light gray scale vector
CN109186476A (en) * 2018-10-26 2019-01-11 广东工业大学 A kind of color structured light method for three-dimensional measurement, device, equipment and storage medium
CN114681088A (en) * 2020-12-31 2022-07-01 先临三维科技股份有限公司 Three-dimensional scanning method, device, storage medium and processor
CN114681088B (en) * 2020-12-31 2023-09-22 先临三维科技股份有限公司 Three-dimensional scanning method, three-dimensional scanning device, storage medium and processor
CN113310431A (en) * 2021-05-25 2021-08-27 伏燕军 Four-frame rapid three-dimensional measurement method based on phase coding
CN113310431B (en) * 2021-05-25 2022-11-25 伏燕军 Four-frame rapid three-dimensional measurement method based on phase coding

Similar Documents

Publication Publication Date Title
CN101126633A (en) Colorful stripe encoding method based on ring-shape arrangement
CN101666631B (en) Three-dimensional measuring method based on positive and inverse code color encoding stripes
CN107704925B (en) Visual analysis system and method for deep neural network training process
CN102519394B (en) High-adaptability three-dimensional measuring method based on color structured light
CN101813461B (en) Absolute phase measurement method based on composite color fringe projection
CN109341589A (en) A kind of raster image projecting method, three-dimensional rebuilding method and three-dimensional reconstruction system
CN100443854C (en) Gray code based phase development method in three-dimensional scanning system
CN109186476A (en) A kind of color structured light method for three-dimensional measurement, device, equipment and storage medium
CN102519395B (en) Color response calibration method in colored structure light three-dimensional measurement
CN101794461B (en) Three-dimensional modeling method and system
CN101650164B (en) Phase unwrapping method based on malposition fringes in three-dimensional scanning system
CN103292741B (en) A kind of structured light vision method for measuring of the object surface tri-dimensional profile based on k average color cluster
CN102607465B (en) Phase unwrapping method based on colored phase shift stripe secondary encoding
CN201218726Y (en) Cultural relics three-dimensional reconstruction apparatus based on colorful structured light
CN103279945A (en) Quality map guide method and branch cutting method-based interferogram unwrapping method
CN101504277A (en) Method for acquiring object three-dimensional image by optical three-dimensional sensing
CN101738172B (en) Method for three-dimensional measurement of high sampling density color structured light based on green stripe segmentation
CN101441066A (en) Phase de-packaging method of color fringe coding
CN105096286A (en) Method and device for fusing remote sensing image
CN103033171B (en) Encoding mark based on colors and structural features
CN114941999A (en) Binary coding stripe design method for structured light projection
CN101608906A (en) A kind of method for measuring optical three-dimensional contour of space encoding
CN104075669A (en) Fault-tolerant coding and decoding method for complicated surface coded light measurement
CN101324425B (en) Layered-based color strip coding method
CN101526340B (en) Stripe color coding method for grating stripe images based on Gray code principle

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication