Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
itkStructureTensorEigenvalueImageFilter.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 ITKSTRUCTURETENSOREIGENVALUEIMAGEFILTER_H
18 #define ITKSTRUCTURETENSOREIGENVALUEIMAGEFILTER_H
19 
20 #include <itkImageToImageFilter.h>
21 
22 namespace itk
23 {
24  template< class TInputImageType,
25  class TOutputImageType = TInputImageType,
26  class TMaskImageType = itk::Image<short,3> >
28  : public itk::ImageToImageFilter<TInputImageType, TOutputImageType>
29  {
30  public:
31 
35  typedef ImageToImageFilter< TInputImageType, TOutputImageType > Superclass;
36 
37  itkFactorylessNewMacro(Self);
38  itkCloneMacro(Self);
39 
40  void SetImageMask(TMaskImageType * maskimage);
41 
42  itkSetMacro(InnerScale,double)
43  itkGetMacro(InnerScale,double)
44 
45  itkSetMacro(OuterScale,double)
46  itkGetMacro(OuterScale,double)
47 
48  private:
49 
50  typename TMaskImageType::Pointer m_ImageMask;
51  double m_InnerScale, m_OuterScale;
52 
53  void GenerateData();
54  void GenerateOutputInformation();
55 
58  };
59 }
60 
61 #ifndef ITK_MANUAL_INSTANTIATION
62 #include "../src/Algorithm/itkStructureTensorEigenvalueImageFilter.cpp"
63 #endif
64 
65 #endif
StructureTensorEigenvalueImageFilter< TInputImageType, TOutputImageType > Self
ImageToImageFilter< TInputImageType, TOutputImageType > Superclass