Image operation: grid downsampling. More...
#include <cmtkImageOperationDownsample.h>
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. |
Image operation: grid downsampling.
Inherit from image operation base class.
Definition at line 43 of file cmtkImageOperationDownsample.h.
cmtk::ImageOperationDownsample::ImageOperationDownsample | ( | const int | factorX, |
const int | factorY, | ||
const int | factorZ | ||
) | [inline] |
Constructor:
Definition at line 49 of file cmtkImageOperationDownsample.h.
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.
int cmtk::ImageOperationDownsample::m_FactorX [private] |
Downsampling factor in X direction.
Definition at line 59 of file cmtkImageOperationDownsample.h.
int cmtk::ImageOperationDownsample::m_FactorY [private] |
Downsampling factor in Y direction.
Definition at line 62 of file cmtkImageOperationDownsample.h.
int cmtk::ImageOperationDownsample::m_FactorZ [private] |
Downsampling factor in Z direction.
Definition at line 65 of file cmtkImageOperationDownsample.h.