Login  Register

Re: Place elliptical ROI with mouse click

Posted by dpoburko on Jun 23, 2009; 4:16pm
URL: http://imagej.273.s1.nabble.com/Place-elliptical-ROI-with-mouse-click-tp3691999p3692000.html

aweitz wrote:

> Hi,
>
> I'd like to modify the elliptical ROI tool.  Currently, the tool only places
> ROIs with click and drag (to specify ellipse size).  A click without a drag
> does nothing.  Instead, I'd like the click (without a drag) to place an ROI
> of set size (12x12) at the area of the mouse click.  The click and drag
> behavior should remain unmodified.
>
> Can anyone tell me where I can look in the code to make this modification?
>
> Thanks!
> Andrew
>  
You could try the Time Series Analyzer plugin. (
http://rsb.info.nih.gov/ij/plugins/time-series.html) It will provide a
GUI to let you select a give ROI size then create ROIs with a single
click. You can resize ROIs by selecting a given ROI and dragging to the
new size or position, then clicking on Update in the ROI manager.

Hope that helps,
Damon

--

Damon Poburko, PhD
Postdoctoral Research Fellow
Stanford University School of Medicine
Dept. of Molecular & Cellular Physiology
279 Campus Dr., Beckman B103, Stanford, CA 94305
Ph: 650 725 7564, fax: 650 725 8021