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 java.lang.Object implements DiscreteFourierTransform<GrayF32,InterleavedF32>
Wrapper aroundGeneralPurposeFFT_F32_2Dwhich implementsDiscreteFourierTransform
-
-
Constructor Summary
Constructors Constructor and Description GeneralFft_to_DiscreteFourierTransform_F32()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidforward(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 imagebooleanisModifyInputs()Returns state of forward modification flagvoidsetModifyInputs(boolean modify)This function can toggle the internal implementations ability to modify the input image or input transform.
-
-
-
Constructor Detail
-
GeneralFft_to_DiscreteFourierTransform_F32
public GeneralFft_to_DiscreteFourierTransform_F32()
-
-
Method Detail
-
forward
public void forward(GrayF32 image, InterleavedF32 transform)
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
public void inverse(InterleavedF32 transform, GrayF32 image)
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.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG