本系列文章由 @yhl_leo 出品,转载请注明出处。
文章链接: http://blog.csdn.net/yhl_leo/article/details/55270873
使用了很久OpenCV和Matlab中的图像灰度化操作,因为是非常基础的操作又很常见,也就没怎么思考过,直到这些灰度化遇到了一些问题:
Original Image | Color2Gray |
OpenCV和Matlab中灰度化的方法都非常简单:
Y=0.2989×R+0.5870×G+0.1140×B |
使用了很久OpenCV和Matlab中的图像灰度化操作,因为是非常基础的操作又很常见,也就没怎么思考过,直到这些灰度化遇到了一些问题:
Original Image | Color2Gray |
OpenCV和Matlab中灰度化的方法都非常简单:
Y=0.2989×R+0.5870×G+0.1140×B |