]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpaPlugins/ThresholdImageGrowFunctionSource.cxx
...
[FrontAlgorithms.git] / lib / fpaPlugins / ThresholdImageGrowFunctionSource.cxx
index cebd4a261caad4f388e4788b06521f6b326761e4..e518b6bbe215c595e535c131fa9d06b3c3fa19df 100644 (file)
@@ -30,8 +30,7 @@ fpaPlugins::ThresholdImageGrowFunctionSource::
 std::string fpaPlugins::ThresholdImageGrowFunctionSource::
 _GenerateData( )
 {
-  auto image =
-    this->GetInputData< cpPlugins::Interface::DataObject >( "ReferenceImage" );
+  auto image = this->GetInputData( "ReferenceImage" );
   itk::DataObject* itk_image = NULL;
   std::string r = "";
   cpPlugins_Image_Demangle_AllScalarTypes( 2, image, itk_image, r, _GD0 );
@@ -47,7 +46,7 @@ _GD0( itk::DataObject* data )
 {
   typedef fpa::Image::Functors::RegionGrowThresholdFunction< I > _F;
 
-  auto out = this->GetOutputData< GrowFunction >( "Output" );
+  auto out = this->GetOutputData( "Output" );
   auto f = out->GetITK< _F >( );
   if( f == NULL )
   {