SfM
SfM copied to clipboard
Structure from Motion pipeline implementation using RGB-D images
Structure from Motion Pipeline using RGB-D
A project by Seonwook Park and Yifan Wang for the 3D Photography course at ETH Zurich in Spring 2015.
Install
- Clone this repository
- Setup OpenCV 3, Ceres Solver and PCL
mkdir build && cd build && cmake .. && make
Data Acquisition
- Descend into
bernhard/ - Compile using
mkdir build && cd build && cmake .. && make - Plug a Microsoft Kinect (gen 1) in
- Run the binary from a directory in which data should be stored in. Use the
flag
-method 4to store RGB and D images separately. - While the application is running, press
sto record single frames. Attempt to cover the target object or environment as much as possible.
Running the pipeline
- Get our dataset by running
bash get_dataset.sh - Descend into with
cd build/ - Run the binary and provide the path to our dataset. For example,
./main ../dataset BeersNMore