Back to Aurora Vision Library website
You are here: Start » Function Reference » Computer Vision » Segmentation 3D » SegmentSurface_Planes
SegmentSurface_Planes
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Segments a surface into planes.
Syntax
C++
C#
void avl::SegmentSurface_Planes ( const avl::Surface& inSurface, atl::Optional<const avl::Region&> inRoi, const int inCellWidth, atl::Optional<int> inCellHeight, const double inFlatnessNoiseLevel, int inMaxIterations, const double inMaxAngleDeviation, const double inMaxDistanceDeviation, const float inMinCellCoverage, const int inMinPlaneArea, atl::Array<avl::Region>& outPlaneRegions, atl::Array<avl::Plane3D>& outPlanes, atl::Array<avl::Region>& diagPlanarCells )
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 | ||
inMaxIterations | int | 1 - | 1000 | ||
inMaxAngleDeviation | const double | 0.0 - 90.0 | 15.0D | ||
inMaxDistanceDeviation | const double | 0.0 - | 0.1D | ||
inMinCellCoverage | const float | 0.0 - 1.0 | 0.3f | Minimum percentage of valid points that a planar cell has to have | |
inMinPlaneArea | const int | 1 - + | 1 | Minimum number of pixels for a single plane | |
outPlaneRegions | Array<Region>& | ||||
outPlanes | Array<Plane3D>& | ||||
diagPlanarCells | Array<Region>& | Computed planar cells |