From: Leonardo Flórez-Valencia Date: Wed, 8 Mar 2017 03:27:07 +0000 (-0500) Subject: ... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2b43395480bf95d0b399ded56aa272768bbc074a;p=FrontAlgorithms.git ... --- diff --git a/plugins/ImageAlgorithms/Dijkstra.cxx b/plugins/ImageAlgorithms/Dijkstra.cxx index 7d4fe1e..33e2ab4 100644 --- a/plugins/ImageAlgorithms/Dijkstra.cxx +++ b/plugins/ImageAlgorithms/Dijkstra.cxx @@ -93,6 +93,7 @@ _GD1( _TInputImage* image ) filter->AddSeed( seed, ( typename _TOutputImage::PixelType )( 0 ) ); filter->Update( ); this->GetOutput( "Output" )->SetITK( filter->GetOutput( ) ); + this->GetOutput( "MST" )->SetITK( filter->GetMinimumSpanningTree( ) ); } // eof - $RCSfile$ diff --git a/plugins/ImageAlgorithms/ExtractPathFromMinimumSpanningTree.cxx b/plugins/ImageAlgorithms/ExtractPathFromMinimumSpanningTree.cxx index 55ca96e..664929b 100644 --- a/plugins/ImageAlgorithms/ExtractPathFromMinimumSpanningTree.cxx +++ b/plugins/ImageAlgorithms/ExtractPathFromMinimumSpanningTree.cxx @@ -9,7 +9,7 @@ fpaPlugins_ImageAlgorithms::ExtractPathFromMinimumSpanningTree:: ExtractPathFromMinimumSpanningTree( ) : Superclass( ) { - typedef cpPlugins::Pipeline::DataObject _TData; + typedef cpPlugins::Pipeline::DataObject _TData; typedef cpInstances::DataObjects::Image _TMST; typedef cpInstances::DataObjects::PolyLineParametricPath _TPath;