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

Resize image using bicubic interpolation algorithm.

The class implements image resizing filter using bicubic interpolation algorithm. It uses bicubic kernel W(x) as described on Wikipedia (coefficient a is set to -0.5).

The filter accepts 8 grayscale images and 24 bpp color images for processing.

Sample usage:

// create filter ResizeBicubic filter = new ResizeBicubic( 400, 300 ); // apply the filter Bitmap newImage = filter.Apply( image );

Initial image:

Result image:

상속: AForge.Imaging.Filters.BaseResizeFilter
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET 1 사용 예제들

공개 메소드들

메소드 설명
ResizeBicubic ( int newWidth, int newHeight ) : System

Initializes a new instance of the ResizeBicubic class.

보호된 메소드들

메소드 설명
ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData ) : void

Process the filter on the specified image.

메소드 상세

ProcessFilter() 보호된 메소드

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData ) : void
sourceData UnmanagedImage Source image data.
destinationData UnmanagedImage Destination image data.
리턴 void

ResizeBicubic() 공개 메소드

Initializes a new instance of the ResizeBicubic class.
public ResizeBicubic ( int newWidth, int newHeight ) : System
newWidth int Width of new image.
newHeight int Height of new image.
리턴 System