dgutman / osdAutoRegistration

An OpenSeadragon based viewer that leverages OpenCV Js to Register Two Images
0 stars 2 forks source link

Useful coordinate info for dev/debug #3

Open pearcetm opened 1 year ago

pearcetm commented 1 year ago

@dgutman Following on our discussion the other day, what specific info about the viewers do you think would be useful to display on the UI to support further development of automated registration? What kind of buttons/inputs would be useful, and what specific behaviors should we implement for these inputs? This thread is meant to be a place to discuss and track progress on implementing these tools, and can be closed with a PR that accomplishes the goals we lay out here.

pearcetm commented 1 year ago

The pull request I just merged adds fields for viewport center and rotation for both the static and moving images. These are editable and will move the viewport(s) accordingly. There are also read-only fields showing the values needed to transform between the viewports.

Still to do: Display mouse/cursor position, and create downloadable images from the viewports on a button press or the like.

pearcetm commented 1 year ago

Creating downloadable images from the viewports is now enabled.

Clicking the button generates viewport images - currently as jpeg format, but this can be changed... Note these are full-size images, just made small to fit in the left panel by CSS. These can be downloaded (or otherwise manipulated) to extract features for alignment, etc.