C# Класс AForge.Imaging.Filters.Erosion3x3

Erosion operator from Mathematical Morphology with 3x3 structuring element.

The filter represents an optimized version of Erosion filter, which is aimed for grayscale image processing with 3x3 structuring element.

See Erosion filter, which represents generic version of erosion filter supporting custom structuring elements and wider range of image formats.

The filter accepts 8 bpp grayscale images for processing.

Наследование: BaseUsingCopyPartialFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Erosion3x3 ( ) : System

Initializes a new instance of the Erosion3x3 class.

Защищенные методы

Метод Описание
ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect ) : void

Process the filter on the specified image.

Описание методов

Erosion3x3() публичный Метод

Initializes a new instance of the Erosion3x3 class.
public Erosion3x3 ( ) : System
Результат System

ProcessFilter() защищенный Метод

Process the filter on the specified image.
Processing rectangle mast be at least 3x3 in size.
protected ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect ) : void
sourceData UnmanagedImage Source image data.
destinationData UnmanagedImage Destination image data.
rect System.Drawing.Rectangle Image rectangle for processing by the filter.
Результат void