Video signal processing method and device for performing intra-prediction for an encoding/decoding target block
A method for decoding a video according to the present invention may comprise: deriving a plurality of reference sample lines for a current block, selecting at least two among the plurality of reference sample lines, and performing intra prediction for the current block based on the selected reference sample lines.
1. A method of decoding an image, comprising:
receiving a bitstream including the image;
determining an intra prediction mode for a chroma component of a current coding unit in the image;
obtaining a plurality of reference samples for predicting a chroma sample of the current coding unit; and
predicting the chroma sample of the current coding unit based on the intra prediction mode,
wherein predicting the chroma sample of the current coding unit comprises determining a minimum value of the plurality of reference samples,
wherein the chroma sample is predicted based on the determination of the minimum value,
wherein the plurality of reference samples are derived from reconstruction samples included in a plurality of sample lines outside the current coding unit, and
wherein the plurality of sample lines includes a neighboring sample line adjacent to the current coding unit and a non-neighboring sample line not adjacent to the current coding unit.
2. The method of claim 1 , wherein positions of the reference samples used for predicting the chroma sample is adaptively determined based on the intra prediction mode for the chroma component.
3. A method of encoding an image, comprising:
determining an intra prediction mode for a chroma component of a current coding unit in the image; and
encoding a residual signal of a chroma sample resulting from predicting the chroma sample of the current coding unit based on the intra prediction mode,
wherein a plurality of reference samples for predicting the chroma sample of the current coding unit are derived from reconstruction samples outside the current coding unit, and
wherein the chroma sample of the current coding unit is predicted based on a result determining a minimum value of the plurality of reference samples,
wherein the plurality of reference samples are derived from reconstruction samples included in a plurality of reference sample lines outside the current coding unit, and
wherein the plurality of sample lines includes a neighboring sample line adjacent to the current coding unit and a non-neighboring sample line not adjacent to the current coding unit.
4. A non-transitory computer-readable medium for storing compressed data associated with an image signal,
the compressed data being generated by an image encoding method,
the image encoding method comprising:
determining an intra prediction mode for a chroma component sample of a current coding unit in the image; and
encoding a residual signal of a chroma sample resulting from predicting the chroma sample of the current coding unit based on the intra prediction mode,
wherein a plurality of reference samples for predicting the chroma sample of the current coding unit are derived from reconstruction samples outside the current coding unit, and
wherein the chroma sample of the current coding unit is predicted based on a result determining a minimum value of the plurality of reference samples,
wherein the plurality of reference samples are derived from reconstruction samples included in a plurality of sample lines outside the current coding unit, and
wherein the plurality of sample lines includes a neighboring sample line adjacent to the current coding unit and a non-neighboring sample line not adjacent to the current coding unit.