// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
// -------------------------------------------------------------------------
-#ifndef __CPPLUGINS__EXTENSIONS__ALGORITHMS__PARALLELIMAGEMEAN__HXX__
-#define __CPPLUGINS__EXTENSIONS__ALGORITHMS__PARALLELIMAGEMEAN__HXX__
+#ifndef __CPEXTENSIONS__ALGORITHMS__PARALLELIMAGEMEAN__HXX__
+#define __CPEXTENSIONS__ALGORITHMS__PARALLELIMAGEMEAN__HXX__
#include <itkImageRegionConstIterator.h>
// -------------------------------------------------------------------------
template< class I >
-cpPlugins::Extensions::Algorithms::ParallelImageMean< I >::
+cpExtensions::Algorithms::ParallelImageMean< I >::
ParallelImageMean( )
: Superclass( )
{
// -------------------------------------------------------------------------
template< class I >
-cpPlugins::Extensions::Algorithms::ParallelImageMean< I >::
+cpExtensions::Algorithms::ParallelImageMean< I >::
~ParallelImageMean( )
{
}
// -------------------------------------------------------------------------
template< class I >
-void cpPlugins::Extensions::Algorithms::ParallelImageMean< I >::
+void cpExtensions::Algorithms::ParallelImageMean< I >::
BeforeThreadedExecution( )
{
this->m_Mean.SetSize( _TPixelTraits::GetLength( ) );
// -------------------------------------------------------------------------
template< class I >
-void cpPlugins::Extensions::Algorithms::ParallelImageMean< I >::
+void cpExtensions::Algorithms::ParallelImageMean< I >::
ThreadedExecution( const DomainType& region, const itk::ThreadIdType id )
{
itk::ImageRegionConstIterator< I > i( this->m_Associate, region );
// -------------------------------------------------------------------------
template< class I >
-void cpPlugins::Extensions::Algorithms::ParallelImageMean< I >::
+void cpExtensions::Algorithms::ParallelImageMean< I >::
AfterThreadedExecution( )
{
this->m_Mean /= double( this->m_N );
}
-#endif // __CPPLUGINS__EXTENSIONS__ALGORITHMS__PARALLELIMAGEMEAN__HXX__
+#endif // __CPEXTENSIONS__ALGORITHMS__PARALLELIMAGEMEAN__HXX__
// eof - $RCSfile$