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

Base class for filters, which operate with two images of the same size and format and may be applied directly to the source image.

The abstract class is the base class for all filters, which can be applied to an image producing new image as a result of image processing or applied directly to the source image without changing its size and pixel format.

The base class is aimed for such type of filters, which require additional image to process the source image. The additional image is set by OverlayImage or UnmanagedOverlayImage property and must have the same size and pixel format as source image. See documentation of particular inherited class for information about overlay image purpose.

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

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

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

Initializes a new instance of the BaseInPlaceFilter2 class.

BaseInPlaceFilter2 ( Bitmap overlayImage ) : System

Initializes a new instance of the BaseInPlaceFilter2 class.

BaseInPlaceFilter2 ( UnmanagedImage unmanagedOverlayImage ) : System

Initializes a new instance of the BaseInPlaceFilter2 class.

ProcessFilter ( UnmanagedImage image ) : void

Process the filter on the specified image.

ProcessFilter ( UnmanagedImage image, UnmanagedImage overlay ) : void

Process the filter on the specified image.

Overlay image size and pixel format is checked by this base class, before passing execution to inherited class.

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

BaseInPlaceFilter2() защищенный метод

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

BaseInPlaceFilter2() защищенный метод

Initializes a new instance of the BaseInPlaceFilter2 class.
protected BaseInPlaceFilter2 ( Bitmap overlayImage ) : System
overlayImage System.Drawing.Bitmap Overlay image.
Результат System

BaseInPlaceFilter2() защищенный метод

Initializes a new instance of the BaseInPlaceFilter2 class.
protected BaseInPlaceFilter2 ( UnmanagedImage unmanagedOverlayImage ) : System
unmanagedOverlayImage UnmanagedImage Unmanaged overlay image.
Результат System

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

Process the filter on the specified image.
Source and overlay images have different pixel formats and/or size. Overlay image is not set.
protected ProcessFilter ( UnmanagedImage image ) : void
image UnmanagedImage Source image data.
Результат void

ProcessFilter() защищенный абстрактный метод

Process the filter on the specified image.

Overlay image size and pixel format is checked by this base class, before passing execution to inherited class.

protected abstract ProcessFilter ( UnmanagedImage image, UnmanagedImage overlay ) : void
image UnmanagedImage Source image data.
overlay UnmanagedImage Overlay image data.
Результат void