Converts a rectangle or rotated rectangle to an ROI descriptor.
The contour of the ROI descriptor returned is always of the type rotated rectangle polygon.
Coordinates of a rectangular region of interest.
X-coordinate of the upper left corner of the rectangle.
Y-coordinate of the upper left corner of the rectangle.
X-coordinate of the bottom right corner of the rectangle.
Y-coordinate of the bottom right corner of the rectangle.
Rotation angle in degrees of the rectangle with its center as point of rotation.
If the rotation angle does not equal zero, the left, top, right, and bottom coordinates are not the actual coordinates of the upper left and bottom right corner of the rectangle. Instead these coordinates are a position, if the rotation angle equals zero.
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
Descriptor that defines the rectangle.
Coordinates of the bounding rectangle.
Individual shapes that define an ROI.
Control specifying whether the contour is the external or internal edge of an ROI.
Shape type of the contour.
Relative position of the contour.
Actual coordinates of the summits of the rectangle.
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