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.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). 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 | |
![]() | |
window_size = property | |
int: Gets or sets the window size for calculation of normals (used for the classification of the target faces). More... | |
Segmentor object to configure face segmentation of AQS12 calibration piece on dense point clouds.
cvb.foundation.AQS12DensePointCloudSegmentor create | ( | int | method | ) |
Creates an AQS12 segmentor for dense point clouds based on given segmentation method.
method : int Segmentation method to be applied (so far only KmeansClustering is supported).
cvb.foundation.AQS12DensePointCloudSegmentor The resulting segmentation object.
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.
cloud : cvb.DensePointCloud Dense point cloud.
aoi : Optional[cvb.Rect] Area of interest (default entire plane).
List[cvb.Point3D] Extracted points.
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.
cloud : cvb.DensePointCloud Pointer to dense point cloud.
aoi : Optional[cvb.Rect] Area of interest (default entire plane).
cvb.Image Pointer to the segmentation image.