You are here: Start » AVL.NET » Invoke.CreateImageFromSurface

Invoke.CreateImageFromSurface

Creates a depth image from the Z-values of the input surface.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateImageFromSurface
(
	Avl.Surface inSurface,
	Avl.PlainType inPixelType,
	Avl.ResampleSurfaceMode inResampleSurfaceMode,
	Optional<double> inXOffset,
	Optional<double> inYOffset,
	Optional<double> inPixelOffset,
	Optional<double> inPixelScale,
	Optional<float> inMissingPointValue,
	Avl.Image outImage,
	Optional<Avl.SurfaceFormat> outSurfaceFormat
)

Parameters

Name Type Range Default Description
inSurfaceAvl.SurfaceInput surface.
inPixelTypeAvl.PlainTypeRealOutput image pixel type. Default value: Real.
inResampleSurfaceModeAvl.ResampleSurfaceMode
inXOffsetAtl.Optional<double>Offset for the X axis of the output image; if set to Nil, surface X offset is chosen. Default value: atl::NIL.
inYOffsetAtl.Optional<double>Offset for the Y axis of the output image; if set to Nil, surface Y offset is chosen. Default value: atl::NIL.
inPixelOffsetAtl.Optional<double>Offset that the input surface values have in the output image; if set to Nil, surface Z offset is chosen. Default value: atl::NIL.
inPixelScaleAtl.Optional<double><0.0, INF>1.0DScale that the input surface values have in the output image; if set to Nil, surface Z scale is chosen. Default value: 1.0D.
inMissingPointValueAtl.Optional<float>0.0fValue assigned to pixels where point is undefined. Default value: 0.0f.
outImageAvl.ImageInput surface depth image.
outSurfaceFormatAtl.Optional<Avl.SurfaceFormat>Format of the surface that the output image represents.

See also