|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Shape-based binary image interpolation. More...
#include <mitkShapeBasedInterpolationAlgorithm.h>


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 () |
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.
| Pointer mitk::ShapeBasedInterpolationAlgorithm::Clone | ( | ) | const |
|
overridevirtual |
Interpolate a 2D slice between two known segmentation slices.
| lowerSlice | The segmentation slice below the requested index. |
| lowerSliceIndex | The index of the lower slice. |
| upperSlice | The segmentation slice above the requested index. |
| upperSliceIndex | The index of the upper slice. |
| requestedIndex | The index of the slice to interpolate. |
| sliceDimension | The dimension along which slicing is performed. |
| resultImage | Optional pre-allocated image to write the result into. |
| timeStep | The time step to interpolate for. |
| referenceImage | A reference image providing geometry information. |
Implements mitk::SegmentationInterpolationAlgorithm.
| mitk::ShapeBasedInterpolationAlgorithm::mitkClassMacro | ( | ShapeBasedInterpolationAlgorithm | , |
| SegmentationInterpolationAlgorithm | |||
| ) |
|
static |