Location:
Search - bitmap to b
Search list
Description:
车牌识别系统
需要注意的地方:
使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI)
1)位图信息的数据是从左下往右下为一行,一行一行往上排的。
2)每行像素应该是4的倍数,不足的地方用空点补齐,读的时候注意跳过冗余点。
3)主要数据都存在Doc里面,BMP的主要数据存在一个由ImgData指向的BYTE型的内存空间(根据位图的大小,动态分配的)。
4)数据读进来以后,注意向内存中贴图,以保证刷新的效率。
5)程序执行流程
应用程序生成--》打开--》CDipView的OnFileOpen 函数--》
调用CDipDoc的FileOpen 函数--》并使用myDoc->UpdateAllViews(NULL) 刷新
自动调用CDipView的OnPaint函数--》调用CDipView的OnDraw函数----一个像素点一个像素点的画
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
比较重要的地方
读BMP文件,只能打开256色 (可以是灰度)
显示和内存贴图技术
关于调色板: 调色板实际上是一个数组,4个BYTE 分别是 B,G,R,和 Reserved
每一个像素点都有一个相应的数组。-LPR system needs to the attention of the local : VC 6.0 do use development tools, SDI simple frame structure, handling a bitmap (interested can make MDI) 1) bitmap data is the information from the right and the left for his , and his party up his platoon. 2) pixels per line should be in multiples of four, the inadequacies of the points are filled with empty, Reading, the point to skip redundant. 3) key data exists inside Doc. BMP key data on the existence of a ImgData BYTE directly to the type of memory space (according to the Bitmap a small, dynamic allocation). 4) Data Reading come after, pay attention to the memory mapping, in order to ensure high efficiency. 5) implementation of procedures for application generation process -- "Open --" the OnFileOpe CDipView n Functions -- &
Platform: |
Size: 233235 |
Author: yanglin |
Hits:
Description: 发现不用perlin noise随便找个位图读每点的像素的RGB,然后将R+B+G作为地形高度也可.我可以尽量将位图颜色过渡做的平缓些,出来的地形还是尖锐.-perlin noise found not arbitrarily find a bitmap read every point of the pixel RGB, then R B G as the terrain is available. I can try to color bitmap smooth transition done more, the terrain is sharp.
Platform: |
Size: 5712 |
Author: weiguian |
Hits:
Description: This class loads a texture file and prepares it to be used in OpenGL. It can open a bitmap or a targa file. The min filter is set to mipmap b/c
they look better and the performance
cost on modern video cards in negligible. -This class loads a file and prepare texture s it to be used in OpenGL. It can open a bitmap or a t arga file. The min filter is set to mipmap b / c the y look better and the performance cost on modern video cards in negligible.
Platform: |
Size: 123598 |
Author: werwerwer |
Hits:
Description: 操作说明:
1. 上、下、左、右键移动角色
2. \"B\"键显示或隐藏炸弹
3. 在炸弹显示的情况下,按\"回车\"键引爆炸弹( 注:只能将墙壁引爆 )
4. 按\"退格\"键可以返回上一步移动,只能回退20步
*****************************************************************************
特殊说明:
本游戏是从先前Redfox的源程序修改而来(不过,我对代码进行了重写),
修改如下:
1) 对菜单、工具栏、状态栏、位图进行了重定义
2) 重写了窗口刷新部分的代码(将原来的全部刷新改为单幅位图刷新),
提高了运行效率
3) 重写了检测是否通关的功能模块,并对地图数据作了必要修改,
运行效率较之从前有所提高
4)加入作弊功能:炸弹和回退功能
5)加入定时器功能
-instructions : 1. ,, Left, Right-Mobile role 2. "B" button to show or hide bombs 3. in the bomb shows, by the "Enter" key to detonate bombs (Note : The walls can only be detonated) 4. by the "backspace" key can be returned to the step movement, Reverting 20 can only further ****************************************** ********************************************************* **** Special Note : This game from the previous Redfox changes from the source (however, I had to rewrite code), is amended as follows : 1) to the menu, toolbar, status bar, Bitmap of redefinitions 2) rewrite of the window broken part of the code (the original all set to set a new single bitmap) and improve the operating efficiency of 3) rewrite of the test operation of the module and the ma
Platform: |
Size: 29333 |
Author: 胡波 |
Hits:
Description: 1.ImButton: 动态效果的按钮控件,可设置各种外观风格,鼠标感应变色,可插入位图, 并且可支持图像动画效果,也有自画事件可自己处理外观。 2.ValidateEdit: 可限制输入内容的输入框, BCB 自带的 TMaskEdit 有很多不方便的地方 我仍然怀念没有 Builder 之前的 Borland C++ 中的 ValidateEdit, 可限制输入整数、 浮点数、或者自己任意规定输入限制,比如数字、字符、汉字、符号等。 3.UrlLabel: 可实现超级链接的标签控件,只要填好属性就可以了,支持鼠标感应变色。 4.YbUpDownEdit: 有上下箭头可以调整数值大小的输入框 可限制调整范围, 最大调整范围:-9223372036854775808 ~ +9223372036854775807 5.YbBackImage: 背景位图,可以加入一个小位图平铺显示,也可以拉伸放缩等 6.VictorPanel: 透明效果的 Panel、可以设置背景,支持平铺、拉伸缩放、居中等 7.YbRichEdit: 测试版的控件,可以改变外观效果 (边框和滚条)-1.ImButton : Dynamic effects of button controls, can be set to various exterior style, mouse sensors change color bitmap can be inserted, and will support image animation effects, but also a self-portrait incidents themselves appearance. 2.ValidateEdit : to limit the importation of content input box, BCB's own TMaskEdit many inconvenient places, I still miss not Builder before the Borland C ValidateEdit, to limit the importation of integers, floats, or importing their own arbitrary restrictions, such as the number of characters in Chinese characters, such symbols. 3.UrlLabel : hyperlinks can be realized labeling controls, as long as the property can be completed, the support of the mouse sensors change color. 4.YbUpDownEdit : The next arrow Numerical size can be adjusted to the input b
Platform: |
Size: 41324 |
Author: 毕胜 |
Hits:
Description: 绘制半透明位图及如何画透明位图 有的时侯,我们希望显示一幅半透明的位图。也就是说我们将一幅位图B 显示到A位图上,又希望透过B位图看到A位图的一部分图像但不是全部。比如A位 图是一幅曲线图,B是一幅提示位图,我们想在显示提示的同时看到已显示的曲 线,但不需要曲线的背景 ,就需有用到半透明位图。曲线看上去就象从B位图中渗 透过来,其实半透明技术就是一种渗透技术,渗透公式我们可选用多种,在这里 我们选用(A AND 0x7F)OR B。注意,白色不能产生渗透。-rendering translucent bitmaps and how transparent bitmap painting some slim, we hope to show a translucent bitmaps. That is to say we will be a bit Figure B shows that the A bitmap, and they hope to see Figure B A part of the bitmap images, but not all. For example, A bitmap is a curve, B is a Bitmap suggest, we would like to suggest the show has been seen at the same time show the curve, but it does not need curve background on the need for useful to translucent bitmaps. From the curve looks like B infiltrate map, in fact technology is a translucent infiltration, infiltration formula we can use multiple, and here we choose (A AND which) OR B. Note that not produce white infiltration.
Platform: |
Size: 2229 |
Author: 曾火尧 |
Hits:
Description: 1.ImButton: 动态效果的按钮控件,可设置各种外观风格,鼠标感应变色,可插入位图, 并且可支持图像动画效果,也有自画事件可自己处理外观。 2.ValidateEdit: 可限制输入内容的输入框, BCB 自带的 TMaskEdit 有很多不方便的地方 我仍然怀念没有 Builder 之前的 Borland C++ 中的 ValidateEdit, 可限制输入整数、 浮点数、或者自己任意规定输入限制,比如数字、字符、汉字、符号等。 3.UrlLabel: 可实现超级链接的标签控件,只要填好属性就可以了,支持鼠标感应变色。 4.YbUpDownEdit: 有上下箭头可以调整数值大小的输入框 可限制调整范围, 最大调整范围:-9223372036854775808 ~ +9223372036854775807 5.YbBackImage: 背景位图,可以加入一个小位图平铺显示,也可以拉伸放缩等 6.VictorPanel: 透明效果的 Panel、可以设置背景,支持平铺、拉伸缩放、居中等 7.YbRichEdit: 测试版的控件,可以改变外观效果 (边框和滚条)-1.ImButton : Dynamic effects of button controls, can be set to various exterior style, mouse sensors change color bitmap can be inserted, and will support image animation effects, but also a self-portrait incidents themselves appearance. 2.ValidateEdit : to limit the importation of content input box, BCB's own TMaskEdit many inconvenient places, I still miss not Builder before the Borland C ValidateEdit, to limit the importation of integers, floats, or importing their own arbitrary restrictions, such as the number of characters in Chinese characters, such symbols. 3.UrlLabel : hyperlinks can be realized labeling controls, as long as the property can be completed, the support of the mouse sensors change color. 4.YbUpDownEdit : The next arrow Numerical size can be adjusted to the input b
Platform: |
Size: 40960 |
Author: 毕胜 |
Hits:
Description: 实现RAW——>BMP文件的转换 包含显示直方图,各种滤波功能 实现对BMP位图做平移,旋转,缩放,转置等功能-achieve RAW-- gt; BMP file conversion include histogram display, various filtering to achieve right from Bitmap to do translation, rotation, zoom, transpose function
Platform: |
Size: 545792 |
Author: 凌波微步 |
Hits:
Description: 读取制作TTF,BDF的工具,非常好用,附带完整源码.-read TTF production, BDF tool, very useful, fringe integrity source.
Platform: |
Size: 281600 |
Author: 老五 |
Hits:
Description: 绘制半透明位图及如何画透明位图 有的时侯,我们希望显示一幅半透明的位图。也就是说我们将一幅位图B 显示到A位图上,又希望透过B位图看到A位图的一部分图像但不是全部。比如A位 图是一幅曲线图,B是一幅提示位图,我们想在显示提示的同时看到已显示的曲 线,但不需要曲线的背景 ,就需有用到半透明位图。曲线看上去就象从B位图中渗 透过来,其实半透明技术就是一种渗透技术,渗透公式我们可选用多种,在这里 我们选用(A AND 0x7F)OR B。注意,白色不能产生渗透。-rendering translucent bitmaps and how transparent bitmap painting some slim, we hope to show a translucent bitmaps. That is to say we will be a bit Figure B shows that the A bitmap, and they hope to see Figure B A part of the bitmap images, but not all. For example, A bitmap is a curve, B is a Bitmap suggest, we would like to suggest the show has been seen at the same time show the curve, but it does not need curve background on the need for useful to translucent bitmaps. From the curve looks like B infiltrate map, in fact technology is a translucent infiltration, infiltration formula we can use multiple, and here we choose (A AND which) OR B. Note that not produce white infiltration.
Platform: |
Size: 2048 |
Author: 曾火尧 |
Hits:
Description: 在C++ BUILDER中运用位图资源做出PP的界面-C BUILDER use bitmap resources to make the interface PP
Platform: |
Size: 359424 |
Author: 顾春峰 |
Hits:
Description:
车牌识别系统
需要注意的地方:
使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI)
1)位图信息的数据是从左下往右下为一行,一行一行往上排的。
2)每行像素应该是4的倍数,不足的地方用空点补齐,读的时候注意跳过冗余点。
3)主要数据都存在Doc里面,BMP的主要数据存在一个由ImgData指向的BYTE型的内存空间(根据位图的大小,动态分配的)。
4)数据读进来以后,注意向内存中贴图,以保证刷新的效率。
5)程序执行流程
应用程序生成--》打开--》CDipView的OnFileOpen 函数--》
调用CDipDoc的FileOpen 函数--》并使用myDoc->UpdateAllViews(NULL) 刷新
自动调用CDipView的OnPaint函数--》调用CDipView的OnDraw函数----一个像素点一个像素点的画
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
比较重要的地方
读BMP文件,只能打开256色 (可以是灰度)
显示和内存贴图技术
关于调色板: 调色板实际上是一个数组,4个BYTE 分别是 B,G,R,和 Reserved
每一个像素点都有一个相应的数组。-LPR system needs to the attention of the local : VC 6.0 do use development tools, SDI simple frame structure, handling a bitmap (interested can make MDI) 1) bitmap data is the information from the right and the left for his , and his party up his platoon. 2) pixels per line should be in multiples of four, the inadequacies of the points are filled with empty, Reading, the point to skip redundant. 3) key data exists inside Doc. BMP key data on the existence of a ImgData BYTE directly to the type of memory space (according to the Bitmap a small, dynamic allocation). 4) Data Reading come after, pay attention to the memory mapping, in order to ensure high efficiency. 5) implementation of procedures for application generation process-- "Open--" the OnFileOpe CDipView n Functions-- &
Platform: |
Size: 233472 |
Author: yanglin |
Hits:
Description: 发现不用perlin noise随便找个位图读每点的像素的RGB,然后将R+B+G作为地形高度也可.我可以尽量将位图颜色过渡做的平缓些,出来的地形还是尖锐.-perlin noise found not arbitrarily find a bitmap read every point of the pixel RGB, then R B G as the terrain is available. I can try to color bitmap smooth transition done more, the terrain is sharp.
Platform: |
Size: 5120 |
Author: weiguian |
Hits:
Description: This class loads a texture file and prepares it to be used in OpenGL. It can open a bitmap or a targa file. The min filter is set to mipmap b/c
they look better and the performance
cost on modern video cards in negligible. -This class loads a file and prepare texture s it to be used in OpenGL. It can open a bitmap or a t arga file. The min filter is set to mipmap b/c the y look better and the performance cost on modern video cards in negligible.
Platform: |
Size: 2255872 |
Author: werwerwer |
Hits:
Description: 操作说明:
1. 上、下、左、右键移动角色
2. "B"键显示或隐藏炸弹
3. 在炸弹显示的情况下,按"回车"键引爆炸弹( 注:只能将墙壁引爆 )
4. 按"退格"键可以返回上一步移动,只能回退20步
*****************************************************************************
特殊说明:
本游戏是从先前Redfox的源程序修改而来(不过,我对代码进行了重写),
修改如下:
1) 对菜单、工具栏、状态栏、位图进行了重定义
2) 重写了窗口刷新部分的代码(将原来的全部刷新改为单幅位图刷新),
提高了运行效率
3) 重写了检测是否通关的功能模块,并对地图数据作了必要修改,
运行效率较之从前有所提高
4)加入作弊功能:炸弹和回退功能
5)加入定时器功能
-instructions : 1. ,, Left, Right-Mobile role 2. "B" button to show or hide bombs 3. in the bomb shows, by the "Enter" key to detonate bombs (Note : The walls can only be detonated) 4. by the "backspace" key can be returned to the step movement, Reverting 20 can only further******************************************************************************************************* Special Note : This game from the previous Redfox changes from the source (however, I had to rewrite code), is amended as follows : 1) to the menu, toolbar, status bar, Bitmap of redefinitions 2) rewrite of the window broken part of the code (the original all set to set a new single bitmap) and improve the operating efficiency of 3) rewrite of the test operation of the module and the ma
Platform: |
Size: 28672 |
Author: 胡波 |
Hits:
Description: 本代码实现的功能:24位位图(BMP)的灰度化。具体实现过程:打开图像文件,找到数据区(每3个字节代表一个象素的R,G,B值),循环扫描,根据RGB的权重,计算出灰度值. 如果要得到256色灰度图,则要新建一个调色板,修改信息头和文件头.-Realize the function of the code: 24-bit bitmap (BMP) of the gray. Concrete realization of the process: Open the image file, locate the data area (3 bytes per pixel on behalf of a R, G, B values), cyclic scan, according to the weight of RGB, gray value is calculated. If you want to get 256 colors grayscale, would create a new palette, modify the header and file header information.
Platform: |
Size: 3072 |
Author: xixi |
Hits:
Description: 这个小程序是把原始位图缩放成800x600的位图,保持原图比例不变,不足部分填充空白,目前只能处理8位或24位的位图。
-This applet is to zoom into the original bitmap bitmap 800x600 to maintain the maximum proportion of the same, blank fill the shortage, the current can only handle 8-bit or 24-bit bitmap.
Platform: |
Size: 1294336 |
Author: 寇净磊 |
Hits:
Description: vc6下制作真彩工具栏的例子。本例使用的位图大小比例是16*16的32位真彩,导入vc6后不可见。实现代码很简单,在cmainframe的oncreate函数中 并在视图类中加入工具栏按钮的消息映射即可。-vc6 produced an example of true color toolbar. This example uses a bitmap size of the ratio is 16* 16 32-bit true color, not visible after import vc6. Implement the code is very simple, cmainframe the oncreate function and in the view class to add a toolbar button, the message can be mapped.
Platform: |
Size: 22528 |
Author: 立方 |
Hits:
Description: This c code read raw image file and change it to bmp file
Platform: |
Size: 1874944 |
Author: Kil Jhun Jeong |
Hits:
Description: Usage: convbdf [options] [input-files]
convbdf [options] [-o output-file] [single-input-file]
options:
-c Convert .bdf to .c source file
-h Convert .bdf to .h header file (to create sysfont.h)
-f Convert .bdf to .fnt font file
-b Convert .bdf to .bmp bitmap file for D2FE - D2 Font Editor
-i Convert .bdf to .bin binary file for D2FE - D2 Font Editor
-s N Start output at character encodings >= N
-l N Limit output to character encodings <= N
-n Don t generate bitmaps as comments in .c file
-a N[ ][!] Allow the ascent to grow N pixels/ to avoid glyph clipping
-d N[ ][!] Allow the descent to grow N pixels/ to avoid glyph clipping
-v N Verbosity level: 0=quite quiet, 1=more verbose, 2=even more, etc.
-t Print internal tracing messages-Usage: convbdf [options] [input-files]
convbdf [options] [-o output-file] [single-input-file]
options:
-c Convert .bdf to .c source file
-h Convert .bdf to .h header file (to create sysfont.h)
-f Convert .bdf to .fnt font file
-b Convert .bdf to .bmp bitmap file for D2FE - D2 Font Editor
-i Convert .bdf to .bin binary file for D2FE - D2 Font Editor
-s N Start output at character encodings >= N
-l N Limit output to character encodings <= N
-n Don t generate bitmaps as comments in .c file
-a N[ ][!] Allow the ascent to grow N pixels/ to avoid glyph clipping
-d N[ ][!] Allow the descent to grow N pixels/ to avoid glyph clipping
-v N Verbosity level: 0=quite quiet, 1=more verbose, 2=even more, etc.
-t Print internal tracing messages
Platform: |
Size: 278528 |
Author: gleb |
Hits: