Bender/Documentation/2.0/Modules/LabelStatistics

From KitwarePublic
Jump to navigationJump to search

Introduction

The Label Statistics module calculates counts and volumes for different labels of an entire labelmap volume or a sub region.

Details

Author: Steve Pieper, Isomics
Contributor #1: Johan Andruejol, Kitware
Acknowledgements: This work is supported by the Slicer community and Air Force Research Laboratories.
Contact: Julien Finet

Use Cases

Parameters

The colums of the table show:

  • Inputs
    • Labelmap: the input volume to compute statitics from
    • Grayscale volume: an optional volume to associate label statistics with a modality image.
    • Region of interest: an optional region of interest to limit the computation of statistics to a given area
  • Parameters
    • Compute percentages: optionally computes ratios between the label and the other labels.
    • Label: label value to compare each other labels with (typically 0 to remove the "air" of the volumes)
  • Results
    • Color 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
    • Index is the label value
    • Percentage of label volume is the ratio between the label volume and the Label volume
    • Percentage of total volume except label volume is the ratio between the label volume and the total volume minus the Label volume
    • Percentage of total volume is the ratio between the label volume and the total volume
    • Volume (cubic millimeter) is the product of the pixel spacings (volume per pixel) times the Count in cubic millimeters
  • Create new chart: 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).
  • Export: 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
Label Statistics panel

Similar Modules