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