cloudViewer.pipelines.registration.CorrespondenceCheckerBasedOnDistance#
- class cloudViewer.pipelines.registration.CorrespondenceCheckerBasedOnDistance#
Class to check if aligned point clouds are close (less than specified threshold).
- Check(self, source, target, corres, transformation)#
Function to check if two points can be aligned. The two input point clouds must have exact the same number of points.
- Parameters:
source (cloudViewer.geometry.ccPointCloud) – Source point cloud.
target (cloudViewer.geometry.ccPointCloud) – Target point cloud.
corres (cloudViewer.utility.Vector2iVector) – Correspondence set between source and target point cloud.
transformation (Annotated[numpy.typing.ArrayLike, numpy.float64,) – The estimated transformation (inplace).
- Returns:
bool
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: cloudViewer.pipelines.registration.CorrespondenceCheckerBasedOnDistance, arg0: cloudViewer.pipelines.registration.CorrespondenceCheckerBasedOnDistance) -> None
Copy constructor
__init__(self: cloudViewer.pipelines.registration.CorrespondenceCheckerBasedOnDistance, distance_threshold: typing.SupportsFloat) -> None
- property distance_threshold#
Distance threshold for the check.
- property require_pointcloud_alignment_#
Some checkers do not require point clouds to be aligned, e.g., the edge length checker. Some checkers do, e.g., the distance checker.