Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace forward pass with decision tree (#8)
* wip: replace forward pass with decision tree Elaboration into 3D of the Wu et al 2005 paper Wu, Otoo, and Suzuki. "Two Strategies to Speed up Connected Component Labeling Algorithms". 2005. LBNL-59102. https://crd-legacy.lbl.gov/~kewu/ps/LBNL-59102.html * fix: upgrade int to int64_t in pyx * fix: add top right element in 2D plane to mask * fix: voxels E,B,H require some unify commands Everything at Z = -1 needs to account for items at Z = 0 Voxel H doesn't account for D,E,F,J * fix: E is already tested by the time we test H Also, we need to test F regardless of D and J * chore: ensure cc3d.cpp is updated * docs: add citation for Wu et al 2005 to README * chore: remove unused definition * fix: remove unnecessary mask element * fix: potential out of bound error + drop excess mask element * fix: rename unify_cfi to unify_ch Names of voxels changed, and removed one * docs: improved comments * test: added some manual testing with drawn pictures * fix: properly decomposed problem into 2d and 3d components * docs: N is the current location chore: remove prototype decision tree code * chore: remove unused code from prototype decision tree * test: automated diagonal test * chore: whitespace * docs: partial update to give flavor of decision tree Needs more information and diagrams. * test: compare with scipy * fix+test: requirements_dev.txt * perf: removed redundant invocations of unify2d Both locations E and B are fully connected to the upper mask and therefore we do not need to reprocess it. * docs: describe the new 3D decision tree * docs: format table * docs: discussed multilabel and the potential DF optimization * docs: fixed listing of coverings Each covering should assume the previous first elements are background.
- Loading branch information
1 parent
974dce1
commit 0980366
Showing
12 changed files
with
1,992 additions
and
1,815 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.