Dynamically Selecting the Region of Interest (ROI) of an Image in LabVIEW

Updated Jul 13, 2018

Reported In

Software

  • Vision Development Module
  • LabVIEW

Issue Details

I want to build a VI with the Vision Development Module (VDM) that allows me to select the Region of Interest (ROI) in an image while the VI is running. How do I do this?

Solution

There are a few examples that ship with VDM that demonstrate how to do this. To open the Example Finder, select Help>>Find Examples... in LabVIEW. Once it's open, browse to Toolkits and Modules>>Vision.
  • To look at an example of building a linear ROI, open the Histogram.vi example in the Analysis folder.
  • To see an example of a rectangular ROI, look at the Clamp Max.vi example in the Caliper folder.