The invention relates to an image coding method, a decoding method, a corresponding device and a pixel prediction method in the frame. The image coding method includes pixel block step, pixel block in one frame image, pixel value prediction step, pixel value prediction processing for each pixel in block, and first prediction value for each pixel in block. The discrete cosine transform, quantization and entropy coding steps are used to make discrete cosine transform, quantization and entropy coding for the residual block corresponding to the current code block obtained by the residual calculation step, in which the quantized residual block is used to reconstruct the pixel value at the coding end, and the residual block after the entropy coding is sent for transmission. To the decode; the pixel value reconfiguration step is reconstructing the pixel value of the previously encoded pixel, the reconstructed pixel value is used for the pixel value prediction step, and the residual calculation step includes the first prediction value of the pixel and the true value of the pixel predicted based on the pixel value prediction step, and the first residue of the pixel is calculated. Difference; determines whether the first residual difference of the pixel is a normal residual or an abnormal residual; if the first residual difference of the pixel is an abnormal residual, the abnormal residual correction is made, including the location of the pixel that records the abnormal residual, and the pixel is repredicted, the second prediction value and the corresponding second residuals are obtained, and the record weight is recorded. The new prediction information enables the pixel value reconstruction step and the decode end of the coding end to reconstruct and decode the pixel values based on the location and reprediction of the pixels that have the abnormal residuals, in which the residuals of the pixels of the currently pending block, modified by the abnormal residuals, constitute the positive block. A constant residual block, which is processed for the next step of the discrete cosine transform, quantization and entropy coding steps, encoding the position of the pixels of the abnormal residual and the reprediction information separately, the encoding process is lossless, the encoded pixel position and the reprediction information are used in the pixel value reconstruction step and used to send to the code. Decode. Pixels can be rearranged before pixels are partitioned, so as to avoid error diffusion. In the pixel value prediction processing, the prediction algorithm can be predicted first, and then the pixel value is predicted according to the prediction algorithm. The accuracy of the image codec can be improved by dividing the pixel residuals into normal residuals and abnormal residuals, as well as the re prediction of the pixels of the abnormal residual.
【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。
【技术保护点】
PCT国内申请,权利要求书已公开。
【技术特征摘要】
【国外来华专利技术】PCT国内申请,...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。