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

calculation time and method used in npp box filter #55

Closed
YRstronger opened this issue Nov 30, 2020 · 2 comments
Closed

calculation time and method used in npp box filter #55

YRstronger opened this issue Nov 30, 2020 · 2 comments

Comments

@YRstronger
Copy link

hi,
i am start using cuda to do some image processing task. I am interested in the method implemented in npp box filter. Because i found it calculate too long (3ms, 1024*1024,radius 6) , but when i used seperate filter method provided in _Imaging/boxFilter, which only cost averagely 0.7ms to do the same thing,
Is npp boxfilter not a seperate filter method? Or the texture use lead to the improvement?
looking forward to answer! thanks

@maheshkha
Copy link

Hi,
Sample example _Imaging/boxFilter - used 2D filtering type.
You can explore the other NPP API to make the example separable filter capabilities Column Filter and Row Filter.
Currently NPP API does not use Texture memory.

NPP Image filter using Gaussian filter kernel

Hope this will help.

@YRstronger
Copy link
Author

thanks for your reply! that's exactly the difference of those two functions.
I will close this issue soon!

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