]> Creatis software - FrontAlgorithms.git/blobdiff - plugins/fpa/MinimumSpanningTreeWriter.cxx
...
[FrontAlgorithms.git] / plugins / fpa / MinimumSpanningTreeWriter.cxx
index d0f35598b07966a50b2092c15b165fc90015e685..991090812bf6bdfe790feb1337aeb7da5cf39960 100644 (file)
@@ -30,8 +30,8 @@ _GenerateData( )
   typedef fpa::Image::MinimumSpanningTree< 2 > _2D;
   typedef fpa::Image::MinimumSpanningTree< 3 > _3D;
 
-  auto _2d = this->GetInputData( "Input" )->GetITK< _2D >( );
-  auto _3d = this->GetInputData( "Input" )->GetITK< _3D >( );
+  auto _2d = this->GetInputData< _2D >( "Input" );
+  auto _3d = this->GetInputData< _3D >( "Input" );
 
   if     ( _2d != NULL ) this->_GD0( _2d );
   else if( _3d != NULL ) this->_GD0( _3d );