reconstrue / brightfield

Reconstruction of biocytin-stained neurons detected in brightfield microscopy image stacks
http://reconstrue.com
Apache License 2.0
2 stars 1 forks source link

SWC skeleton viewers on Colab #1

Open JohnTigue opened 4 years ago

JohnTigue commented 4 years ago

Goal is to view SWCs on Colab.

[Viewing on desktop apps is nice but this project has an explicit goal of realizing all UI in Jupyter. But the ShuTu desktop app runs on windows, macOS, Linux – if one wishes to go desktop app old-school.]

Various potential types of tools, simplest first:

Note: The gold standard SWCs distinguish between axon and dendrites. What of somas?

Styling

See #62.

Initially, following the style of the paper handout from the first Challenge meeting, the viewer should do render

Various existing skeleton viewer codebases:

JohnTigue commented 4 years ago

Lowest hanging fruit (with minimum requirements of Colab supported features) would be static image generation.

JohnTigue commented 4 years ago

One really crude solution is to download the SWC and then upload it to, say, https://neuroinformatics.nl/HBP/morphology-viewer/

JohnTigue commented 4 years ago

AllenSDK Cell Types example code: The Alleneurs plotting SWCs as 2 part mugshot (front and side) via matplotlib

Cell Morphology Reconstructions The Cell Types Database also contains 3D reconstructions of neuronal morphologies. The data are presented in the SWC format. We'll download a particular cell's reconstrution here. The AllenSDK contains a module that makes it easier to work with the SWC files. We can use this data to draw lines between each node and all its children to get a drawing of the cell. We'll do it looking at it from the front and from the side.

JohnTigue commented 4 years ago

If interactivity happens, to sync both mugshot subviews: Linking two similar widgets.