You are here: Start » AVL.NET » Function Reference » Surface » Surface Basics » AVL.CreateSurfaceFromImage
Creates a Surface structure from coordinates encoded in pixels of an image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateSurfaceFromImage ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, AvlNet.PointCloudCoordinateTransform inXCoordinateTransform, AvlNet.PointCloudCoordinateTransform inYCoordinateTransform, AvlNet.PointCloudCoordinateTransform inZCoordinateTransform, AvlNet.OutputSurfaceFormat inCreatedSurfaceFormat, AvlNet.Surface outSurface, AvlNet.Region diagSurfaceValidPointsRegion, AvlNet.Point3DGrid diagPoint3DGrid )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Source image with per pixel encoded XYZ coordinates. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region determining valid points in resulting point grid. Default value: atl::NIL. | |||
inXCoordinateTransform | AvlNet.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 | AvlNet.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 | AvlNet.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 | AvlNet.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 | AvlNet.Surface | ||||
diagSurfaceValidPointsRegion | AvlNet.Region | Region of locations where the surface points are valid. | |||
diagPoint3DGrid | AvlNet.Point3DGrid | Points decoded before arranging them into Surface. |
Description
The operation creates a point cloud object based on the input point image. It can be thought of as a combination of two operations: CreatePoint3DGridFromImage and ArrangePoint3DArray.
Function Overrides
- CreateSurfaceFromImage(Image, PointCloudCoordinateTransform, PointCloudCoordinateTransform, PointCloudCoordinateTransform, OutputSurfaceFormat, Surface)
- CreateSurfaceFromImage(Image, NullableRef<Region>, PointCloudCoordinateTransform, PointCloudCoordinateTransform, PointCloudCoordinateTransform, OutputSurfaceFormat, Surface)