Public Member Functions | Static Public Member Functions | Private Attributes

cmtk::ImageOperationDownsample Class Reference

Image operation: grid downsampling. More...

#include <cmtkImageOperationDownsample.h>

Inheritance diagram for cmtk::ImageOperationDownsample:
Inheritance graph
[legend]
Collaboration diagram for cmtk::ImageOperationDownsample:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ImageOperationDownsample (const int factorX, const int factorY, const int factorZ)
 Constructor:
virtual
cmtk::UniformVolume::SmartPtr 
Apply (cmtk::UniformVolume::SmartPtr &volume)
 Apply this operation to an image in place.

Static Public Member Functions

static void New (const char *arg)
 Create a new downsampler.

Private Attributes

int m_FactorX
 Downsampling factor in X direction.
int m_FactorY
 Downsampling factor in Y direction.
int m_FactorZ
 Downsampling factor in Z direction.

Detailed Description

Image operation: grid downsampling.

Inherit from image operation base class.

Definition at line 43 of file cmtkImageOperationDownsample.h.


Constructor & Destructor Documentation

cmtk::ImageOperationDownsample::ImageOperationDownsample ( const int  factorX,
const int  factorY,
const int  factorZ 
) [inline]

Constructor:

Definition at line 49 of file cmtkImageOperationDownsample.h.


Member Function Documentation

cmtk::UniformVolume::SmartPtr cmtk::ImageOperationDownsample::Apply ( cmtk::UniformVolume::SmartPtr volume ) [virtual]

Apply this operation to an image in place.

Reimplemented from cmtk::ImageOperation.

Definition at line 35 of file cmtkImageOperationDownsample.cxx.

void cmtk::ImageOperationDownsample::New ( const char *  arg ) [static]

Create a new downsampler.

Definition at line 43 of file cmtkImageOperationDownsample.cxx.

References cmtk::StdErr.


Member Data Documentation

Downsampling factor in X direction.

Definition at line 59 of file cmtkImageOperationDownsample.h.

Downsampling factor in Y direction.

Definition at line 62 of file cmtkImageOperationDownsample.h.

Downsampling factor in Z direction.

Definition at line 65 of file cmtkImageOperationDownsample.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines