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

AVL.SegmentSurface_Planes

Segments a surface into planes.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SegmentSurface_Planes
(
	AvlNet.Surface inSurface,
	int inCellWidth,
	double inFlatnessNoiseLevel,
	int inMaxIterations,
	double inMaxAngleDeviation,
	double inMaxDistanceDeviation,
	float inMinCellCoverage,
	int inMinPlaneArea,
	IList<AvlNet.Region> outPlaneRegions,
	IList<AvlNet.Plane3D> outPlanes
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.Surface
inCellWidthint<2, INF>16Width of a single cell in the girds coordinate system. Default value: 16.
inFlatnessNoiseLeveldouble<0.0, 1.0>0.04DDefault value: 0.04D.
inMaxIterationsint<1, INF>1000Default value: 1000.
inMaxAngleDeviationdouble<0.0, 90.0>15.0DDefault value: 15.0D.
inMaxDistanceDeviationdouble<0.0, INF>0.1DDefault value: 0.1D.
inMinCellCoveragefloat<0.0f, 1.0f>0.3fMinimum percentage of valid points that a planar cell has to have. Default value: 0.3f.
inMinPlaneAreaint<1, +INF>1Minimum number of pixels for a single plane. Default value: 1.
outPlaneRegionsSystem.Collections.Generic.IList<AvlNet.Region>
outPlanesSystem.Collections.Generic.IList<AvlNet.Plane3D>

Function Overrides

See also