-
Notifications
You must be signed in to change notification settings - Fork 93
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
Draft: streamify View API #348
Conversation
Doesn't work: returning RAI from Interval view doesn't seem to be the right thing.
I made a variation with multiple Usable like this: imglib2/src/test/java/net/imglib2/streamifiedview/StreamifiedViewsExample.java Lines 14 to 25 in 992e3e6
|
I added a rough draft for converting a |
There is an update version of this PR in #364 |
This pull request has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/recent-and-upcoming-imglib2-improvements/96083/1 |
As discussed with @tpietzsch, this is an attempt to create an API for
View
that's similar to Java streams. The goal would be to allow this kind of syntax:This is still work in progress. One particular limitation I encountered so far is that most methods in
Views
mapRandomAccessibleInterval
intoRandomAccessible
, i.e., they leave their domain, which makes daisy-chaining impossible.