]> Creatis software - clitk.git/commitdiff
Correct display of label number even if image of char
authorDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Fri, 13 Jun 2014 12:24:31 +0000 (14:24 +0200)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Fri, 13 Jun 2014 12:24:31 +0000 (14:24 +0200)
tools/clitkImageStatisticsGenericFilter.txx

index fabc429aef76a65c60c9fc5d031a80635ed8e6b3..70d25bd39c7122b79a91ac27168727fe754aa2d4 100644 (file)
@@ -204,7 +204,7 @@ namespace clitk
 
         std::cout<<std::endl;
         if (m_Verbose) std::cout<<"-------------"<<std::endl;
-        if (m_Verbose) std::cout<<"| Label: "<<label<<"  |"<<std::endl;
+        if (m_Verbose) std::cout<<"| Label: "<< (int) label<<"  |"<<std::endl;
         if (m_Verbose) std::cout<<"-------------"<<std::endl;
 
         // Histograms