X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FAlgorithms%2FRegionOfInterestImageCalculator.h;fp=lib%2FcpExtensions%2FAlgorithms%2FRegionOfInterestImageCalculator.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=84102adf7fb63b0b4994856fe203d3a58b279e24;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Algorithms/RegionOfInterestImageCalculator.h b/lib/cpExtensions/Algorithms/RegionOfInterestImageCalculator.h deleted file mode 100644 index 84102ad..0000000 --- a/lib/cpExtensions/Algorithms/RegionOfInterestImageCalculator.h +++ /dev/null @@ -1,73 +0,0 @@ -// ------------------------------------------------------------------------- -// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) -// ------------------------------------------------------------------------- - -#ifndef __CPEXTENSIONS__ALGORITHMS__REGIONOFINTERESTIMAGECALCULATOR__H__ -#define __CPEXTENSIONS__ALGORITHMS__REGIONOFINTERESTIMAGECALCULATOR__H__ - -#include -#include - -namespace cpExtensions -{ - namespace Algorithms - { - /** - */ - template< class _TImage > - class RegionOfInterestImageCalculator - : public itk::Object - { - public: - // Basic types - typedef RegionOfInterestImageCalculator Self; - typedef itk::Object Superclass; - typedef itk::SmartPointer< Self > Pointer; - typedef itk::SmartPointer< const Self > ConstPointer; - - typedef _TImage TImage; - typedef typename _TImage::IndexType TIndex; - typedef typename _TImage::PixelType TPixel; - - public: - itkNewMacro( Self ); - itkTypeMacro( RegionOfInterestImageCalculator, itkObject ); - - itkGetConstObjectMacro( Image, _TImage ); - itkGetConstMacro( BackgroundValue, TPixel ); - itkGetConstMacro( Minimum, TIndex ); - itkGetConstMacro( Maximum, TIndex ); - - itkSetConstObjectMacro( Image, _TImage ); - itkSetMacro( BackgroundValue, TPixel ); - - public: - void Compute( ); - - protected: - RegionOfInterestImageCalculator( ); - virtual ~RegionOfInterestImageCalculator( ); - - private: - // Purposely not implemented - RegionOfInterestImageCalculator( const Self& ); - void operator=( const Self& ); - - protected: - typename _TImage::ConstPointer m_Image; - TPixel m_BackgroundValue; - TIndex m_Minimum; - TIndex m_Maximum; - }; - - } // ecapseman - -} // ecapseman - -#ifndef ITK_MANUAL_INSTANTIATION -# include -#endif // ITK_MANUAL_INSTANTIATION - -#endif // __CPEXTENSIONS__ALGORITHMS__REGIONOFINTERESTIMAGECALCULATOR__H__ - -// eof - $RCSfile$