seung-lab / crackle

3D dense segmentation compression codec based on crack codes.
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

redesign: hybrid condensed pin format #7

Closed william-silversmith closed 1 year ago

william-silversmith commented 1 year ago

For very small pins (e.g. depth 0 or 1) the pin encoding might be 5 or 6 bytes while the encoding of a single CC label might be one or two bytes. For small pins, we scrap the pin and just use the CC code.

This update also includes an improvement that shrinks pins closer to what their actual contribution is, which makes them more compressible and can improve decode time (less time scanning the cc_labels).