-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Introduced by @gzuidhof , I started to play with this viewer and it feels great! Thanks for the great work.
Now wondering if you will be interested in integrating some changes to support running the viewer as an ImJoy plugin and used in Jupyter notebooks:
I made a little demo in my forked repo: https://github.com/oeway/vitessce-image-viewer

And you can try it on Binder here:
The changes to the code is very minimal, this is the diff.
As you can see, for demonstration purpose, I only implemented a loadSource function. This can be extended further, for example, we can also send numpy array directly to the viewer (see another binder demo here). We can also support sending a getItem function from Python to JS and used as a zarr.js store (as consulted with @gzuidhof), like that one can open an zarr array in python and show it in the viewer, either in ImJoy or a jupyter notebook. For more details, see imjoy-rpc and imjoy-core.
What do you think?