#ifndef __CPPLUGINS__PLUGINS__OTSUTHRESHOLDIMAGEFILTER__H__ #define __CPPLUGINS__PLUGINS__OTSUTHRESHOLDIMAGEFILTER__H__ #include #include namespace cpPlugins { namespace BasicFilters { /** */ class cpPluginsBasicFilters_EXPORT OtsuThresholdImageFilter : public cpPlugins::Interface::ImageToImageFilter { public: typedef OtsuThresholdImageFilter Self; typedef cpPlugins::Interface::ImageToImageFilter Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; public: itkNewMacro( Self ); itkTypeMacro( OtsuThresholdImageFilter, cpPluginsInterfaceImageToImageFilter ); cpPlugins_Id_Macro( cpPlugins::BasicFilters::OtsuThresholdImageFilter, ImageToBinaryImageFilter ); protected: OtsuThresholdImageFilter( ); virtual ~OtsuThresholdImageFilter( ); virtual std::string _GenerateData( ); template< class I > inline std::string _GD0( itk::DataObject* image ); template< class I, class O > inline std::string _RealGD( itk::DataObject* image ); private: // Purposely not implemented OtsuThresholdImageFilter( const Self& ); Self& operator=( const Self& ); }; // --------------------------------------------------------------------- CPPLUGINS_INHERIT_PROVIDER( OtsuThresholdImageFilter ); } // ecapseman } // ecapseman #endif // __CPPLUGINS__PLUGINS__OTSUTHRESHOLDIMAGEFILTER__H__ // eof - $RCSfile$