Class HsvThreshold
Represents an operator that segments each HSV image in the sequence using the specified color range.
public class HsvThreshold : Transform<IplImage, IplImage>
- Inheritance
-
HsvThreshold
- Inherited Members
Properties
Lower
Gets or sets the lower bound of the HSV color range.
[TypeConverter(typeof(HsvScalarConverter))]
public Scalar Lower { get; set; }
Property Value
Upper
Gets or sets the upper bound of the HSV color range. If the upper value for Hue is smaller than its lower value, the range will wrap around zero.
[TypeConverter(typeof(HsvScalarConverter))]
public Scalar Upper { get; set; }
Property Value
Methods
Process(IObservable<IplImage>)
Segments each HSV image in an observable sequence using the specified color range.
public override IObservable<IplImage> Process(IObservable<IplImage> source)
Parameters
source
IObservable<IplImage>A sequence of color images in the hue-saturation-value (HSV) color space.
Returns
- IObservable<IplImage>
A sequence of binary images where each pixel is non-zero only if the corresponding HSV pixel in the color image lies between the specified lower and upper bounds of the range.