1 | initial version |
yes.
getGaborKernel unfortunately is not documented, but filter2d is.
cv::Mat kernel = cv::getGaborKernel(cv::Size(kernel_size,kernel_size), sig, th, lm, gm, ps);
cv::filter2D(src_f, dest, CV_32F, kernel);
2 | No.2 Revision |
yes.
getGaborKernel unfortunately is not documented, but filter2d is.
cv::Mat kernel = cv::getGaborKernel(cv::Size(kernel_size,kernel_size), sig, th, lm, gm, ps);
cv::filter2D(src_f, dest, CV_32F, kernel);
(both in opencv2/imgproc/imgproc.hpp)
3 | No.3 Revision |
yes.
getGaborKernel unfortunately is not documented, but you create a Gabor Kernel (beware, 3.0 docs only), then use it with filter2d is..
cv::Mat kernel = cv::getGaborKernel(cv::Size(kernel_size,kernel_size), sig, th, lm, gm, ps);
cv::filter2D(src_f, dest, CV_32F, kernel);
(both in opencv2/imgproc/imgproc.hpp)