neuroglancerhub / ng_workspaces

5 stars 5 forks source link

Image Picker upgrade #50

Open neomorphic opened 4 years ago

neomorphic commented 4 years ago

Enhancements requested by Steve

  1. Allow user to input a REST api
  2. Allow user to right click or otherwise choose a point
  3. That point (and the data source) should be posted to the REST API as JSON (choose some format and I will conform)
  4. The return value will either be one of the following: a) a new data source and x,y,z point b) a list of x,y,z points with jpeg thumbnails (embed in return json?) If a), pop-up neuroglancer in the same workspace (but maybe 1/4 the size of the original neuroglancer and just an XY view by default) if b) show a list of x,y,z with thumbnails
stephenplaza commented 4 years ago

Revised specs:

inputs: location of top level cloud function (what we have been using) and dataset

stephenplaza commented 4 years ago

image picker part 2:

stephenplaza commented 4 years ago

I can probably add an endpoint that will let you know if the mode are 'available' for a given dataset. Because this might allow us to 'disable' this plugin if there is not support for a dataset.

neomorphic commented 3 years ago

@stephenplaza Could I have more description around this point:

for each match, show the x,y,z (clicking will navigate to that spot of neuroglancer) and a confidence bar that shows how good the match is

Specifically what the confidence bar should be showing? I am guessing the score value. Also where should this bar be located, with the thumbnail?

stephenplaza commented 3 years ago

My thought was something like the old-style search result score shown next to results from search engines. A very low-resolution match score bar next to each icon. The score value should be high for a good match and low for a bad. The highest score is 1.0.