本文已被:浏览 1617次 下载 3050次
Received:May 31, 2013 Revised:July 24, 2013
Received:May 31, 2013 Revised:July 24, 2013
中文摘要: 在图像处理中, 若操作图像某区域中的像素, 必须先提取这些待处理的像素。待处理的像素区域可以是规则的, 也可能是不规则的。对于规则区域, 可采用经典的图形学算法完成选取; 对于不规则区域, 可通过适当方法将其转换为规则区域来完成选取。讨论了24位真彩色图像文件的结构、位图数据阵列中的像素与其在屏幕上显示的像素间的关系; 采用Bresenham画圆法提取图像圆形区域中的像素并将其可视化等问题。
中文关键词: 位图 结构 Bresenham画圆 矩阵 提取
Abstract:During image processing, if the pixels in some region of the image are operated, those pixels to be processed must be extracted. The area including pixels to be processed may be regular, and may also be irregular. As for regular area(for example, polygon, rectangle, circle and ellipse), it can be picked up by classical graphics algorithm; if the area is irregular, it can be converted into regular area by appropriate method. This paper discusses the following problems: the structure of 24-bit true color BMP file; the relationship between pixels in bmp data array and pixels to be showing on screen; extracting pixels, which belong to circle area of image, by Bresenham drawcircle; the visibility of those pixels be extracted.
keywords: BMP structure Bresenham drawcircle arry extracting
文章编号: 中图分类号: 文献标志码:
基金项目:国家自然科学基金(61152003)
Author Name | Affiliation |
WEI Hong-Chun | Department of Computer Science, Sichuan University of Arts and Science, Dazhou 635000, China |
Author Name | Affiliation |
WEI Hong-Chun | Department of Computer Science, Sichuan University of Arts and Science, Dazhou 635000, China |
引用文本:
卫洪春.Bresenham画圆法提取图像信息.计算机系统应用,2014,23(1):128-131,27
WEI Hong-Chun.Extracting Image Information by Bresenham Drawcircle.COMPUTER SYSTEMS APPLICATIONS,2014,23(1):128-131,27
卫洪春.Bresenham画圆法提取图像信息.计算机系统应用,2014,23(1):128-131,27
WEI Hong-Chun.Extracting Image Information by Bresenham Drawcircle.COMPUTER SYSTEMS APPLICATIONS,2014,23(1):128-131,27