You are here: Start » AVL.NET » Function Reference » Image » Image Basics » AVL.CreateImageFromSurface_AnyScales
Creates a depth image from the Z-values of the input surface.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateImageFromSurface_AnyScales ( AvlNet.Surface inSurface, AvlNet.PlainType inPixelType, double? inXOffset, double? inXScale, double? inYOffset, double? inYScale, double? inPixelOffset, double? inPixelScale, float? inMissingPointValue, AvlNet.Image outImage, INullable<AvlNet.SurfaceFormat> outSurfaceFormat )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | Input surface. | |||
inPixelType | AvlNet.PlainType | Real | Output image pixel type. Default value: Real. | ||
inXOffset | double? | Offset for the X axis of the output image; if set to Nil, surface X offset is chosen. Default value: atl::NIL. | |||
inXScale | double? | <0.000001, INF> | Scale for the X axis of the output image; if set to Nil, surface X scale is chosen. Default value: atl::NIL. | ||
inYOffset | double? | Offset for the Y axis of the output image; if set to Nil, surface Y offset is chosen. Default value: atl::NIL. | |||
inYScale | double? | <0.000001, INF> | Scale for the Y axis of the output image; if set to Nil, surface Y scale is chosen. Default value: atl::NIL. | ||
inPixelOffset | 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. | |||
inPixelScale | double? | <0.0, INF> | 1.0D | Scale that the input surface values have in the output image; if set to Nil, surface Z scale is chosen. Default value: 1.0D. | |
inMissingPointValue | float? | 0.0f | Value assigned to pixels where point is undefined. Default value: 0.0f. | ||
outImage | AvlNet.Image | Input surface depth image. | |||
outSurfaceFormat | AvlNet.INullable<AvlNet.SurfaceFormat> | Format of the surface that the output image represents. Can be null to skip this parameter calculation. |
Function Overrides
- CreateImageFromSurface_AnyScales(Surface, PlainType, Image)
- CreateImageFromSurface_AnyScales(Surface, PlainType, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Single>, Image)