-
Notifications
You must be signed in to change notification settings - Fork 20
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
Ability to pad slices #311
Comments
A solution to this would also solve #291 |
Thanks! |
It should be possible to implement this in a way that performs the padding lazily as elements are accessed, which would be nice in the sense that allocations wouldn't be needed. This would obviously increase the number of instructions required to access elements in the padded slice, but that problem can be somewhat mitigated by calling the |
@henrygouk stack function was added . In combination with |
Lazy ndslice view for I will reopen this Issue for mir-cv. |
constant padding was added libmir/mir-algorithm#31 |
edge, symmetric and wrap paddings libmir/mir-algorithm#32 |
The ability to pad slices could come in handy for image processing operations, among other things.
Something with similar behaviour to MATLAB's padarray function is what I am thinking of.
The text was updated successfully, but these errors were encountered: