MakeSurfaceFromImage
Creates a Surface structure from depth map mono image.
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.
Syntax
C++
C#
Python
def MakeSurfaceFromImage( inImage: Image, outSurface: Surface, /, *, inRoi: Region | None = None, inXOffset: float = 0.0, inXScale: float = 1.0, inYOffset: float = 0.0, inYScale: float = 1.0, inZOffset: float = 0.0, inZScale: float = 1.0 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Source mono image with depth map | ||
![]() |
inRoi | Region | None | None | Region determining valid points in resulting Surface | |
![]() |
inXOffset | float | 0.0 | ||
![]() |
inXScale | float | 0.000001D - ![]() |
1.0 | |
![]() |
inYOffset | float | 0.0 | ||
![]() |
inYScale | float | 0.000001D - ![]() |
1.0 | |
![]() |
inZOffset | float | 0.0 | ||
![]() |
inZScale | float | 0.000001D - ![]() |
1.0 | |
![]() |
outSurface | Surface |



