/** * Construct Fourier Transform by performing a forward transform on the * given image. If the centre option is set, the FFT will be re-ordered so * that the DC component is in the centre. * * @param image * the image to transform * @param centre * should the FFT be reordered so the centre is DC component */ public FourierTransform(FImage image, boolean centre) { this.centre = centre; process(image); }
/** * Construct Fourier Transform by performing a forward transform on the * given image. If the centre option is set, the FFT will be re-ordered so * that the DC component is in the centre. * * @param image * the image to transform * @param centre * should the FFT be reordered so the centre is DC component */ public FourierTransform(FImage image, boolean centre) { this.centre = centre; process(image); }