Public Member Functions | Public Attributes

Separable4DFilter< VOXEL > Struct Template Reference
[4D Separable Convolution (3D + time)]

Structure for representing 4D separable filter of arbitrary size in each directions/axis. More...

#include <of4DSeparableConvolution.h>

List of all members.

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

Detailed Description

template<class VOXEL>
struct Separable4DFilter< VOXEL >

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.

Author:
VladimĂ­r Ulman (xulman@fi.muni.cz)
Date:
2007

Constructor & Destructor Documentation

template<class VOXEL >
Separable4DFilter< VOXEL >::Separable4DFilter (  )  [inline]

filter lengths

Empty constructor.

template<class VOXEL >
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.

template<class VOXEL >
Separable4DFilter< VOXEL >::~Separable4DFilter (  ) 

The desctructor frees allocated memory.


Member Function Documentation

template<class VOXEL >
void Separable4DFilter< VOXEL >::PrintFilter ( void   ) 

It prints the content of the structure to the screen.

template<class VOXEL >
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.

template<class VOXEL >
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.

template<class VOXEL >
void Separable4DFilter< VOXEL >::DisposeData ( void   ) 

frees the data arrays [xyzt]Data


Member Data Documentation

template<class VOXEL >
VOXEL* Separable4DFilter< VOXEL >::xData
template<class VOXEL >
VOXEL* Separable4DFilter< VOXEL >::yData

filter coefficients

template<class VOXEL >
VOXEL* Separable4DFilter< VOXEL >::zData

filter coefficients

template<class VOXEL >
VOXEL* Separable4DFilter< VOXEL >::tData

filter coefficients

template<class VOXEL >
VOXEL Separable4DFilter< VOXEL >::xDiv

filter coefficients

template<class VOXEL >
VOXEL Separable4DFilter< VOXEL >::yDiv

coefficient divisors

template<class VOXEL >
VOXEL Separable4DFilter< VOXEL >::zDiv

coefficient divisors

template<class VOXEL >
VOXEL Separable4DFilter< VOXEL >::tDiv

coefficient divisors

template<class VOXEL >
long Separable4DFilter< VOXEL >::xLength

coefficient divisors

template<class VOXEL >
long Separable4DFilter< VOXEL >::yLength

filter lengths

template<class VOXEL >
long Separable4DFilter< VOXEL >::zLength

filter lengths

template<class VOXEL >
long Separable4DFilter< VOXEL >::tLength

filter lengths


The documentation for this struct was generated from the following files: