Overview
This VI demonstrates a way to overlay a grid of rectangular ROIs onto an image.
Description
This example shows a way to overlay a grid of rectangular ROIs onto an image. It allows the user to define the number of rows and columns for the grid, and then defines and overlays the ROIs automatically. Using the selected image's size, and the user's row and column number inputs, the program determines the coordinates necessary for the top left, and bottom right locations of each rectangular ROI. It then converts this rectangle into an ROI and overlays it on the image.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.