]> 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 8198220386d4b797afbc033bba1cd8d987bf19c1..11969b3fa3d79d14fb4995a88915afe57cfff11d 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 d83b25d9caeff24194d67af207d5a4bda60d1f8d..3657b50fda32d2c900f75358704d985c484fa414 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;