]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/BasicFilters/BinaryErodeImageFilter.cxx
...
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / BinaryErodeImageFilter.cxx
index 7460520f37303fd146525044a4560771467ea651..fb9d6ea704476436de736fccc1d4deaff65f334e 100644 (file)
@@ -11,9 +11,10 @@ BinaryErodeImageFilter( )
   : Superclass( )
 {
   this->_AddInput( "Input" );
-  this->_MakeOutput< cpPlugins::Interface::Image >( "Output" );
+  this->_AddOutput< cpPlugins::Interface::Image >( "Output" );
 
-  this->m_Parameters->ConfigureAsUint( "Radius", 2 );
+  this->m_Parameters->ConfigureAsUint( "Radius" );
+  this->m_Parameters->SetUint( "Radius", 2 );
 }
 
 // -------------------------------------------------------------------------