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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforward(GrayF32 image, InterleavedF32 transform) Applies forward transform to the input image.voidinverse(InterleavedF32 transform, GrayF32 image) Applies the inverse transform to a fourier transformed image to recover the original imagebooleanReturns state of forward modification flagvoidsetModifyInputs(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:DiscreteFourierTransformApplies forward transform to the input image.- Specified by:
forwardin 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:DiscreteFourierTransformApplies the inverse transform to a fourier transformed image to recover the original image- Specified by:
inversein 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:DiscreteFourierTransformThis function can toggle the internal implementations ability to modify the input image or input transform.- Specified by:
setModifyInputsin 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:DiscreteFourierTransformReturns state of forward modification flag- Specified by:
isModifyInputsin interfaceDiscreteFourierTransform<GrayF32,InterleavedF32> - Returns:
- true for the input can be modified and false for it will not be modified.
-