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

Repeat, Mirror, Reflect, etc #5

Open
SimonDanisch opened this issue Apr 18, 2017 · 8 comments
Open

Repeat, Mirror, Reflect, etc #5

SimonDanisch opened this issue Apr 18, 2017 · 8 comments

Comments

@SimonDanisch
Copy link
Member

This doesn't seem to support the classic padding styles by repeating values already inside the array.
Is support planned, or not in the scope of this package? Am I missing any package doing this already?

@Evizero
Copy link
Member

Evizero commented Apr 18, 2017

There are extrapolation in Interpolations.jl for these kind of schemes. After all this kind of "padding" needs to reason about space. PaddedViews are quite ignorant of that, which make them simple.

@Evizero
Copy link
Member

Evizero commented Apr 18, 2017

Could be useful additions though, the indices computation for those schemes are reasonably simple

@SimonDanisch
Copy link
Member Author

ha funny... I was searching this in order to work with Interpolations! Guess I should have read the docs more carefully! But I do see this rather as a padding and not extrapolation ;)

@Evizero
Copy link
Member

Evizero commented Apr 18, 2017

But I do see this rather as a padding and not extrapolation ;)

Until you query A[3.52, 3.3] in a 3x3 array :)

@timholy
Copy link
Member

timholy commented Apr 18, 2017

ImageFiltering also has some more sophisticated padding. This is really just a quick crutch for visualization (http://juliaimages.github.io/latest/indexing.html), although it could become more than that. I'm not opposed to doing more with it, but since ImageFiltering already does this (in a different way, not as a "view") I think we would have to think carefully about how we would want to implement this.

@timholy
Copy link
Member

timholy commented Apr 30, 2019

@RoyiAvital
Copy link

Does ImageFiltering also use if per access of pixel?

@RoyiAvital
Copy link

Periodic / Circular view can be brought from CircularArrays.jl.

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

4 participants