CVBpy 14.0
AQS12DensePointCloudSegmentor Class Reference

Segmentor object to configure face segmentation of AQS12 calibration piece on dense point clouds. More...

Inherits DensePointCloudSegmentor.

Public Member Functions

cvb.foundation.AQS12DensePointCloudSegmentor create (int method)
 Creates an AQS12 segmentor for dense point clouds based on given segmentation method. More...
 
List[cvb.Point3Dextract_projected_points_from_piece (self, cvb.DensePointCloud cloud, Optional[cvb.Rect] aoi)
 Extracts 12 intersection points of the AQS12 calibration piece from the given dense point cloud (on the given area of interest). More...
 
cvb.Image face_segmentation_from_piece (self, cvb.DensePointCloud cloud, Optional[cvb.Rect] aoi)
 Segments the AQS12 calibration piece from the given dense point cloud (on the given area of interest). More...
 

Additional Inherited Members

- Properties inherited from DensePointCloudSegmentor
 window_size = property
 int: Gets or sets the window size for calculation of normals (used for the classification of the target faces). More...
 

Detailed Description

Segmentor object to configure face segmentation of AQS12 calibration piece on dense point clouds.

Member Function Documentation

◆ create()

Creates an AQS12 segmentor for dense point clouds based on given segmentation method.

Parameters

method : int Segmentation method to be applied (so far only KmeansClustering is supported).

Returns

cvb.foundation.AQS12DensePointCloudSegmentor The resulting segmentation object.

◆ extract_projected_points_from_piece()

List[cvb.Point3D] extract_projected_points_from_piece (   self,
cvb.DensePointCloud  cloud,
Optional[cvb.Rect aoi 
)

Extracts 12 intersection points of the AQS12 calibration piece from the given dense point cloud (on the given area of interest).

Note, that lower roof points are projected to the base plane.

Parameters

cloud : cvb.DensePointCloud Dense point cloud.

aoi : Optional[cvb.Rect] Area of interest (default entire plane).

Returns

List[cvb.Point3D] Extracted points.

◆ face_segmentation_from_piece()

cvb.Image face_segmentation_from_piece (   self,
cvb.DensePointCloud  cloud,
Optional[cvb.Rect aoi 
)

Segments the AQS12 calibration piece from the given dense point cloud (on the given area of interest).

The AQS12 calibration piece is segmented into top, base and 10 faces. Note, that 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

cloud : cvb.DensePointCloud Pointer to dense point cloud.

aoi : Optional[cvb.Rect] Area of interest (default entire plane).

Returns

cvb.Image Pointer to the segmentation image.