Re: How to transport a ROI
Posted by
Olivier Burri on
Mar 18, 2015; 8:44am
URL: http://imagej.273.s1.nabble.com/How-to-transport-a-ROI-tp5011985p5012030.html
> On 16.03.2015 16:55, rabih assaf wrote:
> > Thank you,
> > What i mean in my question is to make a new image containing only the
> selected ROI?
> > How can i do it?
> > Thanks
If you just want the ROI, in a new image, then please define what you mean by new image.
A new image that has the same size as the original? An image that fits the ROI as snuggly as possible?
For the first case, something in the lines of
1. Make a new image with the same size
2. use Restore selection to place the last ROI onto the new image.
In macro language you can run this:
getDimensions(x,y,c,z,t);
newImage("New Image with Previous ROI", "8-bit black", x, y, 1);
run("Restore Selection");
Otherwise you can use the method given to you by Jan.
Best
Oli
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html