1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
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
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.
13 It is distributed under dual licence
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
21 -------------------------------------------------------------------
22 * @file clitkSUVPeakGenericFilter.h
23 * @author David Sarrut <David.Sarrut@creatis.insa-lyon.fr>
24 * @date 23 Feb 2008 08:37:53
27 -------------------------------------------------------------------*/
30 #include "clitkCommon.h"
31 #include "clitkImageToImageGenericFilter.h"
32 #include "clitkSUVPeak_ggo.h"
36 #include "itkImageIOBase.h"
37 #include "itkImageRegionIterator.h"
38 #include "itkImageRegionConstIterator.h"
40 //--------------------------------------------------------------------
43 template<class args_info_type>
44 class ITK_EXPORT SUVPeakGenericFilter:
45 public clitk::ImageToImageGenericFilter<SUVPeakGenericFilter<args_info_type> > {
50 SUVPeakGenericFilter ();
53 typedef SUVPeakGenericFilter Self;
54 typedef ImageToImageGenericFilterBase Superclass;
55 typedef itk::SmartPointer<Self> Pointer;
56 typedef itk::SmartPointer<const Self> ConstPointer;
63 //--------------------------------------------------------------------
64 void SetArgsInfo(const args_info_type & a);
67 template<class ImageType> typename ImageType::Pointer ComputeMeanFilterKernel(const typename ImageType::SpacingType & spacing, double radius);
69 //--------------------------------------------------------------------
70 // Main function called each time the filter is updated
71 template<class InputImageType>
72 void UpdateWithInputImageType();
75 template<unsigned int Dim> void InitializeImageType();
76 args_info_type mArgsInfo;
78 }; // end class SUVPeakGenericFilter
81 //--------------------------------------------------------------------
84 #ifndef ITK_MANUAL_INSTANTIATION
85 #include "clitkSUVPeakGenericFilter.txx"
88 #endif //#define CLITKSUVPEAKGENERICFILTER_H