Re: Macro to define a local region of interest
Posted by
Michael Schmid on
Jun 01, 2011; 5:29pm
URL: http://imagej.273.s1.nabble.com/Macro-to-define-a-local-region-of-interest-tp3684393p3684394.html
Hi Douglas,
you can do this with the Wand tool in ImageJ. The macro call is:
doWand(x, y, tolerance, "8-connected")
where 'tolerance' specifies how much the gray value may deviate from the one at (x,y).
The 'versatile wand' plugin also allows you to specify a maximum gradient and can do selections with inner holes.
http://imagejdocu.tudor.lu/doku.php?id=plugin:segmentation:versatile_wand:startMichael
____________________________________________________________________________
On 2011-Jun-01, at 18:47, Benn, Douglas K. wrote:
> I am creating an anatomical atlas of CTs and have a student laboriously
> identifying anatomical points with a mouse click. I would like to use a
> pair of x,y cords as a starting point to automatically search for a
> region which has similar properties in terms of grayness which will
> outline the anatomical structure such as the Maxillary sinus. Is there a
> macro which if you give it a starting x,y coordinate will search around
> to form a closed ROI?
>
> Thanks!
>
> Douglas