You are here: Start » AVL.NET » Function Reference » Computer Vision » Segmentation 3D » AVL.SegmentSurface_PlanarCells
Computes a list of planar cells of a surface
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SegmentSurface_PlanarCells ( AvlNet.Surface inSurface, NullableRef<AvlNet.Region> inRoi, int inCellWidth, int? inCellHeight, double inFlatnessNoiseLevel, float inMinCellCoverage, IList<AvlNet.Region> outPlanarCells, IList<AvlNet.Segment3D> diagPlanarCellNormals, IList<AvlNet.Region> diagCellRegions )
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. | |
inMinCellCoverage | float | <0.0f, 1.0f> | 0.3f | Minimum percentage of valid points that a planar cell has to have. Default value: 0.3f. | |
outPlanarCells | System.Collections.Generic.IList<AvlNet.Region> | ||||
diagPlanarCellNormals | System.Collections.Generic.IList<AvlNet.Segment3D> | Segments representing the normals of computed cells,. | |||
diagCellRegions | System.Collections.Generic.IList<AvlNet.Region> | Regions of all both planar and non-planar cells. |
Function Overrides
- SegmentSurface_PlanarCells(Surface, Int32, Double, Single, IList<Region>)
- SegmentSurface_PlanarCells(Surface, NullableRef<Region>, Int32, Nullable<Int32>, Double, Single, IList<Region>)