We're Hiring!

Wrong value of single pixels when reading some TIFF images

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

Wrong value of single pixels when reading some TIFF images

Postby mraschi » Mon Dec 15, 2014 10:11 am

Hello,

I found a problem reading LZW-compressed TIFF images (MetaMorph) with BioFormats in Matlab. Around 1% of my image set have one or more pixels with a wrong value (as checked against Matlab's imread() and another image reader).

You can find examples of images with 1, 2, and 3 wrong pixel values here:
https://www.dropbox.com/s/p8ombbmk215d8 ... 1.tif?dl=0
https://www.dropbox.com/s/g9m315cjau3y8 ... 1.tif?dl=0
https://www.dropbox.com/s/gv0yx0r30ea2j ... 1.tif?dl=0

The images are grayscale, 16-bit depth, 1392x1040, and the pixels with the wrong values are always on the right side of the image (x=1392).

I am using bio-formats 5.0.6 and java version "1.7.0_21", 64-Bit Server VM (build 23.21-b01, mixed mode)

Thanks,
Marcelo
mraschi
 
Posts: 6
Joined: Fri Dec 12, 2014 12:33 pm

Re: Wrong value of single pixels when reading some TIFF imag

Postby mraschi » Mon Dec 15, 2014 12:24 pm

I think this bug is related to https://github.com/openmicroscopy/bioformats/pull/1200

In this case, it seems that the fix was added to 5.1.0-m1. I will check reading the images using that version.

Marcelo
mraschi
 
Posts: 6
Joined: Fri Dec 12, 2014 12:33 pm

Re: Wrong value of single pixels when reading some TIFF imag

Postby mlinkert » Tue Dec 16, 2014 8:29 pm

Hi Marcelo,

Thank you for the bug report. https://github.com/openmicroscopy/bioformats/pull/1200 is related, but as it was also included in 5.0.3 and later, that does not fully solve the problem. We are reviewing one more set of changes which should fully solve this:

https://github.com/openmicroscopy/bioformats/pull/1497

I would expect these changes to be included in the 5.1.0 release due early next year.

-Melissa
User avatar
mlinkert
Team Member
 
Posts: 353
Joined: Fri May 29, 2009 2:12 pm
Location: Southwest Wisconsin


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: Google [Bot] and 1 guest