Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Surface Features »
SurfaceToPlaneDistanceImage
SurfaceToPlaneDistanceImage
Computes the image of the distances of the input surface points from a given plane.
Syntax
C++
C#
void avl::SurfaceToPlaneDistanceImage
(
const avl::Surface& inSurface,
atl::Optional<const avl::Region&> inRoi,
const avl::Plane3D& inPlane,
float inResolution,
avl::Image& outDistanceImage
)
void SurfaceToPlaneDistanceImage
(
Surface inSurface,
Region? inRoi,
Plane3D inPlane,
float inResolution,
out Image outDistanceImage
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
|
inSurface |
const Surface& |
|
|
Input surface |
|
inRoi |
Optional<const Region&> |
|
NIL |
Range of pixels to be processed |
|
inPlane |
const Plane3D& |
|
|
Input plane |
|
inResolution |
float |
0.0 - |
1.0f |
Number of real-world units per one pixel |
|
outDistanceImage |
Image& |
|
|
|
Errors
Error type |
Description |
DomainError |
Indefinite plane on input in SurfaceToPlaneDistanceImage. |