Table Of Contents

Extract Single Color Plane (G Dataflow)

Last Modified: October 25, 2017

Extract a single plane from a color image.

connector_pane_image
datatype_icon

image src

Reference to a color image that has one of its color planes extracted.

If Image Dst is not connected, the source image is converted to an image that contains the extracted plane.

datatype_icon

image dst

Reference to the destination image.

datatype_icon

color plane

Number from 0 to 7 that defines the color plane to extract.

Choose from the following values:

spd-note-note
Note  

Unsigned 64-bit RGB images support only Color Plane values of Red, Green, or Blue.

Name Value Description
Red 0

(Default) Extracts the red color plane

Green 1

Extracts the green color plane

Blue 2

Extracts the blue color plane

Hue 3

Extracts the hue color plane

Saturation 4

Extracts the saturation color plane

Luminance 5

Extracts the luminance color plane

Value 6

Extracts the value color plane

Intensity 7

Extracts the intensity color 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

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.

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