ImageJ
Search
everywhere
only in this topic
Advanced Search
Getting the current ROI
‹
Previous Topic
Next Topic
›
Classic
List
Threaded
♦
♦
Locked
2 messages
Paul Johnston
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Getting the current ROI
Sorry if this is a basic question:
How do I access the current Roi? For example, if I do:
Toolbar.getInstance().setTool("line");
then wait for user to draw a line, I want to access the ij.gui.Line
within the mouseReleased() event.
Thanks,
Paul
dscho
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Getting the current ROI
Hi,
On Fri, 16 Jan 2009, Paul Johnston wrote:
> How do I access the current Roi?
Roi roi = WindowManager.getCurrentImage().getRoi();
Hth,
Dscho
Free forum by Nabble
Edit this page