Hi Robert,
Thank you very much for your reply
.
I am able to manipulate the contents of the ROI cluster, ie, strip out
the corrdinates and style, etc, as well as recreating an ROI cluster
from data stored in a file. To simplify the matter, I am using
only the Line tool for generating ROIs.
My specific problem is in overlaying all of the stored ROIs on top of
an image. I have not yet been able to work that out. If you look at the
code that I posted, in the Add ROI case, I update a running list of
ROIs by placing them into an array of ROIs. Also in the Add ROI case, I
extract each ROI in the ROI array and write them to the ROI property
node for the displayed image. What shows up on the image screen is each
ROI sequentially popping up and turning off so that when the For-loop
completes I am left with no ROIs on the screen, just a blank image. You
mentioned adding the ROIs. Will that work?
I appreciate your response and hope that you can shed some light on this aspect of the problem.
Mike