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

Question: from scipy to rank_filter #119

Open
ricardomga opened this issue Apr 5, 2018 · 2 comments
Open

Question: from scipy to rank_filter #119

ricardomga opened this issue Apr 5, 2018 · 2 comments

Comments

@ricardomga
Copy link

ricardomga commented Apr 5, 2018

Hello,

How this 2 lines would translate to your implementation of rank_filter?

        img = scipy_filters.percentile_filter(img, percentile=80, size=(20, 2))
        img = scipy_filters.percentile_filter(img, percentile=80, size=(2, 20))

Thank you a lot for the help.

@jakirkham
Copy link
Member

So the filter provided here is 1-D only ATM. The proposed filters above would be 2-D. It would be a reasonable project to extend this filter to 2-D if that would be interesting to you.

@ricardomga
Copy link
Author

@jakirkham could you give me some help on how to do this? would this be too complicated?

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

2 participants