NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Invert intensity of an image. More...
Public Types | |
typedef InvertIntensityBetweenMaxAndMinImageFilter | Self |
typedef UnaryFunctorImageFilter < TInputImage, TOutputImage, Functor::InvertIntensityBetweenMaxAndMinTransform < typename TInputImage::PixelType, typename TOutputImage::PixelType > > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TOutputImage::PixelType | OutputPixelType |
typedef TInputImage::PixelType | InputPixelType |
typedef NumericTraits < InputPixelType >::RealType | RealType |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual const InputPixelType & | GetMaximum () |
virtual const InputPixelType & | GetMinimum () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | BeforeThreadedGenerateData (void) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
InvertIntensityBetweenMaxAndMinImageFilter () | |
virtual | ~InvertIntensityBetweenMaxAndMinImageFilter () |
Invert intensity of an image.
InvertIntensityBetweenMaxAndMinImageFilter inverts an image's pixel intensities by subtracting the pixel value, I, from the image maximum, Imax, and adding the minimum, Imin i.e. by computing Inew = Imax - I + Imin. The maximum and minimum values are set to the maximum and minimum of the input image. This filter preserves the range of the input image and can be used to invert, for example, a binary image, a distance map, etc.
typedef SmartPointer<const Self> itk::InvertIntensityBetweenMaxAndMinImageFilter< TInputImage, TOutputImage >::ConstPointer |
typedef TInputImage::PixelType itk::InvertIntensityBetweenMaxAndMinImageFilter< TInputImage, TOutputImage >::InputPixelType |
typedef TOutputImage::PixelType itk::InvertIntensityBetweenMaxAndMinImageFilter< TInputImage, TOutputImage >::OutputPixelType |
typedef SmartPointer<Self> itk::InvertIntensityBetweenMaxAndMinImageFilter< TInputImage, TOutputImage >::Pointer |
typedef NumericTraits<InputPixelType>::RealType itk::InvertIntensityBetweenMaxAndMinImageFilter< TInputImage, TOutputImage >::RealType |
typedef InvertIntensityBetweenMaxAndMinImageFilter itk::InvertIntensityBetweenMaxAndMinImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
typedef UnaryFunctorImageFilter<TInputImage,TOutputImage, Functor::InvertIntensityBetweenMaxAndMinTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType> > itk::InvertIntensityBetweenMaxAndMinImageFilter< TInputImage, TOutputImage >::Superclass |
|
protected |
|
inlineprotectedvirtual |
void itk::InvertIntensityBetweenMaxAndMinImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData | ( | void | ) |
Process to execute before entering the multithreaded section
|
virtual |
Runtime information support.
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
void itk::InvertIntensityBetweenMaxAndMinImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const |
Print internal ivars