ExportImageAsSlices¶
-
MacroModule
¶ genre File
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition FileHandling.def see also ImageSave
,DicomTool
keywords save
,export
,image
,stack
,png
,jpg
,jpeg
,bmp
Purpose¶
This module exports a 3D (or 4D/5D) image as a stack of 2D slices with automatic indexing. It supports PNG, JPG, BMP and PNM format and input images with 1 or 3 colors and any scalar data type.
Usage¶
Enter a filename in Filename
. The filename will automatically be augmented with the required indexing.
Parameter Fields¶
Field Index¶
Colors : Integer |
Type : String |
dimensionSeparator : String |
U : Integer |
Export : Trigger |
Z : Integer |
Filename : String |
|
progress : Float |
|
Ready : Bool |
|
Supported : Bool |
|
T : Integer |
Visible Fields¶
Filename¶
-
name:
targetFileName
, type:
String
¶ The target filename. It must end on “.png”, “.jpg”, “.bmp”, or “.pnm”. This filename will automatically augmented with the required indexing, so the actual filename will only be used if you provide a 2D image.
Type¶
-
name:
dataType
, type:
String
, persistent:
no
¶ Tells the voxel data type of the image. Only “unsigned int8” is passed through unchanged, everything else is scaled to the range 0-255.