Structure for representing 4D separable filter of arbitrary size in each directions/axis. More...
#include <of4DSeparableConvolution.h>
Public Member Functions | |
| Separable4DFilter () | |
| Separable4DFilter (struct Separable4DFilter< VOXEL > const &f, int mirror=0) | |
| ~Separable4DFilter () | |
| void | PrintFilter (void) |
| void | RemoveAlmostZeros (const VOXEL ZeroThres=0.0005) |
| void | RemoveAlmostZeros (const VOXEL ZeroThresX, const VOXEL ZeroThresY, const VOXEL ZeroThresZ, const VOXEL ZeroThresT) |
| void | DisposeData (void) |
Public Attributes | |
| VOXEL * | xData |
| VOXEL * | yData |
| VOXEL * | zData |
| VOXEL * | tData |
| VOXEL | xDiv |
| VOXEL | yDiv |
| VOXEL | zDiv |
| VOXEL | tDiv |
| long | xLength |
| long | yLength |
| long | zLength |
| long | tLength |
Structure for representing 4D separable filter of arbitrary size in each directions/axis.
This filter is an extension of the concept used in Separable3DFilter . Please, refer there for more detailed information.
| Separable4DFilter< VOXEL >::Separable4DFilter | ( | ) | [inline] |
filter lengths
Empty constructor.
| Separable4DFilter< VOXEL >::Separable4DFilter | ( | struct Separable4DFilter< VOXEL > const & | f, | |
| int | mirror = 0 | |||
| ) |
Copy constructor.
If mirror=1 then it makes an identical copy with the only exception that [xyzt]Data are stored in the reverse order in comparison to the original f.[xyzt]Data.
| Separable4DFilter< VOXEL >::~Separable4DFilter | ( | ) |
The desctructor frees allocated memory.
| void Separable4DFilter< VOXEL >::PrintFilter | ( | void | ) |
It prints the content of the structure to the screen.
| void Separable4DFilter< VOXEL >::RemoveAlmostZeros | ( | const VOXEL | ZeroThres = 0.0005 |
) |
Set to zero such filter coefficients which are closer to the zero than ZeroThres.
All axes, if present, are scanned and compared to the same threshold.
| void Separable4DFilter< VOXEL >::RemoveAlmostZeros | ( | const VOXEL | ZeroThresX, | |
| const VOXEL | ZeroThresY, | |||
| const VOXEL | ZeroThresZ, | |||
| const VOXEL | ZeroThresT | |||
| ) |
Set to zero such filter coefficients which are closer to the zero than ZeroThres.
Each axis, if present, is scanned and compared to its threshold.
| void Separable4DFilter< VOXEL >::DisposeData | ( | void | ) |
frees the data arrays [xyzt]Data
| VOXEL* Separable4DFilter< VOXEL >::xData |
| VOXEL* Separable4DFilter< VOXEL >::yData |
filter coefficients
| VOXEL* Separable4DFilter< VOXEL >::zData |
filter coefficients
| VOXEL* Separable4DFilter< VOXEL >::tData |
filter coefficients
| VOXEL Separable4DFilter< VOXEL >::xDiv |
filter coefficients
| VOXEL Separable4DFilter< VOXEL >::yDiv |
coefficient divisors
| VOXEL Separable4DFilter< VOXEL >::zDiv |
coefficient divisors
| VOXEL Separable4DFilter< VOXEL >::tDiv |
coefficient divisors
| long Separable4DFilter< VOXEL >::xLength |
coefficient divisors
| long Separable4DFilter< VOXEL >::yLength |
filter lengths
| long Separable4DFilter< VOXEL >::zLength |
filter lengths
| long Separable4DFilter< VOXEL >::tLength |
filter lengths
1.7.1