ColorMatrix

MLModule

genre

LUT

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

MLColor

definition

mlColor.def

see also

ColorTable, ColorModelConverter

keywords

colors, c-dimension, rgba, red, green, blue, alpha

Purpose

The module ColorMatrix changes the colors of an input image by a color transformation matrix. The color model of the output image can be set to Gray, Gray + A, RGB, RGBA

Usage

Set the output color model to Gray, Gray + A, RGB, RGBA, and set the elements of the color transformation matrix.

Windows

Default Panel

../../../Modules/ML/MLColor/mhelp/Images/Screenshots/ColorMatrix._default.png

Parameter Fields

Visible Fields

Dimension Select

name: dimensionSelect, type: Enum, default: 4D, deprecated name: DimensionSelect

Defines the color dimension.

Values:

Title

Name

Description

​1d

​1D

​Gray image.

​2d

​2D

​Gray image with alpha channel.

​3d

​3D

​RGB image.

​4d

​4D

​RGBA image.

Apply

name: apply, type: Trigger

When pressed, the output image is updated.

Auto

name: autoApply, type: Bool, default: TRUE

If checked, all changes trigger an update of the output image.

Unit Matrix

name: unit, type: Trigger

When pressed, the matrix is set back to be the unit matrix.