Hi all,
in preparation for the ImageJ conference I figured out that there are some differences between ImageJ and Fiji which afect the functionality of some plugins. The Auto Threshold plugins from Gabriel Landini are started in ImageJ by the menu entry "Auto Threshold..." and in Fiji with "Auto Threshold". So, the 3 dots are missing. This leads to an "Unrecognized command" error in a macro. Is there either the possibility to unify the way how these menu entries are written (I know that this is potentially not possible because of compatibility with existing macros). OR: Is there a possibility how I can distinguish between Fiji and ImageJ when the macro is started and according to that include a plitted call for the auto threshold function. Thanks in advance for any help. Kind regards and anice weekend, Jan -- CEO: Dr. rer. nat. Jan Brocher phone: +49 (0)6234 917 03 39 mobile: +49 (0)176 705 746 81 e-mail: [hidden email] info: [hidden email] inquiries: [hidden email] web: www.biovoxxel.de -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Dear Jan,
eval('script','IJ.getInstance().getTitle();'); will return ImageJ or (Fiji Is Just) ImageJ Sincerly, Jerome On 15 August 2015 at 16:01, BioVoxxel <[hidden email]> wrote: > Hi all, > > in preparation for the ImageJ conference I figured out that there are some > differences between ImageJ and Fiji which afect the functionality of some > plugins. > > The Auto Threshold plugins from Gabriel Landini are started in ImageJ by > the menu entry "Auto Threshold..." and in Fiji with "Auto Threshold". So, > the 3 dots are missing. This leads to an "Unrecognized command" error in a > macro. > > Is there either the possibility to unify the way how these menu entries are > written (I know that this is potentially not possible because of > compatibility with existing macros). > > OR: > > Is there a possibility how I can distinguish between Fiji and ImageJ when > the macro is started and according to that include a plitted call for the > auto threshold function. > > Thanks in advance for any help. > Kind regards and anice weekend, > Jan > > -- > > CEO: Dr. rer. nat. Jan Brocher > phone: +49 (0)6234 917 03 39 > mobile: +49 (0)176 705 746 81 > e-mail: [hidden email] > info: [hidden email] > inquiries: [hidden email] > web: www.biovoxxel.de > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- Jerome Mutterer CNRS - Institut de biologie moléculaire des plantes 12, rue du Général Zimmer 67084 Strasbourg Cedex www.ibmp.cnrs.fr -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Jan, Jerome and everyone,
I would not recommend checking the title, since it is not guaranteed to remain stable in the future. And won't work with e.g. an OpenSPIM installation. Better would be for Fiji to add an "Auto Threshold..." which does the same thing as the version without ellipses. This would be a simple addition. Regards, Curtis On Aug 15, 2015 10:48 AM, "Jerome Mutterer" < [hidden email]> wrote: > Dear Jan, > eval('script','IJ.getInstance().getTitle();'); > will return ImageJ or (Fiji Is Just) ImageJ > > Sincerly, > > Jerome > > > > > On 15 August 2015 at 16:01, BioVoxxel <[hidden email]> wrote: > > > Hi all, > > > > in preparation for the ImageJ conference I figured out that there are > some > > differences between ImageJ and Fiji which afect the functionality of some > > plugins. > > > > The Auto Threshold plugins from Gabriel Landini are started in ImageJ by > > the menu entry "Auto Threshold..." and in Fiji with "Auto Threshold". So, > > the 3 dots are missing. This leads to an "Unrecognized command" error in > a > > macro. > > > > Is there either the possibility to unify the way how these menu entries > are > > written (I know that this is potentially not possible because of > > compatibility with existing macros). > > > > OR: > > > > Is there a possibility how I can distinguish between Fiji and ImageJ when > > the macro is started and according to that include a plitted call for the > > auto threshold function. > > > > Thanks in advance for any help. > > Kind regards and anice weekend, > > Jan > > > > -- > > > > CEO: Dr. rer. nat. Jan Brocher > > phone: +49 (0)6234 917 03 39 > > mobile: +49 (0)176 705 746 81 > > e-mail: [hidden email] > > info: [hidden email] > > inquiries: [hidden email] > > web: www.biovoxxel.de > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > > > -- > Jerome Mutterer > CNRS - Institut de biologie moléculaire des plantes > 12, rue du Général Zimmer > 67084 Strasbourg Cedex > www.ibmp.cnrs.fr > > -- > 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 |