]> Creatis software - FrontAlgorithms.git/blobdiff - tests/image/RandomWalker/CompareRandomWalkers.cxx
...
[FrontAlgorithms.git] / tests / image / RandomWalker / CompareRandomWalkers.cxx
index 67afb48e8eabcb43af523b6c5a86c73902c1ea12..b3177a9ccbae0339cb3fbd579ff44d7842d81b99 100644 (file)
@@ -95,6 +95,7 @@ void Original(
   filter->SetInput( input );
   filter->SetInputLabels( labels );
   filter->SetEdgeFunction( edge );
+  filter->DebugOn( );
   double t = MeasureTime( filter );
   output_labels = filter->GetOutput( );
   output_probabilities = filter->GetOutputProbabilities( );
@@ -183,8 +184,8 @@ int main( int argc, char* argv[] )
     beta, epsilon
     );
 
-  WriteImage( original_labels, "orig.png" );
-  WriteImage( fp_labels, "fp.png" );
+  WriteImage( original_labels, "orig.mhd" );
+  WriteImage( fp_labels, "fp.mhd" );
 
   return( 0 );
 }