public interface ComplexImage
Modifier and Type | Method and Description |
---|---|
void |
add(ComplexImage other)
Add both real and imaginary parts of another image to the current image.
|
ComplexImage |
convolve(ComplexImage transformedTemplate,
boolean overwrite)
Transform, multiply, and reverse transform, optionally either returning
a new ComplexImage or overwriting the current one to save memory.
|
void |
dispose()
Free all resources in the component images.
|
ComplexImage |
fft()
Perform Fast Fourier Transform.
|
ComplexImage |
fftInverse()
Perform inverse Fast Fourier Transform.
|
Image |
getImaginary()
Get a reference to the imaginary component.
|
Image |
getReal()
Get a reference to the real component.
|
void |
invert()
Invert the values in both images.
|
Image |
modulus()
Return a single image whose pixels are the moduli,
sqrt (re * re + im * im) of the complex values.
|
void |
multiply(ComplexImage other)
Multiply two ComplexImages together, pixel by pixel, the result
replacing the current ComplexImage.
|
void |
multiply(double factor)
Multiply the levels in both real and imaginary parts by the given factor.
|
void |
subtract(ComplexImage other)
Subtract both real and imaginary parts of another image from the
current image.
|
void add(ComplexImage other) throws IncompatibleImageException
IncompatibleImageException
ComplexImage convolve(ComplexImage transformedTemplate, boolean overwrite)
void dispose()
ComplexImage fft()
ComplexImage fftInverse()
Image getReal()
Image getImaginary()
void invert()
Image modulus()
void multiply(ComplexImage other)
void multiply(double factor)
void subtract(ComplexImage other) throws IncompatibleImageException
IncompatibleImageException