<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Hi Marco,</div>
<div><br>
</div>
<div>Thank you for your detailed summary.</div>
<div>As suggested, it would be great if you could upload the file to the following URL,</div>
<div><br>
</div>
<div><a href="https://www.openmicroscopy.org/qa2/qa/upload">https://www.openmicroscopy.org/qa2/qa/upload</a>/</div>
<div><br>
</div>
<div>We will then create a ticket, post investigation and CC you on the same.</div>
<div><br>
</div>
<div>Thanks again,</div>
<div><br>
</div>
<div>Best,</div>
<div>Balaji</div>
<div>
<div><br>
</div>
<div>
<div style="color: rgb(40, 40, 40);"><span style="background-color: rgb(255, 255, 255);">__________________</span></div>
<div style="color: rgb(40, 40, 40);">
<p style="margin-top: 0px; margin-bottom: 0px;">Mr Balaji Ramalingam</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Software Developer<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">OME Team</p>
<p style="margin-top: 0px; margin-bottom: 0px;">College of Life Sciences</p>
<p style="margin-top: 0px; margin-bottom: 0px;">University of Dundee</p>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Marco Moller <<a href="mailto:mmoller@cicbiomagune.es">mmoller@cicbiomagune.es</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, 9 September 2014 08:22<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a>" <<a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Subject: </span>[ome-devel] BIOFORMATS bug report from a user: GATAN dm3 not read correctly<br>
</div>
<div><br>
</div>
<div xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">I found a bug in the current BIOFORMATS import filter for GATAN *.dm3 (Electron Microscopy) files:<o:p></o:p></p>
<p class="MsoNormal">If the original GATAN software stored for a pixel in the image a negative value, then the BIOPFRORMATS import filter does not read this out correctly, but changes the negative value to an extreme high positive value.<o:p></o:p></p>
<p class="MsoNormal">I am working with MATLAB and have not much experience with ImageJ, but at least could confirm that this does not only happen with the MATLAB front end ‘bfopen’ of the BIOFORMATS import filter, but also happens when importing such image
containing a negative value to ImageJ by the BIOFORMATS import filter used there.<o:p></o:p></p>
<p class="MsoNormal">I work on WinXP 32-bit or Win7 64-bit, have FiJi, MATLAB and BIOFORMATS software all in the most up to date version (as of 8 September 2014) installed.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please have a look on the following little log on querying the max and min pixel value found in the image by different software:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE">Gatan Digital Micrograph V1.85 (32-bit):<o:p></o:p></span></p>
<p class="MsoNormal">GATAN_IMAGE: Minimum -93 at (1920,612)<o:p></o:p></p>
<p class="MsoNormal">GATAN_IMAGE: Maximum 1320 at (2035,135)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Gatan Microscopy Suite Digital Micrograph V2.02.800.0 (32-bit):<o:p></o:p></p>
<p class="MsoNormal">GATAN_IMAGE: Minimum -93 at (1920,612)<o:p></o:p></p>
<p class="MsoNormal">GATAN_IMAGE: Maximum 1320 at (2035,135)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">MATLAB (64-bit), using BIOFORMATS command ‘bfopen’<o:p></o:p></p>
<p class="MsoNormal">max = 4294967203 at (613,1921)<o:p></o:p></p>
<p class="MsoNormal">min = 45 at (1722,407)<o:p></o:p></p>
<p class="MsoNormal">after changing manually the (in MATLAB max, in GATAN negative) value to i.e. 1000 using MATLAB command GATAN_IMAGE(613,1921) = 1000, applying ‘bfopen’ in MATLAB shows:<o:p></o:p></p>
<p class="MsoNormal">max: 1320 at (136,2036)<o:p></o:p></p>
<p class="MsoNormal">min: 45 at(1722,407) (which is correct, this I confirmed to before have been the second smallest value in the file)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Checking if this is a ‘bfopen’ behavior or a general BIOFROMATS behavior:<o:p></o:p></p>
<p class="MsoNormal">FiJi (64-bit), using the BIOFORMATS import option:<o:p></o:p></p>
<p class="MsoNormal">min: 45<o:p></o:p></p>
<p class="MsoNormal">max: 4,29E+09<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would be willing to share the GATAN image file of interest, but prefered not to attach it to the e-mail to the mailing list. If anyone would have interest in the image, please contact me and I can send it then to the interested person(s).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As I am meanwhile using the really excellent dm3 import filter written for MATLAB by Andreas Korinek (<a href="http://www.mathworks.de/matlabcentral/fileexchange/45933-gatan-digital-micrograph-file-reader">http://www.mathworks.de/matlabcentral/fileexchange/45933-gatan-digital-micrograph-file-reader</a>),
which I recommend you to have a look at in order to find much information about the dm3 file structure (much more data is extracted from dm3 than by the present BIOFORMATS filter), my e-mail to the developer list does not ask for your explicit answer. Instead
it is cordially meant to just support the BIOFORMATS project by the given information and bug report.<o:p></o:p></p>
<p class="MsoNormal">Best greetings from the EM-Labs of CIC biomaGUNE,<o:p></o:p></p>
<p class="MsoNormal"><span lang="ES">Marco Möller<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES-TRAD" style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="ES-TRAD" style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="ES-TRAD" style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="ES-TRAD" style="font-size:8.0pt">----------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES-TRAD" style="font-size:8.0pt">Marco Möller<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES" style="font-size:8.0pt">Platform Manager - Electron Microscopy<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES" style="font-size:4.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="ES" style="font-size:8.0pt">CIC biomaGUNE<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="ES-TRAD" style="font-size:8.0pt">Parque Tecnológico de San Sebastián<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES-TRAD" style="font-size:8.0pt">Paseo Miramón, 182. Ed. Empresarial C<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES" style="font-size:8.0pt">20009 San Sebastián (Guipúzcoa)</span><span lang="ES" style="font-size:8.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES-TRAD" style="font-size:8.0pt">SPAIN<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES-TRAD" style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">Tel: +34 943 00 53 25<o:p></o:p></span></p>
<p class="MsoNormal"><a href="mailto:mmoller@cicbiomagune.es"><span style="font-size:8.0pt;color:blue">mmoller@cicbiomagune.es</span></a><span style="font-size:8.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<!--[object_id=#cicbiomagune.es#]-->
<p align="center"><font size="2"><font color="#0000ff"><font face="Arial"><span style="FONT-FAMILY: Barmeno; COLOR: teal; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Tahoma; mso-ansi-language: EN-GB" lang="EN-GB">This
e-mail is from CIC </span><span style="FONT-FAMILY: Barmeno; COLOR: teal; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Tahoma; mso-ansi-language: EN-GB; mso-bidi-font-size: 11.0pt" lang="EN-GB">biomaGUNE</span><span style="FONT-FAMILY: Barmeno; COLOR: teal; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Tahoma; mso-ansi-language: EN-GB" lang="EN-GB">.
The e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to
</span><span style="FONT-FAMILY: Barmeno; COLOR: teal; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Tahoma; mso-ansi-language: EN-GB; mso-bidi-font-size: 11.0pt" lang="EN-GB">whom</span><span style="FONT-FAMILY: Barmeno; COLOR: teal; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Tahoma; mso-ansi-language: EN-GB" lang="EN-GB">
they are addressed. Any unauthorised dissemination or copying of this e-mail or its attachments, and any use or disclosure of any information contained in them, is strictly prohibited and may be illegal. If you have received this e-mail in error, please notify or
telephone </span><span style="FONT-FAMILY: Barmeno; COLOR: blue; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Tahoma">+ 34 943 00 53 00</span><span style="FONT-FAMILY: Barmeno; COLOR: teal; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Tahoma; mso-ansi-language: EN-GB" lang="EN-GB"> and
delete it from your system.</span></font></font></font></p>
</div>
</div>
</span><br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>