If ColorizeMatched is true then this method colorizes pixels that match the specified HSV (Hue, Saturation and Value) range to MatchColor color.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int MatchHSVRange(
	int hueBegin,
	int hueEnd,
	int satBegin,
	int satEnd,
	int valBegin,
	int valEnd,
	IERGB matchColor
)
Public Function MatchHSVRange ( _
	hueBegin As Integer, _
	hueEnd As Integer, _
	satBegin As Integer, _
	satEnd As Integer, _
	valBegin As Integer, _
	valEnd As Integer, _
	matchColor As IERGB _
) As Integer
public:
int MatchHSVRange(
	int hueBegin, 
	int hueEnd, 
	int satBegin, 
	int satEnd, 
	int valBegin, 
	int valEnd, 
	IERGB matchColor
)

Parameters

hueBegin
Int32
Starting Hue value. 0..359
hueEnd
Int32
Ending Hue value. 0..359
satBegin
Int32
Starting Saturation value. 0..99
satEnd
Int32
Ending Saturation value. 0..99
valBegin
Int32
Starting Intensity value. 0..99
valEnd
Int32
Ending Intensity value. 0..99
matchColor
IERGB
New pixel color when HSV conversion fit inside specified ranges.

Return Value

Returns the number of matching pixels.

See Also