@@ -274,7 +274,7 @@ int main(int argc, char* argv[])
274274 // transform2->PostMultiply();
275275 if (imageArg.isSet ())
276276 {
277- cout << " >> Blend: Reading Image" << endl;
277+ std:: cout << " >> Blend: Reading Image" << std:: endl;
278278 errorReading = false ;
279279 success = reader->openImage (imageName.c_str (), img.data ());
280280
@@ -298,7 +298,7 @@ int main(int argc, char* argv[])
298298
299299 if (errorReading)
300300 {
301- cerr << " Error Reading the image file. Exiting." << endl;
301+ std:: cerr << " Error Reading the image file. Exiting." << std:: endl;
302302 exit (EXIT_FAILURE);
303303 }
304304
@@ -377,14 +377,14 @@ int main(int argc, char* argv[])
377377 // Correct the blending image
378378 if (gagCestArg.isSet ())
379379 {
380- cout << " >> Blend: GagCEST scaling applied" << endl;
380+ std:: cout << " >> Blend: GagCEST scaling applied" << std:: endl;
381381 // CEST[%]=(RGB-2048)/2000*SF
382382 CorrectCESTMapping<floatImageType>(img->GetFloatImage ());
383383 img->generateImage ();
384384 }
385385
386386 // /Colour maps
387- cout << " >>> Blend: Setting Colourmap" << endl;
387+ std:: cout << " >>> Blend: Setting Colourmap" << std:: endl;
388388 img->colourMapToJet ();
389389 if (vtkArg.isSet ())
390390 img->colourMapToVTK ();
@@ -422,7 +422,7 @@ int main(int argc, char* argv[])
422422 qApp->processEvents ();
423423
424424 // Blend
425- cout << " >> Blend: Begining ..." << endl;
425+ std:: cout << " >> Blend: Begining ..." << std:: endl;
426426 QPointer<milxQtImage> blendImage = imagesBlend (image.data (), img.data (), opacity);
427427
428428 // Transfer scalar bar
@@ -451,10 +451,10 @@ int main(int argc, char* argv[])
451451 // if(transformArg.isSet())
452452 // image->SetTransform(transform);
453453
454- cout << " >> Blend: Rendering" << endl;
454+ std:: cout << " >> Blend: Rendering" << std:: endl;
455455 if (onscreenArg.isSet ())
456456 {
457- cout << " >> Blend: Displaying Onscreen" << endl;
457+ std:: cout << " >> Blend: Displaying Onscreen" << std:: endl;
458458 if (axialArg.isSet ())
459459 blendImage->viewToAxial ();
460460 if (coronalArg.isSet ())
@@ -467,7 +467,7 @@ int main(int argc, char* argv[])
467467 mainWindow.show ();
468468 }
469469 else
470- cout << " >> Blend: Output to File" << endl;
470+ std:: cout << " >> Blend: Output to File" << std:: endl;
471471
472472 QScopedPointer<milxQtFile> writer (new milxQtFile); // Smart deletion
473473 if (!onscreenArg.isSet ())
@@ -480,7 +480,7 @@ int main(int argc, char* argv[])
480480 milx::PrintDebug (" Output has number of components of " + milx::NumberToString (blendImage->GetOutput ()->GetNumberOfScalarComponents ()));
481481 writer->saveImage (outName.c_str (), blendImage->GetOutput ());
482482 }
483- cout << " >> Complete" << endl;
483+ std:: cout << " >> Complete" << std:: endl;
484484
485485 // blendImage->OffScreenRenderingOff(); //Required to prevent double-free*/
486486 if (!onscreenArg.isSet ())
0 commit comments