Giter Club home page Giter Club logo

bachelorproject's Introduction

bachelorProject

The codes present in this directory require VTK, PCL and Qt to be compiled. To compile each one go to the src directory of the program you want to compile and run:

mkdir build
cd build
cmake ../src/
make

The following programs are those which can be useful:

colored_octree

This program allows you to give a point cloud in pcd format. It will process and show a 3D recontruct object using an octree grid estimation and voxels.

Syntax is: ./colored_octree pcd_file [resolution] [cl] 
Example: ./colored_octree longdress.pcd 
Example: ./colored_octree bunny.pcd 0.01 cl

The parameter cl has to be specify when the input cloud is colorless. If the resolution is not precised, an automatic one will be calculated and used.

pcl_octree_grid

This program take as input a point cloud in pcd format and return a version of the point cloud corresponding to the estimation using an octree grid of either given or automatically extracted resolution.

Syntax is: ./pcl_octree_grid input_pcd output_pcd [resolution] [cl] 
Example: ./pcl_octree_grid longdress.pcd longdress_oct.pcd
Example: ./pcl_octree_grid bunny.pcd bunny_oct.pcd 0.01 cl

pcl_preprocessing

This program allow you to generate the ply file corresponding to the reconstruct object obtained by surface splatting. 2D or 3D splat can be selected.

Syntax is: ./pcl_preprocessing input_pcd <primitive> output_ply [cl] [nl] 
with primitive being one of: square/disk/cube/sphere 
Example: ./pcl_preprocessing longdress.pcd disk longdress_disk.ply nl 
Example: ./pcl_preprocessing bunny.pcd cube bunny_cube.ply cl nl

As for the parameter cl, nl has to be specify if the input cloud is normal-less.

ReadPLY and ReadVTK

Both program serve to load two ply or vtk files and show them side by side, principally for comparison purpose. The VTK variant possess the advantage of being able to render content without faces which is useful to compare a point cloud to a surface reconstruction of it.

Syntax is: ./Read(VTK/PLY) input_vtk1 input_vtk2 [cl] 
Example: ./ReadVTK longdress_point.vtk longdress_sphere.vtk 
Example: ./ReadPLY bunny_square.ply bunny_cube.ply cl

qualityAssessment

This program use VTK and Qt and was used to make the subjective quality assessment test. You need to give as input a text file containing 2 vtk files name per line. To work correctly, the following folders are required to be on the same level as the executable:

-contents 
-camera 
-results 
-batches

The program will store the choices made for every comparison under results and the camera movement under camera.

Syntax is: ./qualityAssessment batches/batch_xx.txt

The size of the gui need to be precised in the .ui file if the target display is not of 3840x2160.

miscg

adaptive_voxel_size

It has been included inside 'pcl_pcreprocessing' when the chosen primitive is 'cube'

octree_pc_reader

Served to render octree structured PC that are generated by pcl_octree_grid, but by using VTK files this implementation became obsolete.

pcl_load

It was a first try to make a gui in the objective to run subjective quality assessment test but this implementation has be remplaced by the 'qualityAssessment' implementation that use Qt.

surface_recon

This program regroup some reconstruction algorithms but some only work for small colorless pointclouds (similar to 'bunny.pcd') it can be use using the following commands, but without any warranty:

./surface_recon cloudpath  <fast/point/gauss/delaunay>  [cl]

fast: correspond to a greedy surface triangulation algorithm
point: use circular splats and is a less robust version of 'pcl_preprocessing' disks
gauss: use gaussian surface reconstruction
delauny: perform a delaunay surface reconstruction which correspond to the convex hull

bachelorproject's People

Contributors

tapparelj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.