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 );