From 3566b753a5db63397cb87ca4dd84578238749ca4 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Tue, 13 Nov 2018 11:41:17 +0100 Subject: [PATCH] Precise information about RTStruct statistics in comments and output --- tools/clitkRTStructStatistics.ggo | 2 +- tools/clitkRTStructStatisticsGenericFilter.txx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.1