Example Code

ROI Analysis

Code and Documents

Attachment

Overview

This VI allows you to manually select a Region of Interest (ROI) on an image display to receive pixel analysis.

Description

Once an image is uploaded, the user takes the cursor controls to select a desired region of interest on the image and then some pixel statistics such as mean pixel value and the standard deviation will be reported within the ROI.

Steps to Implement or Execute Code

  1. Specify the image file path on the Front Panel
  2. Run the VI
  3. Click and drag on the image display to select your desired ROI

Requirements

Software

LabVIEW 8.6 or later

Vision Development Module - Compatibility Link

**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**

Vivek Nath
National Instruments
Applications Engineer
Machine Vision

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors