-
Notifications
You must be signed in to change notification settings - Fork 42
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
Visualization #56
Comments
Also there doesnt seem to be any functional docs for using the repo on 2d images |
Hi Ademord, Thanks for writing! I'm glad you are finding this library potentially useful.
You can use 2D images just like 3D except that if you want to specify the 2D connectivity, you'll get better performance if you write
cc3d only handles single channel images. To process it with cc3d, you'll need to convert the depth image from a 3-channel uint8 image (presumably) to a (u)int32 image with a single depth number per pixel.
You can visualize the array in many different ways, but here is one:
That will generate a link to localhost:8080 and you can view the 3D volume by scrolling through it and reslicing different axes. Will |
@william-silversmith how can we save the image obtained after applying cc3d? |
You can also do: from cloudvolume.lib import save_images
out_labels = cc3d.connected_components(labels)
save_images(out_labels) |
Closing this issue due to lack of activity. Let me know if you still need help! |
Hello
I am trying to use your component, and i want to visualize the 3d plot. Sample from my code:
Currently what I have is a depth image, with a separated rgb.
I want to do some 3d clustering and I have been reading a lot until I found your repo for 3d connected components.
Is there a way for me to visualize the results from code you have on your main README?
The text was updated successfully, but these errors were encountered: