Open3D (C++ API)
0.19.0
|
Check if two point clouds build the polygons with similar edge lengths. More...
#include <CorrespondenceChecker.h>
Public Member Functions | |
CorrespondenceCheckerBasedOnEdgeLength (double similarity_threshold=0.9) | |
Default Constructor. More... | |
~CorrespondenceCheckerBasedOnEdgeLength () override | |
bool | Check (const geometry::PointCloud &source, const geometry::PointCloud &target, const CorrespondenceSet &corres, const Eigen::Matrix4d &transformation) const override |
Function to check if two points can be aligned. More... | |
![]() | |
CorrespondenceChecker (bool require_pointcloud_alignment) | |
Default Constructor. More... | |
virtual | ~CorrespondenceChecker () |
Data Fields | |
double | similarity_threshold_ |
![]() | |
bool | require_pointcloud_alignment_ |
Check if two point clouds build the polygons with similar edge lengths.
That is, checks if the lengths of any two arbitrary edges (line formed by two vertices) individually drawn withinin source point cloud and within the target point cloud with correspondences are similar. The only parameter similarity_threshold is a number between 0 (loose) and 1 (strict).
|
inline |
Default Constructor.
similarity_threshold | specifies the threshold within which 2 arbitrary edges are similar. |
|
inlineoverride |
|
overridevirtual |
Function to check if two points can be aligned.
source | Source point cloud. |
target | Target point cloud. |
corres | Correspondence set between source and target point cloud. |
transformation | The estimated transformation (inplace). |
Implements open3d::pipelines::registration::CorrespondenceChecker.
double open3d::pipelines::registration::CorrespondenceCheckerBasedOnEdgeLength::similarity_threshold_ |
For the check to be true, ||edgesource||>similarity_threshold×||edgetarget|| and ||edgetarget||>similarity_threshold×||edgesource|| must hold true for all edges.