X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FAlgorithms%2FRGBImageToOtherChannelsFilter.h;fp=lib%2FcpExtensions%2FAlgorithms%2FRGBImageToOtherChannelsFilter.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=4ce67542dccbfb74e182bd951160cc6e92c9703e;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Algorithms/RGBImageToOtherChannelsFilter.h b/lib/cpExtensions/Algorithms/RGBImageToOtherChannelsFilter.h deleted file mode 100644 index 4ce6754..0000000 --- a/lib/cpExtensions/Algorithms/RGBImageToOtherChannelsFilter.h +++ /dev/null @@ -1,67 +0,0 @@ -// ------------------------------------------------------------------------- -// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) -// ------------------------------------------------------------------------- - -#ifndef __CPEXTENSIONS__ALGORITHMS__RGBIMAGETOOTHERCHANNELSFILTER__H__ -#define __CPEXTENSIONS__ALGORITHMS__RGBIMAGETOOTHERCHANNELSFILTER__H__ - -#include - -namespace cpExtensions -{ - namespace Algorithms - { - /** - */ - template< class I, class O, class C > - class RGBImageToOtherChannelsFilter - : public itk::ImageToImageFilter< I, O > - { - public: - typedef RGBImageToOtherChannelsFilter Self; - typedef itk::ImageToImageFilter< I, O > Superclass; - typedef itk::SmartPointer< Self > Pointer; - typedef itk::SmartPointer< const Self > ConstPointer; - - typedef I TInputImage; - typedef O TOutputImage; - typedef C TConverter; - typedef typename I::PixelType TInputPixel; - typedef typename O::PixelType TOutputPixel; - - public: - itkNewMacro( Self ); - itkTypeMacro( RGBImageToOtherChannelsFilter, itkImageToImageFilter ); - - protected: - RGBImageToOtherChannelsFilter( ); - virtual ~RGBImageToOtherChannelsFilter( ); - - virtual void BeforeThreadedGenerateData( ); - virtual void AfterThreadedGenerateData( ); - - virtual void ThreadedGenerateData( - const typename Superclass::OutputImageRegionType& region, - itk::ThreadIdType threadId - ); - - private: - // Purposely not implemented - RGBImageToOtherChannelsFilter( const Self& other ); - void operator=( const Self& other ); - - private: - TConverter Converter; - }; - - } // ecapseman - -} // ecapseman - -#ifndef ITK_MANUAL_INSTANTIATION -#include -#endif // ITK_MANUAL_INSTANTIATION - -#endif // __CPEXTENSIONS__ALGORITHMS__RGBIMAGETOOTHERCHANNELSFILTER__H__ - -// eof - $RCSfile$