BitConvert

MLModule

genre

Image

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

MLFilter2

definition

mlFilter2.def

see also

BitMaskConvert

keywords

bits, bitmask, and, or, xor, boolean, image

Purpose

The module BitConvert sets or disables bit planes of an input image by using the boolean operators AND, OR, and XOR.

Windows

Default Panel

../../../Modules/ML/MLFilter2/mhelp/Images/Screenshots/BitConvert._default.png

Input Fields

input0

name: input0, type: Image

Original scalar input image.

Output Fields

output0

name: output0, type: Image

Bit-manipulated scalar image.

Parameter Fields

Field Index

0-7: Bool

Apply: Trigger

Set All: Trigger

16-23: Bool

Auto apply: Bool

24-31: Bool

bitSize16: Bool

32-39: Bool

bitSize32: Bool

40-47: Bool

bitSize64: Bool

48-55: Bool

bitSize8: Bool

56-63: Bool

Clear All: Trigger

8-15: Bool

Mode: Enum

Visible Fields

Clear All

name: clearAll, type: Trigger

When pressed, all bit fields are set to false.

Set All

name: setAll, type: Trigger

When pressed, all bit fields are set to true.

Apply

name: submit, type: Trigger

When pressed, the output image is computed anew.

Mode

name: mode, type: Enum, default: AND

Sets the computation mode.

Values:

Title

Name

​And

​AND

​Or

​OR

​Xor

​XOR

0-7

name: bit00, type: Bool, default: FALSE

Available if the input is an 8, 16, 32, or 64-bit image.

8-15

name: bit08, type: Bool, default: FALSE

Available if the input is a 16, 32, or 64-bit image.

16-23

name: bit16, type: Bool, default: FALSE

Available if the input is a 32 or 64-bit image.

24-31

name: bit24, type: Bool, default: FALSE

Available if the input is a 32 or 64-bit image.

32-39

name: bit32, type: Bool, default: FALSE

Available if the input is a 64-bit image.

40-47

name: bit40, type: Bool, default: FALSE

Available if the input is a 64-bit image.

48-55

name: bit48, type: Bool, default: FALSE

Available if the input is a 64-bit image.

56-63

name: bit56, type: Bool, default: FALSE

Available if the input is a 64-bit image.

Auto apply

name: autoApply, type: Bool, default: TRUE

If checked, all changes to any field lead to a new computation.

Hidden Fields

bitSize8

name: bitSize8, type: Bool, default: FALSE

bitSize16

name: bitSize16, type: Bool, default: FALSE

bitSize32

name: bitSize32, type: Bool, default: FALSE

bitSize64

name: bitSize64, type: Bool, default: FALSE