Hello,
I was looking into using ImageJ as an external viewer for Octave and found some discussions in the past on this topic. I wonder if something has been done since then. Wayne proposed as solution to save the images with Octave in a directory where ImageJ periodically looks for new files. This seems a little restrictive. Probably you want faster display and also call ImageJ commands from octave or vice versa; get some mouse clicking entries from ImageJ into Octave, ... Isn't this rather something to be solved with sockets. Any suggestions would be welcome. Peter On Mon, 24 Nov 2003 09:54:21 -0800, P. Daniel Tyreus <[hidden email]> wrote: >Hello Mark - > >From my understanding, what you are trying to do is send messages to the >running ImageJ program do perform tasks such as displaying images. As you >mentioned, it is fairly easy to command line script the startup of ImageJ >with an image window. However, talking to ImageJ while running is not quite >as easy. In order to be able to do so, ImageJ would need to be running some >type of server that would be listening for communication over a chosen >protocol. Octave would then be the client that made requests. > >One possible way to do this is using Servlets. There is an example at >http://rsb.info.nih.gov:8080/index.html. You may be able to modify this >to do something similar to what you want. You will also need a servlet >engine such as Tomcat. > >The other, perhaps better but more complicated, ways of doing this are with >SOAP messaging or RMI. Wayne will correct me if I'm wrong, but I don't think >either of those are implemented in ImageJ. A word of warning, though, both >are complicated, they may require use of Java 2, and writing code to make >Octave talk to ImageJ in this way probably won't be worth your time unless >you are already a Java expert. > >Wayne usually knows of simpler ways of doing things with ImageJ than I do, >but unless he responds with better ideas, I think these are the options you >are stuck with. > >Daniel >[hidden email] > >-----Original Message----- >From: ImageJ Interest Group [mailto:[hidden email]]On Behalf Of >Mark H. Bowden >Sent: Monday, November 24, 2003 6:42 AM >To: [hidden email] >Subject: External Viewer > > >I just joined the list and never saw my initial post come out. My >apologies if this is a duplicate. > >I want to use ImageJ as an external viewer for Octave. I can do that now >by having Octave specify the image file on the command line that is >passed to system(). However, this will bring up a separate ImageJ >process for each image displayed. Is it possible for a separate process >to request an existing ImageJ process to display additional images? I >couldn't find anything on this in the archives. > >Thanks, >-mark >_______________________________________________ >Mark H. Bowden >Optical Sciences Corporation >========================================================================= |
Hi there,
In my experience with Matlab, you need to write an interface class that starts an instance of ImageJ. I don't know how Java-friendly is Octave but Matlab is quite Java-based (all the GUI stuff). I think going for RMI or SOAP will be an overkill. ImageJ is not client-server oriented. And also - just forget about Java 1.x Java 2 is THE standard. best regards, Dimiter -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]]On Behalf Of IMAGEJ automatic digest system Sent: maandag 31 oktober 2005 06:02 To: [hidden email] Subject: IMAGEJ Digest - 29 Oct 2005 to 30 Oct 2005 (#2005-291) There is 1 message totalling 77 lines in this issue. Topics of the day: 1. External Viewer ---------------------------------------------------------------------- Date: Sun, 30 Oct 2005 13:35:42 -0500 From: Peter Cloetens <[hidden email]> Subject: Re: External Viewer Hello, I was looking into using ImageJ as an external viewer for Octave and found some discussions in the past on this topic. I wonder if something has been done since then. Wayne proposed as solution to save the images with Octave in a directory where ImageJ periodically looks for new files. This seems a little restrictive. Probably you want faster display and also call ImageJ commands from octave or vice versa; get some mouse clicking entries from ImageJ into Octave, ... Isn't this rather something to be solved with sockets. Any suggestions would be welcome. Peter On Mon, 24 Nov 2003 09:54:21 -0800, P. Daniel Tyreus <[hidden email]> wrote: >Hello Mark - > >From my understanding, what you are trying to do is send messages to the >running ImageJ program do perform tasks such as displaying images. As you >mentioned, it is fairly easy to command line script the startup of ImageJ >with an image window. However, talking to ImageJ while running is not quite >as easy. In order to be able to do so, ImageJ would need to be running some >type of server that would be listening for communication over a chosen >protocol. Octave would then be the client that made requests. > >One possible way to do this is using Servlets. There is an example at >http://rsb.info.nih.gov:8080/index.html. You may be able to modify this >to do something similar to what you want. You will also need a servlet >engine such as Tomcat. > >The other, perhaps better but more complicated, ways of doing this are with >SOAP messaging or RMI. Wayne will correct me if I'm wrong, but I don't think >either of those are implemented in ImageJ. A word of warning, though, both >are complicated, they may require use of Java 2, and writing code to make >Octave talk to ImageJ in this way probably won't be worth your time unless >you are already a Java expert. > >Wayne usually knows of simpler ways of doing things with ImageJ than I do, >but unless he responds with better ideas, I think these are the options you >are stuck with. > >Daniel >[hidden email] > >-----Original Message----- >From: ImageJ Interest Group [mailto:[hidden email]]On Behalf Of >Mark H. Bowden >Sent: Monday, November 24, 2003 6:42 AM >To: [hidden email] >Subject: External Viewer > > >I just joined the list and never saw my initial post come out. My >apologies if this is a duplicate. > >I want to use ImageJ as an external viewer for Octave. I can do that now >by having Octave specify the image file on the command line that is >passed to system(). However, this will bring up a separate ImageJ >process for each image displayed. Is it possible for a separate process >to request an existing ImageJ process to display additional images? I >couldn't find anything on this in the archives. > >Thanks, >-mark >_______________________________________________ >Mark H. Bowden >Optical Sciences Corporation >========================================================================= ------------------------------ End of IMAGEJ Digest - 29 Oct 2005 to 30 Oct 2005 (#2005-291) ************************************************************* |
Hi!
An odd question. I work with tissue sections and sometimes I have to zoom in digitally to get a good look at some microvasculature. When I zoom in normally (my pictures are 8Mb TIFF files, 36 bit depth taken with SPOT2 camera) I get rather quickly pixellation, loosing at the same time some detail. I tried some deconvolution, gaussian smoothing and/or unsharp mask, without a lot of success. What I need is not a labor intensive (and admittedly more accurate) method to get rid of my pixels. What I am looking for a what I have seen once on SGI where, while zooming in, the pixels would "split" so that the apparent smoothness would be preserved. This is especially important when printing such king of photos. So, is there a plugin (I could not find one) or a easy macro that would help me with this problem? Przemko -- Przemko Tylzanowski Ph.D. LSD & Joint, box 813-GREEN O & N University of Leuven Herestraat 49 3000 Leuven Belgium phone: (32-16)34-61-96 fax : (32-16)34-62-00 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm |
Free forum by Nabble | Edit this page |