Package boofcv.abst.transform.fft
Class GeneralFft_to_DiscreteFourierTransform_F64
java.lang.Object
boofcv.abst.transform.fft.GeneralFft_to_DiscreteFourierTransform_F64
- All Implemented Interfaces:
DiscreteFourierTransform<GrayF64,
InterleavedF64>
public class GeneralFft_to_DiscreteFourierTransform_F64
extends Object
implements DiscreteFourierTransform<GrayF64,InterleavedF64>
Wrapper around
GeneralPurposeFFT_F64_2D
which implements DiscreteFourierTransform
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forward
(GrayF64 image, InterleavedF64 transform) Applies forward transform to the input image.void
inverse
(InterleavedF64 transform, GrayF64 image) Applies the inverse transform to a fourier transformed image to recover the original imageboolean
Returns state of forward modification flagvoid
setModifyInputs
(boolean modify) This function can toggle the internal implementations ability to modify the input image or input transform.
-
Constructor Details
-
GeneralFft_to_DiscreteFourierTransform_F64
public GeneralFft_to_DiscreteFourierTransform_F64()
-
-
Method Details
-
forward
Description copied from interface:DiscreteFourierTransform
Applies forward transform to the input image.- Specified by:
forward
in interfaceDiscreteFourierTransform<GrayF64,
InterleavedF64> - Parameters:
image
- (Input) Input image. Default: Not modified.transform
- (Output) Fourier transform, twice width and same height of input. Modified.
-
inverse
Description copied from interface:DiscreteFourierTransform
Applies the inverse transform to a fourier transformed image to recover the original image- Specified by:
inverse
in interfaceDiscreteFourierTransform<GrayF64,
InterleavedF64> - Parameters:
transform
- (Input) Fourier transform. twice width and same height of output. Default: Not modified.image
- (Output) reconstructed image. Modified.
-
setModifyInputs
public void setModifyInputs(boolean modify) Description copied from interface:DiscreteFourierTransform
This function can toggle the internal implementations ability to modify the input image or input transform.- Specified by:
setModifyInputs
in interfaceDiscreteFourierTransform<GrayF64,
InterleavedF64> - Parameters:
modify
- true for the input can be modified and false for it will not be modified.
-
isModifyInputs
public boolean isModifyInputs()Description copied from interface:DiscreteFourierTransform
Returns state of forward modification flag- Specified by:
isModifyInputs
in interfaceDiscreteFourierTransform<GrayF64,
InterleavedF64> - Returns:
- true for the input can be modified and false for it will not be modified.
-