Segmentor object to configure face segmentation of AQS12 calibration piece on dense point clouds. More...
#include <cvb/foundation/metric_aqs12.hpp>
Inherits DensePointCloudSegmentor.
Public Member Functions | |
std::unique_ptr< Image > | FaceSegmentationFromPiece (const DensePointCloud &cloud) override |
Segments the AQS12 calibration piece from the given dense point cloud. More... | |
std::unique_ptr< Image > | FaceSegmentationFromPiece (const DensePointCloud &cloud, Rect< int > aoi) override |
Segments the AQS12 calibration piece from the dense point cloud on the given area of interest. More... | |
std::vector< Point3D< double > > | ExtractProjectedPointsFromPiece (const DensePointCloud &cloud) override |
Extracts 12 intersection points of the AQS12 calibration piece from the given dense point cloud. More... | |
std::vector< Point3D< double > > | ExtractProjectedPointsFromPiece (const DensePointCloud &cloud, Rect< int > aoi) override |
Extracts 12 intersection points of the AQS12 calibration piece from the dense point cloud on the given area of interest. More... | |
Public Member Functions inherited from DensePointCloudSegmentor | |
int | WindowSize () const |
Gets window size for calculation of normals (used for the classification of the target faces). More... | |
void | SetWindowSize (int windowSize) const |
Sets window size for the calculation of normals (used for the classification of the target faces). More... | |
void * | Handle () const noexcept |
Returns C-API style handle to Node Object. More... | |
Static Public Member Functions | |
static std::shared_ptr< AQS12DensePointCloudSegmentor > | Create (const SegmentationMethod method) |
Creates a AQS12 segmentor for dense point clouds based on given segmentation method. More... | |
Static Public Member Functions inherited from DensePointCloudSegmentor | |
static std::shared_ptr< DensePointCloudSegmentor > | FromHandle (HandleGuard< DensePointCloudSegmentor > &&guard) |
Creates a segmentor from a classic API handle. More... | |
Segmentor object to configure face segmentation of AQS12 calibration piece on dense point clouds.
|
inlinestatic |
Creates a AQS12 segmentor for dense point clouds based on given segmentation method.
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.
[in] | method | Segmentation method to be applied (so far only KmeansClustering is supported). |
|
inlineoverridevirtual |
Extracts 12 intersection points of the AQS12 calibration piece from the given dense point cloud.
Note, that lower roof points are projected to the base plane.
[in] | cloud | Dense point cloud. |
Any | exception derived from std::exception including CvbException. |
Implements DensePointCloudSegmentor.
|
inlineoverridevirtual |
Extracts 12 intersection points of the AQS12 calibration piece from the dense point cloud on the given area of interest.
Note, that lower roof points are projected to the base plane.
[in] | cloud | Dense point cloud. |
[in] | aoi | Area of interest. |
Any | exception derived from std::exception including CvbException. |
Implements DensePointCloudSegmentor.
|
inlineoverridevirtual |
Segments the AQS12 calibration piece from the given dense point cloud.
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.
[in] | cloud | Dense point cloud. |
Any | exception derived from std::exception including CvbException. |
Implements DensePointCloudSegmentor.
|
inlineoverridevirtual |
Segments the AQS12 calibration piece from the 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.
[in] | cloud | Dense point cloud. |
[in] | aoi | Area of interest. |
Any | exception derived from std::exception including CvbException. |
Implements DensePointCloudSegmentor.