1、 摘要 几何变换是最常见的图像处理手段,通过对变形的图像进行几何校正,可以得出准确 的图像。常用的几何变换功能包括图像的平移、图像的镜像变换、图像的转置、图像的缩 放、图像的旋转等等。目前数字图像处理的应用越来越广泛,已经渗透到工业、航空航天、 军事等各个领域,在国民经济中发挥越来越大的作用。 作为数字图像处理的一个重要部分,本文介绍的工作是如何用 Visual C+编程工具设 计一个完整的应用程序, 实现经典的图像几何变换功能。 程序大概分为两大部分: 读写 BMP 图像,和数字图像的几何变换。即首先用 Visual C+创建一个多文档应用程序框架,在实 现任意 BMP 图像的读写,打印,以
2、及剪贴板操作的基础上,完成经典的图像几何变换功 能。 图像几何变换的 Visual C+编程实现,为校内课题的实现提供了一个实例。 关键字:图像处理;几何变换;BMP 图像;Visual C+ Abstract The geometrical transformation is the most popular image processing method. We can get an exact image from a distorted image through the geometrical emendation. The transforming methods in commo
3、n use including translation, mirror, rotation, or transpose an image. Since the domain of digital image processing application has becoming wider and wider, it penetrates into many fields. Such as industry, aviation, military, and has become much more important in every aspects of our life. Being an
4、 important part of digital image processing, the work introduced in this article is about how to design an integrated application program using Visual C+ to implement the classic geometrical transformation. The program can be divided into two parts: read or write a BMP image, and the geometrical transformation for it. So I designed a multiple document interface first, on the basic of read, write, print, and the clipboard operation of an image, then carry out the function of geometrical tran