]> Creatis software - clitk.git/blob - filters/clitkBinarizeImageGenericFilter.h
removed headers
[clitk.git] / filters / clitkBinarizeImageGenericFilter.h
1 #ifndef CLITKBINARIZEIMAGEGENERICFILTER_H
2 #define CLITKBINARIZEIMAGEGENERICFILTER_H
3 #include "clitkIO.h"
4 #include "clitkImageToImageGenericFilter.h"
5
6 //--------------------------------------------------------------------
7 namespace clitk 
8 {
9   
10   template<class args_info_type>
11   class ITK_EXPORT BinarizeImageGenericFilter: 
12     public ImageToImageGenericFilter<BinarizeImageGenericFilter<args_info_type> >
13   {
14     
15   public:
16
17     //--------------------------------------------------------------------
18     BinarizeImageGenericFilter();
19
20     //--------------------------------------------------------------------
21     typedef BinarizeImageGenericFilter         Self;
22     typedef itk::SmartPointer<Self>            Pointer;
23     typedef itk::SmartPointer<const Self>      ConstPointer;
24    
25     //--------------------------------------------------------------------
26     // Method for creation through the object factory
27     // and Run-time type information (and related methods)
28     itkNewMacro(Self);  
29     itkTypeMacro(BinarizeImageGenericFilter, LightObject);
30
31     //--------------------------------------------------------------------
32     void SetArgsInfo(const args_info_type & a);
33
34     //--------------------------------------------------------------------
35     // Main function called each time the filter is updated
36     template<class InputImageType>  
37     void UpdateWithInputImageType();
38
39   protected:
40     template<unsigned int Dim> void InitializeImageType();
41     args_info_type mArgsInfo;
42     
43   }; // end class
44   //--------------------------------------------------------------------
45     
46 } // end namespace clitk
47
48 #ifndef ITK_MANUAL_INSTANTIATION
49 #include "clitkBinarizeImageGenericFilter.txx"
50 #endif
51
52 #endif // #define clitkBinarizeImageGenericFilter_h