ExportImageAsSlices¶
- MacroModule¶
genre
author
package
definition
see also
keywords
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.
Windows¶
Default Panel¶
Input Fields¶
input0¶
- name: input0, type: Image¶
Connect the image to export here.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
Status¶
- name: status, type: String, persistent: no¶
Colors¶
- name: cSize, type: Integer, persistent: no¶
Sets the number of color channels in the input image.
Z¶
- name: zSize, type: Integer, persistent: no¶
Sets the number of slices in the z-dimension.
T¶
- name: tSize, type: Integer, persistent: no¶
Sets the number of time points in the t-dimension.
U¶
- name: uSize, type: Integer, persistent: no¶
Sets the extent of the u-dimension.
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.
Input image supported¶
- name: supported, type: Bool, persistent: no¶
Shows whether a compatible input image is connected to the module.
Export¶
- name: export, type: Trigger¶
When pressed, the export step is performed.