摘要 |
Provided are an intra-frame pixel prediction method, encoding method and decoding method, and an intra-frame pixel prediction device. The intra-frame pixel prediction method comprises: defining a target template of a pixel to be predicted currently; comparing the target template with candidate templates in a search region of the frame, and determining, from the candidate templates, at least one matching template matching the target template; and based on the at least one matching template, determining a prediction value of the pixel to be predicted currently. In the intra-frame pixel prediction method in the embodiments of the present invention, the template matching is conducted by taking a pixel point as a unit, so that a pixel can be predicted accurately. According to the pixel encoding method and decoding method in the embodiments of the present invention comprising the pixel rearrangement technology and the intra-frame prediction technology, the method for conducting intra-frame prediction by taking a pixel as a unit can be used in combination with the traditional technologies of taking a block as a unit,<b/>such as conversion, quantification and encoding, and at the same time, the problem of the spread of prediction errors can be overcome or reduced. |