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://oncora1.lyon.fnclcc.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 ======================================================================-====*/
19 #ifndef CLITKBINARIZEIMAGEGENERICFILTER_H
20 #define CLITKBINARIZEIMAGEGENERICFILTER_H
23 #include "clitkImageToImageGenericFilter.h"
25 //--------------------------------------------------------------------
29 template<class args_info_type>
30 class ITK_EXPORT BinarizeImageGenericFilter:
31 public ImageToImageGenericFilter<BinarizeImageGenericFilter<args_info_type> >
36 //--------------------------------------------------------------------
37 BinarizeImageGenericFilter();
39 //--------------------------------------------------------------------
40 typedef BinarizeImageGenericFilter Self;
41 typedef itk::SmartPointer<Self> Pointer;
42 typedef itk::SmartPointer<const Self> ConstPointer;
44 //--------------------------------------------------------------------
45 // Method for creation through the object factory
46 // and Run-time type information (and related methods)
48 itkTypeMacro(BinarizeImageGenericFilter, LightObject);
50 //--------------------------------------------------------------------
51 void SetArgsInfo(const args_info_type & a);
53 //--------------------------------------------------------------------
54 // Main function called each time the filter is updated
55 template<class InputImageType>
56 void UpdateWithInputImageType();
59 template<unsigned int Dim> void InitializeImageType();
60 args_info_type mArgsInfo;
63 //--------------------------------------------------------------------
65 } // end namespace clitk
67 #ifndef ITK_MANUAL_INSTANTIATION
68 #include "clitkBinarizeImageGenericFilter.txx"
71 #endif // #define clitkBinarizeImageGenericFilter_h