ImageJ and ROI

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

ImageJ and ROI

Juan Francisco-2
Dear all:
  Please: how its possible with ImageJ  to select a ROI on an image with its pixel center and ROI size determinated, whitout use the rectangular selection? I mean: it´s possible to program a command to get a ROI for center pixel and size of ROI planned?
  Thanks very much!!
  JFC

 
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ and ROI

Albert Cardona
Did you mean Edit / Selection / Specify ...  ?

Albert
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ and ROI

Justin McGrath
In reply to this post by Juan Francisco-2
There is the makeRectangle macro function and probably an equivalent
plugin function.
If the center point desired is (xc,yc) and the size desired is w,h. Then
x = xc-w/2
y = yc-h/2
makeRectangle(x,y,w,h)

should work.

Justin

On 3/29/07, Juan Francisco <[hidden email]> wrote:

> Dear all:
>   Please: how its possible with ImageJ  to select a ROI on an image with its pixel center and ROI size determinated, whitout use the rectangular selection? I mean: it´s possible to program a command to get a ROI for center pixel and size of ROI planned?
>   Thanks very much!!
>   JFC
>
>
> ---------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>