]> Creatis software - FrontAlgorithms.git/commitdiff
...
authorLeonardo Flórez-Valencia <leonardo.florez@gmail.com>
Wed, 8 Mar 2017 03:27:07 +0000 (22:27 -0500)
committerLeonardo Flórez-Valencia <leonardo.florez@gmail.com>
Wed, 8 Mar 2017 03:27:07 +0000 (22:27 -0500)
plugins/ImageAlgorithms/Dijkstra.cxx
plugins/ImageAlgorithms/ExtractPathFromMinimumSpanningTree.cxx

index 7d4fe1edac38094020468f533a158550a974bb6a..33e2ab41c8717c5a9ab8936007c689194718b01a 100644 (file)
@@ -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$
index 55ca96e73095721dc601f8595111326d2c2e7814..664929b96d650f9dd83e8b2b04bf69472ac8f7a2 100644 (file)
@@ -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;