Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Surface Basics » MakeSurfaceFromImage

MakeSurfaceFromImage


Creates a Surface structure from depth map mono image.

Name Type Range Description
inImage Image Source mono image with depth map
inRoi Region* Region determining valid points in resulting Surface
inXOffset Double
inXScale Double
inYOffset Double
inYScale Double
inZOffset Double
inZScale Double
outSurface Surface

Requirements

For input inImage only pixel formats are supported: 1⨯uint8, 1⨯int8, 1⨯uint16, 1⨯int16, 1⨯int32, 1⨯real.

Read more about pixel formats in Image documentation.

Applications

Creating Surface structure out of depth map image obtained from a 3D depth camera or other external sources using 2D images to transfer depth map data.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not a mono image on input of MakeSurfaceFromImage.
DomainError Not supported inImage pixel format in MakeSurfaceFromImage.

Complexity Level

This filter is available on Basic Complexity Level.