Medical Imaging Interaction Toolkit  2021.02.99-121d8b57
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
 
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 ()
 
 ~DiffImageApplier () override
 
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 36 of file mitkDiffImageApplier.h.

Constructor & Destructor Documentation

◆ DiffImageApplier()

mitk::DiffImageApplier::DiffImageApplier ( )
protected

◆ ~DiffImageApplier()

mitk::DiffImageApplier::~DiffImageApplier ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::DiffImageApplier::Clone ( ) const

◆ ExecuteOperation()

void mitk::DiffImageApplier::ExecuteOperation ( Operation operation)
overridevirtual

Implements mitk::OperationActor.

◆ GetInstanceForUndo()

static DiffImageApplier* mitk::DiffImageApplier::GetInstanceForUndo ( )
static

◆ ItkImageProcessing2DDiff()

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

◆ ItkImageProcessing3DDiff()

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

◆ ItkImageSwitch2DDiff()

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

◆ ItkImageSwitch3DDiff()

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

◆ ItkInvertPixelValues()

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

◆ mitkClassMacroItkParent()

mitk::DiffImageApplier::mitkClassMacroItkParent ( DiffImageApplier  ,
itk::Object   
)

◆ New()

static Pointer mitk::DiffImageApplier::New ( )
static

Member Data Documentation

◆ m_Dimension0

unsigned int mitk::DiffImageApplier::m_Dimension0
protected

Definition at line 74 of file mitkDiffImageApplier.h.

◆ m_Dimension1

unsigned int mitk::DiffImageApplier::m_Dimension1
protected

Definition at line 75 of file mitkDiffImageApplier.h.

◆ m_Factor

double mitk::DiffImageApplier::m_Factor
protected

Definition at line 77 of file mitkDiffImageApplier.h.

◆ m_Image

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

Definition at line 68 of file mitkDiffImageApplier.h.

◆ m_SliceDifferenceImage

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

Definition at line 69 of file mitkDiffImageApplier.h.

◆ m_SliceDimension

unsigned int mitk::DiffImageApplier::m_SliceDimension
protected

Definition at line 72 of file mitkDiffImageApplier.h.

◆ m_SliceIndex

unsigned int mitk::DiffImageApplier::m_SliceIndex
protected

Definition at line 71 of file mitkDiffImageApplier.h.

◆ m_TimeStep

unsigned int mitk::DiffImageApplier::m_TimeStep
protected

Definition at line 73 of file mitkDiffImageApplier.h.


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