Difference between revisions of "Modules:OtsuThreshold-Documentation-3.4"
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Documentation-3.4|Return to Slicer 3.4 Documentation]] | [[Documentation-3.4|Return to Slicer 3.4 Documentation]] | ||
+ | |||
+ | [[Announcements:Slicer3.4#Highlights|Gallery of New Features]] | ||
__NOTOC__ | __NOTOC__ | ||
===Module Name=== | ===Module Name=== | ||
Line 5: | Line 7: | ||
{| | {| | ||
− | |[[Image: | + | |[[Image:OtsuThresholdFilter1.png|thumb|280px|CT Grayscale Data]] |
− | |[[Image: | + | |[[Image:OtsuThresholdFilter2.png|thumb|280px|After OtsuThresholdFilter applied with default settings]] |
− | |||
|} | |} | ||
Line 57: | Line 58: | ||
===Source code & documentation=== | ===Source code & documentation=== | ||
− | Source Code: [http://www.na-mic.org/ViewVC/index.cgi/trunk/Applications/CLI/] | + | Source Code: [http://www.na-mic.org/ViewVC/index.cgi/trunk/Applications/CLI/OtsuThresholdImageFilter.cxx?view=annotate OtsuThreshold.cxx] |
+ | |||
+ | XML Description: [http://www.na-mic.org/ViewVC/index.cgi/trunk/Applications/CLI/OtsuThresholdImageFilter.cxx?view=co OtsuThreshold.xml] | ||
+ | |||
+ | Usage: | ||
+ | <pre> | ||
+ | ./OtsuThresholdImageFilter [--processinformationaddress <std::string>] | ||
+ | [--xml] [--echo] [--numberOfBins <int>] | ||
+ | [--outsideValue <int>] [--insideValue <int>] | ||
+ | [--] [--version] [-h] <std::string> | ||
+ | <std::string> | ||
+ | |||
+ | |||
+ | Where: | ||
+ | |||
+ | --processinformationaddress <std::string> | ||
+ | Address of a structure to store process information (progress, abort, | ||
+ | etc.). (default: 0) | ||
+ | |||
+ | --xml | ||
+ | Produce xml description of command line arguments (default: 0) | ||
+ | |||
+ | --echo | ||
+ | Echo the command line arguments (default: 0) | ||
+ | |||
+ | --numberOfBins <int> | ||
+ | The number of bins in the histogram (default: 128) | ||
+ | |||
+ | --outsideValue <int> | ||
+ | The value assigned to pixels that are outside the computed threshold | ||
+ | (default: 255) | ||
+ | |||
+ | --insideValue <int> | ||
+ | The value assigned to pixels that are inside the computed threshold | ||
+ | (default: 0) | ||
+ | |||
+ | --, --ignore_rest | ||
+ | Ignores the rest of the labeled arguments following this flag. | ||
+ | |||
+ | --version | ||
+ | Displays version information and exits. | ||
+ | |||
+ | -h, --help | ||
+ | Displays usage information and exits. | ||
+ | |||
+ | <std::string> | ||
+ | (required) Input volume to be filtered | ||
+ | |||
+ | <std::string> | ||
+ | (required) Output filtered | ||
+ | |||
+ | |||
+ | Description: This filter creates a binary thresholded image that | ||
+ | separates an image into foreground and background components. The filter | ||
+ | computes the threshold using the algorthm described in 'xxx', applies | ||
+ | that threshold to the input image using the BinaryThresholdImageFilter. | ||
+ | The NumberOfHistogram bins can be set for the Otsu Calculator. The | ||
+ | insideValue and outsideValue can be set for the | ||
+ | BinaryThresholdImageFilter. | ||
+ | |||
+ | Author(s): Bill Lorensen | ||
− | + | Acknowledgements: This command module was derived from Insight/Examples | |
+ | (copyright) Insight Software Consortium | ||
+ | </pre> | ||
== More Information == | == More Information == |
Latest revision as of 20:02, 26 May 2009
Home < Modules:OtsuThreshold-Documentation-3.4Return to Slicer 3.4 Documentation
Module Name
Otsu Threshold
General Information
Module Type & Category
Type: CLI
Category: Filtering
Authors, Collaborators & Contact
- Author: Bill Lorensen
- Contact: bill.lorensen at gmail.com
Module Description
Overview of what the module does goes here.
Usage
Examples, Use Cases & Tutorials
- Note use cases for which this module is especially appropriate, and/or link to examples.
- Link to examples of the module's use
- Link to any existing tutorials
Quick Tour of Features and Use
List all the panels in your interface, their features, what they mean, and how to use them. For instance:
- Input panel:
- Parameters panel:
- Output panel:
- Viewing panel:
Development
Dependencies
Other modules or packages that are required for this module's use.
Known bugs
Follow this link to the Slicer3 bug tracker.
Usability issues
Follow this link to the Slicer3 bug tracker. Please select the usability issue category when browsing or contributing.
Source code & documentation
Source Code: OtsuThreshold.cxx
XML Description: OtsuThreshold.xml
Usage:
./OtsuThresholdImageFilter [--processinformationaddress <std::string>] [--xml] [--echo] [--numberOfBins <int>] [--outsideValue <int>] [--insideValue <int>] [--] [--version] [-h] <std::string> <std::string> Where: --processinformationaddress <std::string> Address of a structure to store process information (progress, abort, etc.). (default: 0) --xml Produce xml description of command line arguments (default: 0) --echo Echo the command line arguments (default: 0) --numberOfBins <int> The number of bins in the histogram (default: 128) --outsideValue <int> The value assigned to pixels that are outside the computed threshold (default: 255) --insideValue <int> The value assigned to pixels that are inside the computed threshold (default: 0) --, --ignore_rest Ignores the rest of the labeled arguments following this flag. --version Displays version information and exits. -h, --help Displays usage information and exits. <std::string> (required) Input volume to be filtered <std::string> (required) Output filtered Description: This filter creates a binary thresholded image that separates an image into foreground and background components. The filter computes the threshold using the algorthm described in 'xxx', applies that threshold to the input image using the BinaryThresholdImageFilter. The NumberOfHistogram bins can be set for the Otsu Calculator. The insideValue and outsideValue can be set for the BinaryThresholdImageFilter. Author(s): Bill Lorensen Acknowledgements: This command module was derived from Insight/Examples (copyright) Insight Software Consortium
More Information
Acknowledgment
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on the National Centers for Biomedical Computing can be obtained from National Centers for Biomedical Computing.