<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Maxime,
<div class=""><br class="">
</div>
<div class="">Thats great news that we were able to find a solution. I took a look at the ImageJ forum and found a similar issue also being reported recently and it looks like they have already worked on a fix also. </div>
<div class="">I have left a reply on the forum thread to link with this discussion and the associated Trello card for future reference.</div>
<div class=""><a href="http://forum.imagej.net/t/bfconvert-command-line-tool/5872/31" class="">http://forum.imagej.net/t/bfconvert-command-line-tool/5872/31</a></div>
<div class=""><br class="">
</div>
<div class="">With Thanks,</div>
<div class="">David Gault</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 7 Sep 2017, at 19:03, Maxime Woringer <<a href="mailto:maxime.woringer@berkeley.edu" class="">maxime.woringer@berkeley.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Hi David,<br class="">
<br class="">
It works! It works! It works! This is awesome, I'm so happy! (this is a<br class="">
different story, but the file opens correctly only if I do File>Open, I opens<br class="">
wrongly if I do File>Import>TIFF virtual stack)<br class="">
<br class="">
Thank you so much about all the help, I'm very glad you took so much<br class="">
time to troubleshoot the issue!<br class="">
<br class="">
If I understand correctly, there is an issue with ImageJ that prevents<br class="">
it from importing the files properly when it does not use SCIFIO. Would<br class="">
you advice that I report this issue to the ImageJ team?<br class="">
<br class="">
Thanks again,<br class="">
Maxime<br class="">
<br class="">
<br class="">
David Gault (Staff) <<a href="mailto:d.gault@dundee.ac.uk" class="">d.gault@dundee.ac.uk</a>> writes:<br class="">
<br class="">
<blockquote type="cite" class="">Hi Maxime,<br class="">
<br class="">
I have carried out some further tests on this and I was reproducing the issue with clean installs of the latest 32 and 64bit Windows packages on a separate machine. It seems that the difference between this and my previous tests was an option to use SCIFIO
when opening files.<br class="">
<br class="">
In FIJI if you set the option below that should hopefully resolve your issue:<br class="">
Edit > Options > ImageJ2 > Use SCIFIO when opening files (BETA!)<br class="">
<br class="">
With Thanks,<br class="">
David Gault<br class="">
<br class="">
<blockquote type="cite" class="">On 5 Sep 2017, at 17:04, Maxime Woringer <<a href="mailto:maxime.woringer@berkeley.edu" class="">maxime.woringer@berkeley.edu</a>> wrote:<br class="">
<br class="">
Hi David,<br class="">
<br class="">
Thank you very much for these precisions and investigations, I<br class="">
appreciate your efforts. I tested the 'converted_with_bfconvert.tif'<br class="">
file with a newly downloaded Fiji (with ImageJ 1.51n), and I am still<br class="">
encountering the issue. I tried this on two different computers, and I<br class="">
am attaching screenshots of the full version number.<br class="">
<br class="">
<Capture du 2017-09-05 08-42-33.png><Capture du 2017-09-05 08-53-36.png><br class="">
<br class="">
Would you have any pointer about what could be wrong?<br class="">
<br class="">
Thanks again,<br class="">
Maxime<br class="">
<br class="">
<br class="">
<br class="">
David Gault (Staff) <<a href="mailto:d.gault@dundee.ac.uk" class="">d.gault@dundee.ac.uk</a>> writes:<br class="">
<br class="">
<blockquote type="cite" class="">Hi Maxime,<br class="">
<br class="">
The converted TIFF absolutely should be able to be read natively so this is not expected and you haven’t missed anything. My question was purely to help me narrow done the cause of the problem.<br class="">
<br class="">
I have carried out some further testing this morning using various older FIJI installs and I was able to reproduce what you were seeing with some of the older packages. From the June 2014 install (ImageJ 1.49b) the image was corrupted after import, however
using the November 2014 install (ImageJ 1.49k) and onwards the image imports correctly without any issues. Although I don’t yet know the precise cause it looks like updating your version of ImageJ should be enough to resolve this import issue.<br class="">
<br class="">
With Thanks,<br class="">
David Gault<br class="">
<br class="">
<blockquote type="cite" class="">On 4 Sep 2017, at 17:53, Maxime Woringer <<a href="mailto:maxime.woringer@berkeley.edu" class="">maxime.woringer@berkeley.edu</a>> wrote:<br class="">
<br class="">
Hi David,<br class="">
<br class="">
Thank you very much for this follow-up. I will follow the progress on<br class="">
the Trello card.<br class="">
<br class="">
I confirm that the two bugs still occur in BF5.7.0. I can't tell how<br class="">
excited I am to read that you identified where the issue comes from!<br class="">
Actually, I found out that people have been annoyed by these ND2<br class="">
conversion "issues" since at least 2013 (no idea why nobody reported it,<br class="">
though).<br class="">
<br class="">
Regarding the second issue, I am getting more and more confused:<br class="">
- When I import the resulting TIFF file into Fiji with File -> Open<br class="">
(without the Bio-Formats importer), all the frame, starting at frame 2,<br class="">
appear corrupted (I am attaching a screenshot of frame 2)<br class="">
- When I use the Bio-Formats importer, then the TIFF file imports just<br class="">
fine.<br class="">
<br class="">
This suggest that I am missing something obvious... Can't the TIFF<br class="">
files produced by bfconvert be read natively by ImageJ?<br class="">
<br class="">
<5.7.0-frame2.png><br class="">
Thanks a lot,<br class="">
Maxime<br class="">
<br class="">
David Gault (Staff) <<a href="mailto:d.gault@dundee.ac.uk" class="">d.gault@dundee.ac.uk</a>> writes:<br class="">
<br class="">
<blockquote type="cite" class="">Hi Maxime,<br class="">
<br class="">
We have been able to further debug the first issue to identify how the problem occurs but we do not yet have a fix in place for it.<br class="">
You can follow the progress of that issue on the Trello card here: <a href="https://trello.com/c/RyXt2BAg/177-nd2-incorrect-channel-count" class="">
https://trello.com/c/RyXt2BAg/177-nd2-incorrect-channel-count</a><br class="">
<br class="">
With regards the second issue I have still been unable to reproduce it. If I open the 2 converted files you had originally attached (one converted with bfconvert, the other with FIJI) both open and display the same when using the latest FIJI install.<br class="">
When you converted the TIFF image using FIJI, and when you read the image back, was that using the Bio-Formats exporter and importer?<br class="">
<br class="">
With Thanks,<br class="">
David Gault<br class="">
<br class="">
On 1 Sep 2017, at 18:59, Maxime Woringer <<a href="mailto:maxime.woringer@berkeley.edu" class="">maxime.woringer@berkeley.edu</a><<a href="mailto:maxime.woringer@berkeley.edu" class="">mailto:maxime.woringer@berkeley.edu</a>>> wrote:<br class="">
<br class="">
Hi David,<br class="">
<br class="">
Do you have any update about the two bugs mentioned earlier? Were you<br class="">
able to reproduce the second bug mentioned in my previous email?<br class="">
<br class="">
Thanks a lot,<br class="">
Maxime<br class="">
<br class="">
David Gault (Staff) <<a href="mailto:d.gault@dundee.ac.uk" class="">d.gault@dundee.ac.uk</a><<a href="mailto:d.gault@dundee.ac.uk" class="">mailto:d.gault@dundee.ac.uk</a>>> writes:<br class="">
<br class="">
Hi Maxime,<br class="">
<br class="">
Thank for reporting this issue and for providing sample files to test with.<br class="">
I can certainly reproduce the first the issue using the sample files provided and this does indeed look to be a bug.<br class="">
For the second issue I was unable to reproduce using bfconvert from the latest Bio-Formats release, and in theory the conversion should be the same as the FIJI result.<br class="">
Would you be able to run bfconvert -version to confirm that bftools is using the latest jars?<br class="">
<br class="">
I have created a Trello card on the Bio-Formats inbox for further investigation into these issues:
<a href="https://trello.com/c/RyXt2BAg/177-nd2-incorrect-channel-count" class="">
https://trello.com/c/RyXt2BAg/177-nd2-incorrect-channel-count</a><br class="">
<br class="">
With Thanks,<br class="">
David Gault<br class="">
<br class="">
On 14 Aug 2017, at 04:01, Maxime Woringer <<a href="mailto:maxime.woringer@berkeley.edu" class="">maxime.woringer@berkeley.edu</a><<a href="mailto:maxime.woringer@berkeley.edu" class="">mailto:maxime.woringer@berkeley.edu</a>><<a href="mailto:maxime.woringer@berkeley.edu" class="">mailto:maxime.woringer@berkeley.edu</a>>>
wrote:<br class="">
<br class="">
Dear Bio-Formats users/developers,<br class="">
<br class="">
I am trying to convert ND2 files (acquired with NIkon NIS elements) to<br class="">
TIFF files, ideally in an automated fashion, but I am encountering<br class="">
issues that seem to me like bugs (but I'd be happy to be proven wrong).<br class="">
<br class="">
1. Some single images appear corrupted when I try to convert them to<br class="">
TIFF. Below is an example. The two files (BF007 and BF008) were created<br class="">
on the same machine, same software, at a 30' interval. I am not aware of<br class="">
any differing setting except the ROI size.<br class="">
- BF008.nd2 opens properly in Fiji and converts properly using bfconvert<br class="">
(laters version). I am attaching the .nd2 file, the resulting TIFF file,<br class="">
and the convert log (.txt files) and a screenshot of how Fiji opens it.<br class="">
- BF008.nd2 opens corrupted in Fiji, and the same result happens using<br class="">
bfconvert. It seems that BF thinks it is a 3-channel image (it is not).<br class="">
<BF007.nd2><BF007.txt><BF007-bf.tiff><BF007-Capture du 2017-08-13 18-50-59.png><BF008.nd2><BF008.txt><BF008-bf.tiff><BF008-Capture du 2017-08-13 18-50-53.png><br class="">
2. Now moving to ND2 TIFF series (one channel, multiple timepoints),<br class="">
they open fine in Fiji using BioFormats, however, if I use the following<br class="">
command:<br class="">
<br class="">
bftools/bfconvert in.nd2 out.tiff<br class="">
<br class="">
The resulting TIFF file opens totally corrupted in Fiji/ImageJ (note<br class="">
that the first frame is fine).<br class="">
<br class="">
Below are an example source file (nd2), the conversion result using<br class="">
bfconvert, and the conversion result using Fiji. I am attaching the<br class="">
bfconvert log (convert.log)<br class="">
<convert.log>- Source ND2 file: <a href="https://cloud.biologie.ens.fr/index.php/s/H7OPHzLvJ3MPUkd" class="">
https://cloud.biologie.ens.fr/index.php/s/H7OPHzLvJ3MPUkd</a><br class="">
- Corrupted TIFF generated by bfconvert: <a href="https://cloud.biologie.ens.fr/index.php/s/FFOIjHUg6Dl7B1I" class="">
https://cloud.biologie.ens.fr/index.php/s/FFOIjHUg6Dl7B1I</a><br class="">
- Correct TIFF generated by Fiji: <a href="https://cloud.biologie.ens.fr/index.php/s/dyl1hZha3pGiP50" class="">
https://cloud.biologie.ens.fr/index.php/s/dyl1hZha3pGiP50</a><br class="">
<br class="">
Finally, I should mention that at least the latter issue happens with<br class="">
files generated with several versions of NIS elements.<br class="">
<br class="">
Am I the only person experiencing those issues? Is there any kind of<br class="">
additional information I should provide?<br class="">
<br class="">
- Version information: bf 5.5.3 and/or Fiji (latest update)<br class="">
- OS: I encounter the issue on Ubuntu 14.04 and Debian Jessie (8.9)<br class="">
- java version: I believe the one used is packaged by BioFormats, but in<br class="">
case, java -version returns<br class="">
Ubuntu machine:<br class="">
java version "1.8.0_144"<br class="">
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)<br class="">
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)<br class="">
Debian machine:<br class="">
java version "1.7.0_131"<br class="">
OpenJDK Runtime Environment (IcedTea 2.6.9) (7u131-2.6.9-2~deb8u1)<br class="">
OpenJDK 64-Bit Server VM (build 24.131-b00, mixed mode)<br class="">
<br class="">
Thanks a lot!<br class="">
Maxime<br class="">
<br class="">
PS: I tried to upload the files to the QA systemn, but it complains that<br class="">
my version of Flash is not up-to-date. I apologize about that and hope<br class="">
that you will be able to retrieve the files linked/attached.<br class="">
PPS: I have checked the "Common issues to check" page before sending<br class="">
this email, and I believe that none of them apply.<br class="">
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">mailto:ome-users@lists.openmicroscopy.org.uk</a>><<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">mailto:ome-users@lists.openmicroscopy.org.uk</a>><br class="">
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" class="">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br class="">
<br class="">
<br class="">
The University of Dundee is a registered Scottish Charity, No: SC015096<br class="">
_______________________________________________<br class="">
ome-users mailing list<br class="">
ome-users@lists.openmicroscopy.org.uk<mailto:ome-users@lists.openmicroscopy.org.uk><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class="">
<br class="">
_______________________________________________<br class="">
ome-users mailing list<br class="">
ome-users@lists.openmicroscopy.org.uk<mailto:ome-users@lists.openmicroscopy.org.uk><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class="">
<br class="">
<br class="">
The University of Dundee is a registered Scottish Charity, No: SC015096<br class="">
_______________________________________________<br class="">
ome-users mailing list<br class="">
ome-users@lists.openmicroscopy.org.uk<br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class="">
</blockquote>
<br class="">
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class="">
</blockquote>
<br class="">
<br class="">
The University of Dundee is a registered Scottish Charity, No: SC015096<br class="">
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class="">
</blockquote>
<br class="">
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class="">
</blockquote>
<br class="">
<br class="">
The University of Dundee is a registered Scottish Charity, No: SC015096<br class="">
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class="">
</blockquote>
<br class="">
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>