Dear all:
I need to substract the TIFF image from another TIFF image. So, I can go to Process---->Image calculator and I can see the operations: Difference and Substract. Pls, does anyone what is the difference between Difference and Substarct operatation?. Thank you evry much! Juan Francisco --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com |
Please,
- Avoid using capitals in the subject line of your email (sorry if it's a formating error that appeared randomly) - When you have a question about ImageJ basics, always go first to the ImageJ documentation online (http://rsb.info.nih.gov/ij/docs), then to the ImageJ wiki (http://imagejdocu.tudor.lu/), then search the imagej mailing list archives (https://list.nih.gov/cgi-bin/wa?S1=imagej). Another good resource for various plugin use is the ImageJ MBF Manual maintained by Tony Collins : http://www.macbiophotonics.ca/imagej/index.htm - If you cannot find the answer to your question at these different sites, then I think people on this list will be happy to answer your question, if they have the answer. Please try to find out by yourself on the above mentionned website ! By the way, what you're looking for is right there in the ImageJ documentation : http://rsb.info.nih.gov/ij/docs/menus/process.html#calculator Cheers, Christophe Leterrier Juan Francisco a écrit : > Dear all: > I need to substract the TIFF image from another TIFF image. So, I can go to Process---->Image calculator and I can see the operations: Difference and Substract. Pls, does anyone what is the difference between Difference and Substarct operatation?. > Thank you evry much! > Juan Francisco > > > --------------------------------- > > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y móviles desde 1 céntimo por minuto. > http://es.voice.yahoo.com > > |
I have some questions regarding stacks and macros.
I see from the examples how to pass arguments to ImageJ commands which are run from within a macro (as in the ArgumentPassingDemo macro). However, I do not know how to find the names of the arguments, when they are not recorded by the macro recorder. Fro example, the macro recorder records: run("Duplicate...", "title=[Substack (5,6)-1] duplicate"); when I duplicate a stack. However, this is the same regardless of whether I select the "duplicate entire stack" checkbox, so I dont know how to tell it to duplicate the entire stack in a macro, unless I run it interactively. Is there a general way to know the argument names for a given command? In a related question, I want to copy an entire stack and paste it somewhere. However, the copy command (Run("Copy")) only copies a single slice, while I want the entire stack. Is there an an option to Copy which will do this? Thank you for your attention to my questions. --aryeh -- Aryeh Weiss School of Engineering Bar Ilan University Ramat Gan 52900 Israel Ph: 972-3-5317638 FAX: 972-3-7384050 |
In reply to this post by Juan Francisco-2
Hello Juan,
The answer you seek is hidden in the Documentation page, http://rsb.info.nih.gov/ij/docs/menus/process.html#calculator ('Difference' returns the absolute value of the difference between 2 images.) -- Harry Parker Senior Systems Engineer Digital Imaging Systems, Inc. ----- Original Message ---- From: Juan Francisco <[hidden email]> To: [hidden email] Sent: Monday, May 28, 2007 7:49:25 AM Subject: IMAGE SUBSTRACTION WITH IMAGE J Dear all: I need to substract the TIFF image from another TIFF image. So, I can go to Process---->Image calculator and I can see the operations: Difference and Substract. Pls, does anyone what is the difference between Difference and Substarct operatation?. Thank you evry much! Juan Francisco --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com ____________________________________________________________________________________Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. http://new.toolbar.yahoo.com/toolbar/features/norton/index.php |
In reply to this post by Aryeh Weiss
Hi Aryeh,
to find the options for a 'run' command in a macro, the Macro Recorder is clearly the best choice. You can easily change the values after recording. Numeric and string arguments of a dialog box are recorded as "name=value", where 'name' usually is the first word of the text left of an input field. For string values (=texts), square brackets around the value should be used and are essential if the string contains spaces. For checkboxes, add their name (without any "=") to put them into the on (checked) state, and simply don't mention them to put them into the off (unchecked) state. Again, the name is usually the first word left of the checkbox (the Macro Recorder will show you the name). In your example, run("Duplicate...", "title=[Substack (5,6)-1] duplicate"); the "Duplicate Entire Stack" checkbox is on, because you have the word "duplicate" in the options string. To duplicate only the current slice, use run("Duplicate...", "title=[Substack (5,6)-1]"); There is one exception: Many ImageJ commands show a dialog "Process all nnn slices? There is no undo when you select yes" In these cases, as the Macro Recorder will easily show, add the word "stack" to the options to run the command on a stack. Names of input fields and checkboxes should be always converted to lowercase. --- Copy and Paste works on single images only, not on stacks. Either use run("Duplicate...", "title=[newname] duplicate"); or write a short macro looping over the slices, e.g. to transfer the contents of the selection from one stack to another stack. See setSlice() and related methods: http://rsb.info.nih.gov/ij/developer/macro/functions.html#setSlice Michael ________________________________________________________________ On 28 May 2007, at 21:25, Aryeh Weiss wrote: > I see from the examples how to pass arguments to ImageJ commands > which are run from within a macro (as in the ArgumentPassingDemo > macro). However, I do not know how to find the names of the > arguments, when they are not recorded by the macro recorder. Fro > example, the macro recorder records: > run("Duplicate...", "title=[Substack (5,6)-1] duplicate"); > when I duplicate a stack. However, this is the same regardless of > whether I select the "duplicate entire stack" checkbox, so I dont > know how to tell it to duplicate the entire stack in a macro, > unless I run it interactively. > Is there a general way to know the argument names for a given command? > > In a related question, I want to copy an entire stack and paste it > somewhere. However, the copy command (Run("Copy")) only copies a > single slice, while I want the entire stack. Is there an an option > to Copy which will do this? |
Free forum by Nabble | Edit this page |