ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

How to realize the cv::cvtcolor by computeLibrary?

Open duhuanxianzi opened this issue 9 years ago • 5 comments

hi, in opencv we can use the function cv::cvtcolor to convert an input image from one color space to another. but, I don't know which function in compute library the resize function can realize the same function. how can I convert an input image from one color space to another by compute library?

duhuanxianzi avatar May 05 '17 07:05 duhuanxianzi

There are some color space conversion kernel available which can be found in ComputeLibrary/src/core/CL/cl_kernels/color_convert.cl

gunasekaran7 avatar May 05 '17 08:05 gunasekaran7

You have an OpenCL function to do color convert CLColorConvert and also a NEON one NEColorConvert

AnthonyBarbier avatar May 05 '17 08:05 AnthonyBarbier

Thanks a lot! @AnthonyARM @gunasekaran7

duhuanxianzi avatar May 05 '17 08:05 duhuanxianzi

Feel free to re-open if you run into problems with the color convert functions.

mpflanzer avatar May 05 '17 15:05 mpflanzer

How can I convert an RGB image to gray?

zanazakaryaie avatar May 24 '18 13:05 zanazakaryaie