]> Creatis software - cpPlugins.git/blobdiff - plugins/ITKSeparableFilters/SmoothingRecursiveGaussianImageFilter.cxx
...
[cpPlugins.git] / plugins / ITKSeparableFilters / SmoothingRecursiveGaussianImageFilter.cxx
index 9cf2381d59c82fdc5be9540fb8fffd583e0082ce..5b79eaabbfb436d42e0b0b70b512dbf55fd9fd2d 100644 (file)
@@ -1,5 +1,5 @@
 #include <ITKSeparableFilters/SmoothingRecursiveGaussianImageFilter.h>
-#include <cpInstances/Image.h>
+#include <cpInstances/DataObjects/Image.h>
 
 #include <itkSmoothingRecursiveGaussianImageFilter.h>
 
@@ -8,8 +8,8 @@ cpPluginsITKSeparableFilters::SmoothingRecursiveGaussianImageFilter::
 SmoothingRecursiveGaussianImageFilter( )
   : Superclass( )
 {
-  this->_ConfigureInput< cpInstances::Image >( "Input", true, false );
-  this->_ConfigureOutput< cpInstances::Image >( "Output" );
+  this->_ConfigureInput< cpInstances::DataObjects::Image >( "Input", true, false );
+  this->_ConfigureOutput< cpInstances::DataObjects::Image >( "Output" );
   this->m_Parameters.ConfigureAsRealList( "SigmaArray" );
   this->m_Parameters.ConfigureAsRealTypesChoices( "OutputResolution" );
 }
@@ -36,12 +36,8 @@ _GD0( _TImage* image )
 {
   std::string out_res =
     this->m_Parameters.GetSelectedChoice( "OutputResolution" );
-#ifdef cpPlugins_CONFIG_REAL_TYPES_float
   if( out_res == "float" ) this->_GD1< _TImage, float >( image );
-#endif // cpPlugins_CONFIG_REAL_TYPES_float
-#ifdef cpPlugins_CONFIG_REAL_TYPES_double
   if( out_res == "double" ) this->_GD1< _TImage, double >( image );
-#endif // cpPlugins_CONFIG_REAL_TYPES_double
 }
 
 // -------------------------------------------------------------------------