X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FAlgorithms%2FImageToBoundingBoxFromThreshold.h;fp=lib%2FcpExtensions%2FAlgorithms%2FImageToBoundingBoxFromThreshold.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=b970df46e46c1064d67c9f74a3efe85b0da85ea3;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Algorithms/ImageToBoundingBoxFromThreshold.h b/lib/cpExtensions/Algorithms/ImageToBoundingBoxFromThreshold.h deleted file mode 100644 index b970df4..0000000 --- a/lib/cpExtensions/Algorithms/ImageToBoundingBoxFromThreshold.h +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------- -// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) -// ------------------------------------------------------------------------- - -#ifndef __cpExtensions__Algorithms__ImageToBoundingBoxFromThreshold__h__ -#define __cpExtensions__Algorithms__ImageToBoundingBoxFromThreshold__h__ - -#include -#include - -namespace cpExtensions -{ - namespace Algorithms - { - /** - */ - template< class _TImage > - class ImageToBoundingBoxFromThreshold - : public itk::Object - { - public: - typedef ImageToBoundingBoxFromThreshold Self; - typedef itk::Object Superclass; - typedef itk::SmartPointer< Self > Pointer; - typedef itk::SmartPointer< const Self > ConstPointer; - - typedef _TImage TImage; - typedef typename TImage::PixelType TPixel; - typedef typename TImage::IndexType TIndex; - typedef typename TImage::RegionType TRegion; - - public: - itkNewMacro( Self ); - itkTypeMacro( ImageToBoundingBoxFromThreshold, itkObject ); - - itkGetConstObjectMacro( Image, TImage ); - itkGetConstMacro( LowerThreshold, TPixel ); - itkGetConstMacro( UpperThreshold, TPixel ); - itkGetConstMacro( Region, TRegion ); - itkGetConstMacro( PAD, unsigned int ); - - itkSetConstObjectMacro( Image, TImage ); - itkSetMacro( LowerThreshold, TPixel ); - itkSetMacro( UpperThreshold, TPixel ); - itkSetMacro( Region, TRegion ); - itkSetMacro( PAD, unsigned int ); - - public: - void Compute( ); - - protected: - ImageToBoundingBoxFromThreshold( ); - virtual ~ImageToBoundingBoxFromThreshold( ); - - private: - // Purposely not implemented. - ImageToBoundingBoxFromThreshold( const Self& ); - void operator=( const Self& ); - - protected: - typename TImage::ConstPointer m_Image; - TPixel m_LowerThreshold; - TPixel m_UpperThreshold; - TRegion m_Region; - unsigned int m_PAD; - }; - - } // ecapseman - -} // ecapseman - -#ifndef ITK_MANUAL_INSTANTIATION -# include -#endif // ITK_MANUAL_INSTANTIATION - -#endif // __cpExtensions__Algorithms__ImageToBoundingBoxFromThreshold__h__ - -// eof - $RCSfile$