Medical Imaging Interaction Toolkit  2023.12.99-63768887
Medical Imaging Interaction Toolkit
mitk::SegmentationInterpolationAlgorithm Class Referenceabstract

Interface class for interpolation algorithms. More...

#include <mitkSegmentationInterpolationAlgorithm.h>

Inheritance diagram for mitk::SegmentationInterpolationAlgorithm:
Collaboration diagram for mitk::SegmentationInterpolationAlgorithm:

Public Member Functions

 mitkClassMacroItkParent (SegmentationInterpolationAlgorithm, itk::Object)
 
virtual Image::Pointer Interpolate (Image::ConstPointer lowerSlice, unsigned int lowerSliceIndex, Image::ConstPointer upperSlice, unsigned int upperSliceIndex, unsigned int requestedIndex, unsigned int sliceDimension, Image::Pointer resultImage, unsigned int timeStep=0, Image::ConstPointer referenceImage=nullptr)=0
 

Detailed Description

Interface class for interpolation algorithms.

Interpolation algorithms estimate a binary image (segmentation) given manual segmentations of neighboring slices. They get the following inputs:

  • slice orientation of given and requested slices (dimension which is constant for all pixels of the meant orientation, e.g. 2 for axial).
  • slice indices of the neighboring slices (for upper and lower slice)
  • slice data of the neighboring slices (for upper and lower slice)
  • slice index of the requested slice (guaranteed to be between upper and lower index)
  • image data of the original patient image that is being segmented (optional, may not be present)
  • time step of the requested slice (needed to read out original image data)

Concrete algorithms can use e.g. itk::ImageSliceConstIteratorWithIndex to inspect the original patient image at appropriate positions - if they want to take image data into account.

All processing is triggered by calling Interpolate().

Last contributor: $Author:$

Definition at line 47 of file mitkSegmentationInterpolationAlgorithm.h.

Member Function Documentation

◆ Interpolate()

virtual Image::Pointer mitk::SegmentationInterpolationAlgorithm::Interpolate ( Image::ConstPointer  lowerSlice,
unsigned int  lowerSliceIndex,
Image::ConstPointer  upperSlice,
unsigned int  upperSliceIndex,
unsigned int  requestedIndex,
unsigned int  sliceDimension,
Image::Pointer  resultImage,
unsigned int  timeStep = 0,
Image::ConstPointer  referenceImage = nullptr 
)
pure virtual

◆ mitkClassMacroItkParent()

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

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