24 #ifndef CCORRELATION_INTERCOR_FFT
25 #define CCORRELATION_INTERCOR_FFT
46 template<
typename T,
typename Timg>
56 this->class_name =
"Correlation : Inter-correlation by FFT";
60 void correl(CImgList<T> &correlogram, CImgList<T> &F, CImgList<T> &G)
63 zeroPadd(correlogram, F, G);
68 void zeroPadd(CImgList<T> &correlogram, CImgList<T> &F, CImgList<T> &G)
72 int dimX(-100), dimY(-100), dimZ(-100);
74 dimX = cimg::nearest_pow2(correlogram[0].width());
75 if(!correlogram[0].is_sameY(1)){dimY = cimg::nearest_pow2(F[0].height()); };
76 if(!correlogram[0].is_sameZ(1)){dimZ = cimg::nearest_pow2(F[0].depth()); };
80 correlogram[i].resize(dimX,dimY,dimZ,-100, 0, 0, 0.5, 0.5, 0.5, 0);
81 F[i].assign(dimX,dimY,dimZ);
82 G[i].assign(dimX,dimY,dimZ);
87 virtual void interCor(CImgList<T> &correlogram, CImgList<T> &F, CImgList<T> &G)
virtual void correl(CImgList< T > &correlogram, CImgList< T > &F, CImgList< T > &G)
Definition: Ccorrelation_intercor_fftw.h:51
Definition: Ccorrelation_intercor_fftw_phase.h:46
Definition: Ccorrelation_intercor_fft.h:47
this class implement 2 functions:
this class implement 7 functions:
Definition: Ccorrelation_intercor.h:45