Point3DGridHole


Finds a biggest hole in a given section of point cloud.

Syntax

C++
C#
Python
 
def Point3DGridHole(
	inPointGrid: Point3DGrid,
	inIterationCount: int,
	/,
	*,
	inRoi: Region | None = None,
	inPlaneOutlierSuppression: MEstimator = MEstimator.Huber,
	inClippingFactor: float = 2.5,
	inInitialPlane: Plane3D | None = None
)
-> (
	outHoleRegion: Region | None,
	outHoleCenter: Point3D | None,
	outPlane: Plane3D,
	outInliers: list[Point3D],
	outDistances: list[float],
	outSignedDistanceSum: float,
	outDistanceSum: float,
	outSquaredDistances: list[float],
	outSquaredDistanceSum: float
)

Parameters

Name Type Range Default Description
Input value inPointGrid Point3DGrid
Input value inRoi Region | None None Range of pixels to be processed
Input value inPlaneOutlierSuppression MEstimator MEstimator.Huber
Input value inClippingFactor float 0.675 - 6.0 2.5 Multitude of standard deviation within which points are considered inliers
Input value inIterationCount int 0 - Number of iterations of outlier suppressing algorithm
Input value inInitialPlane Plane3D | None None Initial approximation of a plane (if available)
Output value outHoleRegion Region | None Region of the found hole
Output value outHoleCenter Point3D | None Center of the found hole
Output value outPlane Plane3D
Output value outInliers list[Point3D] Points matching the computed plane
Output value outDistances list[float] Distances of the input points to a resulting plane
Output value outSignedDistanceSum float Sum of signed distances of the input points to a resulting plane
Output value outDistanceSum float Sum of distances of the input points to a resulting plane
Output value outSquaredDistances list[float] Squared distances of the input points to a resulting plane
Output value outSquaredDistanceSum float Sum of squared distances of the input points to a resulting plane