Click or drag to resize
Accord.NET (logo)

ImageToArray Constructor (Double, Double, Int32)

Initializes a new instance of the ImageToArray class.

Namespace:  Accord.Imaging.Converters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public ImageToArray(
	double min,
	double max,
	int channel
)
Request Example View Source

Parameters

min
Type: SystemDouble
The minimum double value in the double array associated with the darkest color. Default is 0.
max
Type: SystemDouble
The maximum double value in the double array associated with the brightest color. Default is 1.
channel
Type: SystemInt32
The channel to extract. Default is 0.
See Also