Re: How to extract a ROI?
Posted by
Stephan Saalfeld on
May 18, 2009; 12:41pm
URL: http://imagej.273.s1.nabble.com/How-to-extract-a-ROI-tp3692486p3692487.html
Be lazy and do:
IJ.run("Copy");
IJ.run("Internal Clipboard");
Best,
Stephan
On Mon, 2009-05-18 at 14:10 +0200, Juanjo Vega wrote:
> Hello everyone!
>
> I'm trying to extract a ROI programmatically. I mean, I'm developing
> a
> plugin and I need to create a new image with the previously selected
> area from another image.
>
> I can create the image with the right size (the same as the ROI), but
> I'm having problems copying the ROI (the new image is not modified
> after
> it is created). Maybe somebody did it before and can help me, or
> maybe
> I'm loosing an easier way...
>
> Thanks!
>