Re: array of ROIs
Posted by dscho on Jul 20, 2006; 4:27pm
URL: http://imagej.273.s1.nabble.com/Re-array-of-ROIs-tp3702070p3702072.html
Hi,
On Thu, 20 Jul 2006, Tony De Vivo wrote:
> now i explain my goal:
>
> i have a stack of slices;
> a method has to create a polygonal roi for each slice.
> Obviously, I have to be able to move through slices and for each slice I
> have to obtain the relative roi.
> Now the question is:
> How can I store the roi? Can I use an array roi[]??
There is not yet any code for this in ImageJ. So, if you want to store it,
add a function to the plugin. Likewise for loading. If you make these
functions static (detecting dynamically if IJ.getImage().getWindow() is an
instance of the custom StackWindow, and erroring out if not), you can call
them via a macro.
Hth,
Dscho