Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::DiffImageApplier Class Reference

Applies difference images to 3D images. More...

#include <mitkDiffImageApplier.h>

Inheritance diagram for mitk::DiffImageApplier:
Collaboration diagram for mitk::DiffImageApplier:

Public Member Functions

 mitkClassMacroItkParent (DiffImageApplier, itk::Object)
 
Pointer Clone () const
 
virtual void ExecuteOperation (Operation *operation) override
 
- Public Member Functions inherited from mitk::OperationActor
 itkTypeMacroNoParent (OperationActor) virtual ~OperationActor()
 

Static Public Member Functions

static Pointer New ()
 
static DiffImageApplierGetInstanceForUndo ()
 

Protected Member Functions

 DiffImageApplier ()
 
virtual ~DiffImageApplier ()
 
template<typename TPixel , unsigned int VImageDimension>
void ItkImageSwitch2DDiff (itk::Image< TPixel, VImageDimension > *image)
 
template<typename TPixel , unsigned int VImageDimension>
void ItkImageSwitch3DDiff (itk::Image< TPixel, VImageDimension > *image)
 
template<typename TPixel1 , unsigned int VImageDimension1, typename TPixel2 , unsigned int VImageDimension2>
void ItkImageProcessing2DDiff (itk::Image< TPixel1, VImageDimension1 > *itkImage1, itk::Image< TPixel2, VImageDimension2 > *itkImage2)
 
template<typename TPixel1 , unsigned int VImageDimension1, typename TPixel2 , unsigned int VImageDimension2>
void ItkImageProcessing3DDiff (itk::Image< TPixel1, VImageDimension1 > *itkImage1, itk::Image< TPixel2, VImageDimension2 > *itkImage2)
 
template<typename TPixel , unsigned int VImageDimension>
void ItkInvertPixelValues (itk::Image< TPixel, VImageDimension > *itkImage)
 

Protected Attributes

Image::Pointer m_Image
 
Image::Pointer m_SliceDifferenceImage
 
unsigned int m_SliceIndex
 
unsigned int m_SliceDimension
 
unsigned int m_TimeStep
 
unsigned int m_Dimension0
 
unsigned int m_Dimension1
 
double m_Factor
 

Detailed Description

Applies difference images to 3D images.

This class is supposed to execute ApplyDiffImageOperations, which contain information about pixel changes within one image slice. Class should be called from the undo stack. At the moment, ApplyDiffImageOperations are only created by OverwriteSliceImageFilter.

Author
maleike

Definition at line 40 of file mitkDiffImageApplier.h.

Constructor & Destructor Documentation

mitk::DiffImageApplier::DiffImageApplier ( )
protected

Definition at line 29 of file mitkDiffImageApplier.cpp.

mitk::DiffImageApplier::~DiffImageApplier ( )
protectedvirtual

Definition at line 33 of file mitkDiffImageApplier.cpp.

Member Function Documentation

Pointer mitk::DiffImageApplier::Clone ( ) const
mitk::DiffImageApplier * mitk::DiffImageApplier::GetInstanceForUndo ( )
static
template<typename TPixel1 , unsigned int VImageDimension1, typename TPixel2 , unsigned int VImageDimension2>
void mitk::DiffImageApplier::ItkImageProcessing2DDiff ( itk::Image< TPixel1, VImageDimension1 > *  itkImage1,
itk::Image< TPixel2, VImageDimension2 > *  itkImage2 
)
protected

Definition at line 266 of file mitkDiffImageApplier.cpp.

template<typename TPixel1 , unsigned int VImageDimension1, typename TPixel2 , unsigned int VImageDimension2>
void mitk::DiffImageApplier::ItkImageProcessing3DDiff ( itk::Image< TPixel1, VImageDimension1 > *  itkImage1,
itk::Image< TPixel2, VImageDimension2 > *  itkImage2 
)
protected

Definition at line 308 of file mitkDiffImageApplier.cpp.

template<typename TPixel , unsigned int VImageDimension>
void mitk::DiffImageApplier::ItkImageSwitch2DDiff ( itk::Image< TPixel, VImageDimension > *  image)
protected
template<typename TPixel , unsigned int VImageDimension>
void mitk::DiffImageApplier::ItkImageSwitch3DDiff ( itk::Image< TPixel, VImageDimension > *  image)
protected
template<typename TPixel , unsigned int VImageDimension>
void mitk::DiffImageApplier::ItkInvertPixelValues ( itk::Image< TPixel, VImageDimension > *  itkImage)
protected

Definition at line 333 of file mitkDiffImageApplier.cpp.

mitk::DiffImageApplier::mitkClassMacroItkParent ( DiffImageApplier  ,
itk::Object   
)
static Pointer mitk::DiffImageApplier::New ( )
static

Referenced by GetInstanceForUndo().

Member Data Documentation

unsigned int mitk::DiffImageApplier::m_Dimension0
protected

Definition at line 77 of file mitkDiffImageApplier.h.

unsigned int mitk::DiffImageApplier::m_Dimension1
protected

Definition at line 78 of file mitkDiffImageApplier.h.

double mitk::DiffImageApplier::m_Factor
protected

Definition at line 80 of file mitkDiffImageApplier.h.

Image::Pointer mitk::DiffImageApplier::m_Image
protected

Definition at line 71 of file mitkDiffImageApplier.h.

Image::Pointer mitk::DiffImageApplier::m_SliceDifferenceImage
protected

Definition at line 72 of file mitkDiffImageApplier.h.

unsigned int mitk::DiffImageApplier::m_SliceDimension
protected

Definition at line 75 of file mitkDiffImageApplier.h.

unsigned int mitk::DiffImageApplier::m_SliceIndex
protected

Definition at line 74 of file mitkDiffImageApplier.h.

unsigned int mitk::DiffImageApplier::m_TimeStep
protected

Definition at line 76 of file mitkDiffImageApplier.h.


The documentation for this class was generated from the following files: