You can use a Property Node for the image display to pull the ROI drawn on the image display. The ROI can then be fed into the
ROI Descriptor of your processing VI. An example VI snippet is shown below where we provide the
ROI Descriptor for the Detect Shape VI.
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW block diagram.
Additional Information
You can create an ROI Property Node by:
- Right-click on the image indicator on the block diagram.
- Select Create
- Select Property Node
- Select ROI
- Drop the ROI Property Node down on the block diagram and wire it into the ROI Descriptor input.