CPC H04N 19/593 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/159 (2014.11); H04N 19/167 (2014.11); H04N 19/176 (2014.11); H04N 19/182 (2014.11); H04N 19/196 (2014.11); H04N 19/59 (2014.11)] | 16 Claims |
1. A method for coding a current block using an intra-prediction mode, comprising:
selecting a focal point, the focal point having coordinates (a, b) in a coordinate system and selected from a plurality of candidate focal points partitioned into groups of candidate focal points, each group of candidate focal points being arranged on a circumference of a respective circle centered at a point within the current block;
generating, using first peripheral pixels and second peripheral pixels, a prediction block for the current block,
wherein the first peripheral pixels form a first peripheral pixel line constituting an x-axis,
wherein the second peripheral pixels form a second peripheral pixel line constituting a y-axis,
wherein the first peripheral pixel line and the second peripheral pixel line form the coordinate system having an origin, and
wherein generating the prediction block comprises:
for each location of the prediction block at a location (i, j) of the prediction block, determining at least one of an x-intercept or a y-intercept,
wherein the x-intercept is a first point at which a line formed by a point centered at the each location of the prediction block and the focal point crosses the first peripheral pixel line, and
wherein the y-intercept is a second point at which the line formed by the point centered at the each location of the prediction block and the focal point crosses the second peripheral pixel line; and
determining a prediction pixel value for the each location of the prediction block using the at least one of the x-intercept or the y-intercept; and
coding a residual block corresponding to a difference between the current block and the prediction block.
|