You are here: Start » AVL.NET » AVS.CreateSurfaceFromImage Method

AVS.CreateSurfaceFromImage Method

Creates a Surface structure from coordinates encoded in pixels of an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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
inImageAvlNet.ImageSource image with per pixel encoded XYZ coordinates.
inRoiAvlNet.NullableRef<AvlNet.Region>Region determining valid points in resulting point grid. Default value: atl::NIL.
inXCoordinateTransformAvlNet.PointCloudCoordinateTransformPointCloudCoordinateTransform ( 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 ) ).
inYCoordinateTransformAvlNet.PointCloudCoordinateTransformPointCloudCoordinateTransform ( 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 ) ).
inZCoordinateTransformAvlNet.PointCloudCoordinateTransformPointCloudCoordinateTransform ( 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 ) ).
inCreatedSurfaceFormatAvlNet.OutputSurfaceFormatOutputSurfaceFormat ( 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 ).
outSurfaceAvlNet.Surface
diagSurfaceValidPointsRegionAvlNet.RegionRegion of locations where the surface points are valid.
diagPoint3DGridAvlNet.Point3DGridPoints decoded before arranging them into Surface.

Function Overrides

See also