13 #ifndef mitkSegmentationInterpolationAlgorithm_h
14 #define mitkSegmentationInterpolationAlgorithm_h
21 #include <itkObjectFactory.h>
77 virtual Image::Pointer
Interpolate(Image::ConstPointer lowerSlice,
78 unsigned int lowerSliceIndex,
79 Image::ConstPointer upperSlice,
80 unsigned int upperSliceIndex,
81 unsigned int requestedIndex,
82 unsigned int sliceDimension,
83 Image::Pointer resultImage,
84 unsigned int timeStep = 0,
85 Image::ConstPointer referenceImage =
nullptr) = 0;
#define MITKSEGMENTATION_EXPORT
Base class for all MITK exceptions.
Interface class for interpolation algorithms.
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
Interpolates a binary segmentation slice between two given slices.
Exception thrown when a segmentation interpolation algorithm cannot compute a result from its input s...
mitkExceptionClassMacro(SegmentationInterpolationException, Exception)
Find image slices visible on a given plane.