Back to Aurora Vision Library website
You are here: Start » Function Reference » Computer Vision » Segmentation 3D » SegmentSurface_PlanarCells
![](../../img/icon/3D.png)
SegmentSurface_PlanarCells
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Computes a list of planar cells of a surface
Syntax
C++
C#
void avl::SegmentSurface_PlanarCells ( const avl::Surface& inSurface, atl::Optional<const avl::Region&> inRoi, const int inCellWidth, atl::Optional<int> inCellHeight, const double inFlatnessNoiseLevel, const float inMinCellCoverage, atl::Array<avl::Region>& outPlanarCells, atl::Array<avl::Segment3D>& diagPlanarCellNormals, atl::Array<avl::Region>& diagCellRegions )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inSurface | const Surface& | |||
![]() |
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed | |
![]() |
inCellWidth | const int | 2 - ![]() |
16 | Width of a single cell in the girds coordinate system |
![]() |
inCellHeight | Optional<int> | 2 - ![]() |
NIL | Height of a single cell in the girds coordinate system |
![]() |
inFlatnessNoiseLevel | const double | 0.0 - 1.0 | 0.04D | |
![]() |
inMinCellCoverage | const float | 0.0 - 1.0 | 0.3f | Minimum percentage of valid points that a planar cell has to have |
![]() |
outPlanarCells | Array<Region>& | |||
![]() |
diagPlanarCellNormals | Array<Segment3D>& | Segments representing the normals of computed cells, | ||
![]() |
diagCellRegions | Array<Region>& | Regions of all both planar and non-planar cells |