Moving a combined set of ROIs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Moving a combined set of ROIs

Seth Pappas
Hello,
Is it possible to 'move' a combined set of Regions of Interest?
The goal is to check the centered-ness of an assembled part relative to a frame.The ROI is a circle with a rectangle and the rectangle has crosshairs in it. All objects are coaxial.
A single ROI object is movable but when you group several of them using the ROI manager, it seems impossible to move the group.

Slight XY offset of an image requires the ROI set to be adjusted.

Trying an alternate approach, I tried to create an Overlay but then read somewhere that 'by definition, an overlay is not movable'.

Thanks,
Seth Pappas


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Moving a combined set of ROIs

Michael Schmid
Hi Seth,

you can create a selection that is a circle with a cross missing at the center, see the following macro.  It is movable and looks similar to what you describe:

xCenter=100;
yCenter=100;
radius=50;
crossRadius=20;
makeOval(xCenter-radius, yCenter-radius, 2*radius,2*radius);
setKeyDown("alt");
makeRectangle(xCenter-crossRadius, yCenter-1, 2*crossRadius,2);setKeyDown("alt");
setKeyDown("alt");
makeRectangle(xCenter-1, yCenter-crossRadius, 2, 2*crossRadius);

As far as I know, one cannot combine area and line selections with the ROI manager; that's what prevents us from having true crosshairs movable together with a circle.

Michael
________________________________________________________________

On Nov 4, 2013, at 17:28, Seth Pappas wrote:

> Hello,
> Is it possible to 'move' a combined set of Regions of Interest?
> The goal is to check the centered-ness of an assembled part relative to a frame.The ROI is a circle with a rectangle and the rectangle has crosshairs in it. All objects are coaxial.
> A single ROI object is movable but when you group several of them using the ROI manager, it seems impossible to move the group.
>
> Slight XY offset of an image requires the ROI set to be adjusted.
>
> Trying an alternate approach, I tried to create an Overlay but then read somewhere that 'by definition, an overlay is not movable'.
>
> Thanks,
> Seth Pappas

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html