Description: (利用GIF_LZW算法实现的)网络图片传输 技术特点 ~~~~~~~~ 一、使用TCP协议传输数据。理由:稳定性好。 二、使用字节数据流进行传输,理由: A:VB的String存在自动Unicode转换问题,影响速度; B:可以直接发送8位字节数据,不需要使用Base64编码,从而减少了编码时间。 三、使用GIF-LZW压缩算法压缩图像。理由: A:行程编码、Huffman压缩算法压缩率太低; B:JPEG压缩算法需要太多位运算,且运算量大(有专门MMX优化算法),不利于VB实现; C:GIF-LZW压缩算法压缩率较好,且我已想出VB语法下高效GIF-LZW压缩/解压算法。 四、使用“有序抖动”算法进行 色彩量化。理由:“有序抖动”处理的结果具有一定规律性,有助于LZW类算法压缩。-(using GIF_LZW algorithm) picture transmission network ~~~~~~~~ a technical features, the use of TCP to transmit data. Reason : good stability. Two, the use of byte data stream for transmission, reasons : A : VB String exist automatically Unicode conversion, the impact speed; B : can directly send eight bytes of data and do not need to use Base64 encoding, thereby reducing the coding time. 3, the use of GIF - LZW compression algorithm for image compression. Reason : A : itinerary coding, Huffman compression algorithm compression rate is too low; B : JPEG compression algorithm needs much-bit computing, and large amount of computation (with MMX specialized optimization algorithm), is not conducive to VB; C : GIF - LZW compression algorithm compression ratio better, and I have come up with un Platform: |
Size: 62518 |
Author:房 |
Hits:
Description: (利用GIF_LZW算法实现的)网络图片传输 技术特点 ~~~~~~~~ 一、使用TCP协议传输数据。理由:稳定性好。 二、使用字节数据流进行传输,理由: A:VB的String存在自动Unicode转换问题,影响速度; B:可以直接发送8位字节数据,不需要使用Base64编码,从而减少了编码时间。 三、使用GIF-LZW压缩算法压缩图像。理由: A:行程编码、Huffman压缩算法压缩率太低; B:JPEG压缩算法需要太多位运算,且运算量大(有专门MMX优化算法),不利于VB实现; C:GIF-LZW压缩算法压缩率较好,且我已想出VB语法下高效GIF-LZW压缩/解压算法。 四、使用“有序抖动”算法进行 色彩量化。理由:“有序抖动”处理的结果具有一定规律性,有助于LZW类算法压缩。-(using GIF_LZW algorithm) picture transmission network ~~~~~~~~ a technical features, the use of TCP to transmit data. Reason : good stability. Two, the use of byte data stream for transmission, reasons : A : VB String exist automatically Unicode conversion, the impact speed; B : can directly send eight bytes of data and do not need to use Base64 encoding, thereby reducing the coding time. 3, the use of GIF- LZW compression algorithm for image compression. Reason : A : itinerary coding, Huffman compression algorithm compression rate is too low; B : JPEG compression algorithm needs much-bit computing, and large amount of computation (with MMX specialized optimization algorithm), is not conducive to VB; C : GIF- LZW compression algorithm compression ratio better, and I have come up with un Platform: |
Size: 62464 |
Author:房 |
Hits:
Description: 一、使用TCP协议传输数据。理由:稳定性好。
二、使用字节数据流进行传输,理由:
A:VB的String存在自动Unicode转换问题,影响速度;
B:可以直接发送8位字节数据,不需要使用Base64编码,从而减少了编码时间。
三、使用GIF-LZW压缩算法压缩图像。理由:
A:行程编码、Huffman压缩算法压缩率太低;
B:JPEG压缩算法需要太多位运算,且运算量大(有专门MMX优化算法),不利于VB实现;
C:GIF-LZW压缩算法压缩率较好,且我已想出VB语法下高效GIF-LZW压缩/解压算法。
四、使用“有序抖动”算法进行 色彩量化。理由:“有序抖动”处理的结果具有一定规律性,有助于LZW类算法压缩。-First, use the TCP protocol to transmit data. Reason: better stability.
Two, the use of byte data stream for transmission, the reasons:
A: VB s String existence automatic Unicode conversion question, effects of speed
B: can directly send 8-bit byte data, Does not need to use Base64 encoding, thereby reducing the encoding time.
Three, the use of GIF-LZW compression algorithm for image compression. Rationale:
A: Run-Length Coding, Huffman compression algorithm compression ratio is too low
B: JPEG compression algorithm required too many bit computing, and computing a large quantity (MMX has specialized optimization algorithm), VB is not conducive to implementation
C: GIF-LZW compression algorithm compression ratio is better, and I have come up with efficient under VB grammar GIF-LZW compression/decompression algorithm.
Four, use the "orderly jitter" algorithm for color quantization. Rationale: "orderly jitter" must deal with the results of reg Platform: |
Size: 54272 |
Author:whoamixp |
Hits:
Description: 本代码由matlab语言编写,实现了jpeg算法,主要为了说明基本的JPEG功能。经过DCT变化,量化,进行DPCM编码,然后之字形扫描AC系数,进行行程(LZW)编码。 显示原始图象和经编码解码后的图象,显示压缩比,并计算均方根误差。-The code consists of matlab language, to achieve a jpeg algorithm, mainly to illustrate the basic functionality of JPEG. After changing DCT, quantization, for DPCM coding, then the AC coefficients of the zigzag scanning, for stroke (LZW) coded. Shows the original image and the encoded decoded image showing the compression ratio, and calculate the mean square error. Platform: |
Size: 5120 |
Author:wyd |
Hits: