![]() |
ETRI IVCL 1.0.0
Acceleration SW Platform for Ondevice
|
#include <stdio.h>#include <time.h>#include <opencv/cv.h>#include "../Src/BoundingBox.h"#include "../Src/Camera.h"#include "../Src/PlaneSweepingStereo.h"#include "../Src/SurfelCut.h"#include "../Src/VoxelSurface.h"#include "../Src/Visualhull.h"#include "../Src/ocl_cpp.h"Functions | |
| int | main (int argc, char *argv[]) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
The main function
step 0. compute visual hull — optional
step 1. plane sweeping stereo
step 2. construct initial surfels
step 3. refine surfel candidates
step 4. extract optimal surfels
| cameras_path | path of config file |
| bbox_path | path of bounding box file |
| silhouettes_path | path of silhouettes (optional) |
| resolution | target resolution |
| method | visual hull computation method; 0: CPU, 1 : CUDA, 2 : OCL |
| file_print_flag | save txt file |
| dil_bin | save dialte binary img |
| save_sur_flag | save sur file |
| save_npts_flag | save npts file |
| M | parameters for plane sweeping stereo; restrict neighbor images |
| VV | parameters for plane sweeping stereo |
| nbin | parameters for constructing initial surfels |
| sigma | parameters for extracting optimal surfels; over 5 is always same |
| lambda | parameters for extracting optimal surfels; 0.08 ~ 0.09 set in paper |