C# Class AForge.Imaging.Filters.Dilatation

Dilatation operator from Mathematical Morphology
Inheritance: IFilter
Show file Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Public Methods

Method Description
Dilatation ( ) : System

Initializes a new instance of the Dilatation class.

Initializes new instance of the Dilatation class using default structuring element - 3x3 structuring element with all elements equal to 1.

Dilatation ( short se ) : System

Initializes a new instance of the Dilatation class.

Structuring elemement for the dilatation morphological operator must be square matrix with odd size in the range of [3, 99].

Protected Methods

Method Description
ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect ) : void

Process the filter on the specified image.

Method Details

Dilatation() public method

Initializes a new instance of the Dilatation class.

Initializes new instance of the Dilatation class using default structuring element - 3x3 structuring element with all elements equal to 1.

public Dilatation ( ) : System
return System

Dilatation() public method

Initializes a new instance of the Dilatation class.

Structuring elemement for the dilatation morphological operator must be square matrix with odd size in the range of [3, 99].

Invalid size of structuring element.
public Dilatation ( short se ) : System
se short Structuring element.
return System

ProcessFilter() protected method

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect ) : void
sourceData UnmanagedImage Source image data.
destinationData UnmanagedImage Destination image data.
rect Rectangle Image rectangle for processing by the filter.
return void