1 #ifndef CLITKBINARIZEIMAGEGENERICFILTER_H
2 #define CLITKBINARIZEIMAGEGENERICFILTER_H
4 #include "clitkImageToImageGenericFilter.h"
6 //--------------------------------------------------------------------
10 template<class args_info_type>
11 class ITK_EXPORT BinarizeImageGenericFilter:
12 public ImageToImageGenericFilter<BinarizeImageGenericFilter<args_info_type> >
17 //--------------------------------------------------------------------
18 BinarizeImageGenericFilter();
20 //--------------------------------------------------------------------
21 typedef BinarizeImageGenericFilter Self;
22 typedef itk::SmartPointer<Self> Pointer;
23 typedef itk::SmartPointer<const Self> ConstPointer;
25 //--------------------------------------------------------------------
26 // Method for creation through the object factory
27 // and Run-time type information (and related methods)
29 itkTypeMacro(BinarizeImageGenericFilter, LightObject);
31 //--------------------------------------------------------------------
32 void SetArgsInfo(const args_info_type & a);
34 //--------------------------------------------------------------------
35 // Main function called each time the filter is updated
36 template<class InputImageType>
37 void UpdateWithInputImageType();
40 template<unsigned int Dim> void InitializeImageType();
41 args_info_type mArgsInfo;
44 //--------------------------------------------------------------------
46 } // end namespace clitk
48 #ifndef ITK_MANUAL_INSTANTIATION
49 #include "clitkBinarizeImageGenericFilter.txx"
52 #endif // #define clitkBinarizeImageGenericFilter_h