]> Creatis software - clitk.git/commitdiff
Precise information about RTStruct statistics in comments and output
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 13 Nov 2018 10:41:17 +0000 (11:41 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 13 Nov 2018 10:41:17 +0000 (11:41 +0100)
tools/clitkRTStructStatistics.ggo
tools/clitkRTStructStatisticsGenericFilter.txx

index 8198220..11969b3 100644 (file)
@@ -1,7 +1,7 @@
 #File clitkRTStructStatistics.ggo
 package "clitkRTStructStatistics"
 version "2.0"
-purpose "Find the centroid and roundness of a binarized image."
+purpose "Find the centroid (in mm) and roundness of a binarized image."
 
 option "config"   - "Config file"                 string  no
 option "verbose"  v "Verbose"                     flag    off
index d83b25d..3657b50 100644 (file)
@@ -107,7 +107,7 @@ void RTStructStatisticsGenericFilter<args_info_type>::UpdateWithInputImageType()
 
   //Write statitistics on the largest component
   ShapeLabelObjectType *labelObject = labelMap->GetNthLabelObject(largestComponent);
-  std::cout << " Centroid: " << std::endl;
+  std::cout << " Centroid position (mm): " << std::endl;
   std::cout << labelObject->GetCentroid()[0] << std::endl;
   std::cout << labelObject->GetCentroid()[1] << std::endl;
   std::cout << labelObject->GetCentroid()[2] << std::endl;