Class Threshold
Represents an operator that applies a fixed threshold to each image in the sequence.
public class Threshold : Transform<IplImage, IplImage>
- Inheritance
-
Threshold
- Inherited Members
Properties
MaxValue
Gets or sets the value assigned to pixels determined to be above the threshold.
public double MaxValue { get; set; }
Property Value
ThresholdType
Gets or sets the type of threshold to apply to individual pixels.
public ThresholdTypes ThresholdType { get; set; }
Property Value
ThresholdValue
Gets or sets the threshold value used to test individual pixels.
[Range(0, 255)]
[Precision(0, 1)]
public double ThresholdValue { get; set; }
Property Value
Methods
Process(IObservable<IplImage>)
Applies a fixed threshold to each image in an observable sequence.
public override IObservable<IplImage> Process(IObservable<IplImage> source)
Parameters
source
IObservable<IplImage>The sequence of images to threshold.
Returns
- IObservable<IplImage>
A sequence of IplImage objects where each non-zero pixel represents a value in the original image that was accepted by the threshold criteria.