Click or drag to resize

ThresholdCommand Constructor (Int32, Int32, ChannelFlags)

Creates a new instance of ThresholdCommand specifying minValue, maxValue and channelsToProcess.

Namespace:  Atalasoft.Imaging.ImageProcessing.Filters
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public ThresholdCommand(
	int minValue,
	int maxValue,
	ChannelFlags channelsToProcess
)

Parameters

minValue
Type: SystemInt32
Pixels below this level are set to 0. Valid values (0 - 255).
maxValue
Type: SystemInt32
Pixels above this level are set to 255. (0 - 255)
channelsToProcess
Type: Atalasoft.Imaging.ImageProcessingChannelFlags
The ChannelFlags specifying which channels to process.
Exceptions
ExceptionCondition
Thrown if minValue or maxValue is less than 0 or greater than 255.
See Also