Public Member Functions | |
| Convolver3D () | |
| void | setX (const Array3D< T > &, int first0=0, int first1=0, int first2=0) |
| void | setY (const Array3D< T > &, int first0=0, int first1=0, int first2=0) |
| void | setZ (Array3D< T > &z) |
| void | setNormalize (bool n) |
| void | setCorrelate (bool yn) |
| void | setHasUdfs (bool yn) |
| Default is false. | |
| bool | execute () |
Protected Member Functions | |
| bool | shouldFFT () const |
| bool | doFFT () |
| bool | doWork (od_int64, od_int64, int) |
| od_int64 | nrIterations () const |
Protected Attributes | |
| const Array3D< T > * | x_ |
| int | xshift0_ |
| int | xshift1_ |
| int | xshift2_ |
| const Array3D< T > * | y_ |
| int | yshift0_ |
| int | yshift1_ |
| int | yshift2_ |
| Array3D< T > * | z_ |
| bool | normalize_ |
| bool | correlate_ |
| bool | hasudfs_ |
Convolves (or correlates) two 3D signals.
| Convolver3D< T >::Convolver3D | ( | ) | [inline] |
| bool Convolver3D< T >::doFFT | ( | ) | [inline, protected] |
| bool Convolver3D< T >::doWork | ( | od_int64 | start, | |
| od_int64 | stop, | |||
| int | ||||
| ) | [inline, protected] |
| bool Convolver3D< T >::execute | ( | ) | [inline, virtual] |
Reimplemented from ParallelTask.
| od_int64 Convolver3D< T >::nrIterations | ( | ) | const [inline, protected, virtual] |
Implements ParallelTask.
| void Convolver3D< T >::setCorrelate | ( | bool | yn | ) | [inline] |
If true, the convolution will be replaced by a correllation.
| void Convolver3D< T >::setHasUdfs | ( | bool | yn | ) | [inline] |
Default is false.
| void Convolver3D< T >::setNormalize | ( | bool | n | ) | [inline] |
If true, the sum will be divided by the sum of Y.
| void Convolver3D< T >::setX | ( | const Array3D< T > & | x, | |
| int | first0 = 0, |
|||
| int | first1 = 0, |
|||
| int | first2 = 0 | |||
| ) | [inline] |
| void Convolver3D< T >::setY | ( | const Array3D< T > & | y, | |
| int | first0 = 0, |
|||
| int | first1 = 0, |
|||
| int | first2 = 0 | |||
| ) | [inline] |
| void Convolver3D< T >::setZ | ( | Array3D< T > & | z | ) | [inline] |
| bool Convolver3D< T >::shouldFFT | ( | ) | const [inline, protected] |
bool Convolver3D< T >::correlate_ [protected] |
bool Convolver3D< T >::hasudfs_ [protected] |
bool Convolver3D< T >::normalize_ [protected] |
const Array3D<T>* Convolver3D< T >::x_ [protected] |
int Convolver3D< T >::xshift0_ [protected] |
int Convolver3D< T >::xshift1_ [protected] |
int Convolver3D< T >::xshift2_ [protected] |
const Array3D<T>* Convolver3D< T >::y_ [protected] |
int Convolver3D< T >::yshift0_ [protected] |
int Convolver3D< T >::yshift1_ [protected] |
int Convolver3D< T >::yshift2_ [protected] |
Array3D<T>* Convolver3D< T >::z_ [protected] |
1.7.1