摘要图片的合成和缩放我们实现了其基本的算法,本文通过bmp位图数据源,通过采用双线形插值,后处理操作和合成算法实现了对图片的基本操作,并以此为基础实现了对bmp位图的读写。试验结果表明,我们所实现的算法适用于对BMP位图文件的基本操作。
在实现数字图象处理的过程中,主要是通过对图像中的每一个像素点运用各种图像处理算法来达到预期的效果,所以进行图像处理的第一步,也是我们最关心的问题,是如何得到图像中每一个像素点的亮度值;为了观察和验证处理的图像效果,另一个需要解决的问题是如何将处理前后的图像正确的显示出来。我们就是解决这些问题。
关键词:图片的合成和缩放;双线形插值;bmp位图;数字图象处理
vc++ picture processing implementation
Abstract The picture synthesis we have realized its basic algorithm, this article through the bmp position chart data pool, through used the double linear interpolation, the post-processing operation and the synthesis algorithm has realized to the picture elementary operation, and has realized read-write to the bmp position chart take this as the foundation. The test result indicated, we realize the algorithm is suitable for to the BMP position chart document elementary operation.
In the realization digital image processing process, mainly is through utilizes each kind of picture processing algorithm to in the picture each picture to achieve the anticipated effect, therefore carries on picture processing the first step, also is our most issue of concern, is how obtains in the picture each picture brightness value; In order to observe with the confirmation processing picture effect, around another needs to solve how will the question is process the picture correct demonstration. We solve these problems.
Key words: Picture synthesis; Double linear interpolation; Bmp position chart; Digital image processing
目录
1 图像缩放合成处理的意义国内外的情况综述…………………………………1
2 设备无关位图文件的读写存和缩放………………………………………………2
BMP文件的格式… …………………………………………………………………2
BMP文件组成……………………………………………………………………2
BMP文件头………………………………………………………………………2
位图信息头……………………………………………………………………3
颜色表…………………………………………………………………………3
位图数据………………………………………………………………………4
BMP文件的读写……………………………………………………………………4
BMP文件的保存…………………………………………………………………10
BMP文件的缩放…………………………………………………………………15
3 图像合成的具体方法………………………………………………………………21
图片合成算法详解…………………………………………………………………21
数字图象处理 计算机毕业论文 来自淘豆网m.daumloan.com转载请标明出处.