CVB.Net 15.0
Loading...
Searching...
No Matches
AQS12DensePointCloudSegmentor Class Reference

Segmentor for face segmentation of an AQS12 calibration piece on dense point clouds. More...

Inherits DensePointCloudSegmentor.

Public Member Functions

 AQS12DensePointCloudSegmentor (SegmentationMethod segmentationMethod)
 Constructor.
 
override Image FaceSegmentationFromPiece (DensePointCloud cloud)
 Segments the calibration piece from the given cloud .
 
override Image FaceSegmentationFromPiece (DensePointCloud cloud, Rect aoi)
 Segments the calibration piece from the given cloud .
 
override Point3Dd[] ExtractProjectedPointsFromPiece (DensePointCloud cloud)
 Extracts intersection points of the calibration piece from the given cloud .
 
override Point3Dd[] ExtractProjectedPointsFromPiece (DensePointCloud cloud, Rect aoi)
 Extracts intersection points of the calibration piece from the given cloud .
 
- Public Member Functions inherited from DensePointCloudSegmentor
Image FaceSegmentationFromPiece (DensePointCloud cloud)
 Segments the calibration piece from the given cloud .
 
Image FaceSegmentationFromPiece (DensePointCloud cloud, Rect aoi)
 Segments the calibration piece from the given cloud .
 
Point3Dd[] ExtractProjectedPointsFromPiece (DensePointCloud cloud)
 Extracts intersection points of the calibration piece from the given cloud .
 
Point3Dd[] ExtractProjectedPointsFromPiece (DensePointCloud cloud, Rect aoi)
 Extracts intersection points of the calibration piece from the given cloud .
 
void Dispose ()
 IDisposable implementation.
 

Additional Inherited Members

- Protected Member Functions inherited from DensePointCloudSegmentor
 DensePointCloudSegmentor (IntPtr handle)
 Constructor.
 
virtual void Dispose (bool disposing)
 IDisposable helper function.
 
- Properties inherited from DensePointCloudSegmentor
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.
 
IntPtr Handle [get]
 Native handle of the calibrator.
 
bool IsDisposed [get]
 Gets if the native handle has been disposed.
 
- Events inherited from DensePointCloudSegmentor
NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method.
 
- Events inherited from INativeHandle
NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method.
 

Detailed Description

Segmentor for face segmentation of an AQS12 calibration piece on dense point clouds.

Constructor & Destructor Documentation

◆ AQS12DensePointCloudSegmentor()

Constructor.

Parameters
segmentationMethodSegmentation method to use.

Member Function Documentation

◆ ExtractProjectedPointsFromPiece() [1/2]

override Point3Dd[] ExtractProjectedPointsFromPiece ( DensePointCloud cloud)

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

Lower roof points are projected to the base plane.

Parameters
cloudPoint cloud to work with.
Returns
Extracted points.
Exceptions
ArgumentNullExceptionWhen cloud is null.

◆ ExtractProjectedPointsFromPiece() [2/2]

override Point3Dd[] ExtractProjectedPointsFromPiece ( DensePointCloud cloud,
Rect aoi )

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

Lower roof points are projected to the base plane.

Parameters
cloudPoint cloud to work with.
aoiArea of interest.
Returns
Extracted points.
Exceptions
ArgumentNullExceptionWhen cloud is null.
CvbExceptionWhen an error during point extraction occurs.

Note, that the area of interest must be selected on the grid of the dense point cloud. Left, top, right and bottom are indices for row and column.

◆ FaceSegmentationFromPiece() [1/2]

override Image FaceSegmentationFromPiece ( DensePointCloud cloud)

Segments the calibration piece from the given cloud .

The segmentation is done on the projected xy plane. That means that the base plane has to be more or less parallel to the xy plane.

Parameters
cloudPoint cloud to work with.
Returns
Segmentation image.
Exceptions
ArgumentNullExceptionWhen cloud is null.

◆ FaceSegmentationFromPiece() [2/2]

override Image FaceSegmentationFromPiece ( DensePointCloud cloud,
Rect aoi )

Segments the calibration piece from the given cloud .

The segmentation is done on the projected xy plane. That means that the base plane has to be more or less parallel to the xy plane.

Parameters
cloudPoint cloud to work with.
aoiArea of interest.
Returns
Segmentation image.
Exceptions
ArgumentNullExceptionWhen cloud is null.
CvbExceptionWhen an error during segmentation occurs.

Note, that the area of interest must be selected on the grid of the dense point cloud. Left, top, right and bottom are indices for row and column.