]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/BasicFilters/BinaryErodeImageFilter.cxx
Intermediary commit
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / BinaryErodeImageFilter.cxx
index 2bcfa2d3de9c2b3f241a463f82b00e5e99d48d85..fd207a09eb4e188f20e0339f42b9680d4d8172bd 100644 (file)
@@ -65,8 +65,8 @@ template< class I, class O >
 inline std::string cpPlugins::BasicFilters::BinaryErodeImageFilter::
 _RealGD( itk::DataObject* image )
 {
-       //typedef itk::Image<I, I::ImageDimension>    ImageType;
-       typedef itk::BinaryBallStructuringElement< I::PixelType, I::ImageDimension>  StructuringElementType;
+  //typedef itk::Image<I, I::ImageDimension>    ImageType;
+  typedef itk::BinaryBallStructuringElement< typename I::PixelType, I::ImageDimension>  StructuringElementType;
   typedef itk::BinaryErodeImageFilter< I, O, StructuringElementType > _F;
   typedef typename _F::RadiusType _RT;
 
@@ -75,7 +75,7 @@ _RealGD( itk::DataObject* image )
   rad_val.Fill( this->m_Parameters.GetValueAsUint( "Radius" ) );
 
   // Configure filter
-  
+
   StructuringElementType structuringElement;
   structuringElement.SetRadius(rad_val);
   structuringElement.CreateStructuringElement();