Image operation: scale image values to given range. More...
#include <cmtkImageOperationScaleToRange.h>
Public Member Functions | |
ImageOperationScaleToRange (const Types::DataItemRange &toRange) | |
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 *range) |
Create a new lower thresholding operation. | |
Private Attributes | |
Types::DataItemRange | m_ToRange |
Start of range we're scaling to. |
Image operation: scale image values to given range.
Inherit from image operation base class.
Definition at line 43 of file cmtkImageOperationScaleToRange.h.
cmtk::ImageOperationScaleToRange::ImageOperationScaleToRange | ( | const Types::DataItemRange & | toRange ) | [inline] |
cmtk::UniformVolume::SmartPtr cmtk::ImageOperationScaleToRange::Apply | ( | cmtk::UniformVolume::SmartPtr & | volume ) | [virtual] |
Apply this operation to an image in place.
Reimplemented from cmtk::ImageOperation.
Definition at line 50 of file cmtkImageOperationScaleToRange.cxx.
void cmtk::ImageOperationScaleToRange::New | ( | const char * | range ) | [static] |
Create a new lower thresholding operation.
Definition at line 36 of file cmtkImageOperationScaleToRange.cxx.
References ImageOperationScaleToRange(), and cmtk::ImageOperation::m_ImageOperationList.
Start of range we're scaling to.
Definition at line 59 of file cmtkImageOperationScaleToRange.h.