Page 1 of 2

Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Thu May 07, 2015 10:04 am
by Chiara.fresia
Dear sirs, in my new computer, Windows 8.1, I installed ImageJ plus LOCI plugin/bioformats but I am still unable to open .nd2 files. (exception in image 1).


I don’t have problem if I open this files with IMAGE J under WIN NT and Win7.
The ImageJ Version is 1.48v, downloaded at 64bit. As well as Java, which I updated on my PC (image 2).


I also tried to download ImageJ without Java, but the results is the same (image 3)


Moreover, I tried to install 32bit version (as I did on Win NT and Win 7), but it still didn’t work.
Can you have any suggestion to solve this problem?

Thank you very much.

Chiara Fresia

Re: Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Sun May 10, 2015 4:29 pm
by jburel
Dear Chiara

Which version of Bio-Formats are using?


Regards

Jmarie

Re: Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Mon May 11, 2015 9:22 am
by Chiara.fresia
Bioformats 5.1.1

Thank you

Re: Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Tue May 12, 2015 8:36 am
by rleigh
Dear Chiara,

Please could you upload a sample image using http://qa.openmicroscopy.org.uk/qa/upload/ so that we can try to reproduce the problem locally -- I have a 64-bit Windows7 system with the same 64-bit Java version. This will let us determine if it's a bug in Bio-Formats or something specific to the software versions you are using.


Thanks,
Roger

Re: Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Tue May 12, 2015 12:51 pm
by Chiara.fresia
Thank you Roger. I hope I uploaded it well.
I confirm that this is one of the files I open on computers/ImageJ other than my last one.

Thank you very much

Chiara

Re: Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Wed May 13, 2015 4:01 pm
by rleigh
Hi,

I have tried it with 64-bit Java 8u45 on 64-bit Windows 7 but it works without giving this error. (That said, I'm not sure the pixel data is necessarily correct; could you possibly add a screenshot of what it's supposed to look like?)

I'll try on 64-bit Windows 8.1 which I have on my home PC later on today.

Re: Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Wed May 13, 2015 6:42 pm
by rleigh
Dear Chiara,

I have now also tested on Windows with the Bio-Formats 5.1.1 release (bftools standalone and with Fiji), and in both cases I can read the file without problem and the image matches what NIS Elements shows. This is Windows 8.1 x64 with Java 8u45 x64.

I would next suggest double-checking that you are definitely using the 5.1.1 release and not an older version. You can do this by going to "Help > About Plugins > Bio-Formats Plugins" and checking the version displayed.

Also note the last point in https://www.openmicroscopy.org/site/sup ... usage-tips which can result in a broken Bio-Formats installation. It might be worth looking at what's in the jars/ and plugins/ directories of your ImageJ installation to double-check that this isn't happening in your case.


Kind regards,
Roger Leigh

Re: Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Thu May 14, 2015 8:06 am
by Chiara.fresia
Dear Roger, you are very kind and my only hope in this situation. Moreover, please consider that I don’t understand but little of computers.
As you may see in the first screenshot, the Bioformat version is the right one.
Bioformat version.jpg
Bioformat version
Bioformat version.jpg (128.73 KiB) Viewed 5527 times


I checked the jar and plugin folder too, as you may see.
I tried to uninstall all version/s of Java, in order to be sure to have the ultimate copy.
I noticed one thing: given that my version of Explorer (the suggested one) is a 32 bit version, automatically the Java installed is a 32 bit one (in folder “program files 86X”, which, I suppose for you is the same, hosts the 32 bit programs); then, I manually added the 64 bit version too (in the different folder “programmi”, for 64 bit programmes).
After restarting, I launched ImageJ, and it show the windows I attached here as second Image.
After reinstall Java 2 versions.jpg
ImageJ after Java
After reinstall Java 2 versions.jpg (40.19 KiB) Viewed 5527 times


???
How do you interpret this? May it be connected to my inability to open .nd2 files?

Thank you very much indeed,
Hope to read you soon.

Chiara

Re: Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Thu May 14, 2015 12:36 pm
by rleigh
I think it would make sense to try to see if it works with Fiji:

If you download
http://jenkins.imagej.net/job/Stable-Fiji/lastSuccessfulBuild/artifact/fiji-nojre.zip and http://jenkins.imagej.net/job/Stable-Fiji/lastSuccessfulBuild/artifact/fiji-win64.zip this will give you a current ImageJ with Bio-Formats 5.1.1. The first will use the system JRE; the second includes a 64-bit JRE. If you unpack each and then start each in turn and run the updater, you'll get a current setup after restarting. Testing the image import with each will then hopefully show us whether the problem is with the system Java or your ImageJ installation.


Thanks,
Roger

Re: Cannot open .nd2 files with ImageJ in Win8.1 platform

PostPosted: Thu May 14, 2015 4:39 pm
by Chiara.fresia
Dear Roger, here me are.
I downloaded the two folders, as you said. I extracted them, obtaining these two folder (order of launch)
Order of launch.jpg
screen
Order of launch.jpg (218.94 KiB) Viewed 5516 times

which, opened, gave me the followed possibilities (ordered by action):

1_ I launched ImageJ-win64 from the “Fiji nojre” folder. It asked me to update, which I allowed, and the following exceptions were: 1-Fiji nojre-ImageJ64, updater done
1-Fiji nojre-ImageJ64, updater done.jpg
1
1-Fiji nojre-ImageJ64, updater done.jpg (236.94 KiB) Viewed 5516 times

2_ I launched ImageJ-win32 from the “Fiji nojre” folder. It didn’t ask me to update, and the following exceptions were: 2-Fiji nojre-ImageJ32
2-Fiji nojre-ImageJ32.jpg
2
2-Fiji nojre-ImageJ32.jpg (244.29 KiB) Viewed 5516 times


...follow...