CPC H04N 19/186 (2014.11) [H04N 19/176 (2014.11); H04N 19/59 (2014.11)] | 16 Claims |
1. A method for picture prediction, implemented in an encoder and comprising:
determining at least one colour component of a current block in a picture;
pre-processing the at least one colour component of the current block to obtain at least one pre-processed colour component; and
constructing a prediction model according to the at least one pre-processed colour component, wherein the prediction model is used to perform cross-component prediction on the at least one colour component of the current block, wherein
the method further comprises:
performing characteristic statistics on the at least one colour component of the current block, wherein the at least one colour component comprises a first colour component, or a second colour component, or the first colour component and the second colour component; and
obtaining, according to a result of characteristic statistics, a reference value of the first colour component of the current block, or a reference value of the second colour component of the current block, or the reference value of the first colour component and the reference value of the second colour component, wherein the first colour component is a component used for prediction when the prediction model is constructed, and the second colour component is a component that is predicted when the prediction model is constructed.
|