SimpleRawImageLoadExample¶
-
MLModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Examples
dll MLSimpleRawImageLoadExample
definition MLSimpleRawImageLoadExample.def
Purpose¶
This module demonstrates how to write a simple image file loader.
Details¶
This module does not support color images, and only scalar voxel values. You can also not specify any byte offset. There is also no automatic loading.
Tips¶
While you change any input parameter while an file is open, the file will be closed.
Parameter Fields¶
Field Index¶
Byte Order : Enum |
Y : Integer |
Close : Trigger |
Z : Integer |
Data Type : Enum |
|
Load : Trigger |
|
Name : String |
|
Status : String |
|
T : Integer |
|
X : Integer |
Visible Fields¶
Name¶
-
name:
filename
, type:
String
¶ The filename of a file with raw (i.e., unformatted) binary image data.
Data Type¶
-
name:
dataType
, type:
Enum
, default:
unsigned int8
¶ Data type of the voxel values.
Values:
Title | Name |
---|---|
unsigned int8 | unsigned int8 |
int8 | int8 |
unsigned int16 | unsigned int16 |
int16 | int16 |
unsigned int32 | unsigned int32 |
int32 | int32 |
unsigned int64 | unsigned int64 |
int64 | int64 |
float | float |
double | double |
Byte Order¶
-
name:
byteOrder
, type:
Enum
, default:
little endian
¶ Byte order of the voxel values.
Values:
Title | Name | Description |
---|---|---|
little endian | little endian | Assume the byte order of the file to be little endian (lowest order byte first). |
big endian | big endian | Assume the byte order of the file to be big endian (highest order byte first). |
native | native | Assume the byte order of the file to be the same as for the current system. |