<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Dan,<br>
<br>
I would also be interested in looking at your nd2 files. I wrote
the bf-tools scripts and while they have been working adequately
for us here, I would definitely like to see about speeding them up
when I have a bit of time. Could you share them via Dropbox or
Google Drive or whatever is easiest for you?<br>
<br>
Thanks,<br>
Pramukta<br>
<br>
On 12/20/2012 01:56 PM, Daniel Dickinson wrote:<br>
</div>
<blockquote
cite="mid:7FD710B59252634EA7903167D26E48B2504681EF@BL2PRD0310MB349.namprd03.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hi again Melissa,
<div><br>
</div>
<div>I forgot to mention that I also tried opening these images
using the BioFormats Importer plugin in ImageJ, and import
failed. The Fiji status bar displays "Parsing Block
'ImageMetadat' 0%" but seems to be hung up there, and the image
never displays. </div>
<div><br>
</div>
<div>If you think it would help, I'd be happy to figure out how to
get you one of the problematic nd2 files so that you can try to
reproduce the problem. </div>
<div><br>
</div>
<div>Best, </div>
<div>Dan </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div>On Dec 20, 2012, at 12:42 PM, Melissa Linkert <<a
moz-do-not-send="true"
href="mailto:melissa@glencoesoftware.com">melissa@glencoesoftware.com</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Hi Dan,<br>
<br>
<blockquote type="cite">I suspect I may have discovered a
bug or memory leak in the LOCI MATLAB toolbox. I'm using
the bfopen.m script to read Nikon ND2 files in MATLAB
R2011a on Mac OSX 10.8. I'm able to read a 63MB ND2 file
without any problem. However, when I attempt to read a
120MB file, the program crashes with an "out of memory"
error (full text of the error message is below). However,
I don't believe this is an issue of not enough memory
being available, because increasing the maximum java heap
memory from 256MB to 2GB in the MATLAB settings had no
effect on the problem. Also, I am able to read the files
successfully using a different script (bfread.m from
<a moz-do-not-send="true"
href="https://github.com/prakatmac/bf-tools/wiki/about">https://github.com/prakatmac/bf-tools/wiki/about</a>),
though it is slower than bfopen.m.<br>
</blockquote>
<br>
Based upon the error message, it looks like bfopen.m was
using an older<br>
version of Bio-Formats. The Matlab scripts from here:<br>
<br>
<a moz-do-not-send="true"
href="https://github.com/prakatmac/bf-tools">https://github.com/prakatmac/bf-tools</a><br>
<br>
will download the latest version of loci_tools.jar and place
it in an<br>
'ext' folder, so it's likely that you now have two copies of<br>
loci_tools.jar (one that is an old version and one that is
the latest<br>
version).<br>
<br>
Could you please try updating the copy of loci_tools.jar
that is in your<br>
Matlab work folder? bfUpgradeCheck.m should be able to do
this, or you can<br>
manually download loci_tools.jar from:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.openmicroscopy.org/site/products/bio-formats/downloads">http://www.openmicroscopy.org/site/products/bio-formats/downloads</a><br>
<br>
The output of 'version = loci.formats.FormatTools.VERSION'
should then<br>
be "4.4.5" (if you downloaded the stable version) or
"4.5.0-DEV" (if you<br>
downloaded the trunk or daily build).<br>
<br>
Regards,<br>
-Melissa<br>
<br>
On Thu, Dec 20, 2012 at 03:07:28PM +0000, Daniel Dickinson
wrote:<br>
<blockquote type="cite">Hi,<br>
<br>
I suspect I may have discovered a bug or memory leak in
the LOCI MATLAB toolbox. I'm using the bfopen.m script to
read Nikon ND2 files in MATLAB R2011a on Mac OSX 10.8.
I'm able to read a 63MB ND2 file without any problem.
However, when I attempt to read a 120MB file, the program
crashes with an "out of memory" error (full text of the
error message is below). However, I don't believe this is
an issue of not enough memory being available, because
increasing the maximum java heap memory from 256MB to 2GB
in the MATLAB settings had no effect on the problem.
Also, I am able to read the files successfully using a
different script (bfread.m from
<a class="moz-txt-link-freetext" href="https://github.com/prakatmac/bf-tools/wiki/about">https://github.com/prakatmac/bf-tools/wiki/about</a>), though
it is slower than bfopen.m.<br>
<br>
Thanks for any suggestions.<br>
-Dan Dickinson<br>
<br>
<br>
<blockquote type="cite">
<blockquote type="cite">imageCell=bfopen(['/Users/danieldickinson/Documents/Postdoc/Data/Exp139/139_mChCtrl
nd2/139_mChCtrl_002.nd2']);<br>
</blockquote>
</blockquote>
??? Java exception occurred:<br>
java.lang.OutOfMemoryError: Java heap space<br>
at
loci.formats.in.NativeND2Reader.iterateIn(NativeND2Reader.java:1486)<br>
at
loci.formats.in.NativeND2Reader.iterateIn(NativeND2Reader.java:1515)<br>
at
loci.formats.in.NativeND2Reader.initFile(NativeND2Reader.java:403)<br>
at loci.formats.FormatReader.setId(FormatReader.java:1178)<br>
at
loci.formats.DelegateReader.setId(DelegateReader.java:259)<br>
at loci.formats.ImageReader.setId(ImageReader.java:727)<br>
at
loci.formats.ReaderWrapper.setId(ReaderWrapper.java:529)<br>
at
loci.formats.ChannelFiller.setId(ChannelFiller.java:263)<br>
at
loci.formats.ReaderWrapper.setId(ReaderWrapper.java:529)<br>
at
loci.formats.ChannelSeparator.setId(ChannelSeparator.java:274)<br>
<br>
Error in ==> bfGetReader at 57<br>
r.setId(id);<br>
Error in ==> bfopen at 92<br>
r = bfGetReader(id, stitchFiles);<br>
<br>
<br>
**/.*********************************************<br>
Daniel J. Dickinson, Ph.D.<br>
Postdoctoral fellow, Goldstein Lab<br>
University of North Carolina<br>
650-815-1923<br>
<a class="moz-txt-link-abbreviated" href="mailto:ddickins@live.unc.edu">ddickins@live.unc.edu</a><a class="moz-txt-link-rfc2396E" href="mailto:ddickins@live.unc.edu"><mailto:ddickins@live.unc.edu></a><br>
<br>
</blockquote>
<br>
<blockquote type="cite">_______________________________________________<br>
ome-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
<a class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</blockquote>
<br>
<br>
</blockquote>
</div>
<br>
<div>
<div>
<div style="font-size: 12px; ">***********************************************</div>
<div style="font-size: 12px; ">Daniel J. Dickinson, Ph.D.</div>
<div style="font-size: 12px; ">Postdoctoral fellow,
Goldstein Lab</div>
<div style="font-size: 12px; ">University of North Carolina</div>
<div style="font-size: 12px; ">650-815-1923</div>
<div style="font-size: 12px; "><a moz-do-not-send="true"
href="mailto:ddickins@live.unc.edu">ddickins@live.unc.edu</a></div>
</div>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ome-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a>
</pre>
</blockquote>
<br>
</body>
</html>