From: Leonardo Florez-Valencia Date: Fri, 27 Mar 2015 19:35:24 +0000 (-0500) Subject: Save dijkstra map X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2d412e2a3d8815d35975ca04c8968e55bc14dda3;p=FrontAlgorithms.git Save dijkstra map --- diff --git a/appli/examples/example_ImageAlgorithmDijkstra_03.cxx b/appli/examples/example_ImageAlgorithmDijkstra_03.cxx index dd3c07d..9f529f1 100644 --- a/appli/examples/example_ImageAlgorithmDijkstra_03.cxx +++ b/appli/examples/example_ImageAlgorithmDijkstra_03.cxx @@ -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 ); }