-
设置图像的灰度
通过彩色图象灰度化来介绍C#处理数字图像的3种方法,Bitmap类、BitmapData类和Graphics类是C#处理图像的的3个重要的类。Bitmap只要用于处理由像素数据定义的图像的对象,主要方法和属性如下: GetPixel方法和SetPixel方法,获取和设置一个图像的指定像素的颜色。 PixelFormat属性,返回图像的像素格式。 Palette属性,获取或折纸图像所使用的颜色调色板。 Height属性和Width属性,返回图像的高度和宽度。 LockBits方法和UnlockBits方法,分别锁定和解锁系统内存中的位图像素。BitmapData对象指定了位图的属性: Height属性,被锁定位图的高度。 Width属性,被锁定位图的宽度。 PixelFormat属性,数据的实际像素格式。 Scan0属性,被锁定数组的首字节地址。 Stride属性,步幅,也称扫描宽度。彩色图象灰度化24位彩色图象每个像素用3个
- 2023-04-11 05:05:04下载
- 积分:1
-
STL数据文件的读取
创建MFC工程,以OpenGL为接口,实现AutoCAD建模数据文件的读取与显示。STL数据使以三角面片的形式存储,每个三角形包括三角面的法向量信息以及三个顶点坐标信息。通过该程序,能以把模型显示出来。
- 2022-02-04 22:44:53下载
- 积分:1
-
自己编的AUXSOLIDBOX函数
自己编的AUXSOLIDBOX函数-The AUXSOLIDBOX own function
- 2022-05-05 09:00:49下载
- 积分:1
-
opengl of incomplete technical terrain shows the source code.
opengl中的lod技术地形显示源代码。-opengl of incomplete technical terrain shows the source code.
- 2023-04-23 04:40:03下载
- 积分:1
-
群微粒算法,用vc++编写的
群微粒算法,用vc++编写的-group particulate algorithm, used in the preparation of vc
- 2023-03-21 02:25:03下载
- 积分:1
-
可以显示三维地形表面,是一个很不错的学习OpenGL的源程序
可以显示三维地形表面,是一个很不错的学习OpenGL的源程序-Can display three-dimensional topographic surface, is a very good source to learn OpenGL
- 2022-11-30 06:20:04下载
- 积分:1
-
一个用opengl和VC编写的飞机的的简单动画,有人物和动作,很接近游戏。...
一个用opengl和VC编写的飞机的的简单动画,有人物和动作,很接近游戏。-Opengl and a VC with the preparation of the aircraft simple animation, characters and movements have, which is very close game.
- 2022-07-24 08:29:11下载
- 积分:1
-
use OpenGL simulated solar system planet operation, rotating Opengl beginners le...
利用OpenGL模拟太阳系星球运转,Opengl初学者学习旋转等基本函数的很好实例-use OpenGL simulated solar system planet operation, rotating Opengl beginners learn the basic functions of a good example
- 2022-04-12 00:49:23下载
- 积分:1
-
里面有在Windows下使用OpenGL绘制的几种三维基本形状作旋转的程序代码,程序精概....
里面有在Windows下使用OpenGL绘制的几种三维基本形状作旋转的程序代码,程序精概.-inside the Windows using OpenGL 3D rendering several basic shape for the rotary code, the corresponding intensive procedures.
- 2022-04-20 00:43:59下载
- 积分:1
-
西北工业大学校友潘理亮写的一个关于OpenGL视频纹理的例子。
西北工业大学校友潘理亮写的一个关于OpenGL视频纹理的例子。-Northwestern University alumni Pan Li-liang was one of the OpenGL video texture example.
- 2022-05-06 12:59:32下载
- 积分:1