2 Star 1 Fork 2

李洋 / structured_light

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Structured Light

An implementation of a 3D scanner using the three-step phase shifting method.

How it works

In a calibrated setup, a beamer is used to project special stripe patterns onto the target object. A camera then captures the scene for each the different patterns. As the camera sees the stripes from a different angle than the beamer, they appear distorted proportionally to depth of the object's surface. From the difference of the distorted to the original pattern, the depth for each pixel can be reconstructed.

The patterns are grayscale images, that consist from an equal number of horizontal stripes with a sine intensity distribution. In each pattern, the sine wave is shifted by 120° or 2/3 PI. From the different intensity values, a relative phase in the range of [-PI,PI] can be computed. The discontinueties of the wrapped phase map are unwrapped using a flood fill algorithm, by following neigbouring pixels with the best phase quality, starting in the center of the image. The resulting absolute phase, is proportional to he surface depth of the pixel.

Setup (Source: https://en.wikipedia.org/wiki/Structured-light_3D_scanner)

Files

In the root dirctory, you will find various code, like implementation of the algorithm, a simple commandline test application, a script for generating the fringe pattern images and code for viewing the result as a 3D point cloud.

The slapp directory contains graphical application with basic user interface, that supports:

  • capturing the images
  • performing reconstruction
  • viewing point cloud
  • simple adjusting of parameters for calibration

Requirements

  • C++ compiler
  • OpenCV
  • OpenGL / glut
  • QT 4 (for the SLapp)
  • OS: Linux

Usefull Papers

Wikipedia:

Calibration:

Three Phase Shift

Phase Unwrapping

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/li_yang_cv/structured_light.git
git@gitee.com:li_yang_cv/structured_light.git
li_yang_cv
structured_light
structured_light
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891