]> Creatis software - clitk.git/commitdiff
Debug fusion display value for very small value
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 3 Aug 2018 08:02:30 +0000 (10:02 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 3 Aug 2018 08:02:30 +0000 (10:02 +0200)
Use scientific representation

vv/vvOverlayPanel.cxx

index 2a77e8dcaff5a5a335c23f4366571dfb238691e2..165104f068b3b6bc085965317f4045af61a8f8a0 100644 (file)
@@ -250,7 +250,7 @@ void vvOverlayPanel::getCurrentFusionInfo(int visibility,double value)
 {
   QString fusionValue = "<b>Pixel value in image 2 : </b>";
   if (visibility) {
-    fusionValue += QString::number(value,'f',1);
+    fusionValue += QString::number(value,'g',3);
   }
   valueFusionnedLabel->setText(fusionValue);
 }