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¶
The module ExportImageAsSlices
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 |
T : Integer |
dimensionSeparator : String |
Type : String |
Export : Trigger |
U : Integer |
File type supported : Bool |
Z : Integer |
Filename : String |
|
Input image supported : Bool |
|
progress : Float |
|
Status : String |
Visible Fields¶
Filename¶
-
name:
targetFileName
, type:
String
¶ The target filename. It must end with “.png”, “.jpg”, “.bmp”, or “.pnm”.
This filename will automatically augmented with the required indexing; this way, the actual filename will only be used if you provide a 2D image.
Colors¶
-
name:
cSize
, type:
Integer
, persistent:
no
¶ Sets the number of color channels in the input image.
Type¶
-
name:
dataType
, type:
String
, persistent:
no
¶ Sets the voxel data type of the image.
Only “unsigned int8” is passed through unchanged, everything else is scaled to the range 0-255.
File type supported¶
-
name:
ready
, type:
Bool
, persistent:
no
¶ Shows whether a suitable file name has been entered.