Reading file exported from Aperio ImageScope
Benjamin Gilbert
bgilbert at cs.cmu.edu
Tue Nov 6 21:08:07 EST 2012
On 11/06/2012 05:55 PM, Kent Johnson wrote:
> The problem is in openslide-vendor-aperio.c at line 358. When adding
> associated images, it assumes that if it has only seen one level, then
> the associated image is the thumbnail. So when there is only one level,
> each associated image in turn is put into the thumbnail slot.
Hi Kent,
Thanks for tracking this down!
> I'm not sure what the fix might be. Perhaps
> the parser in add_associated_image() could be smarter, or the default at
> line 358 could be taken only if there is not already an associated image.
Actually it's a pretty minor fix: we should be using the TIFF directory
index to detect the thumbnail, not the number of tiled directories we've
already read.
Fix:
https://github.com/openslide/openslide/commit/837624d7
Windows build with the fix:
http://openslide.cs.cmu.edu/download/tmp/openslide-win32-20121106.zip
--Benjamin Gilbert
More information about the openslide-users
mailing list