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

Invoke.CreateImageFromSurface

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

Namespace:Fil
Assembly:FilNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inSurfaceFil.SurfaceInput surface.
inPixelTypeFil.PlainTypeRealOutput image pixel type. Default value: Real.
inResampleSurfaceModeFil.ResampleSurfaceMode
inXOffsetFtl.Optional<double>Offset for the X axis of the output image; if set to Nil, surface X offset is chosen. Default value: ftl::NIL.
inYOffsetFtl.Optional<double>Offset for the Y axis of the output image; if set to Nil, surface Y offset is chosen. Default value: ftl::NIL.
inPixelOffsetFtl.Optional<double>Offset that the input surface values have in the output image; if set to Nil, surface Z offset is chosen. Default value: ftl::NIL.
inPixelScaleFtl.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.
inMissingPointValueFtl.Optional<float>0.0fValue assigned to pixels where point is undefined. Default value: 0.0f.
outImageFil.ImageInput surface depth image.
outSurfaceFormatFtl.Optional<Fil.SurfaceFormat>Format of the surface that the output image represents.

See also