-
Notifications
You must be signed in to change notification settings - Fork 8
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
OutOfBoundsStrategy for ROIs #6
Comments
@dietzc I don't really understand the question. What would |
|
@dietzc Ok, now I get it. Sounds like a good idea. Do you have any use-cases in mind? |
@dietzc Maybe I would name it differently though. We cannot use all of the existing OutOfBoundsStrategies, I think only Constant would make sense. |
ConstantValue is the only use-case I can currently think of. Mirror etc is tricky, because we of course of irregular shapes. |
Hi @tpietzsch,
would it make sense to offer a method in
Regions
which one can pass anIterableRegion
,RandomAccessible<T>
and anOutOfBoundsStrategy<T>
and which returns aRandomAccessible<T>
which returns the values of the passedRandomAccessible<T>
on positions defined by theIterableRegion
and values from theOutOfBoundsStrategy<T>
on positions which lie outside theIterableRegion<T>
?The text was updated successfully, but these errors were encountered: