// Connect output
auto out = this->GetOutputData< cpPlugins::Interface::Image >( "Output" );
- if( out != NULL )
- {
- out->SetITK< O >( filter->GetOutput( ) );
- return( "" );
- }
- else
- return( "BinaryErodeImageFilter: output not correctly created." );
+ out->SetITK( filter->GetOutput( ) );
+ return( "" );
}
// eof - $RCSfile$