You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inSurface | Avl.Surface | Input surface. | ||
![]() | inPixelType | Avl.PlainType | Real | Output image pixel type. Default value: Real. | |
![]() | inResampleSurfaceMode | Avl.ResampleSurfaceMode | |||
![]() | inXOffset | Atl.Optional<double> | Offset for the X axis of the output image; if set to Nil, surface X offset is chosen. Default value: atl::NIL. | ||
![]() | inYOffset | Atl.Optional<double> | Offset for the Y axis of the output image; if set to Nil, surface Y offset is chosen. Default value: atl::NIL. | ||
![]() | inPixelOffset | Atl.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. | ||
![]() | inPixelScale | Atl.Optional<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 | Atl.Optional<float> | 0.0f | Value assigned to pixels where point is undefined. Default value: 0.0f. | |
![]() | outImage | Avl.Image | Input surface depth image. | ||
![]() | outSurfaceFormat | Atl.Optional<Avl.SurfaceFormat> | Format of the surface that the output image represents. |