Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITKMRNORMTWOREGIONBASEDFILTER_H
18 #define MITKMRNORMTWOREGIONBASEDFILTER_H
19 
20 #include "mitkCommon.h"
22 #include "mitkImageToImageFilter.h"
23 #include "mitkImageTimeSelector.h"
24 
25 #include "itkImage.h"
26 
27 namespace mitk {
28  //##Documentation
29  //## @brief
30  //## @ingroup Process
32  {
33  public:
35 
36  itkFactorylessNewMacro(Self);
37  itkCloneMacro(Self);
38 
39  void SetMask1( const mitk::Image* mask );
40  void SetMask2( const mitk::Image* mask );
41 
42  const mitk::Image* GetMask1() const;
43  const mitk::Image* GetMask2() const;
44 
46  {
49  MEDIAN
50  };
51 
52  itkGetConstMacro(Area1, NormalizationBase);
53  itkGetConstMacro(Area2, NormalizationBase);
54  itkSetMacro(Area1, NormalizationBase);
55  itkSetMacro(Area2, NormalizationBase);
56 
57  protected:
59 
61 
62  virtual void GenerateInputRequestedRegion() override;
63 
64  virtual void GenerateOutputInformation() override;
65 
66  virtual void GenerateData() override;
67 
68  template < typename TPixel, unsigned int VImageDimension >
69  void InternalComputeMask(itk::Image<TPixel, VImageDimension>* itkImage);
70 
73  };
74 } // namespace mitk
75 
76 #endif /* MITKMRNORMTWOREGIONBASEDFILTER_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:44
Image class for storing images.
Definition: mitkImage.h:76
Superclass of all classes having one or more Images as input and generating Images as output...
#define MITKCLMRUTILITIES_EXPORT