Catalano.Imaging.Filters
Class FourierTransform
- java.lang.Object
-
- Catalano.Imaging.Filters.FourierTransform
-
public class FourierTransform extends java.lang.ObjectFourier Transform.
-
-
Constructor Summary
Constructors Constructor and Description FourierTransform(FastBitmap fastBitmap)Initialize a new instance of the FourierTransform class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidBackward()Applies backward fast Fourier transformation to the complex image.voidForward()Applies forward fast Fourier transformation to the complex image.ComplexNumber[][]getData()Complex image's data.intgetHeight()Complex image height.intgetWidth()Complex image width.booleanisFourierTransformed()Status of the image - Fourier transformed or not.voidsetData(ComplexNumber[][] data)Complex image's data.FastBitmaptoFastBitmap()Convert Complex image's data to FastBitmap.
-
-
-
Constructor Detail
-
FourierTransform
public FourierTransform(FastBitmap fastBitmap)
Initialize a new instance of the FourierTransform class.- Parameters:
fastBitmap- FastBitmap.
-
-
Method Detail
-
getWidth
public int getWidth()
Complex image width.- Returns:
- Width.
-
getHeight
public int getHeight()
Complex image height.- Returns:
- Height.
-
getData
public ComplexNumber[][] getData()
Complex image's data.- Returns:
- Data.
-
setData
public void setData(ComplexNumber[][] data)
Complex image's data.- Parameters:
data- Data.
-
isFourierTransformed
public boolean isFourierTransformed()
Status of the image - Fourier transformed or not.- Returns:
- True: is transformed, otherwise returns False.
-
toFastBitmap
public FastBitmap toFastBitmap()
Convert Complex image's data to FastBitmap.- Returns:
- FastBitmap.
-
Forward
public void Forward()
Applies forward fast Fourier transformation to the complex image.
-
Backward
public void Backward()
Applies backward fast Fourier transformation to the complex image.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG