Skip to content

carlottaSchiavo/3DP_lab_2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites (in debian-based distro):

sudo apt install build-essential cmake libboost-filesystem-dev libopencv-dev libomp-dev
sudo apt install libceres-dev libyaml-cpp-dev libgtest-dev libeigen3-dev

Build and run the executable:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Test the two applications (located inside the bin/ folder)

./matcher <calibration parameters filename> <images folder filename> <output data file> [focal length scale]
./basic_sfm <input data file> <output ply file>

Datasets

In the dataset/ folder there are two simple datasets with a collection of images, the corresponding camera calibration
parameters file, and two preprocessed data files with the results of detection and feature matching for the two datasets
to be used directly with basic_sfm.

Examples

For the provided datasets, set the focal lenght scale to 1.1, e.g.:

./matcher datasets/3dp_cam.yml datasets/images_1 data1.txt 1.1
./matcher datasets/3dp_cam.yml datasets/images_2 data2.txt 1.1

./basic_sfm data1.txt cloud1.ply
./basic_sfm data2.txt cloud2.ply

About

3D data processing - homework 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published