作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (20): 198-200. doi: 10.3969/j.issn.1000-3428.2006.20.073

• 人工智能及识别技术 • 上一篇    下一篇

一种有选择的图像灰度化方法

周金和,彭福堂   

  1. (北京信息工程学院信息与通信工程系,北京100101)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-20 发布日期:2006-10-20

A Method of Selective Image Graying

ZHOU Jinhe, PENG Futang   

  1. (Department of Information and Communication, Beijing Information Technology Institute, Beijing 100101)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-20 Published:2006-10-20

摘要: 提出了一种对彩色图像进行有选择灰度化的方法,并采用Matlab实现了该算法。该方法可以将选中的任意颜色灰度化为黑色,而与该颜色距离越远的颜色,其灰度值越高。利用该方法可以较好地提取出彩色图像中不同颜色所反映的信息,便于基于颜色的图像信息传输和处理。

关键词: 灰度化, 有选择, 颜色信息

Abstract: A method that can gray images selectively is proposed and realized with Matlab. According to this method, any selected colour of an image can be converted to black, and the rest colours will be converted to higher gray values as their colour-distance to the selected colour increases. With this method, different information referring to different colours can be obtained from colourful images more easily. It’s helpful to colour-based image information processing.

Key words: Graying, Selective, Colour information