C# 클래스 AForge.Imaging.ComplexImage

Complex image.

The class is used to keep image represented in complex numbers sutable for Fourier transformations.

Sample usage:

// create complex image ComplexImage complexImage = ComplexImage.FromBitmap( image ); // do forward Fourier transformation complexImage.ForwardFourierTransform( ); // get complex image as bitmat Bitmap fourierImage = complexImage.ToBitmap( );

Initial image:

Fourier image:

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

공개 메소드들

메소드 설명
BackwardFourierTransform ( ) : void

Applies backward fast Fourier transformation to the complex image.

Clone ( ) : object

Clone the complex image.

ForwardFourierTransform ( ) : void

Applies forward fast Fourier transformation to the complex image.

FromBitmap ( Bitmap image ) : ComplexImage

Create complex image from grayscale bitmap.

FromBitmap ( BitmapData imageData ) : ComplexImage

Create complex image from grayscale bitmap.

ToBitmap ( ) : Bitmap

Convert complex image to bitmap.

보호된 메소드들

메소드 설명
ComplexImage ( int width, int height ) : System

Initializes a new instance of the ComplexImage class.

The constractor is protected, what makes it imposible to instantiate this class directly. To create an instance of this class FromBitmap(Bitmap) or FromBitmap(BitmapData) method should be used.

메소드 상세

BackwardFourierTransform() 공개 메소드

Applies backward fast Fourier transformation to the complex image.
public BackwardFourierTransform ( ) : void
리턴 void

Clone() 공개 메소드

Clone the complex image.
public Clone ( ) : object
리턴 object

ComplexImage() 보호된 메소드

Initializes a new instance of the ComplexImage class.
The constractor is protected, what makes it imposible to instantiate this class directly. To create an instance of this class FromBitmap(Bitmap) or FromBitmap(BitmapData) method should be used.
protected ComplexImage ( int width, int height ) : System
width int Image width.
height int Image height.
리턴 System

ForwardFourierTransform() 공개 메소드

Applies forward fast Fourier transformation to the complex image.
public ForwardFourierTransform ( ) : void
리턴 void

FromBitmap() 공개 정적인 메소드

Create complex image from grayscale bitmap.
The source image has incorrect pixel format. Image width and height should be power of 2.
public static FromBitmap ( Bitmap image ) : ComplexImage
image System.Drawing.Bitmap Source grayscale bitmap (8 bpp indexed).
리턴 ComplexImage

FromBitmap() 공개 정적인 메소드

Create complex image from grayscale bitmap.
The source image has incorrect pixel format. Image width and height should be power of 2.
public static FromBitmap ( BitmapData imageData ) : ComplexImage
imageData System.Drawing.Imaging.BitmapData Source image data (8 bpp indexed).
리턴 ComplexImage

ToBitmap() 공개 메소드

Convert complex image to bitmap.
public ToBitmap ( ) : Bitmap
리턴 System.Drawing.Bitmap