Reading file exported from Aperio ImageScope

Kent Johnson kent3737 at gmail.com
Fri Nov 9 10:11:04 EST 2012


Would you please post also a win64 build with the fix? Thank you!
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/20121109/406541c8/attachment-0001.html 


More information about the openslide-users mailing list