Back to Aurora Vision Library website

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

SegmentSurface_Planes


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Segments a surface into planes.

Syntax

C++
C#
 
void avl::SegmentSurface_Planes
(
	const avl::Surface& inSurface,
	atl::Optional<const avl::Region&> inRoi,
	const int inCellWidth,
	atl::Optional<int> inCellHeight,
	const double inFlatnessNoiseLevel,
	int inMaxIterations,
	const double inMaxAngleDeviation,
	const double inMaxDistanceDeviation,
	const float inMinCellCoverage,
	const int inMinPlaneArea,
	atl::Array<avl::Region>& outPlaneRegions,
	atl::Array<avl::Plane3D>& outPlanes,
	atl::Array<avl::Region>& diagPlanarCells
)

Parameters

Name Type Range Default Description
Input value inSurface const Surface&
Input value inRoi Optional<const Region&> NIL Range of pixels to be processed
Input value inCellWidth const int 2 - 16 Width of a single cell in the girds coordinate system
Input value inCellHeight Optional<int> 2 - NIL Height of a single cell in the girds coordinate system
Input value inFlatnessNoiseLevel const double 0.0 - 1.0 0.04D
Input value inMaxIterations int 1 - 1000
Input value inMaxAngleDeviation const double 0.0 - 90.0 15.0D
Input value inMaxDistanceDeviation const double 0.0 - 0.1D
Input value inMinCellCoverage const float 0.0 - 1.0 0.3f Minimum percentage of valid points that a planar cell has to have
Input value inMinPlaneArea const int 1 - + 1 Minimum number of pixels for a single plane
Output value outPlaneRegions Array<Region>&
Output value outPlanes Array<Plane3D>&
Diagnostic input diagPlanarCells Array<Region>& Computed planar cells