You are here: Start » AVL.NET » Function Reference » Computer Vision » Segmentation 3D » 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, NullableRef<AvlNet.Region> inRoi, int inCellWidth, int? inCellHeight, double inFlatnessNoiseLevel, int inMaxIterations, double inMaxAngleDeviation, double inMaxDistanceDeviation, float inMinCellCoverage, int inMinPlaneArea, IList<AvlNet.Region> outPlaneRegions, IList<AvlNet.Plane3D> outPlanes, IList<AvlNet.Region> diagPlanarCells )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | ||||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | |||
inCellWidth | int | <2, INF> | 16 | Width of a single cell in the girds coordinate system. Default value: 16. | |
inCellHeight | int? | <2, INF> | Height of a single cell in the girds coordinate system. Default value: atl::NIL. | ||
inFlatnessNoiseLevel | double | <0.0, 1.0> | 0.04D | Default value: 0.04D. | |
inMaxIterations | int | <1, INF> | 1000 | Default value: 1000. | |
inMaxAngleDeviation | double | <0.0, 90.0> | 15.0D | Default value: 15.0D. | |
inMaxDistanceDeviation | double | <0.0, INF> | 0.1D | Default value: 0.1D. | |
inMinCellCoverage | float | <0.0f, 1.0f> | 0.3f | Minimum percentage of valid points that a planar cell has to have. Default value: 0.3f. | |
inMinPlaneArea | int | <1, +INF> | 1 | Minimum number of pixels for a single plane. Default value: 1. | |
outPlaneRegions | System.Collections.Generic.IList<AvlNet.Region> | ||||
outPlanes | System.Collections.Generic.IList<AvlNet.Plane3D> | ||||
diagPlanarCells | System.Collections.Generic.IList<AvlNet.Region> | Computed planar cells. |
Function Overrides
- SegmentSurface_Planes(Surface, Int32, Double, Int32, Double, Double, Single, Int32, IList<Region>, IList<Plane3D>)
- SegmentSurface_Planes(Surface, NullableRef<Region>, Int32, Nullable<Int32>, Double, Int32, Double, Double, Single, Int32, IList<Region>, IList<Plane3D>)