ConstantImage

MLModule
genre Generators
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLBasicModules
definition mlBasicModules.def
see also TestPattern, RectMaskImage
keywords generate, create

Purpose

The ConstantImage module creates an image with a certain size, data type and a constant fill value.

Usage

Define your parameters for the new image and press the Apply button.

Alternatively, check the Auto field and set the parameters then.

Windows

Default Panel

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

Parameter Fields

Field Index

Apply: Trigger Y: Integer
Auto: Bool Z: Integer
C: Integer  
Data Type: Enum  
Fill Value: String  
T: Integer  
U: Integer  
X: Integer  

Visible Fields

X

name: sizeX, type: Integer, default: 256, minimum: 1, maximum: 1.07374e+09, deprecated name: XSize

Sets the image extend in x-direction in voxels.

Y

name: sizeY, type: Integer, default: 256, minimum: 1, maximum: 1.07374e+09, deprecated name: YSize

Sets the image extend in y-direction in voxels.

Z

name: sizeZ, type: Integer, default: 1, minimum: 1, maximum: 1.07374e+09, deprecated name: ZSize

Sets the image extend in z-direction in voxels.

C

name: sizeC, type: Integer, default: 1, minimum: 1, maximum: 1.07374e+09, deprecated name: CSize

Sets the image extend in c-direction (color dimension) in voxels.

T

name: sizeT, type: Integer, default: 1, minimum: 1, maximum: 1.07374e+09, deprecated name: TSize

Sets the image extend in t-direction (time dimension) in voxels.

U

name: sizeU, type: Integer, default: 1, minimum: 1, maximum: 1.07374e+09, deprecated name: USize

Sets the image extend in u-direction (user dimension) in voxels.

Data Type

name: dataType, type: Enum, default: unsigned int8, deprecated name: Datatype

Defines the data type of the image voxels.

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

Fill Value

name: fillValue, type: String, default: 0, deprecated name: FillExtValue

Sets the fill value for all voxels.

Apply

name: apply, type: Trigger, deprecated name: Apply

If pressed, a new image is generated with the current settings.

Auto

name: autoApply, type: Bool, default: FALSE, deprecated name: AutoApply

If checked, all changes to the image settings take immediate effect.