搜索资源列表
SaveJPEG
- 提示: JPEG压缩分为三个部分: 1.JPEG压缩原理及算法(RGB/YCbCr,DCT/IDCT,量化,Z字型编码,用DPCM对DC/用RLE对AC编码/Huffman编码) 2.JPEG标记格式 3.JPEG图片文件的组织形式(位于SOS后的图像压缩数据是由MCU块怎样排列的,特别是使用了DRI之后) 还有许多细节问题: 1.解码过程中遇到“FF 00”当“FF”处理,否则忽略“FF” 2.进行DCT前YCbCr要减128,进行IDCT前要加128(相当于Y减128,YCbCr不需要加12
101259378luv_rgb_yuv_lab_space
- Convert a color image between color representations. B = COLORSPACE(S,A) converts the color representation of image A where S is a string specifying the conversion. S tells the source and destination color spaces, S = dest<-src , or alte
BMPtoYUV.rar
- 将给出的bmp格式图片转换为YUV4:2:0(YCbCr)格式。 步骤:1.首先将RGB文件转换为YUV4:4:4格式。 2. 将YUV4:4:4的色度分量通过下采样转换为YUV4:2:0格式。 ,Will be given pictures converted to bmp format YUV4: 2:0 (YCbCr) format. Steps: 1. First of all RGB files will be converted to YUV4: 4:4 forma
jpg_function
- // RGB -> YCbCr // Y = Coef. for red*Red+Coef. for green*Green+Coef. for blue*Blue // Cb = (Blue-Y)/(2-2*Coef. for blue) // Cr = (Red-Y)/(2-2*Coef. for red) // YCbCr -> RGB // Red = Cr*(2-2*Coef. for red)+Y // Green = (Y-Coef. for b
DFT&DCT
- 编程实现二维8*8图像块的DFT,DCT变换 输入一副RGB图像,将其转化为YCbCr颜色空间,然后对Y分量做分块DFT变换,保存为灰度图像,统计计算时间 编程实现8*8块DCT变换,然后分别显示,当使用64个DCT系数里面的一些系数进行重构,比较其质量;同时熟悉采用FFT来实现DCT变换的思想,并显示2维8*8DCT变换的基函数图像(Programming the DFT, DCT transform of two dimensional 8*8 image block Input