Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkCESTImageNormalizationFilter.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 #ifndef mitkCESTImageNormalizationFilter_h
13 #define mitkCESTImageNormalizationFilter_h
14 
15 #include <MitkCESTExports.h>
16 
17 // MITK
18 #include <mitkImageToImageFilter.h>
19 
20 namespace mitk
21 {
51  {
52  public:
54  itkFactorylessNewMacro(Self);
55  itkCloneMacro(Self);
56 
57  protected:
70  void GenerateOutputInformation() override;
81  void GenerateData() override;
82 
88  template <typename TPixel, unsigned int VImageDimension>
89  void NormalizeTimeSteps(const itk::Image<TPixel, VImageDimension>* image);
90 
92  std::string m_RealOffsets;
93 
95  std::vector< unsigned int > m_NonM0Indices;
96 
97  };
98 
114 
115 } // END mitk namespace
116 
117 #endif
#define MITKCEST_EXPORT
Normalization filter for CEST images using M0 reference images.
~CESTImageNormalizationFilter() override
Standard destructor.
CESTImageNormalizationFilter()
Standard constructor.
std::string m_RealOffsets
Offsets without M0s, space-separated, stored after normalization.
void NormalizeTimeSteps(const itk::Image< TPixel, VImageDimension > *image)
void GenerateData() override
Generate the normalized output image.
std::vector< unsigned int > m_NonM0Indices
Indices of non-M0 timesteps in the original input image.
mitkClassMacro(CESTImageNormalizationFilter, ImageToImageFilter)
void GenerateOutputInformation() override
Generate the output information of this filter (e.g. image dimension, image type, etc....
Superclass of all classes having one or more Images as input and generating Images as output.
Image class for storing multi-dimensional medical image data.
Definition: mitkImage.h:76
Find image slices visible on a given plane.
MITKCEST_EXPORT bool IsNotNormalizedCESTImage(const Image *cestImage)
Check whether a CEST image still contains un-normalized M0 timesteps.