Skip to content

timbrist/structure-light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Structure Light

3D reconstruction with Structure Light base on OpenCV

en

中文

ABSTRACT

Congratulations for finding this repository, people as smart as you might notice that this repository has cleanner, easier to use structure than others.
We provide noncontact 3D surface measurement techniques using OpenCV.
test images in "res/imgs" folder are compressed
I cannot promise the quality of the point-cloud from compressed images, so the testdata is just used for academic purpose. if you pursue high quality of the point-cloud, you should take the images with high resolution.
If you are interested in creating picture from camera with projector, you can have a look at my hikvision-qt.

Projected Patterns

The Projected Patterns contains gray codes and phase shift
Project

Calibration

The Calibration process uses Chessboard for canmera parameters.
(It supposed to have Dot array calibration pattern... but I didn't have the board.)
ChessBoard

USAGE

To use the code you need to install OpenCV3(only tested in version 3.xx), and also you need to install CMake to configure the code.

  1. git clone https://github.com/timbrist/structure-light.git
  2. cd structure-light
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make -j4
  7. ./main

EXPECTATION

Put your images into the folder "../res/imgs/origin/", Name the images as "./res/origin_images.xml" suggested.
INPUT

This is the 3d point cloud:
Open the the "point.txt" with your favorite point cloud software.
here is the result that shows in " geomagic studio 2015 "
OUTPUT

About

3D reconstruction with Structure Light

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published