[ome-devel] BIOFORMATS bug report from a user: GATAN dm3 not read correctly
Marco Moller
mmoller at cicbiomagune.es
Tue Sep 9 08:22:08 BST 2014
Hello,
I found a bug in the current BIOFORMATS import filter for GATAN *.dm3 (Electron Microscopy) files:
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.
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.
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.
Please have a look on the following little log on querying the max and min pixel value found in the image by different software:
Gatan Digital Micrograph V1.85 (32-bit):
GATAN_IMAGE: Minimum -93 at (1920,612)
GATAN_IMAGE: Maximum 1320 at (2035,135)
Gatan Microscopy Suite Digital Micrograph V2.02.800.0 (32-bit):
GATAN_IMAGE: Minimum -93 at (1920,612)
GATAN_IMAGE: Maximum 1320 at (2035,135)
MATLAB (64-bit), using BIOFORMATS command 'bfopen'
max = 4294967203 at (613,1921)
min = 45 at (1722,407)
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:
max: 1320 at (136,2036)
min: 45 at(1722,407) (which is correct, this I confirmed to before have been the second smallest value in the file)
Checking if this is a 'bfopen' behavior or a general BIOFROMATS behavior:
FiJi (64-bit), using the BIOFORMATS import option:
min: 45
max: 4,29E+09
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).
As I am meanwhile using the really excellent dm3 import filter written for MATLAB by Andreas Korinek (http://www.mathworks.de/matlabcentral/fileexchange/45933-gatan-digital-micrograph-file-reader), 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.
Best greetings from the EM-Labs of CIC biomaGUNE,
Marco Möller
----------------------------------------------------------------
Marco Möller
Platform Manager - Electron Microscopy
CIC biomaGUNE
Parque Tecnológico de San Sebastián
Paseo Miramón, 182. Ed. Empresarial C
20009 San Sebastián (Guipúzcoa)
SPAIN
Tel: +34 943 00 53 25
mmoller at cicbiomagune.es <mailto:mmoller at cicbiomagune.es>
This e-mail is from CIC biomaGUNE. The e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom 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 + 34 943 00 53 00 and delete it from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20140909/2f6e22c5/attachment.html>
More information about the ome-devel
mailing list