# Difference between revisions of "Documentation/4.0/Modules/LabelStatistics"

Home < Documentation < 4.0 < Modules < LabelStatistics

# Introduction and Acknowledgements

This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the NA-MIC website. The development of this module was supported in part by NIH grants RR13218.
Authors: Steve Pieper, Isomics, Inc., Katharina Quintus, BWH (original Slicer 3 version)
Contact: Steve Pieper, <email>pieper@bwh.harvard.edu</email>

 NA-MIC

# Module Description

Calculate image and volume properties using a label map and a gray scale image.

# Use Cases

The module is fairly simple. Just select a background volume and a label volume (for example, as created using the Editor Module) and click Apply.

The volumes of the table show:

• Label there is one row for each unique value in the label volume
• Count is the number of pixels in the label volume that have this value
• Volume mm^3 is the product of the pixel spacings (volume per pixel) times the Count in cubic millimeters
• Volume cc is the product of the pixel spacings (volume per pixel) times the Count in cubic centimeters (there are 1000 mm^3 per cc)
• Min, Max, Mean, StdDev Statistics on the grayscale pixel values at the locations that correspond to the label value.
 Label Statistics of Sample Data Label statistics with bar chart
• The Save Button can be used to create a text file of the contents of the calculated table. The results are stored in comma separated value format, with the default .csv file extension. This format can easily be opened in spreadsheet programs for further analysis or plotting. Example file contents are shown below.
```"Index","Count","Volume mm^3","Volume cc","Min","Max","Mean","StdDev"
0,8511233,11064563.9387,11064.5639387,0.0,279.0,33.656842199,37.6109663358
1,8447,10981.0613327,10.9810613327,0.0,170.0,70.974783947,23.789514355
```

# Tutorials

Links to tutorials that use this module

N/A

N/A

N/A