Package boofcv.abst.transform.fft
Class GeneralFft_to_DiscreteFourierTransform_F32
java.lang.Object
boofcv.abst.transform.fft.GeneralFft_to_DiscreteFourierTransform_F32
- All Implemented Interfaces:
DiscreteFourierTransform<GrayF32,
InterleavedF32>
public class GeneralFft_to_DiscreteFourierTransform_F32
extends Object
implements DiscreteFourierTransform<GrayF32,InterleavedF32>
Wrapper around
GeneralPurposeFFT_F32_2D
which implements DiscreteFourierTransform
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forward
(GrayF32 image, InterleavedF32 transform) Applies forward transform to the input image.void
inverse
(InterleavedF32 transform, GrayF32 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_F32
public GeneralFft_to_DiscreteFourierTransform_F32()
-
-
Method Details
-
forward
Description copied from interface:DiscreteFourierTransform
Applies forward transform to the input image.- Specified by:
forward
in interfaceDiscreteFourierTransform<GrayF32,
InterleavedF32> - 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<GrayF32,
InterleavedF32> - 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<GrayF32,
InterleavedF32> - 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<GrayF32,
InterleavedF32> - Returns:
- true for the input can be modified and false for it will not be modified.
-