X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FAlgorithms%2FLightCompensationFilter.h;fp=lib%2FcpExtensions%2FAlgorithms%2FLightCompensationFilter.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=a3c28ff0ae79fb538bfd8f58e23b2c571fbe8f7b;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Algorithms/LightCompensationFilter.h b/lib/cpExtensions/Algorithms/LightCompensationFilter.h deleted file mode 100644 index a3c28ff..0000000 --- a/lib/cpExtensions/Algorithms/LightCompensationFilter.h +++ /dev/null @@ -1,65 +0,0 @@ -// ------------------------------------------------------------------------- -// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) -// ------------------------------------------------------------------------- - -#ifndef __CPEXTENSIONS__ALGORITHMS__LIGHTCOMPENSATIONFILTER__H__ -#define __CPEXTENSIONS__ALGORITHMS__LIGHTCOMPENSATIONFILTER__H__ - -#include -#include - -namespace cpExtensions -{ - namespace Algorithms - { - /** - */ - template< class I > - class LightCompensationFilter - : public itk::InPlaceImageFilter< I, I > - { - public: - typedef LightCompensationFilter Self; - typedef itk::InPlaceImageFilter< I, I > Superclass; - typedef itk::SmartPointer< Self > Pointer; - typedef itk::SmartPointer< const Self > ConstPointer; - - typedef I TImage; - typedef typename I::RegionType TRegion; - - typedef cpExtensions::Algorithms::ParallelImageMean< I > TMeanCalculator; - typedef typename TMeanCalculator::TMean TMean; - - public: - itkNewMacro( Self ); - itkTypeMacro( LightCompensationFilter, itkInPlaceImageFilter ); - - itkGetConstMacro( Mean, TMean ); - - protected: - LightCompensationFilter( ); - virtual ~LightCompensationFilter( ); - - private: - virtual void BeforeThreadedGenerateData( ); - virtual void ThreadedGenerateData( - const TRegion& region, itk::ThreadIdType id - ); - virtual void AfterThreadedGenerateData( ); - - protected: - TMean m_Mean; - TMean m_Coefficient; - }; - - } // ecapseman - -} // ecapseman - -#ifndef ITK_MANUAL_INSTANTIATION -#include -#endif // ITK_MANUAL_INSTANTIATION - -#endif // __CPEXTENSIONS__ALGORITHMS__LIGHTCOMPENSATIONFILTER__H__ - -// eof - $RCSfile$