Functions to calculate the distance and transformation between two point clouds. More...
Data Structures | |
| struct | CVM3DMatchParameters |
| Controls CVM3DMatchDownsampledPointClouds. More... | |
Functions | |
| cvbres_t | CVM3DMatchDownsampledPointClouds (CVCOMPOSITE PointCloudModel, cvbint64_t MaxModelPoints, CVCOMPOSITE PointCloudScene, cvbint64_t MaxScenePoints, const CVM3DMatchParameters &MatchParameter, double &FinalRmsDistance, cvbval_t &NumIterationsNeeded, CVC3DTransformation &Transformation) |
| This function matches the PointCloudScene to PointCloudModel. More... | |
| cvbres_t | CVM3DMatchPointCloudsAdvanced (CVCOMPOSITE PointCloudModel, cvbint64_t MaxModelPoints, CVCOMPOSITE PointCloudScene, cvbint64_t MaxScenePoints, const CVM3DMatchExtendedParameters &MatchParameters, double &FinalNorm, cvbval_t &NumIterationsNeeded, CVC3DTransformation &Transformation) |
| This function matches the PointCloudScene to PointCloudModel. More... | |
| cvbres_t | CVM3DRmsDistanceOfPointClouds (CVCOMPOSITE PointCloudModel, CVCOMPOSITE PointCloudScene, double &RmsDistance) |
| This function approximates the root mean square of distances between PointCloudModel and PointCloudScene. More... | |
Functions to calculate the distance and transformation between two point clouds.
| cvbres_t CVM3DMatchDownsampledPointClouds | ( | CVCOMPOSITE | PointCloudModel, |
| cvbint64_t | MaxModelPoints, | ||
| CVCOMPOSITE | PointCloudScene, | ||
| cvbint64_t | MaxScenePoints, | ||
| const CVM3DMatchParameters & | MatchParameter, | ||
| double & | FinalRmsDistance, | ||
| cvbval_t & | NumIterationsNeeded, | ||
| CVC3DTransformation & | Transformation | ||
| ) |
This function matches the PointCloudScene to PointCloudModel.
If MaxModelPoints and/or MaxScenePoints points are lower than the actual number of points in the model/scene point cloud, the point clouds are downsampled by randomly removing points.
| [in] | PointCloudModel | First point cloud. |
| [in] | MaxModelPoints | Maximum number of model points to use. |
| [in] | PointCloudScene | Second point cloud to be matched to model. |
| [in] | MaxScenePoints | Maximum number of scene points to use. |
| [in] | MatchParameter | Parameters that control the algorithm. |
| [out] | FinalRmsDistance | Final root mean square of distances between model and scene. |
| [out] | NumIterationsNeeded | Number of iterations needed. |
| [out] | Transformation | Affine transformation (rotation matrix and translation vector) which maps the scene to the model. |
| cvbres_t CVM3DMatchPointCloudsAdvanced | ( | CVCOMPOSITE | PointCloudModel, |
| cvbint64_t | MaxModelPoints, | ||
| CVCOMPOSITE | PointCloudScene, | ||
| cvbint64_t | MaxScenePoints, | ||
| const CVM3DMatchExtendedParameters & | MatchParameters, | ||
| double & | FinalNorm, | ||
| cvbval_t & | NumIterationsNeeded, | ||
| CVC3DTransformation & | Transformation | ||
| ) |
This function matches the PointCloudScene to PointCloudModel.
If MaxModelPoints and/or MaxScenePoints points are lower than the actual number of points in the model/scene point cloud, the point clouds are downsampled by randomly removing points.
| [in] | PointCloudModel | First point cloud. |
| [in] | MaxModelPoints | Maximum number of model points to use. |
| [in] | PointCloudScene | Second point cloud to be matched to model. |
| [in] | MaxScenePoints | Maximum number of scene points to use. |
| [in] | MatchParameter | Parameters that control the algorithm. |
| [out] | FinalNorm | Normed distance when the matching ended |
| [out] | NumIterationsNeeded | Number of iterations needed. |
| [out] | Transformation | Affine transformation (rotation matrix and translation vector) which maps the scene to the model. |
| cvbres_t CVM3DRmsDistanceOfPointClouds | ( | CVCOMPOSITE | PointCloudModel, |
| CVCOMPOSITE | PointCloudScene, | ||
| double & | RmsDistance | ||
| ) |
This function approximates the root mean square of distances between PointCloudModel and PointCloudScene.
Matches the points from PointCloudModel to PointCloudScene via nearest neighbor search using the __L__2 norm.
| [in] | PointCloudModel | First point cloud. |
| [in] | PointCloudScene | Second point cloud. |
| [out] | RmsDistance | Variable to receive the RMS of distances. |