]> Creatis software - FrontAlgorithms.git/commitdiff
Save dijkstra map
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 27 Mar 2015 19:35:24 +0000 (14:35 -0500)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 27 Mar 2015 19:35:24 +0000 (14:35 -0500)
appli/examples/example_ImageAlgorithmDijkstra_03.cxx

index dd3c07d130ef91e5bedf524a65c1faa9df71f2d8..9f529f1d3966cb94a0f1865638fb71f8cab77f04 100644 (file)
@@ -292,13 +292,11 @@ int main( int argc, char* argv[] )
   marks_writer->SetFileName( output_image_fn );
   marks_writer->Update( );
 
-  /* TODO
-     TImageWriter::Pointer dijkstra_writer =
-     TImageWriter::New( );
-     dijkstra_writer->SetInput( paths->GetOutput( ) );
-     dijkstra_writer->SetFileName( "dijkstra.mhd" );
-     dijkstra_writer->Update( );
-  */
+  TImageWriter::Pointer dijkstra_writer =
+    TImageWriter::New( );
+  dijkstra_writer->SetInput( paths->GetOutput( ) );
+  dijkstra_writer->SetFileName( "dijkstra.mhd" );
+  dijkstra_writer->Update( );
 
   return( 0 );
 }