Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkSegmentationInterpolationAlgorithm.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkSegmentationInterpolationAlgorithm_h
14 #define mitkSegmentationInterpolationAlgorithm_h
15 
16 #include <mitkCommon.h>
17 #include <mitkExceptionMacro.h>
18 #include <mitkImage.h>
20 
21 #include <itkObjectFactory.h>
22 
23 namespace mitk
24 {
30  {
31  public:
33  };
34 
59  {
60  public:
62 
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;
86  };
87 
88 } // namespace
89 
90 #endif
#define MITKSEGMENTATION_EXPORT
Base class for all MITK exceptions.
Definition: mitkException.h:53
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.