Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi,
I have a movie, for which I would like to add labels that differ from stack to the other -- For example, from stack 1 to 10, label "A", from stack 11 to 20, label "B", etc...it seems that the Image>Stacks>Label command does not support such an editing process. Thanks for your help, Julien. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi Julien,
Not sure what the problem is. The Label command has the option to give a range to your label so change Format to Text. Fill "A" for Text and select range to 1-10 and your first 10 images will be labelled with A. etc If this is not what you have in mind you could make substacks, label them and merge them back together (see options under Image > Stacks > Tools). Best wishes Kees -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Julien Vaubourgeix Sent: 11 January 2013 16:02 To: [hidden email] Subject: Labeling stacks Hi, I have a movie, for which I would like to add labels that differ from stack to the other -- For example, from stack 1 to 10, label "A", from stack 11 to 20, label "B", etc...it seems that the Image>Stacks>Label command does not support such an editing process. Thanks for your help, Julien. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Dear Kees and Wayne,
Thanks very much for your help. I had checked the "Use overlay" option to create labels as a non-destructive image. I got- only after sending my email- that we can't generate multiple overlays. Labeling is going as smoothy as Kees described now. Thanks again. I do appreciate your help. Julien. On Jan 11, 2013, at 12:11 PM, Straatman, Kees R. (Dr.) wrote: > Hi Julien, > > Not sure what the problem is. The Label command has the option to give a range to your label so change Format to Text. Fill "A" for Text and select range to 1-10 and your first 10 images will be labelled with A. etc > > If this is not what you have in mind you could make substacks, label them and merge them back together (see options under Image > Stacks > Tools). > > Best wishes > > Kees > > -----Original Message----- > From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Julien Vaubourgeix > Sent: 11 January 2013 16:02 > To: [hidden email] > Subject: Labeling stacks > > Hi, > > I have a movie, for which I would like to add labels that differ from stack to the other -- For example, from stack 1 to 10, label "A", from stack 11 to 20, label "B", etc...it seems that the Image>Stacks>Label command does not support such an editing process. > > Thanks for your help, > > Julien. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html ... [show rest of quote] -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
In reply to this post by Julien Vaubourgeix
On Jan 11, 2013, at 11:02 AM, Julien Vaubourgeix wrote:
> Hi, > > I have a movie, for which I would like to add labels that differ from stack to the other -- For example, from stack 1 to 10, label "A", from stack 11 to 20, label "B", etc...it seems that the Image>Stacks>Label command does not support such an editing process. Here is macro that non-destructively labels images 1-10 of a stack with "A", images 11-20 with "B" etc. start = 1; index = 0; while (start<=nSlices) { range = ""+start+"-"+(start+9); label = fromCharCode(charCodeAt("A",0)+index); run("Label...", "format=Text x=50 y=100 font=80 text=&label range=&range use"); start += 10; index++; } It requires the ImageJ 1.47i daily build. It will work (drawing destructive labels) with earlier versions of ImageJ if you remove the 'use' ("Use overlay") option in the 6th line. Staring with the 1.47i daily build, the Image>Stacks>Label command no longer deletes any existing overlay when the "Use overlay" option is enabled. -wayne -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Disable Popup Ads | Edit this page |