CvRange Method OpenCvSharp Class Library
Fills matrix with given range of numbers as following: arr(i,j) = (end-start) * (i*cols(arr)+j) / (cols(arr)*rows(arr))

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void Range(
	CvArr mat,
	double start,
	double end
)

Parameters

mat
Type: OpenCvSharpCvArr
The matrix to initialize. It should be single-channel 32-bit, integer or floating-point.
start
Type: SystemDouble
The lower inclusive boundary of the range.
end
Type: SystemDouble
The upper exclusive boundary of the range.
See Also

Reference