C# 클래스 AForge.Imaging.Filters.BaseInPlaceFilter

Base class for filters, which 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.

상속: IFilter, IInPlaceFilter, IFilterInformation
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET

공개 메소드들

메소드 설명
Apply ( Bitmap image ) : Bitmap

Apply filter to an image.

The method keeps the source image unchanged and returns the result of image processing filter as new image.

Apply ( BitmapData imageData ) : Bitmap

Apply filter to an image.

The filter accepts bitmap data as input and returns the result of image processing filter as new image. The source image data are kept unchanged.

Apply ( UnmanagedImage image ) : UnmanagedImage

Apply filter to an image in unmanaged memory.

The method keeps the source image unchanged and returns the result of image processing filter as new image.

Apply ( UnmanagedImage sourceImage, UnmanagedImage destinationImage ) : void

Apply filter to an image in unmanaged memory.

The method keeps the source image unchanged and puts result of image processing into destination image.

The destination image must have the same width and height as source image. Also destination image must have pixel format, which is expected by particular filter (see FormatTranslations property for information about pixel format conversions).

ApplyInPlace ( Bitmap image ) : void

Apply filter to an image.

The method applies the filter directly to the provided source image.

ApplyInPlace ( BitmapData imageData ) : void

Apply filter to an image.

The method applies the filter directly to the provided source image.

ApplyInPlace ( UnmanagedImage image ) : void

Apply filter to an unmanaged image.

The method applies the filter directly to the provided source unmanaged image.

보호된 메소드들

메소드 설명
ProcessFilter ( UnmanagedImage image ) : void

Process the filter on the specified image.

비공개 메소드들

메소드 설명
CheckSourceFormat ( PixelFormat pixelFormat ) : void

메소드 상세

Apply() 공개 메소드

Apply filter to an image.
The method keeps the source image unchanged and returns the result of image processing filter as new image.
Unsupported pixel format of the source image.
public Apply ( Bitmap image ) : Bitmap
image System.Drawing.Bitmap Source image to apply filter to.
리턴 System.Drawing.Bitmap

Apply() 공개 메소드

Apply filter to an image.
The filter accepts bitmap data as input and returns the result of image processing filter as new image. The source image data are kept unchanged.
Unsupported pixel format of the source image.
public Apply ( BitmapData imageData ) : Bitmap
imageData System.Drawing.Imaging.BitmapData Source image to apply filter to.
리턴 System.Drawing.Bitmap

Apply() 공개 메소드

Apply filter to an image in unmanaged memory.
The method keeps the source image unchanged and returns the result of image processing filter as new image.
Unsupported pixel format of the source image.
public Apply ( UnmanagedImage image ) : UnmanagedImage
image UnmanagedImage Source image in unmanaged memory to apply filter to.
리턴 UnmanagedImage

Apply() 공개 메소드

Apply filter to an image in unmanaged memory.

The method keeps the source image unchanged and puts result of image processing into destination image.

The destination image must have the same width and height as source image. Also destination image must have pixel format, which is expected by particular filter (see FormatTranslations property for information about pixel format conversions).

Unsupported pixel format of the source image. Incorrect destination pixel format. Destination image has wrong width and/or height.
public Apply ( UnmanagedImage sourceImage, UnmanagedImage destinationImage ) : void
sourceImage UnmanagedImage Source image in unmanaged memory to apply filter to.
destinationImage UnmanagedImage Destination image in unmanaged memory to put result into.
리턴 void

ApplyInPlace() 공개 메소드

Apply filter to an image.
The method applies the filter directly to the provided source image.
Unsupported pixel format of the source image.
public ApplyInPlace ( Bitmap image ) : void
image System.Drawing.Bitmap Image to apply filter to.
리턴 void

ApplyInPlace() 공개 메소드

Apply filter to an image.
The method applies the filter directly to the provided source image.
Unsupported pixel format of the source image.
public ApplyInPlace ( BitmapData imageData ) : void
imageData System.Drawing.Imaging.BitmapData Image data to apply filter to.
리턴 void

ApplyInPlace() 공개 메소드

Apply filter to an unmanaged image.
The method applies the filter directly to the provided source unmanaged image.
Unsupported pixel format of the source image.
public ApplyInPlace ( UnmanagedImage image ) : void
image UnmanagedImage Unmanaged image to apply filter to.
리턴 void

ProcessFilter() 보호된 추상적인 메소드

Process the filter on the specified image.
protected abstract ProcessFilter ( UnmanagedImage image ) : void
image UnmanagedImage Source image data.
리턴 void