Table Of Contents

Color Lookup (Color User Lookup) (G Dataflow)

Last Modified: October 26, 2017

Applies a lookup table (LUT) to each color plane.

connector_pane_image
datatype_icon

color mode

Number from 0 to 3 that defines the image color format to use for the operation.

Unsigned 64-bit RGB images support only a color mode of RGB.

Choose from the following values:

Name Value Description
RGB 0

(Default) Specifies the color format RGB (red, green, and blue)

HSL 1

Specifies the color format HSI (hue, saturation, and luminance)

HSV 2

Specifies the color format HSV (hue, saturation, and value)

HSI 3

Specifies the color format HSI (hue, saturation, and intensity)

datatype_icon

image src

Reference to the source image.

datatype_icon

image mask

8-bit image that specifies the region of the small image to be copied.

Only pixels in the image src image that correspond to a non-zero pixel in the mask image are copied. All other pixels keep their original values. The entire image is processed if image mask is not connected.

datatype_icon

image dst

Reference to the destination image.

datatype_icon

red/hue lookup table

LUT applied to the first color plane, depending on the color mode.

This array can contain a maximum of 256 elements. The array is filled automatically when you specify fewer than 256 elements. This procedure does not change pixel values that are not explicitly specified from the values of the LUT you input. By default this array is empty, and no replacement occurs on this plane.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

green/saturation lookup table

LUT applied to the second color plane, depending on the color mode.

This array can contain a maximum of 256 elements. The array is filled automatically when you specify fewer than 256 elements. This procedure does not change pixel values that are not explicitly specified from the values of the LUT you input. By default this array is empty, and no replacement occurs on this plane.

datatype_icon

blue/luma/value/intensity lookup table

LUT applied to the third color plane, depending on the color mode.

This array can contain a maximum of 256 elements. The array is filled automatically when you specify fewer than 256 elements. This procedure does not change pixel values that are not explicitly specified from the values of the LUT you input. By default this array is empty, and no replacement occurs on this plane.

datatype_icon

image dst out

Reference to the destination image.

If image dst is connected, image dst out is the same as image dst. Otherwise, image dst out refers to the image referenced by image src.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics