imagePlus.setRoi() not displaying

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

imagePlus.setRoi() not displaying

Nikos Katsikanis
In my java code I want to display a Roi defined in the program but when I call
imagePlus.setRoi(rectangle) The Roi is not displayed.  What I want it to do
is similar to when a roi is selected in the Roi manager plugin and then it
is displayed in the coresponding window.
Reply | Threaded
Open this post in threaded view
|

Re: imagePlus.setRoi() not displaying

dscho
Hi,

On Tue, 11 Apr 2006, Nikos Katsikanis wrote:

> In my java code I want to display a Roi defined in the program but when I call
> imagePlus.setRoi(rectangle) The Roi is not displayed.  What I want it to do
> is similar to when a roi is selected in the Roi manager plugin and then it
> is displayed in the coresponding window.

I think you need to call updateDisplay().

Hth,
Dscho