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

Optimize Gaussian filters #9

Open
coderforlife opened this issue Apr 19, 2012 · 0 comments
Open

Optimize Gaussian filters #9

coderforlife opened this issue Apr 19, 2012 · 0 comments

Comments

@coderforlife
Copy link
Member

Gaussian filters can be run as two separate 1-by-n and n-by-1 filters instead of a single n-by-n filters. That improves times from O(n^2) to O(n) [e.g. 3x3 Gaussian filter uses 9 operations now but could use only 6, 5x5 uses 25 instead of 10]. Not applicable to other filters.

@ghost ghost assigned coderforlife Apr 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant