I have a for loop that reads frames which is a simple way to display a video and manipulate the frames as they pass by.
However, the only way I found to crop a displayed product to your region of interest is
IMAQ select rectangle -> rectangle to ROI-> IMAQ extract -> image out.
The problem with this is that when you put it within a for loop it asks for a new ROI every frame. I have 625 frames and this caused a large problem for my program. I can not put the select rectangle out of the loop because it requires the Read Frame data from within.
Additionally I would much rather have an image out style display on the front end than to generate a new window.
I am perplexed and looking for guidance.
thank you.