1 #ifndef __CPPLUGINS__PLUGINS__OTSUTHRESHOLDIMAGEFILTER__H__
2 #define __CPPLUGINS__PLUGINS__OTSUTHRESHOLDIMAGEFILTER__H__
4 #include <cpPlugins/Plugins/cpPlugins_Export.h>
5 #include <cpPlugins/Interface/ImageToImageFilter.h>
13 class cpPlugins_EXPORT OtsuThresholdImageFilter
14 : public cpPlugins::Interface::ImageToImageFilter
17 typedef OtsuThresholdImageFilter Self;
18 typedef cpPlugins::Interface::ImageToImageFilter Superclass;
19 typedef itk::SmartPointer< Self > Pointer;
20 typedef itk::SmartPointer< const Self > ConstPointer;
24 itkTypeMacro( OtsuThresholdImageFilter, cpPluginsInterfaceImageToImageFilter );
27 OtsuThresholdImageFilter( );
28 virtual ~OtsuThresholdImageFilter( );
30 virtual std::string _GenerateData( );
32 cpPlugins_Image_Demangle_Methods( OtsuThresholdImageFilter );
35 std::string _DemangleInput( itk::DataObject* image );
37 template< class I, class O >
38 std::string _RealGD( itk::DataObject* image );
41 // Purposely not implemented
42 OtsuThresholdImageFilter( const Self& );
43 Self& operator=( const Self& );
46 // ---------------------------------------------------------------------
47 CPPLUGINS_INHERIT_PROVIDER( OtsuThresholdImageFilter );
53 #endif // __CPPLUGINS__PLUGINS__OTSUTHRESHOLDIMAGEFILTER__H__