Skip to content
New issue

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

increasing number of components #82

Open
Rajalakshmi-Palaniappan opened this issue Aug 7, 2023 · 1 comment
Open

increasing number of components #82

Rajalakshmi-Palaniappan opened this issue Aug 7, 2023 · 1 comment

Comments

@Rajalakshmi-Palaniappan
Copy link

Dear Seung lab,

I have this weird issue. I have around 25k labels obtained through connected component labelling. After skeletonization using kimimaro with the following parameters, I can see in some skeletons (swc) there are two root nodes(nodes with -1 as parent). I checked and tried different connectivity in the connected component labelling algorithm and still the issue persists. It would be very helpful if you could point out the reason for this happening

skels = kimimaro.skeletonize(
Labels,
teasar_params={
'scale': 1.1,
'const': 10, # set scale = 1.1 and const = 10 for the data with blood vessels
'pdrf_exponent': 4,
'pdrf_scale': 100000,
'soma_detection_threshold': 10, # physical units
'soma_acceptance_threshold': 10, # physical units
'soma_invalidation_scale': 1.0,
'soma_invalidation_const': 10, # physical units
'max_paths': None, # default None
},
dust_threshold=0, # skip connected components with fewer than this many voxels
anisotropy=(1,1,1), # default True
fix_branching=True, # default True
fix_borders=True, # default True
progress=True, # default False, show progress bar
parallel=1, # <= 0 all cpu, 1 single process, 2+ multiprocess
parallel_chunk_size=50, # how many skeletons to process before updating progress bar
)

@william-silversmith
Copy link
Contributor

This is not strange if some of the labels appear twice, but it sounds like you already checked that. If you have a data sample to share, it might be possible for me to see what's going on. Sorry about the delay, I just saw this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants