CVB.Net 14.0
DensePointCloudSegmentor Class Referenceabstract

Base class for configuring and computing segmentation on dense point clouds. More...

Inherits INativeHandle.

Inherited by AQS12DensePointCloudSegmentor.

Public Member Functions

abstract Image FaceSegmentationFromPiece (DensePointCloud cloud)
 Segments the calibration piece from the given cloud . More...
 
abstract Image FaceSegmentationFromPiece (DensePointCloud cloud, Rect aoi)
 Segments the calibration piece from the given cloud . More...
 
abstract Point3Dd[] ExtractProjectedPointsFromPiece (DensePointCloud cloud)
 Extracts intersection points of the calibration piece from the given cloud . More...
 
abstract Point3Dd[] ExtractProjectedPointsFromPiece (DensePointCloud cloud, Rect aoi)
 Extracts intersection points of the calibration piece from the given cloud . More...
 
void Dispose ()
 IDisposable implementation.
 

Protected Member Functions

 DensePointCloudSegmentor (IntPtr handle)
 Constructor. More...
 
virtual void Dispose (bool disposing)
 IDisposable helper function. More...
 

Properties

int WindowSize [get, set]
 Gets/sets window size for calculation of normals (used for the classification of the target faces). If windowSize is set to zero, the window size will be calculated automatically. More...
 
IntPtr Handle [get]
 Native handle of the calibrator.
 
bool IsDisposed [get]
 Gets if the native handle has been disposed.
 
- Properties inherited from INativeHandle
IntPtr Handle [get]
 The native handle of the object.
 
bool IsDisposed [get]
 Possibility to check whether the object has already been disposed of.
 

Events

NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method. More...
 
- Events inherited from INativeHandle
NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method.
More...
 

Detailed Description

Base class for configuring and computing segmentation on dense point clouds.

Constructor & Destructor Documentation

◆ DensePointCloudSegmentor()

DensePointCloudSegmentor ( IntPtr  handle)
protected

Constructor.

Parameters
handleNative handle.
Exceptions
ArgumentExceptionWhen handle is IntPtr.Zero.

Member Function Documentation

◆ Dispose()

virtual void Dispose ( bool  disposing)
protectedvirtual

IDisposable helper function.

Parameters
disposing

◆ ExtractProjectedPointsFromPiece() [1/2]

abstract Point3Dd[] ExtractProjectedPointsFromPiece ( DensePointCloud  cloud)
pure virtual

Extracts intersection points of the calibration piece from the given cloud .

Parameters
cloudPoint cloud to work with.
Returns
Extracted points.

Implemented in AQS12DensePointCloudSegmentor.

◆ ExtractProjectedPointsFromPiece() [2/2]

abstract Point3Dd[] ExtractProjectedPointsFromPiece ( DensePointCloud  cloud,
Rect  aoi 
)
pure virtual

Extracts intersection points of the calibration piece from the given cloud .

Parameters
cloudPoint cloud to work with.
aoiArea of interest.
Returns
Extracted points.

Implemented in AQS12DensePointCloudSegmentor.

◆ FaceSegmentationFromPiece() [1/2]

abstract Image FaceSegmentationFromPiece ( DensePointCloud  cloud)
pure virtual

Segments the calibration piece from the given cloud .

Parameters
cloudPoint cloud to work with.
Returns
Segmentation image.

Implemented in AQS12DensePointCloudSegmentor.

◆ FaceSegmentationFromPiece() [2/2]

abstract Image FaceSegmentationFromPiece ( DensePointCloud  cloud,
Rect  aoi 
)
pure virtual

Segments the calibration piece from the given cloud .

Parameters
cloudPoint cloud to work with.
aoiArea of interest.
Returns
Segmentation image.

Implemented in AQS12DensePointCloudSegmentor.

Property Documentation

◆ WindowSize

int WindowSize
getset

Gets/sets window size for calculation of normals (used for the classification of the target faces). If windowSize is set to zero, the window size will be calculated automatically.

This function only apply for dense point cloud segmentors, where the segmentation method SegmentationMethod.KmeansClustering is applied.

Event Documentation

◆ ObjectDisposing

NativeHandleEventDelegate ObjectDisposing

Raised when this object is about to be disposed via the IDisposable.Dispose method.

This event is raised right before this object is disposed. The dispose itself cannot be canceled.