Editing ROIs

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

Editing ROIs

Daniel Patón Domínguez
Hello list:

I am doing sequential measures by segments using ROI manager for tree
rings. The problem is that in the process of correction I want add or
eliminate objects between adjacent measures. Is it possible this
conserving sequential numbers? If I have a list of 150 tree rings and I
want introduce a new ring between 120 and 121 the ROI manager put the
number 151. Is it possible to order the sequential list of ROIs in
increasing order....

Thanks,
--
------------------------------------------------------------
                    Daniel Patón Domínguez
               Numerical Ecology. Ecology Unit
  Department of Plant Biology, Ecology and Earth Sciences
       Faculty of Sciences. University of Extremadura
            Avda. Elvas s/n 06071 Badajoz (Spain)
       http://sites.google.com/site/numericalecologyuex/
------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: Editing ROIs

Anderson, Charles (DNR)
The ObjectJ plugin examples for otoliths and tree rings show it allows one to add, delete, or move points. It may be worth a look.

http://simon.bio.uva.nl/objectj/examples/TreeRings/TreeRings-9.htm

Charles

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Daniel Patón Domínguez
Sent: Friday, May 18, 2012 9:11 AM
To: [hidden email]
Subject: Editing ROIs

Hello list:

I am doing sequential measures by segments using ROI manager for tree rings. The problem is that in the process of correction I want add or eliminate objects between adjacent measures. Is it possible this conserving sequential numbers? If I have a list of 150 tree rings and I want introduce a new ring between 120 and 121 the ROI manager put the number 151. Is it possible to order the sequential list of ROIs in increasing order....

Thanks,
--
------------------------------------------------------------
                    Daniel Patón Domínguez
               Numerical Ecology. Ecology Unit
  Department of Plant Biology, Ecology and Earth Sciences
       Faculty of Sciences. University of Extremadura
            Avda. Elvas s/n 06071 Badajoz (Spain)
       http://sites.google.com/site/numericalecologyuex/
------------------------------------------------------------

Reply | Threaded
Open this post in threaded view
|

Re: Editing ROIs

Daniel Patón Domínguez
El vie, 18-05-2012 a las 15:52 +0000, Anderson, Charles (DNR) escribió:
> The ObjectJ plugin examples for otoliths and tree rings show it allows one to add, delete, or move points. It may be worth a look.
>
> http://simon.bio.uva.nl/objectj/examples/TreeRings/TreeRings-9.htm
>
> Charles

Yes and is excellent but when I try to insert a new ring between two
adjacent rings the ObjectJ plugin produce a new object assigned the last
ring in time as a ring in the last position.... My idea is simple:
I want to measure many vectors using ROI and if I want introduce a new
vector re-order the sequence....

For example, I have:

1.....2......3......4

and I discover that a false ring really is not false and consequently
I want to transform this:

1.....2...5..3......4

in this:

1.....2...3..4......5

Is it this possible with ObjectJ? And with ROI manager using sequential segments?

Thanks

--
------------------------------------------------------------
                    Daniel Patón Domínguez
               Numerical Ecology. Ecology Unit
  Department of Plant Biology, Ecology and Earth Sciences
       Faculty of Sciences. University of Extremadura
            Avda. Elvas s/n 06071 Badajoz (Spain)
       http://sites.google.com/site/numericalecologyuex/
------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: Editing ROIs

vischer
> Daniel Patón Domínguez wrote:

> Yes and is excellent but when I try to insert a new ring between two
> adjacent rings the ObjectJ plugin produce a new object assigned the last
> ring in time as a ring in the last position.... My idea is simple:
> I want to measure many vectors using ROI and if I want introduce a new
> vector re-order the sequence….

Hello Daniel,

first let me mention that ImageJ already supports inserting vertices into a segmented line selection: keep down the shift key,  then click on one of the vertex points. Now an additional point appears close to it, but also changing the position of the one you clicked. You then need to move both points to the desired position.

In the TreeRings project, you can insert points with direct update of the year labels, and without the need to subsequently move points.

Inserting a "ring" in TreeRings-11.ojj:
======================================

- First check how function key shortcuts behave as you need later the F7 shortcut.
 (Often the system maps by default the function keys directly to sound volume etc, which means that other applications need an additional modifier key, such as "fn" in OS X).

- choose ObjectJ> Show ObjectJ Tools (if not visible yet)
- with the "Finger " tool, select the desired object (eg object #1).
  A selected object appears with "fat" points.
- position the mouse between two points without clicking
- choose keyboard shortcut for "Insert Ring [F7]" to insert the point at cursor position.

The new point is not appended to the end, it is rather inserted where you expect it, and recalculates the year numbers that are displayed as overlay.


Killing a point:
================
select the pistol tool in ObjectJ Tools, keep down the shift key, and shoot a point away. Then optionally choose Show/Hide annotation for updating the "year" labels.


Note:
=====
in this context I discovered a regression (introduced a few months ago) which made an object non-selectable after you inserted a point. This is fixed in version ObjectJ1.02h, so please update!  When the ObjectJ menu is visible, Help>Update ImageJ gives you the choice to update ImageJ or ObjectJ or both.


Norbert Vischer
Reply | Threaded
Open this post in threaded view
|

Re: Editing ROIs

Daniel Patón Domínguez
El dom, 20-05-2012 a las 23:01 +0200, Norbert Vischer escribió:

> > Daniel Patón Domínguez wrote:
>
> > Yes and is excellent but when I try to insert a new ring between two
> > adjacent rings the ObjectJ plugin produce a new object assigned the last
> > ring in time as a ring in the last position.... My idea is simple:
> > I want to measure many vectors using ROI and if I want introduce a new
> > vector re-order the sequence….
>
> Hello Daniel,
>
> first let me mention that ImageJ already supports inserting vertices into a segmented line selection: keep down the shift key,  then click on one of the vertex points. Now an additional point appears close to it, but also changing the position of the one you clicked. You then need to move both points to the desired position.
>
> In the TreeRings project, you can insert points with direct update of the year labels, and without the need to subsequently move points.
>
> Inserting a "ring" in TreeRings-11.ojj:
> ======================================
>
> - First check how function key shortcuts behave as you need later the F7 shortcut.
>  (Often the system maps by default the function keys directly to sound volume etc, which means that other applications need an additional modifier key, such as "fn" in OS X).
>
> - choose ObjectJ> Show ObjectJ Tools (if not visible yet)
> - with the "Finger " tool, select the desired object (eg object #1).
>   A selected object appears with "fat" points.
> - position the mouse between two points without clicking
> - choose keyboard shortcut for "Insert Ring [F7]" to insert the point at cursor position.
>
> The new point is not appended to the end, it is rather inserted where you expect it, and recalculates the year numbers that are displayed as overlay.
>
>
> Killing a point:
> ================
> select the pistol tool in ObjectJ Tools, keep down the shift key, and shoot a point away. Then optionally choose Show/Hide annotation for updating the "year" labels.
>
>
> Note:
> =====
> in this context I discovered a regression (introduced a few months ago) which made an object non-selectable after you inserted a point. This is fixed in version ObjectJ1.02h, so please update!  When the ObjectJ menu is visible, Help>Update ImageJ gives you the choice to update ImageJ or ObjectJ or both.
>
>
> Norbert Vischer

Dear Norbert:

Your explanations are simply perfect !!!

Many thanks

--
------------------------------------------------------------
                    Daniel Patón Domínguez
               Numerical Ecology. Ecology Unit
  Department of Plant Biology, Ecology and Earth Sciences
       Faculty of Sciences. University of Extremadura
            Avda. Elvas s/n 06071 Badajoz (Spain)
       http://sites.google.com/site/numericalecologyuex/
------------------------------------------------------------