32 #include <Image/FFT2D_Tiles.hh>
33 #include <Base/Image/Image.hh>
34 #include <Base/Image/ImageIO.hh>
35 #include <Base/Image/ImageConvert.hh>
42 int main(
int argc,
char *argv[])
46 cerr << argv[0] <<
" <image>\n";
53 if (ImageIO::Load(argv[1], im)!=0){
54 BIASERR(
"error loading image "<<argv[1]);
58 ImageConvert::ToGrey(im,imgrey);
70 ImageIO::Save(
"FFT2D-abs",res);
virtual void Init(int, int)
Wrapper to the fftw3 library, which is supposed to perform the FFT patch- (tile-) wise...
unsigned int GetWidth() const
virtual int TransformAbs(const Image< InputStorageType > &src, Image< OutputStorageType > &dst)
Transform forward and get absolute value from complex result The result is not normalized! ...
unsigned int GetHeight() const