Hi there,
Is there a way to make a grid (6 images X 9 images) of images and print them on paper (letter or poster) in a particular order. I want to print 500 nuclei in such a grid. It would be great if these could have a name printed with each image. Any help in this direction would be greatly appreciated. Thanks Jasvinder. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Jasvinder,
With the FigureJ plugin of Jerome Mutterer you can do what you are looking for: http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:figurej:start Best regards, Philippe > > Le Vendredi 3 Mai 2013 22:28 CEST, Jasvinder Ahuja <[hidden email]> a écrit: > > > > > Hi there, > > > Is there a way to make a grid (6 images X 9 images) of images and print > > > them on paper (letter or poster) in a particular order. I want to print 500 > > > nuclei in such a grid. It would be great if these could have a name printed > > > with each image. > > > > > > Any help in this direction would be greatly appreciated. > > > > > > Thanks > > > Jasvinder. > > > > > > -- > > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > > > > > > > > > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Thanks Philippe,
It is too much effort to do it manually using figureJ. I will have 5000 nuclei by the end of the project. Is there a way to put two images side by side and make one image of it (merge, fuse or stitch)? That way i can make a collage using a macro that reads a list of files from A text file. Thanks Jasvinder On Saturday, Mathay 4, 2013, CARL Philippe (PHA) <[hidden email]> wrote: > Hi Jasvinder, > With the FigureJ plugin of Jerome Mutterer you can do what you are looking for: > http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:figurej:start > Best regards, > Philippe > >> > Le Vendredi 3 Mai 2013 22:28 CEST, Jasvinder Ahuja < [hidden email]> a écrit: >> > >> > > Hi there, >> > > Is there a way to make a grid (6 images X 9 images) of images and >> > > them on paper (letter or poster) in a particular order. I want to print 500 >> > > nuclei in such a grid. It would be great if these could have a name printed >> > > with each image. >> > > >> > > Any help in this direction would be greatly appreciated. >> > > >> > > Thanks >> > > Jasvinder. >> > > >> > > -- >> > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html >> > >> > >> > >> > >> >> >> >> > > > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Jasvinder,
> It is too much effort to do it manually using figureJ. I will have > 5000 nuclei by the end of the project. Use a macro or script. Here is a macro I wrote for a similar purpose, which expands the canvas and pastes multiple images next to one another: https://gist.github.com/ctrueden/5416605 It would be relatively straightforward to adapt it to your use case, using for loops over your 6 x 9 image tiles. Regards, Curtis P.S. Learn more about macros at: http://imagej.net/developer/macro/macros.html On Sat, May 4, 2013 at 2:18 PM, Jasvinder Ahuja <[hidden email]>wrote: > Thanks Philippe, > It is too much effort to do it manually using figureJ. I will have 5000 > nuclei by the end of the project. Is there a way to put two images side by > side and make one image of it (merge, fuse or stitch)? That way i can make > a collage using a macro that reads a list of files from > A text file. > Thanks > Jasvinder > > On Saturday, Mathay 4, 2013, CARL Philippe (PHA) <[hidden email] > > > wrote: > > Hi Jasvinder, > > With the FigureJ plugin of Jerome Mutterer you can do what you are > looking for: > > http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:figurej:start > > Best regards, > > Philippe > > > >> > Le Vendredi 3 Mai 2013 22:28 CEST, Jasvinder Ahuja < > [hidden email]> a écrit: > >> > > >> > > Hi there, > >> > > Is there a way to make a grid (6 images X 9 images) of images and > >> > > them on paper (letter or poster) in a particular order. I want to > print 500 > >> > > nuclei in such a grid. It would be great if these could have a name > printed > >> > > with each image. > >> > > > >> > > Any help in this direction would be greatly appreciated. > >> > > > >> > > Thanks > >> > > Jasvinder. > >> > > > >> > > -- > >> > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > >> > > >> > > >> > > >> > > >> > >> > >> > >> > > > > > > > > > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Curtis,
That looks great. I will try it now. Thanks Jasvinder On Sat, May 4, 2013 at 5:40 PM, Curtis Rueden <[hidden email]> wrote: > Hi Jasvinder, > > > It is too much effort to do it manually using figureJ. I will have > > 5000 nuclei by the end of the project. > > Use a macro or script. Here is a macro I wrote for a similar purpose, which > expands the canvas and pastes multiple images next to one another: > > https://gist.github.com/ctrueden/5416605 > > It would be relatively straightforward to adapt it to your use case, using > for loops over your 6 x 9 image tiles. > > Regards, > Curtis > > P.S. Learn more about macros at: > http://imagej.net/developer/macro/macros.html > > > On Sat, May 4, 2013 at 2:18 PM, Jasvinder Ahuja <[hidden email] > >wrote: > > > Thanks Philippe, > > It is too much effort to do it manually using figureJ. I will have 5000 > > nuclei by the end of the project. Is there a way to put two images side > by > > side and make one image of it (merge, fuse or stitch)? That way i can > make > > a collage using a macro that reads a list of files from > > A text file. > > Thanks > > Jasvinder > > > > On Saturday, Mathay 4, 2013, CARL Philippe (PHA) < > [hidden email] > > > > > wrote: > > > Hi Jasvinder, > > > With the FigureJ plugin of Jerome Mutterer you can do what you are > > looking for: > > > http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:figurej:start > > > Best regards, > > > Philippe > > > > > >> > Le Vendredi 3 Mai 2013 22:28 CEST, Jasvinder Ahuja < > > [hidden email]> a écrit: > > >> > > > >> > > Hi there, > > >> > > Is there a way to make a grid (6 images X 9 images) of images and > > >> > > them on paper (letter or poster) in a particular order. I want to > > print 500 > > >> > > nuclei in such a grid. It would be great if these could have a > name > > printed > > >> > > with each image. > > >> > > > > >> > > Any help in this direction would be greatly appreciated. > > >> > > > > >> > > Thanks > > >> > > Jasvinder. > > >> > > > > >> > > -- > > >> > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > >> > > > >> > > > >> > > > >> > > > >> > > >> > > >> > > >> > > > > > > > > > > > > > > > > > > -- > > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Jasvinder S Ahuja
Hi Michael,
I have been thinking. How should I deal with uneven images? Thanks Jasvinder. On May 6, 2013 3:59 AM, "Michael Epping" <[hidden email]> wrote: > Hi Jasvinder, > > how about using "Image > Stacks > Make Montage..."? This part of ImageJ > allows you to arrange all images of a stack to create a collage. The name > of each slice (file name of the original image) can be added automatically. > You only have to write a small macro that creates the stacks. > > Best regards, > Michael Epping > > > Am 03.05.2013 22:28, schrieb Jasvinder Ahuja: > >> Hi there, >> Is there a way to make a grid (6 images X 9 images) of images and print >> them on paper (letter or poster) in a particular order. I want to print >> 500 >> nuclei in such a grid. It would be great if these could have a name >> printed >> with each image. >> >> Any help in this direction would be greatly appreciated. >> >> Thanks >> Jasvinder. >> >> -- >> ImageJ mailing list: http://imagej.nih.gov/ij/list.**html<http://imagej.nih.gov/ij/list.html> >> > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.**html<http://imagej.nih.gov/ij/list.html> > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Jasvinder,
> I have been thinking. How should I deal with uneven images? There are lots of ways. One way is for the macro to prompt the user for the desired size, then use Image > Adjust > Canvas Size... to make them all conform. Alternately, you can do two passes: one to read the sizes of all input images and take the maximum width and height, the second to actually read pixel data. Regards, Curtis On Mon, May 6, 2013 at 8:27 AM, Jasvinder Ahuja <[hidden email]>wrote: > Hi Michael, > I have been thinking. How should I deal with uneven images? > Thanks > Jasvinder. > On May 6, 2013 3:59 AM, "Michael Epping" <[hidden email]> wrote: > > > Hi Jasvinder, > > > > how about using "Image > Stacks > Make Montage..."? This part of ImageJ > > allows you to arrange all images of a stack to create a collage. The name > > of each slice (file name of the original image) can be added > automatically. > > You only have to write a small macro that creates the stacks. > > > > Best regards, > > Michael Epping > > > > > > Am 03.05.2013 22:28, schrieb Jasvinder Ahuja: > > > >> Hi there, > >> Is there a way to make a grid (6 images X 9 images) of images and print > >> them on paper (letter or poster) in a particular order. I want to print > >> 500 > >> nuclei in such a grid. It would be great if these could have a name > >> printed > >> with each image. > >> > >> Any help in this direction would be greatly appreciated. > >> > >> Thanks > >> Jasvinder. > >> > >> -- > >> ImageJ mailing list: http://imagej.nih.gov/ij/list.**html< > http://imagej.nih.gov/ij/list.html> > >> > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.**html< > http://imagej.nih.gov/ij/list.html> > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Curtis,
Do you have any example / clues about dealing with pixel data? Your help is much appreciated. Thanks Jasvinder. On Mon, May 6, 2013 at 3:53 PM, Curtis Rueden <[hidden email]> wrote: > Hi Jasvinder, > > > I have been thinking. How should I deal with uneven images? > > There are lots of ways. One way is for the macro to prompt the user for the > desired size, then use Image > Adjust > Canvas Size... to make them all > conform. Alternately, you can do two passes: one to read the sizes of all > input images and take the maximum width and height, the second to actually > read pixel data. > > Regards, > Curtis > > > On Mon, May 6, 2013 at 8:27 AM, Jasvinder Ahuja <[hidden email] > >wrote: > > > Hi Michael, > > I have been thinking. How should I deal with uneven images? > > Thanks > > Jasvinder. > > On May 6, 2013 3:59 AM, "Michael Epping" <[hidden email]> wrote: > > > > > Hi Jasvinder, > > > > > > how about using "Image > Stacks > Make Montage..."? This part of ImageJ > > > allows you to arrange all images of a stack to create a collage. The > name > > > of each slice (file name of the original image) can be added > > automatically. > > > You only have to write a small macro that creates the stacks. > > > > > > Best regards, > > > Michael Epping > > > > > > > > > Am 03.05.2013 22:28, schrieb Jasvinder Ahuja: > > > > > >> Hi there, > > >> Is there a way to make a grid (6 images X 9 images) of images and > > >> them on paper (letter or poster) in a particular order. I want to > > >> 500 > > >> nuclei in such a grid. It would be great if these could have a name > > >> printed > > >> with each image. > > >> > > >> Any help in this direction would be greatly appreciated. > > >> > > >> Thanks > > >> Jasvinder. > > >> > > >> -- > > >> ImageJ mailing list: http://imagej.nih.gov/ij/list.**html< > > http://imagej.nih.gov/ij/list.html> > > >> > > > > > > -- > > > ImageJ mailing list: http://imagej.nih.gov/ij/list.**html< > > http://imagej.nih.gov/ij/list.html> > > > > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Jasvinder,
> Do you have any example / clues about dealing with pixel data? Sorry, but your question is too vague. I do not know what you are looking for. There is a nice intro to macro programming at: http://fiji.sc/Introduction_into_Macro_Programming#The_recorder If there is something more specific you need to do with your pixels, first look for an appropriate function by searching this page: http://imagej.net/developer/macro/functions.html And if you can't find it, then reply back and elaborate a bit more on what you are trying to do. Regards, Curtis On Mon, May 6, 2013 at 6:08 PM, Jasvinder Ahuja <[hidden email]>wrote: > Hi Curtis, > Do you have any example / clues about dealing with pixel data? > Your help is much appreciated. > Thanks > Jasvinder. > > > On Mon, May 6, 2013 at 3:53 PM, Curtis Rueden <[hidden email]> wrote: > > > Hi Jasvinder, > > > > > I have been thinking. How should I deal with uneven images? > > > > There are lots of ways. One way is for the macro to prompt the user for > the > > desired size, then use Image > Adjust > Canvas Size... to make them all > > conform. Alternately, you can do two passes: one to read the sizes of all > > input images and take the maximum width and height, the second to > actually > > read pixel data. > > > > Regards, > > Curtis > > > > > > On Mon, May 6, 2013 at 8:27 AM, Jasvinder Ahuja < > [hidden email] > > >wrote: > > > > > Hi Michael, > > > I have been thinking. How should I deal with uneven images? > > > Thanks > > > Jasvinder. > > > On May 6, 2013 3:59 AM, "Michael Epping" <[hidden email]> wrote: > > > > > > > Hi Jasvinder, > > > > > > > > how about using "Image > Stacks > Make Montage..."? This part of > ImageJ > > > > allows you to arrange all images of a stack to create a collage. The > > name > > > > of each slice (file name of the original image) can be added > > > automatically. > > > > You only have to write a small macro that creates the stacks. > > > > > > > > Best regards, > > > > Michael Epping > > > > > > > > > > > > Am 03.05.2013 22:28, schrieb Jasvinder Ahuja: > > > > > > > >> Hi there, > > > >> Is there a way to make a grid (6 images X 9 images) of images and > > > >> them on paper (letter or poster) in a particular order. I want to > > > >> 500 > > > >> nuclei in such a grid. It would be great if these could have a name > > > >> printed > > > >> with each image. > > > >> > > > >> Any help in this direction would be greatly appreciated. > > > >> > > > >> Thanks > > > >> Jasvinder. > > > >> > > > >> -- > > > >> ImageJ mailing list: http://imagej.nih.gov/ij/list.**html< > > > http://imagej.nih.gov/ij/list.html> > > > >> > > > > > > > > -- > > > > ImageJ mailing list: http://imagej.nih.gov/ij/list.**html< > > > http://imagej.nih.gov/ij/list.html> > > > > > > > > > > -- > > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |