-
barcode generation principle : bar code data of the first part by the seven figu...
条形码的生成原理:
条形码的第一数据部分是由 7个数字形成的,其形成的方法详述如下:
n 首先使用 产生和 匹配的字母码,该字母码有6个字母组成,字母限于A和B。产生字母码的列表如下
字母码
0 AAA
1 AABABB
2 AABBAB
3 AABBBA
4 ABAABB
5 ABBAAB
6 ABBBAA
7 ABABAB
8 ABABBA
9 ABBABA
表一 映射表
n 将 和 产生的字母码按位进行搭配,来产生一个数字-字母匹配对。并通过查表来得到 形成的条形码第一数据部分。
将 和C进行搭配,并通过查表得到 形成的条形码的第二数据部分。
该映射表如表二所示:
数字-字母匹配对 二进制信息
0A 0001101
0B 0100111
0C 1110010
1A 0011001
1B 0110011
1C 1100110
2A 0010011
2B 0011011
2C 1101100
3A 0111101
3B 0100001
3C 1000010
4A 0100011
4B 0011101
4C 1011100
5A 0110001
5B 0111001
5C 1001110
6A 0101111
6B 0000101
6C 1010000
7A 0111011
7B 0010001
7C 1000100
8A 0110111
8B 0001001
8C 1001000
9A 0001011
9B 0010111
9C 1110100
表二 数字-字母映射表
n 绘制条形码:通过映射表二得到的二进制数码进行绘制,1对应黑线,0对应白线。
-barcode generation principle : bar code data of the first part by the seven figures formed, and the formation of detailed as follows : n the first use of the alphabet and matching code, the code l
- 2022-01-25 20:25:14下载
- 积分:1
-
vc prepared by the multi
由vc++编写的多功能日历时钟,可以为你提供准确的时间!-vc prepared by the multi-purpose calendar clock, we will be able to provide you with accurate time!
- 2023-02-17 18:20:04下载
- 积分:1
-
Hermite generate three times the standard curve algorithm.
生成3次Hermite曲线的标准算法。-Hermite generate three times the standard curve algorithm.
- 2022-01-25 17:42:42下载
- 积分:1
-
《池塘夜降彩色雨》配套源代码.本代码实现在屏幕上飘落的雨滴在水面上产生涟漪...
《池塘夜降彩色雨》配套源代码.本代码实现在屏幕上飘落的雨滴在水面上产生涟漪-"Color pond night drop of rain" complementary source code. The implementation of the code on the screen of the raindrops fall gently on the water surface have a ripple
- 2022-05-08 21:45:14下载
- 积分:1
-
画三角形 画三角形 画三角形
画三角形 画三角形 画三角形 -Triangle triangle draw draw draw draw triangle triangle triangle draw draw triangle
- 2023-04-21 16:45:02下载
- 积分:1
-
bmp浏览器,编译成功
bmp浏览器,编译成功-bmp browser, compiler success
- 2022-04-22 18:27:47下载
- 积分:1
-
模范photoshop Filter的一个
模范photoshop Filter的一个-model of a
- 2023-04-21 23:00:04下载
- 积分:1
-
Paintlib是移植可用于图像的加载、存储和处理。
paintlib是一个可移植的用于图像加载、保存和处理的C++类库。可从BMP, GIF, JPEG, PCX, PGM, PICT, PNG, PSD, TGA, TIFF和WMF文件中加载图像,且可保存为BMP, JPEG, PNG和TIFF格式。既可通过在过滤器类中执行过滤, 也可通过直接访问位图来进行图像处理。提供了完整的C++源码。-paintlib is a transplant can be used to image loading, storage and handling of the C library. From BMP, GIF, JPEG, PCX, PGM, PICT, PNG, PSD, TGA, TIFF, and WMF files to load images and the retention of BMP, JPEG, PNG and TIFF formats. Both filters through the implementation of category filters, are also available via direct access to Bitmap image processing. For a complete C source code.
- 2022-01-22 01:30:11下载
- 积分:1
-
VC绘制Bezier曲线的例子
delphivc中画bezier曲线示例- vc draws bezier curves Example
- 2023-01-14 17:35:04下载
- 积分:1
-
犯错
扫描线填充法:
1、原理:该算法利用了扫描线的相关性和多边形边的相关性,而不是逐点进行处理。
2、扫描线的相关性:某条扫描线上相邻的象素,几乎都具有同样的内外性质,这种性质只有遇到多边形边线与该扫描线的交点时才会发生改变。
3、边的相关性:由于相邻扫描线上的交点是与多边形的边线相关的。对同一条边,前一条扫描线yi与该边的交点为xi,而后一条扫描线yi+1=yi+1与该边的交点则为xi+1=xi+1/m,利用这种相关性可以省去大量的求交运算。
边相关扫描线填充算法的实现需要建立两个表:边表(ET)和活动边表(AET)。-err
- 2023-07-27 18:40:02下载
- 积分:1