Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkMRNormTwoRegionBasedFilter.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 mitkMRNormTwoRegionBasedFilter_h
14 #define mitkMRNormTwoRegionBasedFilter_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 SetMask1( const mitk::Image* mask );
36  void SetMask2( const mitk::Image* mask );
37 
38  const mitk::Image* GetMask1() const;
39  const mitk::Image* GetMask2() const;
40 
42  {
45  MEDIAN
46  };
47 
48  itkGetConstMacro(Area1, NormalizationBase);
49  itkGetConstMacro(Area2, NormalizationBase);
50  itkSetMacro(Area1, NormalizationBase);
51  itkSetMacro(Area2, NormalizationBase);
52 
53  protected:
55 
56  ~MRNormTwoRegionsBasedFilter() override;
57 
58  void GenerateInputRequestedRegion() override;
59 
60  void GenerateOutputInformation() override;
61 
62  void GenerateData() override;
63 
64  template < typename TPixel, unsigned int VImageDimension >
65  void InternalComputeMask(itk::Image<TPixel, VImageDimension>* itkImage);
66 
69  };
70 } // namespace mitk
71 
72 #endif
mitkImageToImageFilter.h
mitk::MRNormTwoRegionsBasedFilter::m_Area2
NormalizationBase m_Area2
Definition: mitkMRNormTwoRegionBasedFilter.h:68
mitkImageTimeSelector.h
mitk::Image
Image class for storing images.
Definition: mitkImage.h:69
MITKCLMRUTILITIES_EXPORT
#define MITKCLMRUTILITIES_EXPORT
Definition: MitkCLMRUtilitiesExports.h:15
mitk::MRNormTwoRegionsBasedFilter::MEAN
@ MEAN
Definition: mitkMRNormTwoRegionBasedFilter.h:43
mitk::MRNormTwoRegionsBasedFilter::MODE
@ MODE
Definition: mitkMRNormTwoRegionBasedFilter.h:44
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::MRNormTwoRegionsBasedFilter
Definition: mitkMRNormTwoRegionBasedFilter.h:27
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitk::MRNormTwoRegionsBasedFilter::NormalizationBase
NormalizationBase
Definition: mitkMRNormTwoRegionBasedFilter.h:41
mitkCommon.h
mitk::MRNormTwoRegionsBasedFilter::m_Area1
NormalizationBase m_Area1
Definition: mitkMRNormTwoRegionBasedFilter.h:67
MitkCLMRUtilitiesExports.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::ImageToImageFilter
Superclass of all classes having one or more Images as input and generating Images as output.
Definition: mitkImageToImageFilter.h:25