Login  Register

Re: resizing of a ROI

Posted by Eric BADEL on Nov 15, 2007; 4:59am
URL: http://imagej.273.s1.nabble.com/resizing-of-a-ROI-tp3698011p3698013.html

Hi,
Is there a way to define an ROI without the mouse but specifying the
coordinates of the rectangle ?
In fact I have to crop many images and I want to be sure that the crop
is always the same.

Eric


Rasband Wayne wrote:

> You can do this easily using the arrow keys.
>
>    1. press 'a' (select all)
>    3. press the alt-left twice
>    4. press the alt-up twice
>    6. press right
>    7. press down
>
> The arrow keys move the selection in one pixel increments. With the
> alt key down, they move the right and bottom edges.
>
> -wayne
>
> On Nov 10, 2007, at 8:42 AM, Peter Cloetens wrote:
>
>> Hello,
>> I'm trying to resize a rectangular roi to slightly smaller than the
>> complete width, height of an image.
>> When I use the handles on the left/right to change the width, this
>> does not work when the original roi corresponds to the complete
>> image. In that case I loose the roi and have to start again. If the
>> height of the original roi is smaller than the vertical size of the
>> image, I can change the width.
>> This occurs both on Linux and Mac.
>> Thanks,
>> Peter
>


--
**********************************************************

Eric BADEL
Charge de Recherches INRA
Laboratoire d'Etudes et de Recherches sur le Materiau Bois
LERMAB
14 rue Girardet
54 000 NANCY
tel: (33) 3 83 39 68 86
[hidden email]

***********************************************************