Back to Adaptive Vision Library website
You are here: Start » Function Reference » Surface Basics » MakeSurfaceFromImage
MakeSurfaceFromImage
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Creates a Surface structure from depth map mono image.
Header: | AVL.h |
---|
Syntax
void avl::MakeSurfaceFromImage ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, double inXOffset, double inXScale, double inYOffset, double inYScale, double inZOffset, double inZScale, avl::Surface& outSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | const Image& | Source mono image with depth map | |||
inRoi | Optional<const Region&> | NIL | Region determining valid points in resulting Surface | ||
inXOffset | double | 0.0D | |||
inXScale | double | 0.000001 - | 1.0D | ||
inYOffset | double | 0.0D | |||
inYScale | double | 0.000001 - | 1.0D | ||
inZOffset | double | 0.0D | |||
inZScale | double | 0.000001 - | 1.0D | ||
outSurface | Surface& |
Requirements
For input inImage only pixel formats are supported: 1xuint8, 1xint8, 1xuint16, 1xint16, 1xint32, 1xreal.
Read more about pixel formats in Image documentation.
Errors
Error type | Description |
---|---|
DomainError | Not a mono image on input of MakeSurfaceFromImage. |