![]() |
Image Component Library (ICL)
|
#include <CutfreeAdjacencyFeatureExtractor.h>
Public Types | |
| enum | Mode { BEST, GPU, CPU } |
Public Member Functions | |
| CutfreeAdjacencyFeatureExtractor (Mode mode=BEST) | |
| Constructor. More... | |
| ~CutfreeAdjacencyFeatureExtractor () | |
| Destructor. More... | |
| math::DynMatrix< bool > | apply (core::DataSegment< float, 4 > &xyzh, std::vector< std::vector< int > > &surfaces, math::DynMatrix< bool > &testMatrix, float euclideanDistance, int passes, int tolerance, core::Img32s labelImage) |
| Calculates the cutfree adjacency feature matrix. More... | |
| math::DynMatrix< bool > | apply (core::DataSegment< float, 4 > &xyzh, std::vector< std::vector< int > > &surfaces, math::DynMatrix< bool > &testMatrix, float euclideanDistance, int passes, int tolerance, core::Img32s labelImage, std::vector< SurfaceFeatureExtractor::SurfaceFeature > feature, float minAngle) |
| Calculates the cutfree adjacency feature matrix with minimum angle constraint. More... | |
Private Attributes | |
| Data * | m_data |
| internal data type More... | |
This class implements the cutfree adjacency feature for feature-graph based segmentation.
Constructor.
Constructs an object of this class.
| mode | GPU, CPU and BEST (default) |
| icl::geom::CutfreeAdjacencyFeatureExtractor::~CutfreeAdjacencyFeatureExtractor | ( | ) |
Destructor.
| math::DynMatrix<bool> icl::geom::CutfreeAdjacencyFeatureExtractor::apply | ( | core::DataSegment< float, 4 > & | xyzh, |
| std::vector< std::vector< int > > & | surfaces, | ||
| math::DynMatrix< bool > & | testMatrix, | ||
| float | euclideanDistance, | ||
| int | passes, | ||
| int | tolerance, | ||
| core::Img32s | labelImage | ||
| ) |
Calculates the cutfree adjacency feature matrix.
| xyzh | the xyzh DataSegment from the PointCloudObject class |
| surfaces | the vector of surface id vectors |
| testMatrix | the initial boolean test matrix (1 test, 0 dont test, preferably an adjacency matrix) |
| euclideanDistance | the maximum euclidean distance for RANSAC in mm |
| passes | the RANSAC passes |
| tolerance | the RANSAC tolerance in number of points (outlier) |
| labelImage | the label image |
| math::DynMatrix<bool> icl::geom::CutfreeAdjacencyFeatureExtractor::apply | ( | core::DataSegment< float, 4 > & | xyzh, |
| std::vector< std::vector< int > > & | surfaces, | ||
| math::DynMatrix< bool > & | testMatrix, | ||
| float | euclideanDistance, | ||
| int | passes, | ||
| int | tolerance, | ||
| core::Img32s | labelImage, | ||
| std::vector< SurfaceFeatureExtractor::SurfaceFeature > | feature, | ||
| float | minAngle | ||
| ) |
Calculates the cutfree adjacency feature matrix with minimum angle constraint.
| xyzh | the xyzh DataSegment from the PointCloudObject class |
| surfaces | the vector of surface id vectors |
| testMatrix | the initial boolean test matrix (1 test, 0 dont test, preferably an adjacency matrix) |
| euclideanDistance | the maximum euclidean distance for RANSAC in mm |
| passes | the RANSAC passes |
| tolerance | the RANSAC tolerance in number of points (outlier) |
| labelImage | the label image |
| feature | the surface feature for the surfaces |
| minAngle | the minimum angle for combination |
|
private |
internal data type
internal data pointer
1.8.15