Medical Imaging Interaction Toolkit  2018.4.99-c0f884b2
Medical Imaging Interaction Toolkit
itkSmoothedClassProbabilites.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 itSmoothedClassProbabilites_h
14 #define itSmoothedClassProbabilites_h
15 
16 #include "itkImageToImageFilter.h"
17 
18 namespace itk
19 {
20 template< class TImage>
21 class SmoothedClassProbabilites:public ImageToImageFilter< TImage, TImage >
22 {
23 public:
26  typedef ImageToImageFilter< TImage, TImage > Superclass;
28 
30  itkNewMacro(Self);
31  itkTypeMacro(SmoothedClassProbabilites, ImageToImageFilter);
32  itkSetMacro(Sigma, double);
33 
34  void SetMaskImage(TImage * mask){m_MaskImage = mask;}
35 
36 protected:
39 
40 
42  virtual void GenerateData();
43 
44 private:
45  //LabelSampler(const Self &); //purposely not implemented
46  //void operator=(const Self &); //purposely not implemented
47 
48  double m_Sigma;
49  TImage * m_MaskImage;
50 
51 };
52 } //namespace ITK
53 
54 
55 #ifndef ITK_MANUAL_INSTANTIATION
56 #include <../src/Algorithms/itkSmoothedClassProbabilites.cpp>
57 #endif
58 
59 
60 #endif // itLabelSampler_h
ImageToImageFilter< TImage, TImage > Superclass
mitk::Image::Pointer mask