01-06-2012 05:25 AM
I am working on the IR images received through a TCP/IP client application. Once the image is received, I need to produce the histogram of the selected area. To select the area of interest, I am using various ROI tools. Now, when I use say a line ROI tool to produce a ROI, I need to retain the ROI produced by the say, rectangle ROI tool. That is, I am using multiple ROI tools to select the various ROIs on the image and every time when I use new ROI tool, the ROI selected by the previous tool must be retained.
Here's a quick example (LV2010) of how to do it (multiple ROIs).
The idea is to catch mouse up events on the image display and for each of then see if the ROI has changed and if it has, then combine the previous ones with the new one.
Hope this helps