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

Make usable with world units in addition/instead of voxels? #9

Open
davidackerman opened this issue Jul 22, 2024 · 1 comment
Open

Comments

@davidackerman
Copy link

Description

In general, it would be nice to be able to access data via world coordinates like in funlib.

What I Did

This is a common use case:

from funlib.persistence import open_ds
from funlib.geometry import Roi

ds = open_ds("/path/to/data.zarr","dataset")
Roi((0,0,0),(128,128,128)) # world coordinates
ds.to_ndarray(roi)
@davidackerman davidackerman changed the title Make usable with world units in addition/in stead of voxels? Make usable with world units in addition/instead of voxels? Jul 22, 2024
@rhoadesScholar
Copy link
Member

Current data access is sort of singlemindedly designed for data loading during iterative requests, but I/we should definitely add more flexible access to the data with ROI's as you suggest :)

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