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
Input value inImage Image Source mono image with depth map
Input value inRoi Region | None None Region determining valid points in resulting Surface
Input value inXOffset float 0.0
Input value inXScale float 0.000001D - 1.0
Input value inYOffset float 0.0
Input value inYScale float 0.000001D - 1.0
Input value inZOffset float 0.0
Input value inZScale float 0.000001D - 1.0
Output value outSurface Surface