10-18-2001 03:25 AM
10-19-2001 09:51 AM
03-01-2013 01:00 PM
How does one wire an empty ROI up? I am pretty new to Labview, so please be explicit.
Here is what I have so far. It is going to be part of a larger program that will allow a user to use the last mask/ROI or draw a new one. The new ROI will be saved and loaded next time the program runs. An ROI will always load on program startup, though
Thanks for the help.
-Chris
03-01-2013 05:16 PM
If you save the image as PNG, you can flatten the ROI to string, then save that string as custom data within the PNG file IMAQ Write Custom Data. No need for an additional file to save the ROI next to your image.
When you write the file select PNG with Vision Info.
To read the file back, make sure you use IMAQ Read Image and Vision Info, then IMAQ Read Custom Data, and unflatten from string to read the ROI back.
-Christophe