Difference between revisions of "Documentation/Nightly/Extensions/BlendVectorVolumes"
(Created page with "<noinclude>{{documentation/versioncheck}}</noinclude> <!-- ---------------------------- --> {{documentation/{{documentation/version}}/module-header}} <!-- --------------------...") |
|||
Line 37: | Line 37: | ||
{{documentation/{{documentation/version}}/module-section|Panels and their use}} | {{documentation/{{documentation/version}}/module-section|Panels and their use}} | ||
+ | {| | ||
+ | | [[Image:BlendVectorVolumes-GUI.png|thumb|200px|Blend Vector Volumes GUI]] | ||
+ | | | ||
+ | '''IO:''' | ||
* Alpha: A double value between 0.0 and 1.0 that gives the weight of the first input image in the resulting blend. | * Alpha: A double value between 0.0 and 1.0 that gives the weight of the first input image in the resulting blend. | ||
* Gamma: A double value that is added to the weighted blend, used to increase or decrease intensity. | * Gamma: A double value that is added to the weighted blend, used to increase or decrease intensity. | ||
* First Input Volume: First input vector volume | * First Input Volume: First input vector volume | ||
* Second Input Volume: Second input vector volume | * Second Input Volume: Second input vector volume | ||
− | * Output Volume: Output vector volume, holding the blending of the two | + | * Output Volume: Output vector volume, holding the blending of the two input volumes, Can be a newly created vector volume. |
+ | |} | ||
+ | |||
<!-- ---------------------------- --> | <!-- ---------------------------- --> | ||
{{documentation/{{documentation/version}}/module-section|Similar Modules}} | {{documentation/{{documentation/version}}/module-section|Similar Modules}} |
Revision as of 20:44, 1 April 2016
Home < Documentation < Nightly < Extensions < BlendVectorVolumes
For the latest Slicer documentation, visit the read-the-docs. |
Introduction and Acknowledgements
Extension: OpenCVExample | |||||
|
Module Description
This is a CLI module that depends on the SlicerOpenCV extension, providing a way to blend two vector volumes together.
Use Cases
When loading in RGB files, they are loaded as vector volumes in Slicer. Use this module to blend them together.
Tutorials
Panels and their use
IO:
|
Similar Modules
- The Slicer Pathology extension also uses the SlicerOpenCV extension
References
- Quantitative Image Informatics for Cancer Research (QIICR) http://qiicr.org
- Open Source Computer Vision http://opencv.org
Information for Developers
Section under construction. |
To depend on the OpenCV provided by SlicerOpenCV, in the CLI's CMakeLists.txt file define OpenCV_DIR by finding the package that SlicerOpenCV provided:
find_package(OpenCV 3.1 REQUIRED)
- The header include path is defined as:
get_filename_component(OpenCV_INCLUDE_DIR ${OpenCV_DIR}/../../include ABSOLUTE)
- Add ${OpenCV_INCLUDE_DIR} to the MODULE_INCLUDE_DIRECTORIES list
- Link against the OpenCV libraries by adding ${OpenCV_LIBS} to the MODULE_TARGET_LIBRARIES
OpenCVExample provides some more information about writing an extension that includes modules that depend on OpenCV