Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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
itk::SmoothedClassProbabilites
Definition: itkSmoothedClassProbabilites.h:21
itk::SmoothedClassProbabilites::~SmoothedClassProbabilites
~SmoothedClassProbabilites()
Definition: itkSmoothedClassProbabilites.h:38
itk::SmoothedClassProbabilites::Superclass
ImageToImageFilter< TImage, TImage > Superclass
Definition: itkSmoothedClassProbabilites.h:26
itk::SmoothedClassProbabilites::SetMaskImage
void SetMaskImage(TImage *mask)
Definition: itkSmoothedClassProbabilites.h:34
itk::SmartPointer< Self >
itk::SmoothedClassProbabilites::Self
SmoothedClassProbabilites Self
Definition: itkSmoothedClassProbabilites.h:25
itk::SmoothedClassProbabilites::Pointer
SmartPointer< Self > Pointer
Definition: itkSmoothedClassProbabilites.h:27
itk::SmoothedClassProbabilites::SmoothedClassProbabilites
SmoothedClassProbabilites()
Definition: itkSmoothedClassProbabilites.h:37
itk
SET FUNCTIONS.
Definition: itkIntelligentBinaryClosingFilter.h:30
itk::SmoothedClassProbabilites::GenerateData
virtual void GenerateData()