The invention relates to a rapid three-dimensional measurement method based on colorful
grating projection in a three-dimensional scanning
system. The method comprises the following steps: selecting four pure colors of green, yellow, cyan and white so as to carry out color strip encoding, wherein the G component values of the four pure colors are 255, and the R component values and the B component values of the four pure colors are respectively 0 or 255; after finishing color encoding, carrying out
sinusoidal modulation on the G component of strip color to finally obtain a projective
grating; on one hand, resolving G component information to obtain a folding phase value by a method based on
Fourier transform, on the other hand, carrying out binaryzation on the R component and B component of an image by an iteration threshold method in the
color image segmentation link, and automatically assigning 255 to the G component; and segmenting an image
decipher to obtain phase period information so as to unfold the phase. By utilizing the method, inconvenience for
cutting brought by periodic occurrence of light and shade strip-shaped areas in the image caused by G component
sinusoidal modulation can be well avoided, and a
train of thought for realizing three-dimensional dynamic measurement can be provided on the premise of not influencing the measurement accuracy.