unique-labels
dataset from Paintera is an index of labels, not a label map
dev
branch of h2n5 already includes the channel packing
features/image-block-layer
CATMAID branch to access the N5 directly.
This should installconda update -c hanslovsky paintera
paintera-0.8.1
. It will also installpaintera-conversion-helper-0.4.0
, I made a separate package for that tool for better versioning. I tested very briefly and as far as I can tell, scalar label support works now. Let me know if you encounter any issues.
This is how I created a data set with scalar labels, notice the--winner-takes-all-downsampling
option:paintera-conversion-helper -r -d /home/hanslovskyp/Downloads/sample_A_padded_20160501.hdf,volumes/raw,raw -d /home/hanslovskyp/Downloads/sample_A_padded_20160501.hdf,volumes/labels/neuron_ids,label -o /data/hanslovskyp/sample_A_padded_20160501-bs=64-winner-takes-all-n5-lookup2.n5 -b 64,64,64 -s 2,2,1 2,2,1 2,2,1 2,2,2 2,2,2 2,2,2 --winner-takes-all-downsampling --label-block-lookup-backend-n5=10000
ObjectLabelColorMap
shader to shader version 300, making shaders generic/specializable to the datatype of image stacks, and setting the right GL parameters in the image block layer
runserver
does start a minimal ASGI server as well that uses shared memory (/dev/shm
) for inter-process communication. I typically run in therefore typically as runserver --noasgi
and the deadlocks are gone. In production we use Daphne for our WebSockets/ASGI needs.
websocketHandlers
option when registering the widget using CATMAID.registerWidget()
.