On Friday 08 July 2005 18:51, Wayne Rasband wrote:
> ImageJ 1.34r, now available at > "http://rsb.info.nih.gov/ij/notes.html". Added the imageCalculator() macro function. Wayne, what is the syntax for this? Are there any advantages over using the image calculator as we've been doing so far? Many thanks, Gabriel |
Hello
I know you can get macros to run on starting up ImageJ, but is there anyway to run a plugin when you start up? Lottie ======================================================================== http://www.international-marine.com International Marine Coatings. http://www.international-pc.com International Protective Coatings. http://www.yachtpaint.com International Yacht Coatings. ======================================================================== Confidentiality Note: This message, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error please notify us immediately by e-mail at [hidden email] |
Hi,
On Mon, 11 Jul 2005, Holmes, Charlotte wrote: > I know you can get macros to run on starting up ImageJ, but is there > anyway to run a plugin when you start up? What's wrong with writing a short macro: run("MyPlugin ","myparam1=x myparam2=y"); Ciao, Dscho |
In reply to this post by Gabriel Landini
> On Friday 08 July 2005 18:51, Wayne Rasband wrote:
> > ImageJ 1.34r, now available at > > "http://rsb.info.nih.gov/ij/notes.html". > > Added the imageCalculator() macro function. > > Wayne, what is the syntax for this? This syntax is described at http://rsb.info.nih.gov/ij/developer/macro/ functions.html#imageCalculator > Are there any advantages over using the image calculator as > we've been doing so far? The code is more concise and readable, plus you can use image IDs instead of image titles. For example, you can use imageCalculator("Average", "img 2.tif","img 2.tif"); instead of run("Image Calculator...", "image1=[img 2.tif] operation=Average image2=[img 2.tif]"); And, if only two images open, you can use imageCalculator("Average", 1, 2); -wayne |
In reply to this post by quantumlottie
well i was pretty dozy to not think of that but i have a new problem
I have a plugin (now with a macro which will run it) and I want it to start running when ImageJ is started. At the minute all the macro does is insert itself in plugin>macros from which I can run it. Is it possible to run either a plugin or macro immediatley when ImageJ is started up? -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]]On Behalf Of Johannes Schindelin Sent: 11 July 2005 14:11 To: [hidden email] Subject: Re: startup Hi, On Mon, 11 Jul 2005, Holmes, Charlotte wrote: > I know you can get macros to run on starting up ImageJ, but is there > anyway to run a plugin when you start up? What's wrong with writing a short macro: run("MyPlugin ","myparam1=x myparam2=y"); Ciao, Dscho ======================================================================== http://www.international-marine.com International Marine Coatings. http://www.international-pc.com International Protective Coatings. http://www.yachtpaint.com International Yacht Coatings. ======================================================================== Confidentiality Note: This message, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error please notify us immediately by e-mail at [hidden email] |
Free forum by Nabble | Edit this page |