PointCloudExtensionsToRangeMap Method (PointCloud, ValueRangeDouble, ValueRangeDouble, Size2D, Double)

CVB.Net Documentation
Creates a new range map image via linear project in negative z direction.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static Image ToRangeMap(
	this PointCloud pc,
	ValueRange<double> xRange,
	ValueRange<double> yRange,
	Size2D targetSize,
	double backgroundValue
)

Parameters

pc
Type: Stemmer.CvbPointCloud
PointCloud to create range map from.
xRange
Type: Stemmer.CvbValueRangeDouble
Input window along the x axis (inclusive).
yRange
Type: Stemmer.CvbValueRangeDouble
Input window along the y axis (inclusive).
targetSize
Type: Stemmer.CvbSize2D
Target size of the RangeMap in pixels (greater or equal to 2).
backgroundValue
Type: SystemDouble
Background value (initialization value for RangeMap).

Return Value

Type: Image
The created range map image.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PointCloud. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions

ExceptionCondition
CvbExceptionWhen creating the range map failed.
See Also

Reference