Image operation: crop to region. More...
#include <cmtkImageOperationCropRegion.h>
Public Member Functions | |
ImageOperationCropRegion (const DataGrid::RegionType ®ion) | |
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 | |
DataGrid::RegionType | m_Region |
Cropping region: x0,y0,z0,x1,y1,z1. |
Image operation: crop to region.
Inherit from image operation base class.
Definition at line 43 of file cmtkImageOperationCropRegion.h.
cmtk::ImageOperationCropRegion::ImageOperationCropRegion | ( | const DataGrid::RegionType & | region ) | [inline] |
Constructor:
Definition at line 49 of file cmtkImageOperationCropRegion.h.
cmtk::UniformVolume::SmartPtr cmtk::ImageOperationCropRegion::Apply | ( | cmtk::UniformVolume::SmartPtr & | volume ) | [virtual] |
Apply this operation to an image in place.
Reimplemented from cmtk::ImageOperation.
Definition at line 35 of file cmtkImageOperationCropRegion.cxx.
void cmtk::ImageOperationCropRegion::New | ( | const char * | arg ) | [static] |
Create a new downsampler.
Definition at line 43 of file cmtkImageOperationCropRegion.cxx.
Cropping region: x0,y0,z0,x1,y1,z1.
Definition at line 62 of file cmtkImageOperationCropRegion.h.