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.

Public Attributes

double thresholdMin
double thresholdMax
double lowerValue
 Possibly used on voxels smaller than thresholdMin; see thresholdMin for details.
double upperValue
 Possibly used on voxels larger than thresholdMax; see thresholdMax for details.
bool skipVoxelsBelowMin
 Used when voxels are smaller than thresholdMin; see thresholdMin for details.
bool skipVoxelsAboveMax
 Used when voxels are larger than thresholdMax; see thresholdMax for details.
bool normalizeInClampedRange
bool useVectorLengthAsIntensity
bool transformToWorld

Detailed Description

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

Definition at line 66 of file mlPCLMLTools.h.

Constructor & Destructor Documentation

◆ ImageToPointCloudConversionParameters()

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

Member Data Documentation

◆ lowerValue

double ml::PCLMLTools::ImageToPointCloudConversionParameters::lowerValue

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

Definition at line 87 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud(), and ImageToPointCloudConversionParameters().

◆ 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 101 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud(), and ImageToPointCloudConversionParameters().

◆ skipVoxelsAboveMax

bool ml::PCLMLTools::ImageToPointCloudConversionParameters::skipVoxelsAboveMax

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

Definition at line 96 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud(), and ImageToPointCloudConversionParameters().

◆ skipVoxelsBelowMin

bool ml::PCLMLTools::ImageToPointCloudConversionParameters::skipVoxelsBelowMin

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

Definition at line 93 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud(), and ImageToPointCloudConversionParameters().

◆ 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 84 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud(), and ImageToPointCloudConversionParameters().

◆ 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 80 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud(), and ImageToPointCloudConversionParameters().

◆ 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 111 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::createPointCloudFromPagedImage(), and ImageToPointCloudConversionParameters().

◆ upperValue

double ml::PCLMLTools::ImageToPointCloudConversionParameters::upperValue

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

Definition at line 90 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud(), and ImageToPointCloudConversionParameters().

◆ 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 106 of file mlPCLMLTools.h.

Referenced by ml::PCLMLTools::appendSubImageVoxelsToPointCloud(), and ImageToPointCloudConversionParameters().


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