Open clbarnes opened 7 years ago
For my own reference:
skeleton.import_skeleton()
tile.py
pixi-layer.js
(bottom of the file)Thanks to @aschampion
HDF5 is, it turns out, really slow.
As a test, I made an zeroes array of int32s of size (22775 x 18326 x 462), and then added a 300x300 square to the first z plane which was a ring of 1s ("the detector has run over this area") around a block of 2s ("there is a synapse here"). Chunks of size (256, 256, 1), no explicit compression: file size is 1.6MB. It loads a chunk about every 500ms, which is barely usable.
@aschampion suggested looking into the python bindings for the Keller Lab Block format.
I think there's also an issue with the hdf5 tile source, as it's getting data nowhere near where my stack viewer is pointed.
In order to display the results of synapse detection (and other such pixel labels)
Issues: