SkillAgentSearch skills...

GrayCodePatternSeq

Generate Gray Code Pattern Seq images used in Structured light

Install / Use

/learn @jianjieluo/GrayCodePatternSeq
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

  1. Create ./output/ directory.
  2. Modify the input value resolution in CreateAndSaveGraySeq.m, which specifies the output pattern image's size.
  3. Choose GrayCodePattern4ProjectorCalibration(resolution) or GrayCodePattern(resolution) function in CreateAndSaveGraySeq.m.
  4. Run CreateAndSaveGraySeq.m in Matlab.
  5. 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/ .

View on GitHub
GitHub Stars19
CategoryDevelopment
Updated4mo ago
Forks7

Languages

MATLAB

Security Score

92/100

Audited on Nov 24, 2025

No findings