You are here: Start » FIL.NET » Invoke.SegmentSurface_Planes

Invoke.SegmentSurface_Planes

Segments a surface into planes.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void SegmentSurface_Planes
(
	Fil.Surface inSurface,
	Optional<Fil.Region> inRoi,
	int inCellWidth,
	Optional<int> inCellHeight,
	double inFlatnessNoiseLevel,
	int inMaxIterations,
	double inMaxAngleDeviation,
	double inMaxDistanceDeviation,
	float inMinCellCoverage,
	int inMinPlaneArea,
	List<Fil.Region> outPlaneRegions,
	List<Fil.Plane3D> outPlanes,
	Diagnostic<List<Fil.Region>> diagPlanarCells
)

Parameters

Name Type Range Default Description
inSurfaceFil.Surface
inRoiFtl.Optional<Fil.Region>Range of pixels to be processed. Default value: ftl::NIL.
inCellWidthint<2, INF>16Width of a single cell in the girds coordinate system. Default value: 16.
inCellHeightFtl.Optional<int><2, INF>Height of a single cell in the girds coordinate system. Default value: ftl::NIL.
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.List<Fil.Region>
outPlanesSystem.Collections.Generic.List<Fil.Plane3D>
diagPlanarCellsFil.Diagnostic<System.Collections.Generic.List<Fil.Region>>Computed planar cells.

See also