optimization for warpAffine and warpPerspective
authorLi Peng <peng.li@intel.com>
Wed, 23 Nov 2016 04:57:33 +0000 (12:57 +0800)
committerLi Peng <peng.li@intel.com>
Tue, 29 Nov 2016 06:55:58 +0000 (14:55 +0800)
commitb72d19675353b909ac5344e4d64495962b31fc13
tree1e95fcf0526f04cdfc5c472b4a58ff93664f8a46
parent8151be9abc5f8e30f073f9f5bf4c97e26eb29723
optimization for warpAffine and warpPerspective

Add new ocl kernels for warpAffine and warpPerspective,
The average performance improvemnt is about 30%. The new
ocl kernels require CV_8UC1 format and support nearest
neighbor and bilinear interpolation.

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