Theoretically, the sepFilter is faster than Filter. But, the results in my tests show that the Filter2D is about 4 times faster than the sepFilter2D. I tested the two functions in CPU,with the same kernel radius size.
1 | initial version |
Theoretically, the sepFilter is faster than Filter. But, the results in my tests show that the Filter2D is about 4 times faster than the sepFilter2D. I tested the two functions in CPU,with the same kernel radius size.