Go to the documentation of this file.
34 #ifndef LARGESCALEOPTIONS_H_
35 #define LARGESCALEOPTIONS_H_
39 #include <boost/program_options.hpp>
562 cout <<
"##### Voxelsize \t\t: " << o.
getVoxelsize() << endl;
564 cout <<
"##### Number of threads \t: " << o.
getNumThreads() << endl;
565 cout <<
"##### Point cloud manager \t: " << o.
getPCM() << endl;
568 cout <<
"##### Use RANSAC\t\t: YES" << endl;
572 cout <<
"##### Use RANSAC\t\t: NO" << endl;
576 cout <<
"##### Classifier\t\t: " << o.
getClassifier() << endl;
579 cout <<
"##### Dump classification\t: YES" << endl;
583 cout <<
"##### Dump classification\t: NO" << endl;
585 cout <<
"##### k_i \t\t\t: " << o.
getKi() << endl;
586 cout <<
"##### k_d \t\t\t: " << o.
getKd() << endl;
587 cout <<
"##### k_n \t\t\t: " << o.
getKn() << endl;
595 cout <<
"##### Retesselate \t\t: YES" << endl;
600 cout <<
"##### Write Face Normals \t: YES" << endl;
605 cout <<
"##### Fill holes \t\t: " << o.
getFillHoles() << endl;
609 cout <<
"##### Fill holes \t\t: NO" << endl;
618 cout <<
"##### Remove DAs \t\t: NO" << endl;
623 cout <<
"##### Optimize Planes \t\t: YES" << endl;
630 cout <<
"##### Save normals \t\t: YES" << endl;
634 cout <<
"##### Save input data \t\t: YES" << endl;
639 cout <<
"##### Recalc normals \t\t: YES" << endl;
643 cout <<
"##### Save points normals \t: YES" << endl;
647 cout <<
"##### Generate Textures \t: YES" << endl;
648 cout <<
"##### Texel size \t\t: " << o.
getTexelSize() << endl;
651 cout <<
"##### Texture Analysis \t: OFF" << endl;
655 cout <<
"##### Texture Analysis \t\t: OFF" << endl;
660 cout <<
"##### Recursion depth \t\t: " << o.
getDepth() << endl;
670 cout <<
"##### Leaf Size \t\t: " << o.
getNodeSize() << endl;
677 cout <<
"##### Buffer Size \t\t: " << o.
getBufferSize() << endl;
679 cout <<
"##### Volumen Size \t\t: " << o.
getVolumenSize() << endl;
float m_colorThreshold
Threshold for texture matching based on colors.
int getSmallRegionThreshold() const
Returns the threshold for the size of small region deletion after plane optimization.
int m_cleanContourIterations
number of cleanContour iterations
float getSharpCornerThreshold() const
Returns the sharp corner threshold when using sharp feature decomposition.
bool saveNormals() const
Returns true if the interpolated normals should be saved in the putput file.
float m_statsThreshold
Threshold for texture matching based on statistics.
bool savePointNormals() const
Indicates whether to save the used points together with the interpolated normals.
int m_minimumTransformationVotes
Minimum number of vote to consider a texture transformation as "correct".
int getCleanContourIterations() const
Number of iterations for contour cleanup.
unsigned int getCoherenceThreshold() const
bool saveGrid() const
Returns true if the Marching Cubes grid should be save.
float getStatsThreshold() const
string m_statsCoeffs
Coefficents file for texture matching based on statistics.
float m_voxelsizeBG
The set voxelsize for BigGrid.
void printTransformation(std::ostream &out) const
Prints transformation information to the given output stream.
int getFillHoles() const
Returns the region threshold for hole filling.
int getMinimumTransformationVotes() const
bool filenameSet() const
Returns true if an output filen name was set.
float * getStatsCoeffs() const
string m_pcm
The used point cloud manager.
vector< float > getFlippoint() const
Returns the flipPoint for GPU normal computation.
string getEdgeCollapseMethod() const
Edge collapse method.
bool clusterPlanes() const
True if region clustering without plane optimization is required.
bool writeClassificationResult() const
True if region clustering without plane optimization is required.
int m_numThreads
The number of used threads.
vector< float > m_flippoint
flipPoint for GPU normal computation
bool retesselate() const
Return whether the mesh should be retesselated or not.
int m_numEdgeCollapses
Number of edge collapses.
size_t m_lineReaderBuffer
int m_kd
The number of neighbors for distance function evaluation.
A class to parse the program options for the reconstruction executable.
float getFeatureThreshold() const
string getTexturePack() const
unsigned int m_numStatsColors
Number of colors for texture statistics.
bool m_retesselate
Whether or not the mesh should be retesselated while being finalized.
ostream & operator<<(ostream &os, const Options &o)
Overlaoeded outpur operator.
string getDecomposition() const
Returns the name of the used point cloud handler.
float getBGVoxelsize() const
Returns the given voxelsize for bigGrid.
string m_ecm
Edge collapse method.
bool saveOriginalData() const
Returns true if the original points should be stored together with the reconstruction.
bool recalcNormals() const
If true, normals should be calculated even if they are already given in the input file.
float m_voxelsize
The set voxelsize.
int getKd() const
Returns the number of neighbors used for distance function evaluation.
bool m_useCrossCorr
Whether to use texture matching based on cross correlation.
float getTexelSize() const
Returns the texel size for texture resolution.
int m_numberOfDefaults
The number of used default values.
bool m_debugChunks
flag to generate debug meshes for every chunk as a .ply
string m_texturePack
Path to texture pack.
int m_intersections
The number of intersections used for reconstruction.
bool useRansac() const
If true, RANSAC based normal estimation is used.
unsigned int getNodeSize() const
Only used in kd-tree (partMethod=0). Returns the maximum number of points in a leaf.
int getIntersections() const
Returns the number of intersections. If the return value is positive it will be used for reconstructi...
vector< float > getVoxelSizes() const
Returns all voxelsizes as a vector.
unsigned int getNumCCVColors() const
int getChunkSize() const
Returns the chunksize.
float m_sft
Sharp feature threshold when using sharp feature decomposition.
string m_classifier
Name of the classifier object to color the mesh.
string getClassifier() const
Returns the name of the classifier used to color the mesh.
bool saveFaceNormals() const
Returns true if the face normals of the reconstructed mesh should be saved to an extra file ("face_no...
bool getUseCrossCorr() const
int m_planeIterations
Number of iterations for plane optimzation.
string m_faceNormalFile
The putput file name for face normals.
unsigned int m_numCCVColors
Number of colors for texture matching based on color information.
bool m_bigMesh
flag to generate a .ply file for the reconstructed mesh
float getPatternThreshold() const
float getLineFusionThreshold() const
Returns the fusion threshold for tesselation.
int m_fillHoles
Threshold for hole filling.
bool generateTextures() const
If true, textures will be generated during finalization of mesh.
int m_depth
Maximum recursion depth for region growing.
string getPCM() const
Returns the name of the used point cloud handler.
float getSharpFeatureThreshold() const
Returns the sharp feature threshold when using sharp feature decomposition.
unsigned int m_octreeNodeSize
bool extrude() const
Whether to extend the grid. Enabled by default.
int m_minPlaneSize
Threshold for plane optimization.
bool interpolateBoxes() const
int getDanglingArtifacts() const
Returns the number of dangling artifacts to remove from a created mesh.
unsigned int getBufferSize() const
bool m_extrude
extruded flag
Options(int argc, char **argv)
Ctor. Parses the command parameters given to the main function of the program.
bool getBigMesh() const
Returns if the new chunks should be written as a .ply-mesh.
int m_ki
The number of neighbors for normal interpolation.
float m_featuresThreshold
Threshold for texture matching based on features.
unsigned int m_coherenceThreshold
Coherence threshold for texture matching based on color information.
int m_chunkSize
gridsize for virtual grid
string getScanPoseFile() const
Returns the name of the given file with scan poses used for normal flipping.
int m_kn
The number of neighbors for normal estimation.
int getNumEdgeCollapses() const
Number of edge collapses.
bool optimizePlanes() const
Returns true if cluster optimization is enabled.
int getNumThreads() const
Returns the number of used threads.
bool doTextureAnalysis() const
True if texture analysis is enabled.
float m_planeNormalThreshold
Threshold for plane optimization.
int getPartMethod() const
Retuns flag for partition-method (0 = kd-Tree; 1 = VGrid)
bool getDebugChunks() const
Returns if the mesh of every chunk additionally should be written as a .ply.
float getScaling() const
Returns the scaling factor.
int m_smallRegionThreshold
Threshold for small regions.
bool getUseNormals() const
bool m_generateTextures
Whether or not the mesh should be retesselated while being finalized.
int getPlaneIterations() const
Returns to number plane optimization iterations.
std::vector< string > getInputFileName() const
Returns the output file name.
float m_lineFusionThreshold
Threshold for line fusing when tesselating.
int getMinPlaneSize() const
Minimum value for plane optimzation.
bool useGPU() const
Returns if the GPU shuold be used for the normal estimation.
size_t getLineReaderBuffer() const
int getDepth() const
Returns the maximum recursion depth for region growing.
float m_patternThreshold
Threshold for pattern extraction from textures.
int m_partMethod
sets partition method to kd-tree or virtual grid
string m_outputFolderPath
string getOutputFolderPath() const
unsigned int getNumStatsColors() const
float getColorThreshold() const
size_t getVolumenSize() const
int getKi() const
Returns the number of neighbors for normal interpolation.
bool m_writeClassificationResult
Whether or not the classifier shall dump meta data to a file 'clusters.clu'.
bool colorRegions() const
Returns true of region coloring is enabled.
int getKn() const
Returns the number of neighbors used for initial normal estimation.
unsigned int m_bufferSize
float m_sct
Sharp corner threshold when using sharp feature decomposition.
int m_removeDanglingArtifacts
Number of dangling artifacts to remove.
float getNormalThreshold() const
Returns the normal threshold for plane optimization.
float getVoxelsize() const
Returns the first given voxelsize.
float m_texelSize
Texel size.
bool printUsage() const
Prints a usage message to stdout.
vector< float > m_voxelSizes
The set voxelsizes.
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:23