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
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET

보호된 메소드들

메소드 설명
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