Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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
 
void SetDestinationLabel (mitk::Label::PixelType)
 
- 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
 
mitk::Label::PixelType m_DestinationLabel
 
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 QmitkSlicesInterpolator.

Author
maleike

Definition at line 37 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

◆ SetDestinationLabel()

void mitk::DiffImageApplier::SetDestinationLabel ( mitk::Label::PixelType  )

Member Data Documentation

◆ m_DestinationLabel

mitk::Label::PixelType mitk::DiffImageApplier::m_DestinationLabel
protected

Definition at line 80 of file mitkDiffImageApplier.h.

◆ m_Dimension0

unsigned int mitk::DiffImageApplier::m_Dimension0
protected

Definition at line 77 of file mitkDiffImageApplier.h.

◆ m_Dimension1

unsigned int mitk::DiffImageApplier::m_Dimension1
protected

Definition at line 78 of file mitkDiffImageApplier.h.

◆ m_Factor

double mitk::DiffImageApplier::m_Factor
protected

Definition at line 82 of file mitkDiffImageApplier.h.

◆ m_Image

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

Definition at line 71 of file mitkDiffImageApplier.h.

◆ m_SliceDifferenceImage

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

Definition at line 72 of file mitkDiffImageApplier.h.

◆ m_SliceDimension

unsigned int mitk::DiffImageApplier::m_SliceDimension
protected

Definition at line 75 of file mitkDiffImageApplier.h.

◆ m_SliceIndex

unsigned int mitk::DiffImageApplier::m_SliceIndex
protected

Definition at line 74 of file mitkDiffImageApplier.h.

◆ m_TimeStep

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 file: