We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fragments_chunk, seg_num = cc3d.connected_components( np.ones(3,3,dtype=np.uint32), connectivity=6, return_N=True )
the seg_num is 0, which should be 1!
The text was updated successfully, but these errors were encountered:
Oh dang, that's a great catch. Thank you Jingpeng! I recently introduced some early-exit changes but forgot to account for size_t& N in some of them.
In the mean time, you can use seg_num = np.max(fragments_chunk)
seg_num = np.max(fragments_chunk)
Sorry, something went wrong.
fix(return_N): set N for early returns
6062bb0
Resolves #63
fix(return_N): set N for early returns (#64)
6db58e8
Successfully merging a pull request may close this issue.
the seg_num is 0, which should be 1!
The text was updated successfully, but these errors were encountered: