Location:
Search - C BMP
Search list
Description: 纯C的BMP文件操作程序,包含bmp文件的读取,和内存数据写入文件。本人亲自编写,是我机器视觉项目的一个接口程序,特地分享。
Platform: |
Size: 1924 |
Author: fjiale |
Hits:
Description: 指纹识别中的一个步骤分支点检测的实现,使用的是我个人编写的位图操作类,本位图操作类中的算法组,可以用于所有能够返回具有指针特性图像矩阵的文档操作类库。也就是说通用性很强。算法组还包括指纹识别算法,卷积函数。位图操作类包括的方法有
tmBmp();
tmBmp(const std::string & fname, BYTE clrBit = 8 ,DWORD imW = 256,DWORD imH = 256);
virtual ~tmBmp();
//复制构造函数
tmBmp(const tmBmp & bmp);
virtual const tmBmp & operator = (const tmBmp & init);
//打开位图
virtual bool openBmp(const std::string fname);
//另存位图
virtual bool saveBmp(const std::string fname);
//保存位图
virtual bool saveBmp();
//创建一幅位clrBit位,宽imw高imH的位图
virtual bool createBmp(const std::string fname,BYTE clrBit,DWORD imW,DWORD imH);
//从灰度数组,创建灰度图像
template
bool createGrayBmp(T * imArray,DWORD imW,DWORD imH);
//释放读入的图像
virtual void releaseBmp();
//获得图像的宽度
DWORD getWidth();
//获得图像的高度
DWORD getHeight();
//获得颜色位数
WORD getClrBit();
//显示位图信息
void showBmpInfo();
//获取调色板某一元素的值,存入RGBQuad
bool getRGBQuad(RGBQuad &, BYTE index);
//用RGBQuad更改调色板某一元素的值
bool setRGBQuad(RGBQuad &, BYTE index);
//重命名位图
void rename(const std::string fname = "新建位图.bmp");
//颜色反转
virtual void reverseColor();
//将一幅图片的像素区,装换为灰度值数组
template
bool tranToArray(T * pixelArray);
//如果是8位以内的图像本函数为
//在图像上(x,y)处画颜色索引为redPart的点
//对于16,24,32位的图像为
//在图像上(x,y)处画颜色为redPart+greenPart+bluePart的点
//x为行号,y为列号
bool putPixel(DWORD x,DWORD y,BYTE redPart=0,BYTE greenPart=0,BYTE bluePart=0);
Platform: |
Size: 15714 |
Author: tr0217 |
Hits:
Description: 通过该程序可以了解BMP的文件结构。
Platform: |
Size: 102333 |
Author: eqgyjj |
Hits:
Description: Bmp图象的文件结构-Bmp image file structure
Platform: |
Size: 9216 |
Author: 尘悦儿 |
Hits:
Description: bmp文件读写函数-bmp document read-write function
Platform: |
Size: 1024 |
Author: |
Hits:
Description: 用C语言显示256色位图的代码-C language showed 256 color bitmap code
Platform: |
Size: 2048 |
Author: 海天一燕 |
Hits:
Description: bmp位图文件的读取与保存- dib files of bmp read and save
Platform: |
Size: 26624 |
Author: 刘汉强 |
Hits:
Description: 640*480 256 色 .BMP 文件显示程序,可以浏览、同时显示 4 幅图象,也可以 在屏幕上开 一个窗口显示 .BMP 图象,并可以使用上下左右箭头键、PageUp/PageDown、Ctrl+Left、Ctr l+Right键浏览整幅图象,在S3、ATI等VGA卡上 调试通过-640* 480256 color. BMP file display program can browse, also showed four images on the screen can also open a window on the show. BMP images and can be used above and below the arrow keys, and Page/Prompt, Ctrl Left, Right keys Ctr l View the entire images in S3, ATI VGA cards such as debugging through
Platform: |
Size: 4096 |
Author: 郭指挥 |
Hits:
Description: 将 24Bit BMP 图形转为 TXT 格式-will 24Bit BMP format graphics to TXT
Platform: |
Size: 12288 |
Author: long |
Hits:
Description: BMP图象的读取 使用C语言对BMP图象进行读取和处理-BMP image reader to use C language to read BMP image processing and
Platform: |
Size: 4096 |
Author: 李达 |
Hits:
Description: BMP基本处理的一些技巧,很经典,对于初学者来说,绝对值得一看-BMP some of the basic skills, classic, for a newcomer, shot entirely
Platform: |
Size: 988160 |
Author: 刘诚 |
Hits:
Description: 手把手教你了解BMP图形文件结构,C语言文件读写函数应用,一般数据处理方法,如果看不懂,说明我写的还不够具体,以后继续改进.-Maxivista you know BMP graphics structure of the document, document literacy C language function applications, generally data processing methods, if they did not understand that I was also not specific enough in the future to continue to improve.
Platform: |
Size: 367616 |
Author: 大师傅 |
Hits:
Description: BMP图象处理的VC实现.如几何变换,色调变换等.提供大家学习参考.-the VC. If geometric transformation, such as color transformation. Study reference for everyone.
Platform: |
Size: 110592 |
Author: 李辉煌 |
Hits:
Description: BMP图象在C++Builder环境下的实现,是个用于学习的不错的源码.-BMP images in the C Builder environment of achieving, is good for learning the source.
Platform: |
Size: 253952 |
Author: 李辉煌 |
Hits:
Description: 实现BMP的读写功能,C语言实现,简单易懂.-achieve the functional literacy, C language and easily understood.
Platform: |
Size: 2048 |
Author: yaoli |
Hits:
Description: 功能是打开一幅位图,并显示在屏幕上。
命令行编译过程如下
vcvars32
rc bmp.rc
cl bmp.c bmp.res user32.lib gdi32.lib
注意事项:运行时,文件c:\test.bmp必须存在-Function is to open a bitmap and displayed on the screen. Command-line compiler is as follows vcvars32rc bmp.rccl bmp.c bmp.res user32.lib gdi32.lib Note: run-time, file c: est.bmp must exist
Platform: |
Size: 13312 |
Author: 曹小雨 |
Hits:
Description: C语言环境代码下读写BMP文件代码,运行的时候在vc6.0下通过.-C language environment code to read and write BMP files under the code, running in vc6.0 through.
Platform: |
Size: 1024 |
Author: YOUJI |
Hits:
Description: 可以打开bmp图,要在VC++6.0的环境下菜可以
Platform: |
Size: 2048 |
Author: jasery |
Hits:
Description: 初学者学习底层BMP读取的代码,调试后可运行,并且包含bmp格式学习资料,对初学BMP格式的人很有帮助。-BMP beginners learn to read the bottom of the code, debugging can be run, and includes learning materials bmp format, BMP format for beginner people very helpful.
Platform: |
Size: 328704 |
Author: weiguoxin |
Hits:
Description: 用C语言实现BMP图像的显示,可以显示出1bit,4bit,8bit,16bit,24bit图像-BMP image using C language display, can show 1bit, 4bit, 8bit, 16bit, 24bit images
Platform: |
Size: 6586368 |
Author: 刘子龙 |
Hits:
« 12
3
4
5
6
7
8
9
10
...
50
»