首页>
外国专利>
Method and apparatus for optimizing a JPEG image using regionally variable compression levels
Method and apparatus for optimizing a JPEG image using regionally variable compression levels
展开▼
机译:使用区域可变压缩级别优化JPEG图像的方法和设备
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method of JPEG compression of an image frame divided up into a plurality of non-overlapping, tiled 8×8 pixel blocks Xi. A global quantization matrix Q is determined by either selecting a standard JPEG quantization table or selecting a quantization table such that the magnitude of each quantization matrix coefficient, Q[m,n] is inversely proportional to the aggregate visual importance in the image of the corresponding DCT basis vector. Next a linear scaling factor Si is selected for each block, bounded by user selected values Smin and Smax. Transform coefficients, Yi, obtained from a digital cosine transform of Xi, are quantized with global table Smin Q while emulated the effects of quantization with local table Si Q and the quantized coefficients Ti[m,n] and global quantization table Smin Q are entropy encoded , where Smin is a user selected minimum scaling factor, to create a JPEG Part 1 image file. The algorithm is unique in that it allows for the effect of variable-quantization to be achieved while still producing a fully compliant JPEG Part 1 file.
展开▼
机译:JPEG压缩图像帧的方法,该图像帧分为多个不重叠的平铺8×8像素块X i Sub>。通过选择标准JPEG量化表或选择量化表来确定全局量化矩阵Q,以使每个量化矩阵系数Q [m,n]的大小与相应图像的总视觉重要性成反比。 DCT基本向量。接下来,为每个块选择一个线性缩放因子S i Sub>,以用户选择的值S min Sub>和S max Sub>为边界。从X i Sub>的数字余弦变换获得的变换系数Y i Sub>用全局表S min Sub> Q进行量化,同时模拟对本地表S i Sub> Q进行量化,量化系数T i Sub> [m,n]和全局量化表S min Sub> Q进行熵编码,其中S min Sub>是用户选择的最小缩放比例,以创建JPEG Part 1图像文件。该算法的独特之处在于,它可以在实现变量量化效果的同时仍生成完全兼容的JPEG Part 1文件。
展开▼