#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
//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;