Regarding aggregation at multiple levels

Kent Johnson kent3737 at gmail.com
Wed Nov 7 13:35:13 EST 2012


My understanding is that OpenSlide is just giving you the data from the SVS
file. So the difference in red is caused by whatever program wrote the
file, not OpenSlide.

Kent


On Wed, Nov 7, 2012 at 1:09 PM, Sriram Somanchi <ssomanch at andrew.cmu.edu>wrote:

> Hi,****
>
> ** **
>
> I am new to using virtual slides and openslide library to access these
> files. I have a few Aperio (.svs) files that I could open with open slide.
> ****
>
> ** **
>
> My question is how is the aggregation done at multiple levels. I see that
> the aggregation RGB of 4x4 grid is not the 1x1 grid at the higher level (my
> down sampling is ~4). I have attached a small snippet of the code for
> reference. Can someone please explain how the aggregation is done across
> multiple levels? ****
>
> Otherwise, can you please direct me to documentation which will help me
> understand this aggregation****
>
> ** **
>
> Thank you for your help.****
>
> ** **
>
> Sriram****
>
> ** **
>
> Code:****
>
> openslide_read_region(slide, buf, 0, 0, 0, 4, 4);****
>
> openslide_read_region(slide, buf1, 0, 0, 1, 1, 1);****
>
> ** **
>
> Output:****
>
> ** **
>
> 4x4 grid at level 0:****
>
> The level 0 width 107046, the height 87978****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> The alpha 255, red 239, green 239, blue 239****
>
> ** **
>
> 1x1 grid at level 1:****
>
> The level 1 width 26761, the height 21994****
>
> The alpha 255, red 241, green 241, blue 239****
>
> _______________________________________________
> openslide-users mailing list
> openslide-users at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20121107/7e0012b3/attachment-0001.html 


More information about the openslide-users mailing list