Extending ImageCanvas to display 1 Roi / slice?

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

Extending ImageCanvas to display 1 Roi / slice?

Jean-Yves Tinevez-2
Dear friends of imaging,

For a plugin I am writing, I plan to extends the current ImageCanvas,  
in order to add a few specialized methods.

I would need to get a canvas that can display 1 different ROI per  
slice. When the user changes the slice (e.g. clicks on the bottom  
slider), the ROI for this slice is taken from a list, and displayed on  
the image.

Rather than re-invent the wheel, I wanted to ask this list if anyone  
had already done something similar before I try to do it. If so,  
please tell me.

Best regards, and merry christmas to you all
jyt


--
Jean-Yves Tinevez
PFID - Imagopole
Institut Pasteur
25-28, rue du Docteur Roux
75724 Paris cedex 15
France
tel: +33 1 40 61 31 77
Reply | Threaded
Open this post in threaded view
|

Re: Extending ImageCanvas to display 1 Roi / slice?

dscho
Hi J-Y,

On Wed, 23 Dec 2009, Jean-Yves Tinevez wrote:

> For a plugin I am writing, I plan to extends the current ImageCanvas, in
> order to add a few specialized methods.
>
> I would need to get a canvas that can display 1 different ROI per slice.
> When the user changes the slice (e.g. clicks on the bottom slider), the
> ROI for this slice is taken from a list, and displayed on the image.
>
> Rather than re-invent the wheel, I wanted to ask this list if anyone had
> already done something similar before I try to do it. If so, please tell
> me.

We do something like this in the Segmentation Editor plugin in VIB_.jar:

http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=VIB.git;a=blob;f=vib/segment/CustomStackWindow.java;hb=refs/heads/VIB#l417

I do not think that you can really do that in the ImageCanvas, as it is
inherently 2D (the slice selector is a sibling of the ImageCanvas
component).

Ciao,
Johannes
Reply | Threaded
Open this post in threaded view
|

manual tracking + sync windows

Aryeh Weiss
The manual tracking plugin that comes with Fiji advanced the image stack
every time teh user clicks on an object. This is of course teh correct
thing to do.

We have three stacks which are "synced" using sync windows. We wold like
all of them to advance when we use the manual tracking plugin, because
that provides useful cues to the user who is clicking on the objects.
However, even when sync windows is selected, the manual tracking plugin
does not advance the other windows. That is not unexpected, but I was
wondering if there is a way to have all of the sync'ed windows advance
in this case.

Thanks in advance
--aryeh
--
Aryeh Weiss
School of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051
Reply | Threaded
Open this post in threaded view
|

Re: manual tracking + sync windows

Fabrice Cordelières
Dear Aryeh,

The current version of manual tracking is quite old, I must update it to take benefit of ImageJ's improvements (ex: hyperstacks)... I've tried few tricks but the quickest way to solve your problem would be to make an overlay of the 3 channels and track on the resulting RGB image (do not make a composite: this won't work).

Fabrice

Le 23 déc. 2009 à 16:25, Aryeh Weiss a écrit :

> The manual tracking plugin that comes with Fiji advanced the image stack every time teh user clicks on an object. This is of course teh correct thing to do.
>
> We have three stacks which are "synced" using sync windows. We wold like all of them to advance when we use the manual tracking plugin, because that provides useful cues to the user who is clicking on the objects.
> However, even when sync windows is selected, the manual tracking plugin does not advance the other windows. That is not unexpected, but I was wondering if there is a way to have all of the sync'ed windows advance in this case.
>
> Thanks in advance
> --aryeh
> --
> Aryeh Weiss
> School of Engineering
> Bar Ilan University
> Ramat Gan 52900 Israel
>
> Ph:  972-3-5317638
> FAX: 972-3-7384051
>

 
Fabrice Cordelières, PhD
 
Institut Curie - Section de recherche/ CNRS UMR 146
Plateforme d'Imagerie Cellulaire et Tissulaire
Bâtiment 112 - Centre universitaire
91405 Orsay Cedex
FRANCE
 
Tél. : +33 1 69 86 31 30
Fax. : +33 1 69 86 17 03
 
Consultez mes disponibilités sur http://www.google.com/calendar/embed?src=fabrice.cordelieres%40gmail.com