将图像从rgb转换为灰度颜色 [英] convert image from rgb to gray scale color
本文介绍了将图像从rgb转换为灰度颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲切
PLZ我需要帮助才能使用c代码将我的图像转换为灰度,我使用opencv但是我想将图像存储到2-D或3-D数组而不是mat。
kindly
plz i need help to convert my image to grayscale using c code , I used opencv but I want to store image to 2-D or 3-D array not into mat .
推荐答案
这里有我最喜欢的文章 CXImage ,它做了很多图像处理。您不仅可以找到您搜索的内容,还可以找到您需要的内容。
Here my favourite article CXImage which does a lot of image manipulation. You may find not only what you search but also what you need.
这篇关于将图像从rgb转换为灰度颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文