Back to FabImage Library website

You are here: Start » Function Reference » Computer Vision » Segmentation 3D » SegmentPoint3DGrid_PlanarCells

SegmentPoint3DGrid_PlanarCells


Header: FIL.h
Namespace: fil
Module: FoundationBasic

Computes a list of planar cells of a point cloud

Syntax

C++
C#
 
void fil::SegmentPoint3DGrid_PlanarCells
(
	const fil::Point3DGrid& inPointCloud,
	const float inCellSize,
	const double inFlatnessNoiseLevel,
	ftl::Array<ftl::Array<fil::Point3D>>& outPlanarCells,
	ftl::Array<fil::Segment3D>& diagPlanarCellNormals,
	ftl::Array<fil::Box3D>& diagPlanarCellBoxes
)

Parameters

Name Type Range Default Description
Input value
inPointCloud const Point3DGrid&
Input value
inCellSize const float 2.0 - 16.0f Size of a single cell in the real coordinate system
Input value
inFlatnessNoiseLevel const double 0.0 - 1.0 0.04D
Output value
outPlanarCells Array<Array<Point3D>>&
Diagnostic input
diagPlanarCellNormals Array<Segment3D>& Segments representing the normals of computed cells
Diagnostic input
diagPlanarCellBoxes Array<Box3D>& Bounding boxes of planar cells