Modules:CastImage-Documentation-3.6
Return to Slicer 3.6 Documentation
Cast Image
Cast Image
General Information
Module Type & Category
Type: CLI
Category: Filtering, Arithmetic
Authors, Collaborators & Contact
- Nicole Aucoin, Brigham and Women's Hospital
- ported from Slicer2
- Contact: Nicole Aucoin, nicole@bwh.harvard.edu
Module Description
Cast a volume to a given data type.
Use at your own risk when casting an input volume into a lower precision type!
Allows casting to the same type as the input volume.
Usage
Use Cases, Examples
This module is especially appropriate for these use cases:
- Use Case 1: when an algorithm requires a specific data type for an input volume.
Examples of the module in use:
- Example 1: Cast a volume when it's not in the correct data type to be taken as input to the EM Segmentation pipeline.
Tutorials
Links to tutorials explaining how to use this module:
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:
- Cast Image panel:
- Select a parameter set
- See the status of the module
- IO panel:
- Select an input volume to cast
- Select an output volume in which to place the cast results, or create a new one.
- Filter Settings panel:
- Select the output type for the new volume:
- Char: -128 to 128
- Int: signed integer
- Float: floating point
- Unsigned Char (default): 0 to 255
- Unsigned Int: positive integer
- Double: double floating point
- Short: short integer
- Long: long integer
- Unsigned Short: unsigned short integer
- Unsigned Long: unsigned long integer
- Select the output type for the new volume:
Development
Notes from the Developer(s)
Use at your own risk when casting an input volume into a lower precision type!
Allows casting to the same type as the input volume.
Dependencies
The Volumes module is required for this module's use.
Tests
On the Dashboard, these tests verify that the module is working on various platforms:
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
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.