Table Of Contents

Color Lookup (BCG Color Lookup) (G Dataflow)

Last Modified: October 26, 2017

Applies a brightness, contrast, and gamma correction to each color plane separately.

connector_pane_image
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 BCG values

Cluster of the following three values to adjust for the red plane:

datatype_icon

brightness

Brightness of the red plane of the image.

This value is used as the x-intercept of the transfer function in the lookup table. The neutral value is 128 (no change in the plane). A higher value returns a brighter plane. A value less than 128 decreases the overall brightness of the plane.

Default: 128

datatype_icon

contrast

Contrast of the red plane of the image.

This control is used as the slope of the transfer function in the lookup table and is expressed in degrees. A slope of 45 is neutral. A higher value returns a more contrasted red plane. A value smaller than 45 decreases the contrast of the red plane.

Default: 45.0

datatype_icon

gamma

Gamma correction applied to the red plane of the image.

The neutral value is 1. A value greater than 1 gives extended contrast for small pixel values and less contrast for large pixel values. A value smaller than 1 returns a plane with less contrast for small pixel values and extended contrast for large pixel values.

Default: 1.0

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 BCG values

Cluster of the following three values to adjust for the green plane:

datatype_icon

brightness

Brightness of the green plane of the image.

Default: 128

datatype_icon

contrast

Contrast of the green plane of the image.

Default: 45.0

datatype_icon

gamma

Gamma correction applied to the green plane of the image.

Default: 1.0

datatype_icon

blue BCG values

Cluster of the following three values to adjust for the blue plane:

datatype_icon

brightness

Brightness of the blue plane of the image.

Default: 128

datatype_icon

contrast

Contrast of the blue plane of the image.

Default: 45.0

datatype_icon

gamma

Gamma correction applied to the blue plane of the image.

Default: 1.0

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