You are here: Start » AVL.NET » AVL.MakeSurfaceFromImage

AVL.MakeSurfaceFromImage

Creates a Surface structure from depth map mono image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void MakeSurfaceFromImage
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	double inXOffset,
	double inXScale,
	double inYOffset,
	double inYScale,
	double inZOffset,
	double inZScale,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageSource mono image with depth map.
inRoiAvlNet.NullableRef<AvlNet.Region>Region determining valid points in resulting Surface. Default value: atl::NIL.
inXOffsetdouble0.0DDefault value: 0.0D.
inXScaledouble<0.000001, INF>1.0DDefault value: 1.0D.
inYOffsetdouble0.0DDefault value: 0.0D.
inYScaledouble<0.000001, INF>1.0DDefault value: 1.0D.
inZOffsetdouble0.0DDefault value: 0.0D.
inZScaledouble<0.000001, INF>1.0DDefault value: 1.0D.
outSurfaceAvlNet.Surface

This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Errors

List of possible exceptions:

Error type Description
DomainError Not a mono image on input of MakeSurfaceFromImage.
DomainError Not supported inImage pixel format in MakeSurfaceFromImage. Supported formats: 1xUInt8, 1xInt8, 1xUInt16, 1xInt16, 1xInt32, 1xReal.

Function Overrides

See also