Class MorphologicalOperator
Represents an operator that applies a morphological transformation kernel to each image in the sequence.
public class MorphologicalOperator : Transform<IplImage, IplImage>
- Inheritance
-
MorphologicalOperator
- Inherited Members
Constructors
MorphologicalOperator()
Initializes a new instance of the MorphologicalOperator class.
public MorphologicalOperator()
Properties
Anchor
Gets or sets the anchor of the structuring element.
public Point Anchor { get; set; }
Property Value
Iterations
Gets or sets the number of times to apply the morphological operator.
[Range(0, 2147483647)]
public int Iterations { get; set; }
Property Value
Operation
Gets or sets a value specifying the type of morphological operation to be applied.
public MorphologicalOperation Operation { get; set; }
Property Value
Shape
Gets or sets the shape of the structuring element.
[TypeConverter(typeof(MorphologicalOperator.ShapeConverter))]
public StructuringElementShape Shape { get; set; }
Property Value
Size
Gets or sets the size of the structuring element.
public Size Size { get; set; }
Property Value
Methods
Process(IObservable<IplImage>)
Applies a morphological transformation kernel to each image in an observable sequence.
public override IObservable<IplImage> Process(IObservable<IplImage> source)
Parameters
source
IObservable<IplImage>The sequence of images for which to apply the morphological operator.
Returns
- IObservable<IplImage>
The sequence of transformed images.