cut out from image

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

cut out from image

afro
Hi,

how can I cut out a section (described by x1,y1,x2,y2) from the image,
without selecting it with ROI manager?
I work with stacks. On each slice of the stack there are several parts of
the image that I want to cut out, and visualize in an other Java application
(Java form).
The stack is represented as ImageStack, or ImagePlus (like in ImageJ), but I
want to visualize the selected sections on JPanel-s.
I tried to select the areas by creating a ROI, then calling the "Copy To
System Clipboard" ImageJ function, then parting fromJava code to the JPanel,
but there must be some much better a quicker way to do this. I just can't
figure it out...

So please help me!
Thanks!