2015-01-09 14:19:22 -0600 | asked a question | OpenCV2.4.9 - OpenCL - oclMat I am currently trying to make a program in c++ using OpenCV library. In order to accelerate my code I am trying to use OpenCV builtin ocl. In my code I'm trying to use oclMat and I need to take a specific cell's value. Ive tried addressing a specific cell like that: My problem now is that I couldn't find a way of convert the value I have (oclMat Header) to 'float'. What I did for now is And the code takes too much time to run, Is there an other way of addressing a specific cell without the need to convert between cv::ocl::oclMat and cv::Mat types? Thank you. |