To download NI software, including the products shown below, visit ni.com/downloads.
This VI allows users to select a rectangular Region of Interest (ROI) and save that ROI to its own image file. This would be useful if you would like to extract out a portion of your larger image and save it as its own image file.
Description
This VI uses the IMAQ VI's to create a memory location for an image, open that image and then display it. The VI then uses the IMAQ Select Rectangle to open a prompt which allows the user to define a rectangular Region Of Interest (ROI). The IMAQ Extract VI creates a new image for the ROI which is then saved to file.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Exactly what i was looking for! Thanks