Back to Aurora Vision Library website

You are here: Start » Function Reference » Computer Vision » Segmentation 3D » SegmentPoint3DGrid_Planes

SegmentPoint3DGrid_Planes


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Segments a point cloud into planes.

Syntax

C++
C#
 
void avl::SegmentPoint3DGrid_Planes
(
	const avl::Point3DGrid& inPointCloud,
	const float inCellSize,
	const double inFlatnessNoiseLevel,
	int inMaxIterations,
	const float inMaxAngleDeviation,
	const float inMaxDistanceDeviation,
	atl::Array<atl::Array<avl::Point3D>>& outPlanePoints,
	atl::Array<avl::Plane3D>& outPlanes,
	atl::Array<atl::Array<avl::Point3D>>& diagPlanarCells
)

Parameters

Name Type Range Default Description
Input value inPointCloud const Point3DGrid&
Input value inCellSize const float 2.0 - 16.0f Size of a single cell in the real coordinate system
Input value inFlatnessNoiseLevel const double 0.0 - 1.0 0.04D
Input value inMaxIterations int 1 - 1000
Input value inMaxAngleDeviation const float 0.0 - 90.0 15.0f
Input value inMaxDistanceDeviation const float 0.0 - 0.1f
Output value outPlanePoints Array<Array<Point3D>>&
Output value outPlanes Array<Plane3D>&
Diagnostic input diagPlanarCells Array<Array<Point3D>>& Computed planar cells