The present invention relates to a lossless compression and decoding method based on inverse quantization/inverse transform. Firstly, the quantization parameters used in the current frame are obtained by decoding the header information of each frame; the predicted image blocks of the current frame are obtained by decoding the predicted information; according to the residual bit symbol information of the current frame image blocks in the stream, it is necessary to determine whether the residual of the current frame image blocks needs to be inversely quantized and inversely transformed, if necessary. Decode the current frame image block residual coefficient C and inverse quantize C to get matrix Y; inverse transform Y to get the first residual information R of the current frame image block; continue to decode the second residual information of the current frame image block, and add the two residual information to get the final residual information of the current frame image block; if not, decode the current frame image block residual coefficient directly as the current frame image block residual information. The final residual information of the frame image block, the prediction image block and the final residual information of the current frame image block are combined to obtain the current frame reconstruction image block, which greatly improves the lossless compression performance.
【技术实现步骤摘要】
一种基于逆量化/逆变换的无损压缩解码方法
本专利技术适用于一种无损压缩视频解码方法,特别是适用于HEVC无损压缩解码的优化方法。
技术介绍
自H.264/AVC视频压缩标准提出以后,由于具有较高的压缩效率和较强的网络适应性,H.264/AVC得到了广泛应用,也为视频传输与普及做出了巨大贡献。然而随着网络与信息技术的发展,人们需要越来越多的高质量视频多媒体信息。随着1080p高清视频的普及,人们开始追求更高的质量视频体验,如4K(分辨率为3840x2160)甚至8K(分辨率为7680x4320);同时人们对数字视频帧率(framerate)要求也逐渐提高由30fps逐渐提高到60fps甚至120fps;随着智能手机,平板电脑,VR头盔和高清摄像机的广泛应用,大量的高清视频随之产生。传统视频压缩编码技术H.264/AVC已经不能满足高清视频的压缩存储与传输的需求,因此MPEG(MovingPicturesExpertsGroup)和VCEG(VideoCodingExpertsGroup)联合组织在2013推出了新一代视频编码标准HEVC(HighEfficiency ...
【技术保护点】
1.一种基于逆量化/逆变换的无损压缩解码方法,其特征在于包括以下步骤:(1)首先在解码每帧头信息时,获取当前帧使用的量化参数QP,其中所述的量化参数QP从码流中直接获取,进入步骤2;其中所述的量化参数QP用于表示当前帧反量化时的参数;(2)解码预测信息,得到当前帧的预测图像块,进入步骤3;(3)根据码流中当前帧图像块的残差位符号信息判断是否需要对当前帧图像块的残差进行逆量化和逆变换,如果需要,进入步骤4,如果不需要,进入步骤5;其中,所述的残差位符号信息从码流中获取,用于表征残差是否需要进行逆量化和逆变换;(4)解码当前帧图像块残差系数C,并对C进行逆量化得到逆量化以后的矩 ...
【技术特征摘要】
1.一种基于逆量化/逆变换的无损压缩解码方法,其特征在于包括以下步骤:(1)首先在解码每帧头信息时,获取当前帧使用的量化参数QP,其中所述的量化参数QP从码流中直接获取,进入步骤2;其中所述的量化参数QP用于表示当前帧反量化时的参数;(2)解码预测信息,得到当前帧的预测图像块,进入步骤3;(3)根据码流中当前帧图像块的残差位符号信息判断是否需要对当前帧图像块的残差进行逆量化和逆变换,如果需要,进入步骤4,如果不需要,进入步骤5;其中,所述的残差位符号信息从码流中获取,用于表征残差是否需要进行逆量化和逆变换;(4)解码当前帧图像块残差系数C,并对C进行逆量化得到逆量化以后的矩阵Y;对Y进行逆变换,得到当前帧图像块的第一次残差信息R;继续解码当前帧图像块二次残差信息,将两次残差信息相加得到当前帧图像块的最终残差信息,并进入步骤6;其中,Y中第i行和第j列的元素yi,j的计算公式如下:其中,ci...
【专利技术属性】
技术研发人员:施云惠,刘小杰,丁文鹏,尹宝才,
申请(专利权)人:北京工业大学,
类型:发明
国别省市:北京,11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。