PointCloudExtensionsToRangeMap Method (PointCloud, ValueRangeDouble, ValueRangeDouble, Int32, Int32, 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,
	int targetWidth,
	int targetHeight,
	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).
targetWidth
Type: SystemInt32
Target width of the RangeMap in pixels (greater or equal to 2).
targetHeight
Type: SystemInt32
Target height 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