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

Check if array iteration can be optimized #1

Open
pkeilbach opened this issue Jan 24, 2021 · 2 comments
Open

Check if array iteration can be optimized #1

pkeilbach opened this issue Jan 24, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@pkeilbach
Copy link
Owner Author

pkeilbach commented Jan 26, 2021

seems like matlab can do it... maybe there is a python equivalent for imfilter, fspecial..

https://mail.python.org/pipermail/scipy-user/2013-May/034559.html

https://pillow.readthedocs.io/en/stable/reference/ImageFilter.html

https://docs.scipy.org/doc/scipy-0.18.1/reference/ndimage.html

frameMean=imfilter(single(frame),fspecial('average',[7 7]));
frameSTD=stdfilt(single(frame),ones(7));
sLSCI=frameSTD./frameMean;

@pkeilbach pkeilbach self-assigned this May 11, 2022
@pkeilbach pkeilbach added the enhancement New feature or request label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant