Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::ShapeBasedInterpolationAlgorithm Class Reference

Shape-based binary image interpolation. More...

#include <mitkShapeBasedInterpolationAlgorithm.h>

Inheritance diagram for mitk::ShapeBasedInterpolationAlgorithm:
Collaboration diagram for mitk::ShapeBasedInterpolationAlgorithm:

Public Member Functions

 mitkClassMacro (ShapeBasedInterpolationAlgorithm, SegmentationInterpolationAlgorithm)
 
Pointer Clone () const
 
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, Image::ConstPointer referenceImage) override
 Interpolate a 2D slice between two known segmentation slices. More...
 
- Public Member Functions inherited from mitk::SegmentationInterpolationAlgorithm
 mitkClassMacroItkParent (SegmentationInterpolationAlgorithm, itk::Object)
 

Static Public Member Functions

static Pointer New ()
 

Detailed Description

Shape-based binary image interpolation.

This class implements the shape-based interpolation algorithm described in:

G.T. Herman, J. Zheng, C.A. Bucholtz: "Shape-based interpolation" IEEE Computer Graphics & Applications, pp. 69-79, May 1992

It computes signed distance maps from the upper and lower slices and linearly interpolates between them to produce the intermediate slice. Distance maps are cached internally for performance when interpolating multiple slices between the same pair.

Definition at line 37 of file mitkShapeBasedInterpolationAlgorithm.h.

Member Function Documentation

◆ Clone()

Pointer mitk::ShapeBasedInterpolationAlgorithm::Clone ( ) const

◆ Interpolate()

Image::Pointer mitk::ShapeBasedInterpolationAlgorithm::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,
Image::ConstPointer  referenceImage 
)
overridevirtual

Interpolate a 2D slice between two known segmentation slices.

Parameters
lowerSliceThe segmentation slice below the requested index.
lowerSliceIndexThe index of the lower slice.
upperSliceThe segmentation slice above the requested index.
upperSliceIndexThe index of the upper slice.
requestedIndexThe index of the slice to interpolate.
sliceDimensionThe dimension along which slicing is performed.
resultImageOptional pre-allocated image to write the result into.
timeStepThe time step to interpolate for.
referenceImageA reference image providing geometry information.
Returns
The interpolated 2D binary image.

Implements mitk::SegmentationInterpolationAlgorithm.

◆ mitkClassMacro()

mitk::ShapeBasedInterpolationAlgorithm::mitkClassMacro ( ShapeBasedInterpolationAlgorithm  ,
SegmentationInterpolationAlgorithm   
)

◆ New()

static Pointer mitk::ShapeBasedInterpolationAlgorithm::New ( )
static

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