MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions | Protected Attributes
mds::img::CVolumeMaxFilter< V > Class Template Reference

Template providing max-value volume filtering functions. More...

#include <mdsMinMax.h>

Inheritance diagram for mds::img::CVolumeMaxFilter< V >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { TEMPLATE_PARAMETER_IS_NOT_VOLUME = V::CLASS_VOLUME }
 Check that type V is a volume. More...
typedef CVolumeFilter< V > base
 Volume filter base.
typedef base::tVolume tVolume
 Volume type.
typedef base::tVoxel tVoxel
 Volume voxel type.

Public Member Functions

 CVolumeMaxFilter (tSize Size)
 Constructor that creates a new filter.
tVoxel getResponse (const tVolume &SrcVolume, tSize x, tSize y, tSize z)
 Returns filter response at specified volume position.
bool operator() (const tVolume &SrcVolume, tVolume &DstVolume)
 Max volume filtering.
void setSize (tSize Size)
 Sets the windows size.
 ~CVolumeMaxFilter ()
 Destructor.

Protected Attributes

tSize m_MaxSize
 Max filter size.

Detailed Description

template<class V>
class mds::img::CVolumeMaxFilter< V >

Template providing max-value volume filtering functions.


Member Typedef Documentation

template<class V >
typedef CVolumeFilter<V> mds::img::CVolumeMaxFilter< V >::base

Volume filter base.

template<class V >
typedef base::tVolume mds::img::CVolumeMaxFilter< V >::tVolume

Volume type.

Reimplemented from mds::img::CVolumeFilter< V >.

template<class V >
typedef base::tVoxel mds::img::CVolumeMaxFilter< V >::tVoxel

Volume voxel type.

Reimplemented from mds::img::CVolumeFilter< V >.


Member Enumeration Documentation

template<class V>
anonymous enum [inherited]

Check that type V is a volume.

You will see name of this enum somewhere in compiler error message if the type V is not volume.

Enumerator:
TEMPLATE_PARAMETER_IS_NOT_VOLUME 

Constructor & Destructor Documentation

template<class V >
mds::img::CVolumeMaxFilter< V >::CVolumeMaxFilter ( tSize  Size)

Constructor that creates a new filter.

  • Parameter 'Size' is a window size and it must be an odd number.
template<class V >
mds::img::CVolumeMaxFilter< V >::~CVolumeMaxFilter ( )

Destructor.


Member Function Documentation

template<class V >
CVolumeMaxFilter< V >::tVoxel CVolumeMaxFilter::getResponse ( const tVolume SrcVolume,
tSize  x,
tSize  y,
tSize  z 
)

Returns filter response at specified volume position.

  • Value is not normalized!
template<class V >
bool CVolumeMaxFilter::operator() ( const tVolume SrcVolume,
tVolume DstVolume 
) [virtual]

Max volume filtering.

  • Returns false on failure.

Implements mds::img::CVolumeFilter< V >.

template<class V >
void mds::img::CVolumeMaxFilter< V >::setSize ( tSize  Size)

Sets the windows size.


Member Data Documentation

template<class V >
tSize mds::img::CVolumeMaxFilter< V >::m_MaxSize [protected]

Max filter size.


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