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

From Slicer Wiki
Jump to: navigation, search
(Prepend documentation/versioncheck template. See http://na-mic.org/Mantis/view.php?id=2887)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<noinclude>{{documentation/versioncheck}}</noinclude>
 
<!-- ---------------------------- -->
 
<!-- ---------------------------- -->
 
{{documentation/{{documentation/version}}/module-header}}
 
{{documentation/{{documentation/version}}/module-header}}
Line 7: Line 8:
 
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}
 
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}
 
{{documentation/{{documentation/version}}/module-introduction-row}}
 
{{documentation/{{documentation/version}}/module-introduction-row}}
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 [http://www.na-mic.org/ NA-MIC website]. The development of this module was supported in part by NIH grants R01 AA016748-01, R01 CA111288 .... ''check grants''.<br>
+
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 [http://www.na-mic.org/ NA-MIC website]. The development of this module was supported in part by NIH grants RR13218.<br>
 
Authors: Steve Pieper, Isomics, Inc., Katharina Quintus, BWH (original Slicer 3 version)<br>
 
Authors: Steve Pieper, Isomics, Inc., Katharina Quintus, BWH (original Slicer 3 version)<br>
 
Contact: Steve Pieper, <email>pieper@bwh.harvard.edu</email><br>
 
Contact: Steve Pieper, <email>pieper@bwh.harvard.edu</email><br>
Line 19: Line 20:
 
{{documentation/{{documentation/version}}/module-section|Module Description}}
 
{{documentation/{{documentation/version}}/module-section|Module Description}}
 
Calculate image and volume properties using a label map and a gray scale image.
 
Calculate image and volume properties using a label map and a gray scale image.
 +
 
<!-- ---------------------------- -->
 
<!-- ---------------------------- -->
 
{{documentation/{{documentation/version}}/module-section|Use Cases}}
 
{{documentation/{{documentation/version}}/module-section|Use Cases}}
The module is fairly simple.  Just select a background volume and a label volume (for example, as created using the [[Modules:Editor-Documentation-3.4|Editor Module]]) and click Apply.   
+
The module is fairly simple.  Just select a background volume and a label volume (for example, as created using the [[Modules:Editor-Documentation-3.6|Editor Module]]) and click Apply.   
  
 
The volumes of the table show:
 
The volumes of the table show:
Line 27: Line 29:
 
* '''Label''' there is one row for each unique value in the label volume
 
* '''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
 
* '''Count''' is the number of pixels in the label volume that have this value
* '''Volume''' is the product of the pixel spacings (volume per pixel) times the '''Count'''
+
* '''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.
 
* '''Min, Max, Mean, StdDev''' Statistics on the grayscale pixel values at the locations that correspond to the label value.
  
 
{|
 
{|
|[[Image:Selection 140.png|thumb|380px|Label Statistics of Sample Data]]
+
|[[Image:3D Slicer 4.0.gamma-2011-11-10 152.png|thumb|380px|Label Statistics of Sample Data]]
 +
|[[Image:Screen Shot 2012-02-09 at 10.11.08 AM.png|thumb|380px|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.
 
* 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,Min,Max,Mean,StdDev
+
  "Index","Count","Volume mm^3","Volume cc","Min","Max","Mean","StdDev"
  0,4459654,5797529.78532,0.0,57.0,3.04704580221,2.70458925916
+
  0,8511233,11064563.9387,11064.5639387,0.0,279.0,33.656842199,37.6109663358
  1,1471436,1912860.0643,9.0,279.0,96.6458690694,18.6872203155
+
  1,8447,10981.0613327,10.9810613327,0.0,170.0,70.974783947,23.789514355
3,2588590,3365155.15038,0.0,124.0,50.6563067152,17.087148665
+
 
  
  
Line 48: Line 52:
 
<!-- ---------------------------- -->
 
<!-- ---------------------------- -->
 
{{documentation/{{documentation/version}}/module-section|Panels}}
 
{{documentation/{{documentation/version}}/module-section|Panels}}
{{documentation/{{documentation/version}}/module-cli-parametersdescription|xmlurl={{documentation/{{documentation/version}}/module-cli-xmlurl|{{documentation/modulename}}|18379}} }}
+
N/A
 +
<!-- {{documentation/{{documentation/version}}/module-parametersdescription}} -->
  
 
<!-- ---------------------------- -->
 
<!-- ---------------------------- -->
{{documentation/{{documentation/version}}/module-section|Panels}}
+
{{documentation/{{documentation/version}}/module-section|Similar Modules}}
* Point to other modules that have similar functionality
+
N/A
  
 
<!-- ---------------------------- -->
 
<!-- ---------------------------- -->
 
{{documentation/{{documentation/version}}/module-section|References}}
 
{{documentation/{{documentation/version}}/module-section|References}}
 +
N/A
  
 
<!-- ---------------------------- -->
 
<!-- ---------------------------- -->
 
{{documentation/{{documentation/version}}/module-section|Information for Developers}}
 
{{documentation/{{documentation/version}}/module-section|Information for Developers}}
 +
{{documentation/{{documentation/version}}/module-developerinfo}}
 +
 +
 +
<!-- ---------------------------- -->
 +
{{documentation/{{documentation/version}}/module-footer}}
 +
<!-- ---------------------------- -->

Latest revision as of 07:31, 14 June 2013

Home < Documentation < 4.0 < Modules < LabelStatistics


For the latest Slicer documentation, visit the read-the-docs.



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

Panels

N/A

Similar Modules

N/A

References

N/A

Information for Developers