Reading file exported from Aperio ImageScope

Kent Johnson kent3737 at gmail.com
Wed Nov 7 08:55:55 EST 2012


Thank you, that works perfectly!

Kent


On Tue, Nov 6, 2012 at 9:08 PM, Benjamin Gilbert <bgilbert at cs.cmu.edu>wrote:

> 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<https://github.com/openslide/openslide/commit/837624d7>
>
> Windows build with the fix:
> http://openslide.cs.cmu.edu/**download/tmp/openslide-win32-**20121106.zip<http://openslide.cs.cmu.edu/download/tmp/openslide-win32-20121106.zip>
>
> --Benjamin Gilbert
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20121107/89e4fa12/attachment.html 


More information about the openslide-users mailing list