From: tbaudier Date: Tue, 13 Nov 2018 10:41:17 +0000 (+0100) Subject: Precise information about RTStruct statistics in comments and output X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3566b753a5db63397cb87ca4dd84578238749ca4;p=clitk.git Precise information about RTStruct statistics in comments and output --- diff --git a/tools/clitkRTStructStatistics.ggo b/tools/clitkRTStructStatistics.ggo index 8198220..11969b3 100644 --- a/tools/clitkRTStructStatistics.ggo +++ b/tools/clitkRTStructStatistics.ggo @@ -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 diff --git a/tools/clitkRTStructStatisticsGenericFilter.txx b/tools/clitkRTStructStatisticsGenericFilter.txx index d83b25d..3657b50 100644 --- a/tools/clitkRTStructStatisticsGenericFilter.txx +++ b/tools/clitkRTStructStatisticsGenericFilter.txx @@ -107,7 +107,7 @@ void RTStructStatisticsGenericFilter::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;