Image ROI To Display ROI
Description
Convert Image ROIs to Display/Annotation ROIs. Type : polymorphic.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Documentation illustration (illustration unavailable in the archive). Class Name : array, defines class names for ROIs (if the size is smaller than that of the ROIs, the rest will be empty).
Documentation illustration (illustration unavailable in the archive). Color : array, defines color for ROIs (if the size is smaller than that of the ROIs, the rest will be black).
Documentation illustration (illustration unavailable in the archive). ROI Descriptor : cluster, ROI descriptor containing all the contours in the array of ROIs.
Documentation illustration (illustration unavailable in the archive). Global Rectangle : array, contains the coordinates of the bounding rectangle. Rectangles are specified by their bounding rectangle, with the format (Left/Top/Right/Bottom).
Documentation illustration (illustration unavailable in the archive). Contours : array, are each of the individual shapes that define an ROI.
Documentation illustration (illustration unavailable in the archive). ID : enum, refers to whether the contour is the external or internal edge of an ROI.
Documentation illustration (illustration unavailable in the archive). Type : integer, is the shape type of the contour.
Documentation illustration (illustration unavailable in the archive). Coordinates : array, indicates the relative position of the contour.
Documentation illustration (illustration unavailable in the archive).
Output parameters
Documentation illustration (illustration unavailable in the archive). ROI Descriptor : cluster, ROI descriptor containing all the contours in the array of ROIs.
Documentation illustration (illustration unavailable in the archive). Global Rectangle : array, contains the coordinates of the bounding rectangle. Rectangles are specified by their bounding rectangle, with the format (Left/Top/Right/Bottom).
Documentation illustration (illustration unavailable in the archive). Contours : array, are each of the individual shapes that define an ROI.
Documentation illustration (illustration unavailable in the archive). Class Name : string, indicates the class name of the ROI.
Documentation illustration (illustration unavailable in the archive). Type : integer, is the shape type of the contour.
Documentation illustration (illustration unavailable in the archive). Coordinates : array, indicates the relative position of the contour.
Documentation illustration (illustration unavailable in the archive). Color : color box, indicates the color of the ROI.
Documentation illustration (illustration unavailable in the archive).
Examples
All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Computer Vision library to run it).
