Dear All,
I have observed some unexpected behaviour using the Extended Particle Analyzer in a macro. I have analysed the attached image using the Extended Particle Analyzer as part of a macro with the following command: min=20; max=300; run("Extended Particle Analyzer", "area="+min+"-"+max+" pixel roundness=0.4-1.00 show=Nothing redirect=None keep=None add reset"); This generates a list of 507 ROIs in the ROI manager. However, when I gave the macro to a student for some analysis, who is using a Mac laptop, using the same command on the same image only found 287 ROIs. Manual inspection of the ROI table showed that many of the larger particles were missed. I am stumped and have no idea why the same macro command applied to the same image should produce such different results just because the macro is executed on a different operating system. Is this a bug? Any ideas what might be going on? Thanks, Volko -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html Test.tif (2M) Download Attachment |
You should check all of the Extended PA parameters, because the Extended
PA remembers parameters. You might check the reset checkbox and then run it twice, on each machine. --aryeh On 05/02/2018 16:42, Straub, Volko A. (Dr.) wrote: > Dear All, > > I have observed some unexpected behaviour using the Extended Particle Analyzer in a macro. > I have analysed the attached image using the Extended Particle Analyzer as part of a macro with the following command: > > min=20; > max=300; > run("Extended Particle Analyzer", "area="+min+"-"+max+" pixel roundness=0.4-1.00 show=Nothing redirect=None keep=None add reset"); > > This generates a list of 507 ROIs in the ROI manager. > > However, when I gave the macro to a student for some analysis, who is using a Mac laptop, using the same command on the same image only found 287 ROIs. Manual inspection of the ROI table showed that many of the larger particles were missed. > I am stumped and have no idea why the same macro command applied to the same image should produce such different results just because the macro is executed on a different operating system. > > Is this a bug? Any ideas what might be going on? > Thanks, > Volko > > > > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- Aryeh Weiss Faculty of Engineering Bar Ilan University Ramat Gan 52900 Israel Ph: 972-3-5317638 FAX: 972-3-7384051 -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Straub, Volko A. (Dr.)
Hi Volko,
This FAQ entry might be helpful: https://imagej.net/Troubleshooting#The_same_plugin_gives_different_results_on_different_machines.21 Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Mon, Feb 5, 2018 at 8:42 AM, Straub, Volko A. (Dr.) <[hidden email] > wrote: > Dear All, > > I have observed some unexpected behaviour using the Extended Particle > Analyzer in a macro. > I have analysed the attached image using the Extended Particle Analyzer as > part of a macro with the following command: > > min=20; > max=300; > run("Extended Particle Analyzer", "area="+min+"-"+max+" pixel > roundness=0.4-1.00 show=Nothing redirect=None keep=None add reset"); > > This generates a list of 507 ROIs in the ROI manager. > > However, when I gave the macro to a student for some analysis, who is > using a Mac laptop, using the same command on the same image only found 287 > ROIs. Manual inspection of the ROI table showed that many of the larger > particles were missed. > I am stumped and have no idea why the same macro command applied to the > same image should produce such different results just because the macro is > executed on a different operating system. > > Is this a bug? Any ideas what might be going on? > Thanks, > Volko > > > > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Straub, Volko A. (Dr.)
Dear Volko,
Can you provide the complete macro? My guess would be the black background definition (except the correct particles are selected by the ROIs) or as Aryeh already stated any of the other parameters. I personally cannot test it on a mac but have not seen this behaviour before. Regards, Jan 2018-02-05 15:42 GMT+01:00 Straub, Volko A. (Dr.) <[hidden email]>: > Dear All, > > I have observed some unexpected behaviour using the Extended Particle > Analyzer in a macro. > I have analysed the attached image using the Extended Particle Analyzer as > part of a macro with the following command: > > min=20; > max=300; > run("Extended Particle Analyzer", "area="+min+"-"+max+" pixel > roundness=0.4-1.00 show=Nothing redirect=None keep=None add reset"); > > This generates a list of 507 ROIs in the ROI manager. > > However, when I gave the macro to a student for some analysis, who is > using a Mac laptop, using the same command on the same image only found 287 > ROIs. Manual inspection of the ROI table showed that many of the larger > particles were missed. > I am stumped and have no idea why the same macro command applied to the > same image should produce such different results just because the macro is > executed on a different operating system. > > Is this a bug? Any ideas what might be going on? > Thanks, > Volko > > > > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- CEO: Dr. Jan Brocher phone: +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 Volko,
I tested your macro and it works as intended and gives me 507 particles. If the background definition is changed it leads to 0 results. So, currently I do not have an Idea where the discrepancy of the values comes from. Or did you meanwhile figure out what the problem was? Would be important to know just in case it is a bug in the tool. Kind regards, Jan 2018-02-06 9:34 GMT+01:00 BioVoxxel <[hidden email]>: > Dear Volko, > > Can you provide the complete macro? > My guess would be the black background definition (except the correct > particles are selected by the ROIs) or as Aryeh already stated any of the > other parameters. I personally cannot test it on a mac but have not seen > this behaviour before. > > Regards, > Jan > > > 2018-02-05 15:42 GMT+01:00 Straub, Volko A. (Dr.) <[hidden email]>: > >> Dear All, >> >> I have observed some unexpected behaviour using the Extended Particle >> Analyzer in a macro. >> I have analysed the attached image using the Extended Particle Analyzer >> as part of a macro with the following command: >> >> min=20; >> max=300; >> run("Extended Particle Analyzer", "area="+min+"-"+max+" pixel >> roundness=0.4-1.00 show=Nothing redirect=None keep=None add reset"); >> >> This generates a list of 507 ROIs in the ROI manager. >> >> However, when I gave the macro to a student for some analysis, who is >> using a Mac laptop, using the same command on the same image only found 287 >> ROIs. Manual inspection of the ROI table showed that many of the larger >> particles were missed. >> I am stumped and have no idea why the same macro command applied to the >> same image should produce such different results just because the macro is >> executed on a different operating system. >> >> Is this a bug? Any ideas what might be going on? >> Thanks, >> Volko >> >> >> >> >> >> >> -- >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html >> > > > > -- > > CEO: Dr. Jan Brocher > phone: +49 (0)176 705 746 81 <+49%20176%2070574681> > e-mail: [hidden email] > info: [hidden email] > inquiries: [hidden email] > web: www.biovoxxel.de > -- CEO: Dr. Jan Brocher phone: +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 |
Free forum by Nabble | Edit this page |