Skip to content

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

Open
atc3 wants to merge 4 commits intojanelia-cellmap:mainfrom
atc3:neuroglancer-view-offset-fix
Open

Normalize voxel offset for Neuroglancer run viewer by voxel size#302
atc3 wants to merge 4 commits intojanelia-cellmap:mainfrom
atc3:neuroglancer-view-offset-fix

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