Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkTransformationOperation.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 mitkTransformationOperation_h
14 #define mitkTransformationOperation_h
15 
16 #include <mitkImage.h>
18 #include <mitkImageMappingHelper.h>
19 
20 namespace mitk
21 {
22 
28  {
32  };
33 
39  {
40  Held,
41  Vow,
43  Shannon
44  };
45 
51  {
55  };
56 
72  public:
85  static std::vector<Image::Pointer> MultiResolution(Image::Pointer & image, unsigned int numberOfLevels, bool outputAsDouble = false);
86 
98  static Image::Pointer LaplacianOfGaussian(Image::Pointer & image, double sigma, bool outputAsDouble = false);
99 
116  static std::vector<Image::Pointer> WaveletForward(Image::Pointer & image, unsigned int numberOfLevels, unsigned int numberOfBands, BorderCondition condition, WaveletType waveletType);
117 
135  static Image::Pointer ResampleImage(Image::Pointer &image, mitk::Vector3D spacing, mitk::ImageMappingInterpolator::Type interpolator, GridInterpolationPositionType position, bool returnAsDouble, bool roundOutput);
136 
152  static Image::Pointer ResampleMask(Image::Pointer &image, mitk::Vector3D spacing, mitk::ImageMappingInterpolator::Type interpolator, GridInterpolationPositionType position);
153 
154  };
155 
156 
157 }
158 #endif
#define MITKBASICIMAGEPROCESSING_EXPORT
Provides static methods for image transformations including multi-resolution decomposition,...
static Image::Pointer ResampleMask(Image::Pointer &image, mitk::Vector3D spacing, mitk::ImageMappingInterpolator::Type interpolator, GridInterpolationPositionType position)
Resample a binary mask image to a new voxel spacing.
static Image::Pointer ResampleImage(Image::Pointer &image, mitk::Vector3D spacing, mitk::ImageMappingInterpolator::Type interpolator, GridInterpolationPositionType position, bool returnAsDouble, bool roundOutput)
Resample an image to a new voxel spacing.
static std::vector< Image::Pointer > WaveletForward(Image::Pointer &image, unsigned int numberOfLevels, unsigned int numberOfBands, BorderCondition condition, WaveletType waveletType)
Compute a forward wavelet decomposition of an image.
static Image::Pointer LaplacianOfGaussian(Image::Pointer &image, double sigma, bool outputAsDouble=false)
Apply a Laplacian of Gaussian (LoG) filter to an image.
static std::vector< Image::Pointer > MultiResolution(Image::Pointer &image, unsigned int numberOfLevels, bool outputAsDouble=false)
Compute a multi-resolution Gaussian pyramid decomposition of an image.
Find image slices visible on a given plane.
BorderCondition
Specifies the boundary condition for image padding in wavelet transforms.
@ Constant
Constant (zero) boundary padding.
@ Periodic
Periodic (wrap-around) boundary padding.
@ ZeroFluxNeumann
Zero-flux Neumann boundary padding (gradient is zero at boundary).
GridInterpolationPositionType
Specifies how the resampled grid is positioned relative to the original image.
@ CenterAligned
Center-align the resampled grid so the image center is preserved.
@ SameSize
Adjust spacing so the resampled image has the same physical extent (number of voxels may change).
@ OriginAligned
Keep the origin aligned; the output extent may differ from the input.
WaveletType
Specifies the isotropic wavelet function type for wavelet decomposition.
@ Shannon
Shannon isotropic wavelet.
@ Vow
Vow isotropic wavelet.
@ Simoncelli
Simoncelli isotropic wavelet.
@ Held
Held isotropic wavelet.