A parameter set for matching and down sampling point clouds. More...
#include <cvb/match_3d/match_3d.hpp>
Public Member Functions | |
MatchingParameters (std::size_t maxModelPoints, std::size_t maxScenePoints) noexcept | |
Create a parameter set to control the matching algorithm. More... | |
MatchingParameters (std::size_t maxModelPoints, std::size_t maxScenePoints, int maxIterations, double maxDistanceStdDev, double deltaThresholdRMS) noexcept | |
Create a parameter set to control the matching algorithm. More... | |
std::size_t | MaxModelPoints () const noexcept |
Gets maximum number of model points to use. More... | |
void | SetMaxModelPoints (std::size_t maxModelPoints) noexcept |
Sets maximum number of model points to use. More... | |
std::size_t | MaxScenePoints () const noexcept |
Gets maximum number of scene points to use. More... | |
void | SetMaxScenePoints (std::size_t maxScenePoints) noexcept |
Sets maximum number of scene points to use. More... | |
int | MaxIterations () const noexcept |
Gets maximum number of iterations to execute. More... | |
void | SetMaxIterations (int maxIterations) noexcept |
Sets maximum number of iterations to execute. More... | |
double | MaxDistanceStdDev () const noexcept |
Gets how far points are to be considered corresponding to a point. More... | |
void | SetMaxDistanceStdDev (double maxDistanceStdDev) noexcept |
Sets how far points are to be considered corresponding to a point. More... | |
double | DeltaThresholdRMS () const noexcept |
Gets the threshold for RMS to stop iteration. More... | |
void | SetDeltaThresholdRMS (double deltaThresholdRMS) noexcept |
Sets the threshold for RMS to stop iteration. More... | |
Friends | |
MatchingResult | MatchDownsampledPointClouds (const PointCloud &model, const PointCloud &scene, const MatchingParameters ¶meters) |
This function matches two point clouds. More... | |
A parameter set for matching and down sampling point clouds.
|
inlinenoexcept |
Create a parameter set to control the matching algorithm.
[in] | maxModelPoints | Maximum number of model points to use. |
[in] | maxScenePoints | Maximum number of scene points to use. |
Does | not throw any exception. |
|
inlinenoexcept |
Create a parameter set to control the matching algorithm.
[in] | maxModelPoints | Maximum number of model points to use. |
[in] | maxScenePoints | Maximum number of scene points to use. |
[in] | maxIterations | Maximum number of iterations to execute. |
[in] | maxDistanceStdDev | Defines how far points are to be considered corresponding to a point. |
[in] | deltaThresholdRMS | Threshold for RMS to stop iteration. |
Does | not throw any exception. |
|
inlinenoexcept |
Gets the threshold for RMS to stop iteration.
Does | not throw any exception. |
|
inlinenoexcept |
Gets how far points are to be considered corresponding to a point.
Does | not throw any exception. |
|
inlinenoexcept |
Gets maximum number of iterations to execute.
Does | not throw any exception. |
|
inlinenoexcept |
Gets maximum number of model points to use.
Does | not throw any exception. |
|
inlinenoexcept |
Gets maximum number of scene points to use.
Does | not throw any exception. |
|
inlinenoexcept |
Sets the threshold for RMS to stop iteration.
[in] | deltaThresholdRMS | The threshold. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets how far points are to be considered corresponding to a point.
[in] | maxDistanceStdDev | The maximum distance. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets maximum number of iterations to execute.
[in] | maxIterations | Number of iterations. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets maximum number of model points to use.
[in] | maxModelPoints | The maximum number of points. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets maximum number of scene points to use.
[in] | maxScenePoints | The maximum number of points. |
Does | not throw any exception. |
|
friend |
This function matches two point clouds.
[in] | model | First point cloud. |
[in] | scene | Second point cloud to be matched to model. |
[in] | parameters | Parameters that control the algorithm. |
Any | exception derived from std::exception including CvbException. |
This function matches two point clouds by the iterative closest point algorithm (ICP), see: The algorithm follows Arun KS, Huang TS, Blostein SD(1987) Least-squares fitting of two 3D point sets. IEEE Transactions on Pattern Analysis and Machine Intelligence 9:698-700.