Image Processing using GDI+ and VC++ 6.0 - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
For any image processing task, one needs to access raw pixel data. If you look at the GDI+ API for doing this, it's quite complex; besides, I also wanted to code my image processing routines so that I can port them to other environments. In other words, I did not want any GDI+ specific code in the core image processing routines. This compelling requirement forced me to make a choice on which pixel data format to use. I decided to use only the ARGB (Alpha, red, green, blue) mode of the image data that can easily be encoded in an 'int'. I wrote helper functions to create an array of ARGB encoded ints given a GDI+ Bitmap and also to create a GDI+ Bitmap from my integer array.
在任意的图像处理任务中,都需要访问原始的像素数据。如果你在GDI+ API 中查找完成这一功能的资料,它是很复杂的,我也需要编写图像处理例程,以便可以将它们导入到其它环境中。换句话说,我不想在核心图像处理例程中使用任何的GDI+ 特有的代码。这个挑战性的需求迫使我采用像素数据格式。我决定只使用ARGB (Alpha, red, green, blue)图像数据格式,它可以方便地用 'int'型来编码。我写了帮助函数,根据给定的一个 GDI+ 位图来创建一个ARGB编码的int数组,以有从我的integer 数组中创建一个GDI+ 位图。
来源: http://www.codeguru.com/gdi/ImgProc.html |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
ImgProc |
 1.0  |
2004-04-19 |
下载 |
|
|