Hi,
I am testing out the macro recorder to make a JavaScript macro. Using 1.43s, I did a few steps and got this macro: imp = IJ.openImage("http://rsb.info.nih.gov/ij/images/embryos.jpg"); IJ.run(imp, "8-bit", ""); setAutoThreshold("Default"); //run("Threshold..."); setThreshold(0, 104); IJ.run(imp, "Convert to Mask", ""); imp.show(); When I did Auto Threshold, it inserted "setAutoThreshold", and "setThreshold", which are old macro commands and don't work in JavaScript. Is there a imp.setAutoThreshold() function or something that it should be recording instead? Thanks, Adam |
On Mar 23, 2010, at 4:19 PM, Adam Goode wrote:
> Hi, > > I am testing out the macro recorder to make a JavaScript macro. Using > 1.43s, I did a few steps and got this macro: > > imp = IJ.openImage("http://rsb.info.nih.gov/ij/images/embryos.jpg"); > IJ.run(imp, "8-bit", ""); > setAutoThreshold("Default"); > //run("Threshold..."); > setThreshold(0, 104); > IJ.run(imp, "Convert to Mask", ""); > imp.show(); > > > When I did Auto Threshold, it inserted "setAutoThreshold", and > "setThreshold", which are old macro commands and don't work in > JavaScript. Is there a imp.setAutoThreshold() function or something that > it should be recording instead? This bug is fixed in the 1.43t1 daily build. This is the code that is now recorded: imp = IJ.openImage("http://rsb.info.nih.gov/ij/images/embryos.jpg"); IJ.run(imp, "8-bit", ""); //run("Threshold..."); IJ.setAutoThreshold(imp, "Default"); IJ.setThreshold(imp, 0, 104); IJ.run(imp, "Convert to Mask", ""); imp.show(); -wayne |
Dear List,
LSM_Toolbox 4.0g has been released. LSM_Toolbox extends LSM_Reader and allows full extraction of Zeiss confocal metadata. Changelog: - various bugfixing (class cleanup) - added a the getCZ method in the Reader class to get CZLSMExtended. Plugins and Macros now have full access to the metadata tree. - updated to Magic Montage 1.2 You can download LSM_Toolbox 4.0g here: http://image-archive.org/index.php?id=165 Regards, Patrick |
Dear Patrick,
Thanks for sharing the LSM toolbox. I am a new user of ImageJ and I just tried your toolbox. I have two problems after using the batch converter: 1. I can't export the merged image of two channels; 2. Both channels I exported became the same color. I am wondering if this is something that I should select before I do the batch convert or it's a bug. Looking forward to your help. Thanks a lot! Georgia 2010/3/29 Patrick Pirrotte <[hidden email]> > Dear List, > > LSM_Toolbox 4.0g has been released. LSM_Toolbox extends LSM_Reader and > allows full extraction of Zeiss confocal metadata. > > Changelog: > > - various bugfixing (class cleanup) > - added a the getCZ method in the Reader class to get CZLSMExtended. > Plugins and Macros now have full access to the metadata tree. > - updated to Magic Montage 1.2 > > You can download LSM_Toolbox 4.0g here: > http://image-archive.org/index.php?id=165 > > Regards, > > Patrick > |
Hi Georgia,
Could you send one of your lsm images to test it? Thanks, Patrick Qiaozhi Wei <[hidden email]> Sent by: ImageJ Interest Group <[hidden email]> 29/03/2010 21:05 Please respond to ImageJ Interest Group <[hidden email]> To [hidden email] cc Subject Re: LSM_Toolbox 4.0g released Dear Patrick, Thanks for sharing the LSM toolbox. I am a new user of ImageJ and I just tried your toolbox. I have two problems after using the batch converter: 1. I can't export the merged image of two channels; 2. Both channels I exported became the same color. I am wondering if this is something that I should select before I do the batch convert or it's a bug. Looking forward to your help. Thanks a lot! Georgia 2010/3/29 Patrick Pirrotte <[hidden email]> > Dear List, > > LSM_Toolbox 4.0g has been released. LSM_Toolbox extends LSM_Reader and > allows full extraction of Zeiss confocal metadata. > > Changelog: > > - various bugfixing (class cleanup) > - added a the getCZ method in the Reader class to get CZLSMExtended. > Plugins and Macros now have full access to the metadata tree. > - updated to Magic Montage 1.2 > > You can download LSM_Toolbox 4.0g here: > http://image-archive.org/index.php?id=165 > > Regards, > > Patrick > |
Free forum by Nabble | Edit this page |