<html 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"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><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]--></head><body 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></body></html>