Purpose

The module ImagePropertyConvert converts image properties like the data type, its range, the page size, etc.

Windows

Default Panel

../../../Modules/ML/MLBasicModules/mhelp/Images/Screenshots/ImagePropertyConvert._default.png

Input Fields

input0

name: input0, type: Image

Output Fields

output0

name: output0, type: Image

Parameter Fields

Field Index

a00: Double a32: Double Max: Double
a01: Double a33: Double Min: Double
a02: Double Apply: Trigger T (tDimInfo): String
a03: Double Auto: Bool T (pageSizeT): Integer
a10: Double C (cDimInfo): String Type: Enum
a11: Double C (pageSizeC): Integer U (uDimInfo): String
a12: Double changeDatatype: Bool U (pageSizeU): Integer
a13: Double changeDimensionInfo: Bool Voxel to World Matrix: Matrix
a20: Double changeMaxGrayValue: Bool voxelSizeX: Double
a21: Double changeMinGrayValue: Bool voxelSizeY: Double
a22: Double changePageSize: Bool voxelSizeZ: Double
a23: Double changeWorldMatrix: Bool X: Integer
a30: Double Get Current Properties: Trigger Y: Integer
a31: Double infoString: String Z: Integer

Visible Fields

C (cDimInfo)

name: cDimInfo, type: String

Sets a new information string for the c-dimension.

The entries need to be separated by a ‘/’.

For example, if the color is transformed from RGBA to CYMK, the information string needs to be changed from:

RED / GREEN / BLUE / ALPHA

to:

CYAN / YELLOW / MAGENTA / BLACK

T (tDimInfo)

name: tDimInfo, type: String

Sets a new information string for the t-dimension.

The entries need to be separated by a ‘/’.

The format for the first or consecutive time points is:

year-month-day hour:minute:second:millisecond

Consecutive time points can be specified relative to the previous one in (float) seconds:

2004-05-03 10:50:23.938 / +9.500 / +19.000 / + 28.500

or mixed:

2004-05-03 10:50:23.938 / +9.500 / +19.000 / 2004-05-03 10:55:23.938 / +38.000 / +47.500 / +57.000 / +66.500

U (uDimInfo)

name: uDimInfo, type: String

Sets a new information string for the u-dimension.

The information strings for the single u-positions need to be separated by a ‘/’.

Voxel to World Matrix

name: worldMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Sets a new world matrix to the output image.

Type

name: datatype, type: Enum, default: unsigned int8

Defines a new data type of the image.

Note that the image values should be in the data type’s range. The image values will be cast to the new data type.

Values:

Title Name
int8 int8
unsigned int8 unsigned int8
int16 int16
unsigned int16 unsigned int16
int32 int32
unsigned int32 unsigned int32
float float
double double
int64 int64
unsigned int64 unsigned int64
complexf complexf
complexd complexd
quaternionf quaternionf
quaterniond quaterniond
vec2 vec2
vec3 vec3
vec4 vec4
vec5 vec5
vec6 vec6
vec7 vec7
vec8 vec8
vec9 vec9
vec10 vec10
vec16 vec16
vec32 vec32
vec64 vec64
Vector2i8 Vector2i8
Vector2i16 Vector2i16
Vector2i32 Vector2i32
Vector2i64 Vector2i64
Vector3i8 Vector3i8
Vector3i16 Vector3i16
Vector3i32 Vector3i32
Vector3i64 Vector3i64
Vector4i8 Vector4i8
Vector4i16 Vector4i16
Vector4i32 Vector4i32
Vector4i64 Vector4i64
Vector5i8 Vector5i8
Vector5i16 Vector5i16
Vector5i32 Vector5i32
Vector5i64 Vector5i64
Vector6i8 Vector6i8
Vector6i16 Vector6i16
Vector6i32 Vector6i32
Vector6i64 Vector6i64
Vector7i8 Vector7i8
Vector7i16 Vector7i16
Vector7i32 Vector7i32
Vector7i64 Vector7i64
Vector8i8 Vector8i8
Vector8i16 Vector8i16
Vector8i32 Vector8i32
Vector8i64 Vector8i64
Vector9i8 Vector9i8
Vector9i16 Vector9i16
Vector9i32 Vector9i32
Vector9i64 Vector9i64
Vector10i8 Vector10i8
Vector10i16 Vector10i16
Vector10i32 Vector10i32
Vector10i64 Vector10i64
Vector16i8 Vector16i8
Vector16i16 Vector16i16
Vector16i32 Vector16i32
Vector16i64 Vector16i64
Vector32i8 Vector32i8
Vector32i16 Vector32i16
Vector32i32 Vector32i32
Vector32i64 Vector32i64
Vector64i8 Vector64i8
Vector64i16 Vector64i16
Vector64i32 Vector64i32
Vector64i64 Vector64i64
mat2 mat2
mat3 mat3
mat4 mat4
mat5 mat5
mat6 mat6
matf2 matf2
matf3 matf3
matf4 matf4
matf5 matf5
matf6 matf6
vecf2 vecf2
vecf3 vecf3
vecf4 vecf4
vecf5 vecf5
vecf6 vecf6
vecf7 vecf7
vecf8 vecf8
vecf9 vecf9
vecf10 vecf10
vecf16 vecf16
vecf32 vecf32
vecf64 vecf64

X

name: pageSizeX, type: Integer, default: 32, deprecated name: PageExtX

Sets a new x-extent of the page size to the output image.

Y

name: pageSizeY, type: Integer, default: 32, deprecated name: PageExtY

Sets a new y-extent of the page size to the output image.

Z

name: pageSizeZ, type: Integer, default: 1, deprecated name: PageExtZ

Sets a new z-extent of the page size to the output image.

C (pageSizeC)

name: pageSizeC, type: Integer, default: 1, deprecated name: PageExtC

Sets a new c-extent of the page size to the output image.

T (pageSizeT)

name: pageSizeT, type: Integer, default: 1, deprecated name: PageExtT

Sets a new t-extent of the page size to the output image.

U (pageSizeU)

name: pageSizeU, type: Integer, default: 1, deprecated name: PageExtU

Sets a new u-extent of the page size to the output image.

Min

name: minGrayValue, type: Double, default: 0, deprecated name: minGreyvalue

Sets a new static minimum value.

Note that this value must not be greater than the actual minimum value of the image or MeVisLab can crash!

Max

name: maxGrayValue, type: Double, default: 1, deprecated name: maxGreyvalue

Sets a new static maximum value.

Note that this value must not be lower than the actual maximum value of the image or MeVisLab can crash!

Get Current Properties

name: getProps, type: Trigger, deprecated name: GetCurrentProperties

If pressed, all the fields are filled with the information of the attached input image.

Apply

name: apply, type: Trigger

If pressed, the edited image properties are set to the output image.

Auto

name: autoApply, type: Bool, default: TRUE

If checked, the edited image properties are set to the output image if any field changes.

Hidden Fields

changeDimensionInfo

name: changeDimensionInfo, type: Bool, default: FALSE

a00

name: a00, type: Double, default: 1

a01

name: a01, type: Double, default: 0

a02

name: a02, type: Double, default: 0

a03

name: a03, type: Double, default: 0

a10

name: a10, type: Double, default: 0

a11

name: a11, type: Double, default: 1

a12

name: a12, type: Double, default: 0

a13

name: a13, type: Double, default: 0

a20

name: a20, type: Double, default: 0

a21

name: a21, type: Double, default: 0

a22

name: a22, type: Double, default: 1

a23

name: a23, type: Double, default: 0

a30

name: a30, type: Double, default: 0

a31

name: a31, type: Double, default: 0

a32

name: a32, type: Double, default: 0

a33

name: a33, type: Double, default: 1

changeDatatype

name: changeDatatype, type: Bool, default: FALSE

changePageSize

name: changePageSize, type: Bool, default: FALSE, deprecated name: ChangePageExt

changeMinGrayValue

name: changeMinGrayValue, type: Bool, default: FALSE, deprecated name: changeMinGreyvalue

changeMaxGrayValue

name: changeMaxGrayValue, type: Bool, default: FALSE, deprecated name: changeMaxGreyvalue

changeWorldMatrix

name: changeWorldMatrix, type: Bool, default: FALSE, deprecated name: ChangeTransformation

voxelSizeX

name: voxelSizeX, type: Double, default: 1

voxelSizeY

name: voxelSizeY, type: Double, default: 1

voxelSizeZ

name: voxelSizeZ, type: Double, default: 1

infoString

name: infoString, type: String, persistent: no