-
jpeg encode
论文主要介绍了JPEG的编码和解码过程。该程序的编码部分能把一张BMP格式的图象进行JEPG编码,压缩成以二进制形式保存的文件;通过相应的解码程序又可以把图象解压缩出来。在图象传送过程中,我们经常采用JPEG格式对静态图象进行编码。JPEG基本系统是一种有损编码,无法完全恢复出原图象,信息有一定的丢失,称为有损压缩。尽管我们希望能够无损压缩,但是通常有损压缩的压缩比(即原图象占的字节数与压缩后图象占的字节数之比,压缩比越大,说明压缩效率越高)比无损压缩的高。JPEG编码先把图象色彩RBG变成亮度Y和色度Cr、Cb,它利用人的视觉对色度不敏感的特点,减少一部分色度数据,以达到压缩。 JPEG采取多种编码方式,包含有行程编码(Run Length Coding)和哈夫曼(Huffman)编码,有很高的压缩比。在编码前,先对数据进行分块,离散余弦变换(DCT)及量化,保留能量大的低频信号,丢弃高频信号以达到压缩。解码时,进行熵解码,反量化,反离散余弦变换(IDCT)。
- 2022-03-16 06:35:42下载
- 积分:1
-
直线扫描算法rivate AX1(100) As Integer, AY1(100) As Integer, AX2(100) As Integer, AY2(...
直线扫描算法rivate AX1(100) As Integer, AY1(100) As Integer, AX2(100) As Integer, AY2(100) As IntegerPrivate CX1 As Integer, CY1 As Integer, CX2 As Integer, CY2 As Integer, N As IntegerPrivate Sub form_Load()Picture1.BackColor = RGB(255, 255, 255)N = 0End SubPrivate Sub picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)If Button = 1 ThenCX1 = CInt(X): CX2 = CInt(X)CY1 = CInt(Y): CY2 = CInt(Y)End IfEnd Sub-linear scanning algorithm rivate AM1 (100) As Integer, AY1 (100) As Integer, AX2 (100) As Integer, AY2 (100) As IntegerPrivate CX1 As Integer, CY1 As Integer, CX2 As Integer, CY2 As Integer, N As IntegerPrivate Sub form_Load () Picture1.BackColor = RGB (255, 255, 255) N = 0End SubPrivate Sub picture1_MouseDown (Button As Integer, Shift As Integer, As Single X, Y As Single) If Button = = a ThenCX1 CInt (X) : CX2 = CInt (X) = CY1 CInt (Y) : CY2 = CInt (Y) End Sub IfEnd
- 2023-04-06 10:20:03下载
- 积分:1
-
自己开发的,多边形扫描线填充算法,采用橡皮筋模式确定多边形轮廓,经调试通过,此代码效率很高...
自己开发的,多边形扫描线填充算法,采用橡皮筋模式确定多边形轮廓,经调试通过,此代码效率很高-its own development, filled polygon scan line algorithm, using rubber-band model to determine polygon outline, debugger, this code efficiency
- 2022-03-22 00:23:45下载
- 积分:1
-
计算机图形学之多边形绘制的源码及其程序。
计算机图形学之多边形绘制的源码及其程序。-Computer graphics rendering of the source polygon and its procedures.
- 2022-02-03 16:30:44下载
- 积分:1
-
the image changes after its Fourier
N*N的图像的傅立叶变化后对其反变换的结果-the image changes after its Fourier- Transform results
- 2023-02-15 12:10:03下载
- 积分:1
-
Using CUDA for hierachy clustering taking advantages of Pararell programming
利用NIVIDIA公司的GPU编程SDK CUDA进行聚类分析-Using CUDA for hierachy clustering taking advantages of Pararell programming
- 2022-05-13 06:21:32下载
- 积分:1
-
图象的检测,模板匹配
命令行编译过程如下
vcvars32
rc bmp.rc
cl detect.c bmp.res user32.li...
图象的检测,模板匹配
命令行编译过程如下
vcvars32
rc bmp.rc
cl detect.c bmp.res user32.lib gdi32.lib
注意事项:
运行时,文件c: est.bmp必须存在
-Image detection, template matching command-line compiler as follows vcvars32 rc bmp.rc cl detect.c bmp.res user32.lib gdi32.lib Note: run-time, the file c: test.bmp must exist
- 2022-01-22 14:03:34下载
- 积分:1
-
使用2D变换原理,绘制一个2D图形,并进行图形基本变换
使用2D变换原理,绘制一个2D图形,并进行图形基本变换-use 2D transform, drawing a 2D graphics, and basic graphics transformation
- 2022-11-25 05:30:03下载
- 积分:1
-
这是一个bezier曲线的程序代码
这是一个bezier曲线的程序代码-this is a program code of bezier curve
- 2022-02-06 08:25:05下载
- 积分:1
-
图像纹理分析的模式识别及应用实例…
模式识别中的图像纹理分析及应用实例详细程序-pattern recognition of image texture analysis and application examples detailed procedures
- 2022-09-30 08:35:04下载
- 积分:1