Documentation/4.0/Modules/OtsuThresholdImageFilter

From SlicerWiki

Jump to: navigation, search
Home < Documentation < 4.0 < Modules < OtsuThresholdImageFilter


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.
Author: Bill Lorensen, Bills Basement
Contact: Bill Lorensen,

NA-MIC  
Surgical Planning Laboratory  

Module Description

 Legacy.Filtering
 Otsu Threshold Image Filter
 This filter creates a binary thresholded image that separates an image into foreground and background components. The filter calculates the optimum threshold separating those two classes so that their combined spread (intra-class variance) is minimal (see http://en.wikipedia.org/wiki/Otsu%27s_method).  Then the filter applies that threshold to the input image using the itkBinaryThresholdImageFilter. The numberOfHistogram bins can be set for the Otsu Calculator. The insideValue and outsideValue can be set for the BinaryThresholdImageFilter.  The filter produces a labeled volume.\n\nThe original reference is: \n\nN.Otsu, ‘‘A threshold selection method from gray level histograms,’’ IEEE Trans.Syst.ManCybern.SMC-9,62–66 1979.
 0.1.0.$Revision$(alpha)
 http://wiki.slicer.org/slicerWiki/index.php/Documentation/4.0/Modules/OtsuThresholdImageFilter
 This command module was derived from Insight/Examples (copyright) Insight Software Consortium
 
 Bill Lorensen


   Otsu Threshold Parameters
   Parameters for Otsu Thresholding


     insideValue
     --insideValue
     The value assigned to pixels that are inside the computed threshold
     Inside Value
     0
   


     outsideValue
     --outsideValue
     The value assigned to pixels that are outside the computed threshold
     Outside Value
     255
   


     numberOfBins
     --numberOfBins
     

This is an advanced parameter. The number of bins in the histogram used to model the probability mass function of the two intensity distributions. Small numbers of bins may result in a more conservative threshold. The default should suffice for most applications. Experimentation is the only way to see the effect of varying this parameter.

     Number of Histogram Bins
     128
   



   IO
   Input/output parameters
   
     inputVolume
     Input Volume
     input
     0
     Input volume to be filtered
   


     outputVolume
     Output Volume
     output
     1
     Output filtered
   
 


Use Cases


Tutorials

N/A

Panels

Parameters:

 Legacy.Filtering
 Otsu Threshold Image Filter
 This filter creates a binary thresholded image that separates an image into foreground and background components. The filter calculates the optimum threshold separating those two classes so that their combined spread (intra-class variance) is minimal (see http://en.wikipedia.org/wiki/Otsu%27s_method).  Then the filter applies that threshold to the input image using the itkBinaryThresholdImageFilter. The numberOfHistogram bins can be set for the Otsu Calculator. The insideValue and outsideValue can be set for the BinaryThresholdImageFilter.  The filter produces a labeled volume.\n\nThe original reference is: \n\nN.Otsu, ‘‘A threshold selection method from gray level histograms,’’ IEEE Trans.Syst.ManCybern.SMC-9,62–66 1979.
 0.1.0.$Revision$(alpha)
 http://wiki.slicer.org/slicerWiki/index.php/Documentation/4.0/Modules/OtsuThresholdImageFilter
 This command module was derived from Insight/Examples (copyright) Insight Software Consortium
 
 Bill Lorensen


   Otsu Threshold Parameters
   Parameters for Otsu Thresholding


     insideValue
     --insideValue
     The value assigned to pixels that are inside the computed threshold
     Inside Value
     0
   


     outsideValue
     --outsideValue
     The value assigned to pixels that are outside the computed threshold
     Outside Value
     255
   


     numberOfBins
     --numberOfBins
     

This is an advanced parameter. The number of bins in the histogram used to model the probability mass function of the two intensity distributions. Small numbers of bins may result in a more conservative threshold. The default should suffice for most applications. Experimentation is the only way to see the effect of varying this parameter.

     Number of Histogram Bins
     128
   



   IO
   Input/output parameters
   
     inputVolume
     Input Volume
     input
     0
     Input volume to be filtered
   


     outputVolume
     Output Volume
     output
     1
     Output filtered
   
 


Similar Modules

N/A

References

N/A

Information for Developers

[[Category:Documentation/4.0/Modules/
 Legacy.Filtering
 Otsu Threshold Image Filter
 This filter creates a binary thresholded image that separates an image into foreground and background components. The filter calculates the optimum threshold separating those two classes so that their combined spread (intra-class variance) is minimal (see http://en.wikipedia.org/wiki/Otsu%27s_method).  Then the filter applies that threshold to the input image using the itkBinaryThresholdImageFilter. The numberOfHistogram bins can be set for the Otsu Calculator. The insideValue and outsideValue can be set for the BinaryThresholdImageFilter.  The filter produces a labeled volume.\n\nThe original reference is: \n\nN.Otsu, ‘‘A threshold selection method from gray level histograms,’’ IEEE Trans.Syst.ManCybern.SMC-9,62–66 1979.
 0.1.0.$Revision$(alpha)
 http://wiki.slicer.org/slicerWiki/index.php/Documentation/4.0/Modules/OtsuThresholdImageFilter
 This command module was derived from Insight/Examples (copyright) Insight Software Consortium
 
 Bill Lorensen


   Otsu Threshold Parameters
   Parameters for Otsu Thresholding


     insideValue
     --insideValue
     The value assigned to pixels that are inside the computed threshold
     Inside Value
     0
   


     outsideValue
     --outsideValue
     The value assigned to pixels that are outside the computed threshold
     Outside Value
     255
   


     numberOfBins
     --numberOfBins
     

This is an advanced parameter. The number of bins in the histogram used to model the probability mass function of the two intensity distributions. Small numbers of bins may result in a more conservative threshold. The default should suffice for most applications. Experimentation is the only way to see the effect of varying this parameter.

     Number of Histogram Bins
     128
   



   IO
   Input/output parameters
   
     inputVolume
     Input Volume
     input
     0
     Input volume to be filtered
   


     outputVolume
     Output Volume
     output
     1
     Output filtered
   
 

|OtsuThresholdImageFilter]]

Personal tools