OpenCV OCL module Support

cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCV OCL module Support

2,724 Views
Contributor III

Hello,

Does IMX6Q support OCL module of OpenCV for GPU programming? I have found ocl header insider opencv2/nonfree/ocl.hpp, but the ocl.hpp here includes opencv2/ocl/ocl.hpp which does not exist. There is no OCL folder inside opencv2 folder.

Is it supported? If yes, do I need to download from anywhere?

In he link below, it is mentioned that OpenCL version should be larger than 1.1 with FULL PROFILE in order to use OCL module. As far as I know, IMX6Q supports OpenCL 1.1 with Embedded Profile. It should not be supported according to the documentation, but I am confused for seeing ocl.hpp under nonfree folder.

OpenCL Module Introduction — OpenCV 2.4.7.0 documentation

Thanks&Best Regards,

Fikret

Labels (3)
3 Replies

72 Views
NXP TechSupport
NXP TechSupport

For Open CV on the i.MX6 family please look at application Note AN4629  "Fast Image Processing with i.MX 6 Series", also please check the following threads:

http://cache.freescale.com/files/32bit/doc/app_note/AN4629.pdf

https://community.freescale.com/docs/DOC-95396

https://community.freescale.com/message/364863

https://community.freescale.com/message/360022

Regards

72 Views
Contributor II

Hi

Is there the full code for  doc http://cache.freescale.com/files/32bit/doc/app_note/AN4629.pdf ?

I tried to put all pieces of code in the document together but got wrong result image. If you have the whole code.Could you please send me a copy? I would be freed from debug the sample code.

Thank you!

0 Kudos

72 Views
Contributor III

Dear Bio,

Thank you for your answer. Actually my question is not about compiling OpenCV, I have already done that. I was searching that the OCL module (OpenCL module inside OpenCV) can be used on IMX.6, but I found that it is not possible, because IMX.6Q supports OpenCL Embedded Profile, while OCL module requires Full Profile OpenCL.

Best Regards,

Fikret