MeVisLab Toolbox Reference
ml::PCLMLTools::ImageToPointCloudConversionParameters Struct Reference

A container with parameters for the conversion from ML images to point clouds. More...

#include <mlPCLMLTools.h>

Public Member Functions

 ImageToPointCloudConversionParameters ()
 Default constructor fixing the defaults. More...
 

Public Attributes

double thresholdMin
 If any value is smaller than thresholdMin and skipVoxelsBelowMin is true then the voxel is not added to the point cloud;. More...
 
double thresholdMax
 If any value is larger than thresholdMax and skipVoxelsAboveMax is false then the voxel is set to upperValue and added to the point cloud. More...
 
double lowerValue
 Possibly used on voxels smaller than thresholdMin; see thresholdMin for details. More...
 
double upperValue
 Possibly used on voxels larger than thresholdMax; see thresholdMax for details. More...
 
bool skipVoxelsBelowMin
 Used when voxels are smaller than thresholdMin; see thresholdMin for details. More...
 
bool skipVoxelsAboveMax
 Used when voxels are larger than thresholdMax; see thresholdMax for details. More...
 
bool normalizeInClampedRange
 If enabled then all voxel values are scaled from [lowerValue, upperValue] to [0,1]; values outside will be clamped to [lowerValue, upperValue]. More...
 
bool useVectorLengthAsIntensity
 If enabled then the length of a possibly existing normal vector is used instead of the incoming voxel intensity; all other functionality is done as if it is a voxel value. More...
 
bool transformToWorld
 If enabled then all coordinates retrieved from voxel coordinates are translated world coordinates using the PagedImage.transformToWorld() method, otherwise the pure voxel coordinates are used. More...
 

Detailed Description

A container with parameters for the conversion from ML images to point clouds.

Definition at line 71 of file mlPCLMLTools.h.

Constructor & Destructor Documentation

◆ ImageToPointCloudConversionParameters()

ml::PCLMLTools::ImageToPointCloudConversionParameters::ImageToPointCloudConversionParameters ( )
inline

Default constructor fixing the defaults.

Definition at line 74 of file mlPCLMLTools.h.

Member Data Documentation

◆ lowerValue

double ml::PCLMLTools::ImageToPointCloudConversionParameters::lowerValue

Possibly used on voxels smaller than thresholdMin; see thresholdMin for details.

Definition at line 92 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud().

◆ normalizeInClampedRange

bool ml::PCLMLTools::ImageToPointCloudConversionParameters::normalizeInClampedRange

If enabled then all voxel values are scaled from [lowerValue, upperValue] to [0,1]; values outside will be clamped to [lowerValue, upperValue].

If disabled then all voxel values are taken as described by other fields.

Definition at line 106 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud().

◆ skipVoxelsAboveMax

bool ml::PCLMLTools::ImageToPointCloudConversionParameters::skipVoxelsAboveMax

Used when voxels are larger than thresholdMax; see thresholdMax for details.

Definition at line 101 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud().

◆ skipVoxelsBelowMin

bool ml::PCLMLTools::ImageToPointCloudConversionParameters::skipVoxelsBelowMin

Used when voxels are smaller than thresholdMin; see thresholdMin for details.

Definition at line 98 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud().

◆ thresholdMax

double ml::PCLMLTools::ImageToPointCloudConversionParameters::thresholdMax

If any value is larger than thresholdMax and skipVoxelsAboveMax is false then the voxel is set to upperValue and added to the point cloud.

Definition at line 89 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud().

◆ thresholdMin

double ml::PCLMLTools::ImageToPointCloudConversionParameters::thresholdMin

If any value is smaller than thresholdMin and skipVoxelsBelowMin is true then the voxel is not added to the point cloud;.

Definition at line 85 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud().

◆ transformToWorld

bool ml::PCLMLTools::ImageToPointCloudConversionParameters::transformToWorld

If enabled then all coordinates retrieved from voxel coordinates are translated world coordinates using the PagedImage.transformToWorld() method, otherwise the pure voxel coordinates are used.

Definition at line 116 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::createPointCloudFromPagedImage().

◆ upperValue

double ml::PCLMLTools::ImageToPointCloudConversionParameters::upperValue

Possibly used on voxels larger than thresholdMax; see thresholdMax for details.

Definition at line 95 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud().

◆ useVectorLengthAsIntensity

bool ml::PCLMLTools::ImageToPointCloudConversionParameters::useVectorLengthAsIntensity

If enabled then the length of a possibly existing normal vector is used instead of the incoming voxel intensity; all other functionality is done as if it is a voxel value.

If disabled then the voxel value is normally cast to double.

Definition at line 111 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud().


The documentation for this struct was generated from the following file: