seung-lab / connected-components-3d

Connected components on discrete and continuous multilabel 3D & 2D images. Handles 26, 18, and 6 connected variants; periodic boundaries (4, 8, & 6)
GNU Lesser General Public License v3.0
367 stars 43 forks source link

wip: experimenting with pixel prediction on 4-connected #65

Open william-silversmith opened 3 years ago

william-silversmith commented 3 years ago

Got it working but it's slower than the regular decision tree. The simplicity of 4 connected might mean the extra code size and jumping around isn't worth it compared to the smaller opportunities for savings. My gut says 6-connected would do better (3 useful predictions vs 2). However, I could also have just made subtle mistakes too.