Difference between revisions of "Modules:AddImages-Documentation-3.6"

From Slicer Wiki
Jump to: navigation, search
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
__NOTOC__
 
__NOTOC__
 
===Module Name===
 
===Module Name===
Filtering:AddImage
+
Filtering:Add
 
{|
 
{|
 
|[[Image:AddImagesPanel.png|thumb|280px|Module with parameter settings]]
 
|[[Image:AddImagesPanel.png|thumb|280px|Module with parameter settings]]
Line 22: Line 22:
 
* 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===
Module performs pixel-wise addition of two images. It is therefore the user's responsibility to make sure that the input images are of the same size to obtain meaningful results. The module can operate on inputs of any type but always produces output of signed type.
+
Module performs pixel-wise addition of two images. The module automatically handles different resolution of the input images. The module supports input images of any data type.
  
 
== Usage ==
 
== Usage ==
Load the input volumes. The default setting of the interpolation order should work fine. Its best to use the input volumes of the same size as the module does pixel-wise additions.
+
Load the input volumes(images). The default setting of the parameter Interpolation Setting is 1. For input images of the same size, this setting will work correctly. In general, its best to use input images of the same size for the addition operation.
 
===Examples, Use Cases & Tutorials===
 
===Examples, Use Cases & Tutorials===
This module can be used for producing intermediate results that can then be plugged as inputs to other filters and modules.
+
This module can be used for producing intermediate results that can then be as inputs to other modules.
  
 
===Quick Tour of Features and Use===
 
===Quick Tour of Features and Use===
*"Inputs/Outputs:" This module requires two input volumes, and the specification of an output volume. The module produces the output volume of the same size as the first input volume.  
+
*"Inputs/Outputs:" This module requires two input volumes(images), and the specification of an output volume(image). The module produces an output image of the same size as the first input image.  
*"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 resampling it to the same size as the first input image. The default setting is 1. In general, if the input and output images are of the same size, this parameter can be left at the default setting.
+
*"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-sampling it to the same size as the first input image. The default setting is 1.
  
 
== Development ==
 
== Development ==
Line 53: Line 55:
  
 
Source Code:  
 
Source Code:  
*[http://viewvc.slicer.org/viewcvs.cgi/trunk/Applications/CLI/AddTest.cxx AddTest.cxx]
+
*[http://viewvc.slicer.org/viewcvs.cgi/trunk/Applications/CLI/Add.cxx Add.cxx]
*[http://viewvc.slicer.org/viewcvs.cgi/trunk/Applications/CLI/AddTest.xml AddTest.xml]
+
*[http://viewvc.slicer.org/viewcvs.cgi/trunk/Applications/CLI/Add.xml Add.xml]
  
 
Test Code:  
 
Test Code:  

Latest revision as of 13:22, 27 April 2010

Home < Modules:AddImages-Documentation-3.6

Return to Slicer 3.6 Documentation

Gallery of New Features

Module Name

Filtering:Add

Module with parameter settings
Image 1
Image 2
Result of adding the images Image 1 and Image 2.

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

Module performs pixel-wise addition of two images. The module automatically handles different resolution of the input images. The module supports input images of any data type.

Usage

Load the input volumes(images). The default setting of the parameter Interpolation Setting is 1. For input images of the same size, this setting will work correctly. In general, its best to use input images of the same size for the addition operation.

Examples, Use Cases & Tutorials

This module can be used for producing intermediate results that can then be as inputs to other modules.

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 an output image of the same size as the first input image.
  • "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-sampling it to the same size as the first input image. The default setting is 1.

Development

Dependencies

This module uses the ITK libraries.

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.

References