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

mincGetVoxel iterator? #301

Open
gdevenyi opened this issue Jan 10, 2022 · 2 comments
Open

mincGetVoxel iterator? #301

gdevenyi opened this issue Jan 10, 2022 · 2 comments

Comments

@gdevenyi
Copy link
Contributor

As an alternative to solving #299 problems because we would like to move forward, I was looking at doing the dumbest iteration over all voxels in the inputs one at a time. To my suprise I can't find anything equivalent to an iterator I could use to get one voxel at a time sequentially. Does something like this exist (or is there a workaround?)

@bcdarwin
Copy link
Member

Not really -- in a sense, mincApply (and parallel friends) is the iterator (it just imposes some additional constraints like preserving the shape of the input).

@jasonlerch
Copy link
Contributor

mincTable followed by standard R iterators. mincTable has a 'file_backed' version too for large (out of mem) arrays.

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

3 participants