Is it possible to visualize the annotations on the slide viewer with magnification self-adapted?

Benjamin Gilbert bgilbert at cs.cmu.edu
Wed May 24 01:57:15 EDT 2017


On Fri, Mar 24, 2017 at 01:14:12AM +0800, Doo Wong wrote:
> Here:
> https://github.com/openslide/openslide-python/tree/master/examples/deepzoom/templates
> these html files creates visualization of the multi magnification images of
> the slides. Is it possible to add annotation lines on the visualization
> given the corresponding annotation lines' coordinates like below (with
> magnification self-adapted)?

Yes.  Those visualizations use the OpenSeadragon viewer, which supports
overlays:

    https://openseadragon.github.io/examples/ui-overlays/

OpenSeadragon uses a different coordinate system than OpenSlide, so
coordinate conversion may be necessary.

--Benjamin Gilbert


More information about the openslide-users mailing list