From SlicerWiki
Jump to: navigation, search
Home < Documentation < 4.2 < Modules < LabelStatistics

For the latest Slicer documentation, visit the 4.6 page.

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,

Surgical Planning Laboratory (SPL)  
National Alliance for Medical Image Computing (NA-MIC)  
Neuroimage Analysis Center (NAC)  

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 mm3 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 mm3 per cc)
  • Min, Max, Mean, StdDev Statistics on the grayscale pixel values at the locations that correspond to the label value.
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 mm3","Volume cc","Min","Max","Mean","StdDev"
  • The Chart button allows you to create a new bar chart based on the results of your label statistics analysis. Any of the calculated quantities, such as per-structure volume in cubic millimeters can be used as the y-axis for the bar chart, and there will be one bar per unique voxel value in the label map. If the Ignore Zero option is selected, then there will be no bar for the zero value of the label map, since that would often include many samples that have no clinical interest (such as air outside the body cavity).


Links to tutorials that use this module



Similar Modules




Information for Developers