Table Of Contents

Insert Image (G Dataflow)

Last Modified: October 24, 2017

Copies a small image into part of another larger image. This node is useful for replacing a portion of an image with another image.

connector_pane_image
datatype_icon

image src large

Reference to the large source image.

datatype_icon

image src small

Reference to the small source image, which will be copied into the larger 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

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

top left offset

Array specifying the Image Dst pixel coordinates that receive the image copied from Image Src.

datatype_icon

image dst out

Reference to the destination (output) image that receives the processing results of the VI.

If the 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 (Large).

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.

Node Function Diagram

The following image illustrates how this node functions.

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