]> Creatis software - clitk.git/blob - tools/clitkSUVPeakGenericFilter.h
Remove trailing spaces and tab
[clitk.git] / tools / clitkSUVPeakGenericFilter.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to:
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://www.centreleonberard.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef CLITKSUVPEAKGENERICFILTER_H
19 #define CLITKSUVPEAKGENERICFILTER_H
20 /**
21  -------------------------------------------------------------------
22  * @file   clitkSUVPeakGenericFilter.h
23  * @author David Sarrut <David.Sarrut@creatis.insa-lyon.fr>
24  * @date   23 Feb 2008 08:37:53
25
26  * @brief
27  -------------------------------------------------------------------*/
28
29 // clitk include
30 #include "clitkCommon.h"
31 #include "clitkImageToImageGenericFilter.h"
32 #include "clitkSUVPeak_ggo.h"
33
34 // itk include
35 #include "itkImage.h"
36 #include "itkImageIOBase.h"
37 #include "itkImageRegionIterator.h"
38 #include "itkImageRegionConstIterator.h"
39
40 //--------------------------------------------------------------------
41 namespace clitk {
42
43   template<class args_info_type>
44   class ITK_EXPORT SUVPeakGenericFilter:
45     public clitk::ImageToImageGenericFilter<SUVPeakGenericFilter<args_info_type> > {
46
47   public:
48
49     // Constructor
50     SUVPeakGenericFilter ();
51
52     // Types
53     typedef SUVPeakGenericFilter        Self;
54     typedef ImageToImageGenericFilterBase   Superclass;
55     typedef itk::SmartPointer<Self>         Pointer;
56     typedef itk::SmartPointer<const Self>   ConstPointer;
57
58     // New
59     itkNewMacro(Self);
60
61
62
63     //--------------------------------------------------------------------
64     void SetArgsInfo(const args_info_type & a);
65
66     //SUVPeak
67     template<class ImageType> typename ImageType::Pointer ComputeMeanFilterKernel(const typename ImageType::SpacingType & spacing, double radius);
68
69     //--------------------------------------------------------------------
70     // Main function called each time the filter is updated
71     template<class InputImageType>
72     void UpdateWithInputImageType();
73
74   protected:
75     template<unsigned int Dim> void InitializeImageType();
76     args_info_type mArgsInfo;
77
78   }; // end class SUVPeakGenericFilter
79
80 } // end namespace
81 //--------------------------------------------------------------------
82
83
84 #ifndef ITK_MANUAL_INSTANTIATION
85 #include "clitkSUVPeakGenericFilter.txx"
86 #endif
87
88 #endif //#define CLITKSUVPEAKGENERICFILTER_H
89