From 2b43395480bf95d0b399ded56aa272768bbc074a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leonardo=20Fl=C3=B3rez-Valencia?= Date: Tue, 7 Mar 2017 22:27:07 -0500 Subject: [PATCH] ... --- plugins/ImageAlgorithms/Dijkstra.cxx | 1 + plugins/ImageAlgorithms/ExtractPathFromMinimumSpanningTree.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- 2.47.1