From: tbaudier Date: Fri, 3 Aug 2018 08:02:30 +0000 (+0200) Subject: Debug fusion display value for very small value X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6aa95a9aeaacfa57a9a17a7aedf7798c5334079e;p=clitk.git Debug fusion display value for very small value Use scientific representation --- diff --git a/vv/vvOverlayPanel.cxx b/vv/vvOverlayPanel.cxx index 2a77e8d..165104f 100644 --- a/vv/vvOverlayPanel.cxx +++ b/vv/vvOverlayPanel.cxx @@ -250,7 +250,7 @@ void vvOverlayPanel::getCurrentFusionInfo(int visibility,double value) { QString fusionValue = "Pixel value in image 2 : "; if (visibility) { - fusionValue += QString::number(value,'f',1); + fusionValue += QString::number(value,'g',3); } valueFusionnedLabel->setText(fusionValue); }