-
Notifications
You must be signed in to change notification settings - Fork 17
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
How to start from labeled images (tiff file) #127
Comments
Hi, you can use After that, you can follow this guide: I haven't figured out a uniform way to help people create new datasets since everyone organizes their initial files differently. It might be possible to create import/exports from other systems at some point, but raw off-the-microscope is probably always going to be challenging. |
Thank you so much for the prompt reply! |
It's not necessary to store as z slices. Theoretically, CloudVolume should be doing all the work of figuring out the file names for you. Just make sure that you're uploading the right numpy array to the right (chunk aligned) location. You can do non-aligned uploads, but that requires careful planning or single core uploads to avoid conflicts. Check the location with the EmptyVolumeException and see where the missing area lies. That should give you a clue. You can also try downsampling with fill_missing enabled to get an overview of the volume and see where chunks are missing. Then you can fix them and re-run it. When fixing, see if you can disable caching on cloud storage when you upload otherwise you may have to wait an hour to see the results. |
That works! Now I can generate the precomputed files. And I am trying to visualize it using vol.viewer(). But it returns error at HTTP://localhost:1337. Error response |
Don't worry about the error. I should probably add an index.html page with instructions. You can enter the URL into Neuroglancer and it will start working. Alternatively, just run |
It works now. But I am wondering if there is a way I can input the path/to/local/segmentation into the Neuroglancer? I tried input URL like precomputed://file://local/path/to/segmentation, but it does work. |
Unfortunately that's not possible due to a security restriction in browsers
to prevent them from accessing your files. A server needs to run in order
to do that.
…On Wed, Mar 2, 2022, 9:01 AM HHHIT ***@***.***> wrote:
It works now. But I am wondering if there is a way I can input the
path/to/local/segmentation into the Neuroglancer? I tried input URL like
precomputed://file://local/path/to/segmentation, but it does work.
—
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATGQSPOROIDG5SUKUKEUVTU55YEPANCNFSM5PUSOFUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks! That clears my confusion. |
Under this restriction, can I visualize multiple layers? Currently, I can visualize the segmentation layer as well as the mesh. But if I want to visualize the raw data (like segmentation overlaid on the raw EM data), how could I achieve that? |
You can do it by either starting multiple servers with different port
numbers or by starting a static file server one level up from multiple
layers so they can be specified with file paths
…On Wed, Mar 2, 2022, 12:22 PM HHHIT ***@***.***> wrote:
Under this restriction, can I visualize multiple layers? Currently, I can
visualize the segmentation layer as well as the mesh. But if I want to
visualize the raw data (like segmentation overlaid on the raw data), how
could I achieve that?
—
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATGQSJRLDHBM7K2D2WLPVDU56PUTANCNFSM5PUSOFUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks! I tried starting multiple server with different ports and it worked well. |
I am having trouble getting started. I am trying to visualize a small labeled volume in neuroglancer. The volume is in tiff file now. How can I transform it into precomputed format?
I guess I need to create the info file first. Can I do that using igneous?
The text was updated successfully, but these errors were encountered: