sobel and scharr ocl kernel optimization
authorLi Peng <peng.li@intel.com>
Thu, 27 Oct 2016 04:41:40 +0000 (12:41 +0800)
committerLi Peng <peng.li@intel.com>
Mon, 14 Nov 2016 07:34:59 +0000 (15:34 +0800)
commit8d4a7d3dccea3de2e7e026822573f85ef25050dc
treeb8d15305990cb1c802b27d03a903619e29f0dada
parentacaa1e1b296f115000349f012a0cb782f7f3e84c
sobel and scharr ocl kernel optimization

It improves 108%~230% performance in the perf test
with image format "CV_8UC1" and kernel size 3.

Signed-off-by: Li Peng <peng.li@intel.com>
modules/imgproc/src/deriv.cpp
modules/imgproc/src/opencl/sepFilter3x3.cl [new file with mode: 0644]
modules/imgproc/test/ocl/test_filters.cpp