You are here: Start » AVL.NET » Invoke.CreateSurfaceFromImage
Creates a Surface structure from coordinates encoded in pixels of an image.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateSurfaceFromImage ( Avl.Image inImage, Optional<Avl.Region> inRoi, Avl.PointCloudCoordinateTransform inXCoordinateTransform, Avl.PointCloudCoordinateTransform inYCoordinateTransform, Avl.PointCloudCoordinateTransform inZCoordinateTransform, Avl.OutputSurfaceFormat inCreatedSurfaceFormat, Avl.Surface outSurface, Diagnostic<Avl.Region> diagSurfaceValidPointsRegion, Diagnostic<Avl.Point3DGrid> diagPoint3DGrid )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Source image with per pixel encoded XYZ coordinates. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Region determining valid points in resulting point grid. Default value: atl::NIL. | ||
![]()  | inXCoordinateTransform | Avl.PointCloudCoordinateTransform | PointCloudCoordinateTransform ( Offset: 0.000000D ValueCoordinateTransform: ImageValueCoordinateTransform( ChannelIndex: 0 Scale: 1.0D InvalidValues: Nil ) LocationCoordinateTransform: Nil Limits: ValueLimits_f64( MinValue: Nil, MaxValue: Nil ) ) | Description of the creation of the X coordinate. Default value: PointCloudCoordinateTransform ( Offset: 0.000000D ValueCoordinateTransform: ImageValueCoordinateTransform( ChannelIndex: 0 Scale: 1.0D InvalidValues: Nil ) LocationCoordinateTransform: Nil Limits: ValueLimits_f64( MinValue: Nil, MaxValue: Nil ) ). | |
![]()  | inYCoordinateTransform | Avl.PointCloudCoordinateTransform | PointCloudCoordinateTransform ( Offset: 0.000000D ValueCoordinateTransform: ImageValueCoordinateTransform( ChannelIndex: 1 Scale: 1.0D InvalidValues: Nil ) LocationCoordinateTransform: Nil Limits: ValueLimits_f64( MinValue: Nil, MaxValue: Nil ) ) | Description of the creation of the Y coordinate. Default value: PointCloudCoordinateTransform ( Offset: 0.000000D ValueCoordinateTransform: ImageValueCoordinateTransform( ChannelIndex: 1 Scale: 1.0D InvalidValues: Nil ) LocationCoordinateTransform: Nil Limits: ValueLimits_f64( MinValue: Nil, MaxValue: Nil ) ). | |
![]()  | inZCoordinateTransform | Avl.PointCloudCoordinateTransform | PointCloudCoordinateTransform ( Offset: 0.000000D ValueCoordinateTransform: ImageValueCoordinateTransform( ChannelIndex: 2 Scale: 1.0D InvalidValues: Nil ) LocationCoordinateTransform: Nil Limits: ValueLimits_f64( MinValue: Nil, MaxValue: Nil ) ) | Description of the creation of the Z coordinate. Default value: PointCloudCoordinateTransform ( Offset: 0.000000D ValueCoordinateTransform: ImageValueCoordinateTransform( ChannelIndex: 2 Scale: 1.0D InvalidValues: Nil ) LocationCoordinateTransform: Nil Limits: ValueLimits_f64( MinValue: Nil, MaxValue: Nil ) ). | |
![]()  | inCreatedSurfaceFormat | Avl.OutputSurfaceFormat | OutputSurfaceFormat ( XScale: 1.000000D YScale: 1.000000D ZScale: 1.000000D ZOffset: 0.000000D PointType: UInt16 MultipointHeight: Mean ) | Parameters for arranging points into Surface. Default value: OutputSurfaceFormat ( XScale: 1.000000D YScale: 1.000000D ZScale: 1.000000D ZOffset: 0.000000D PointType: UInt16 MultipointHeight: Mean ). | |
![]()  | outSurface | Avl.Surface | |||
![]()  | diagSurfaceValidPointsRegion | Avl.Diagnostic<Avl.Region> | Region of locations where the surface points are valid. | ||
![]()  | diagPoint3DGrid | Avl.Diagnostic<Avl.Point3DGrid> | Points decoded before arranging them into Surface. | 



