GrayCodePatternSeq
GrayCodePatternSeq copied to clipboard
Generate Gray Code Pattern Seq images used in Structured light
GrayCodePatternSeq
Generate gray code pattern sequence images, time-coded light patterns , used in structured light.
This simple project is inspired by Gray code pattern sequence and use grays function in Gray Code Manipulation.
Usage
- Create
./output/directory. - Modify the input value
resolutioninCreateAndSaveGraySeq.m, which specifies the output pattern image's size. - Choose
GrayCodePattern4ProjectorCalibration(resolution)orGrayCodePattern(resolution)function inCreateAndSaveGraySeq.m. - Run
CreateAndSaveGraySeq.min Matlab. - Get the gray code pattern sequence in
./output/directory.
1. Choose GrayCodePattern(resolution)
You can get general gray code pattern sequence with the resolution you want.
2. Choose GrayCodePattern4ProjectorCalibration(resolution)
These images(1024 x 768) generated in ./output/ directory can be used directly in this paper Projector-Camera Calibration / 3D Scanning Software. An opposite image of each pattern is also be generated in order to improve the accuracy in the projector calibration.
1024 x 768 patterns are in output/ .