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

Normalize voxel offset for Neuroglancer run viewer by voxel size #302

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

atc3
Copy link
Contributor

@atc3 atc3 commented Oct 4, 2024

Previously the voxel offsets for the raw data and prediction labels in NeuroglancerRunViewer were in physical nanometer units instead of voxel units - and for me this produced volumes in neuroglancer that were totally offset from one another.

This PR normalizes the voxel offsets back to voxel space so that raw and label volumes are aligned

Copy link
Member

@rhoadesScholar rhoadesScholar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. @mzouink Can you test it out?

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

Successfully merging this pull request may close these issues.

2 participants