Just downloaded the npp sample, and its working very well.
It seems that after filter processing, ex. nppiFilterBox_8u_C1R, the resulted image needs to be reduced a little according to the kernel size used.
This is inconvenient for real world applications.
Is it possible to avoid this? For example, just use the source data to fill the border of the resulted image?