Code example for cornerHarris
I am new to opencv, I working on detecting the corners of colored squares from an image. I came across this function which seems to work for my problem "ocl::cornerHarris". Could someone please provide me a example of how to use this function?
title does no more match question ?
Sorry I just edited it.
Hi,
Are you sure you want to use the OCL (OpenCL) version of cornerHarris ? If no, use the CPU version and you can look at this tutorial: http://docs.opencv.org/doc/tutorials/...
If yes, I have never used the OpenCL or CUDA functions in OpenCV but you can look at this tutorial: http://docs.opencv.org/doc/tutorials/...
The only thing that differs from the CPU version is the use of oclMat: