Medical Imaging Interaction Toolkit  2022.04.99-685cdc74
Medical Imaging Interaction Toolkit
mitkMRNormLinearStatisticBasedFilter.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 MRNORMLINEARSTATISTICBASEDFILTER_H
14 #define MRNORMLINEARSTATISTICBASEDFILTER_H
15 
16 #include "mitkCommon.h"
18 #include "mitkImageToImageFilter.h"
19 #include "mitkImageTimeSelector.h"
20 
21 #include "itkImage.h"
22 
23 namespace mitk {
24  //##Documentation
25  //## @brief
26  //## @ingroup Process
28  {
29  public:
31 
32  itkFactorylessNewMacro(Self);
33  itkCloneMacro(Self);
34 
35  void SetMask( const mitk::Image* mask );
36 
37  const mitk::Image* GetMask() const;
38 
40  {
43  MEDIAN
44  };
45 
46  itkGetConstMacro(CenterMode, NormalizationBase);
47  itkSetMacro(CenterMode, NormalizationBase);
48 
49  itkGetConstMacro(IgnoreOutlier, bool);
50  itkSetMacro(IgnoreOutlier, bool);
51 
52  itkGetConstMacro(TargetValue, double);
53  itkSetMacro(TargetValue, double);
54 
55  itkGetConstMacro(TargetWidth, double);
56  itkSetMacro(TargetWidth, double);
57 
58  protected:
60 
62 
63  void GenerateInputRequestedRegion() override;
64 
65  void GenerateOutputInformation() override;
66 
67  void GenerateData() override;
68 
69  template < typename TPixel, unsigned int VImageDimension >
70  void InternalComputeMask(itk::Image<TPixel, VImageDimension>* itkImage);
71 
74  private:
75  double m_TargetValue;
76  double m_TargetWidth;
77 
78  };
79 } // namespace mitk
80 
81 #endif /* MRNORMLINEARSTATISTICBASEDFILTER_H */
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
Image class for storing images.
Definition: mitkImage.h:69
Superclass of all classes having one or more Images as input and generating Images as output...
#define MITKCLMRUTILITIES_EXPORT