Draws geometric objects in an image.
This node is not supported on ETS or VxWorks targets
Reference to the source image.
Reference to the destination image.
Array of four elements.
A line is specified by the two points forming it. Rectangles and ovals are specified by their bounding rectangle, with the format (Left/Top/Right/Bottom). In these cases, the tracing of a rectangle or oval stops at the column (Right - 1) and at the row (Bottom - 1). The values by default are (0, 0, SizeX, SizeY) where (SizeX, SizeY) is the resolution of the image. The default is used if the input is 0 or is not connected.
Drawing forms.
The following shapes are available:
Name | Value | Description |
---|---|---|
Line | 0 |
(Default) Defined by the two points specified in the array coordinates |
Rectangle | 1 |
Defined by the bounding rectangle specified in the array coordinates |
Oval | 2 |
Defined by the bounding rectangle specified in the array coordinates |
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.
Default: No error
Object drawing techniques.
The following values are valid:
Name | Value | Description |
---|---|---|
Frame | 0 |
(Default) Specifies to use pixel value when tracing the contour |
Paint | 1 |
Specifies to use pixel value when tracing the contour and the interior of the shape |
Invert Frame | 2 |
Specifies to use the inverse of the pixel values when drawing the contour |
Invert Paint | 3 |
Specifies to use the inverse of the pixel values when drawing the contour and the interior of the shape |
Value used for tracing the design.
This value is not used when in the draw mode invert frame or invert paint. The default is 0.
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.
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.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application