From Slicer Wiki
Jump to: navigation, search
Home < Modules:CastImage-Documentation-3.4

Return to Slicer 3.4 Documentation

Cast Image

Cast Image

Cast GUI

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,

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.


Examples, Use Cases & Tutorials

  • Useful for when an algorithm requires a specific data type for an input volume.

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



The Volumes module is required for this module's use.

WARNING: This module is available in Slicer 3.4 release only after 3.4.1 version (builds of Dec 10, 2009 and on)!

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


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.