Back to Aurora Vision Library website
You are here: Start » Function Reference » Surface » Surface Features » SurfaceMedian
SurfaceMedian
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DStandard |
Finds the median Z coordinate of the surface points.
Syntax
C++
C#
void avl::SurfaceMedian ( const avl::Surface& inSurface, atl::Optional<const avl::Region&> inRoi, float& outMedian )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inSurface | const Surface& | Input surface | ||
inRoi | Optional<const Region&> | NIL | Region of interest | |
outMedian | float& | Median Z coordinate of the surface points |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | No valid point in given region in SurfaceMedian. |
DomainError | Region of interest exceeds an input surface in SurfaceMedian. |