摘要 |
Image colour information is processed, the image being composed of at least one first colour component and at least one second colour component, wherein samples of the first component and the second component are arranged according to a colour sampling format (e.g. 4:2:0, 4:2:2 or 4:4:4) and wherein samples of the second component are predictable from samples of the first component. Colour information representative of the colour sampling format is provided, a prediction process for predicting samples of the second component from samples of the first component is determined based on the provided colour information and the determined prediction process is performed on samples of the first colour component to predict samples of the second colour component. As the prediction process takes into account the information relating to the colour sampling format, the process is not restricted to any particular format and consequently different formats may be processed. The processing may form part of encoding an image. |