Difference between revisions of "Modules:SubtractImages-Documentation-3.6"
(17 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
{| | {| | ||
|[[Image:SubtractImagesPanel.png|thumb|280px|Screenshot of the module depicts the inputs, outputs, and parameters]] | |[[Image:SubtractImagesPanel.png|thumb|280px|Screenshot of the module depicts the inputs, outputs, and parameters]] | ||
− | |[[Image:image1.png|thumb|280px|Example input | + | |[[Image:image1.png|thumb|280px|Example input mask (1) along with the original image]] |
− | ||[[Image:image2.png|thumb|280px|Example input | + | ||[[Image:image2.png|thumb|280px|Example input mask (2) along with the original image]] |
− | |[[Image: | + | |[[Image:resultsubtractImage1.png|thumb|280px|Output of subtracting mask (1) and mask (2)]] |
|} | |} | ||
Line 23: | Line 23: | ||
* Author: Bill Lorensen | * Author: Bill Lorensen | ||
* Contact: bill.lorensen at gmail.com | * Contact: bill.lorensen at gmail.com | ||
+ | * Documentation: Harini Veeraraghavan | ||
+ | * Contact: veerarag at ge.com | ||
===Module Description=== | ===Module Description=== | ||
− | The module performs pixel-wise subtraction | + | The module performs pixel-wise subtraction of images. The module automatically handles images of different resolution. The module supports operations on input images of any data type. |
− | |||
− | |||
− | |||
== Usage == | == Usage == | ||
− | + | Load the input images. The default setting of the input parameter ''Interpolation Order'' is 1. The Interpolation Order is relevant only for rescaling one of the input images in the case when the two input images are not of the same size. | |
===Examples, Use Cases & Tutorials=== | ===Examples, Use Cases & Tutorials=== | ||
− | + | This module can be used for the following: | |
− | * | + | * Producing intermediate results that can then be plugged as inputs to other filters and modules. |
− | * | + | * Compare the results produced by two different algorithms. The example depicted on this page shows the subtraction performed on two different segmentation masks. The segmentation masks were produced by two different algorithms. |
− | * | + | * Additionally, this module can also be used to directly visualize the results of segmentation compared with a ground truth mask. |
===Quick Tour of Features and Use=== | ===Quick Tour of Features and Use=== | ||
− | + | *"Inputs/Outputs:" This module requires two input volumes(images), and the specification of an output volume(image). The module produces the output volume(image) of the same size as the first input. | |
− | + | *"Parameters:" The module uses one parameter ''Interpolation Order''. The interpolation order sets the degree of B-spline interpolation to be performed on the second input image for re-scaling it to the same size as the first input image. The default setting is 1. | |
− | * | ||
− | |||
− | |||
− | |||
== Development == | == Development == | ||
Line 50: | Line 45: | ||
===Dependencies=== | ===Dependencies=== | ||
− | + | The module uses the ITK filters. | |
===Known bugs=== | ===Known bugs=== | ||
Line 63: | Line 58: | ||
===Source code & documentation=== | ===Source code & documentation=== | ||
− | Source Code: [http:// | + | Source Code: |
+ | *[http://viewvc.slicer.org/viewcvs.cgi/trunk/Applications/CLI/Subtract.cxx Subtract.cxx] | ||
+ | *[http://viewvc.slicer.org/viewcvs.cgi/trunk/Applications/CLI/Subtract.xml Subtract.xml] | ||
− | + | Test Code: | |
+ | *[http://www.na-mic.org/ViewVC/index.cgi/trunk/Applications/CLI/Testing/SubtractTest.cxx SubtractTest.cxx] | ||
== More Information == | == More Information == |
Latest revision as of 14:20, 26 April 2010
Home < Modules:SubtractImages-Documentation-3.6Return to Slicer 3.6 Documentation
Module Name
Filtering:Subtract
General Information
Module Type & Category
Type: CLI
Category: Base or (Filtering, Registration, etc.)
Authors, Collaborators & Contact
- Author: Bill Lorensen
- Contact: bill.lorensen at gmail.com
- Documentation: Harini Veeraraghavan
- Contact: veerarag at ge.com
Module Description
The module performs pixel-wise subtraction of images. The module automatically handles images of different resolution. The module supports operations on input images of any data type.
Usage
Load the input images. The default setting of the input parameter Interpolation Order is 1. The Interpolation Order is relevant only for rescaling one of the input images in the case when the two input images are not of the same size.
Examples, Use Cases & Tutorials
This module can be used for the following:
- Producing intermediate results that can then be plugged as inputs to other filters and modules.
- Compare the results produced by two different algorithms. The example depicted on this page shows the subtraction performed on two different segmentation masks. The segmentation masks were produced by two different algorithms.
- Additionally, this module can also be used to directly visualize the results of segmentation compared with a ground truth mask.
Quick Tour of Features and Use
- "Inputs/Outputs:" This module requires two input volumes(images), and the specification of an output volume(image). The module produces the output volume(image) of the same size as the first input.
- "Parameters:" The module uses one parameter Interpolation Order. The interpolation order sets the degree of B-spline interpolation to be performed on the second input image for re-scaling it to the same size as the first input image. The default setting is 1.
Development
Dependencies
The module uses the ITK filters.
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:
Test Code:
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.