informatics-isi-edu / chaise

An adaptive user interface for the Deriva platform.
https://www.isi.edu/isr/
Apache License 2.0
9 stars 6 forks source link

viewer: incorporate the svg objects ontop of open-seadragon in the viewerapp #1779

Closed hongsudt closed 3 years ago

hongsudt commented 5 years ago

Background:

Test data

Tasks:

carlkesselman commented 5 years ago

There seem to ba a number of ways to do this. Should consider best approach. Here is one:

https://bl.ocks.org/fabiovalse/71bbbd5c87a148f1c7fabc97b0bbc980

and https://github.com/openseadragon/openseadragon/issues/1425

D3 is probably the most general way of doing this.

Carl


Dr. Carl Kesselman Dean’s Professor, Epstein Department of Industrial and Systems Engineering Fellow, Information Sciences Institute Viterbi School of Engineering

Professor, Preventive Medicine Keck School of Medicine

University of Southern California 4676 Admiralty Way, Suite 1001, Marina del Rey, CA 90292-6695 Phone: +1 (310) 448-9338 Email: carl@isi.edumailto:carl@isi.edu Web: http://www.isi.edu/~carl

On May 9, 2019, at 4:17 PM, Hongsuda notifications@github.com<mailto:notifications@github.com> wrote:

Background:

Tasks:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/informatics-isi-edu/chaise/issues/1779, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3OGXUSFMGFABB4FUVET2LPUSWHHANCNFSM4HL6VUUQ.

iamyle0710 commented 5 years ago

The coordinates used in the XML file doesn't seem to match with the one used in openseadragon. I was able to draw the contours, but unable to locate/resize them without knowing the coordinate system used in the file. It appears that the contours are meant for the third section from just visually matching them with the original image.