Click or drag to resize
Accord.NET (logo)

ComplexImage Class

Complex image.
Inheritance Hierarchy

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
public class ComplexImage : ICloneable
Request Example View Source

The ComplexImage type exposes the following members.

Protected methodComplexImage
Initializes a new instance of the ComplexImage class.
Public propertyData
Complex image's data.
Public propertyFourierTransformed
Status of the image - Fourier transformed or not.
Public propertyHeight
Image height.
Public propertyWidth
Image width.
Public methodBackwardFourierTransform
Applies backward fast Fourier transformation to the complex image.
Public methodClone
Clone the complex image.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForwardFourierTransform
Applies forward fast Fourier transformation to the complex image.
Public methodStatic memberFromBitmap(Bitmap)
Create complex image from grayscale bitmap.
Public methodStatic memberFromBitmap(BitmapData)
Create complex image from grayscale bitmap.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToBitmap
Convert complex image to bitmap.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Extension Methods
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodToT
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)

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:

See Also