CPC H04N 19/182 (2014.11) [G06T 5/00 (2013.01); H04N 9/646 (2013.01)] | 20 Claims |
1. A computer implemented method including:
accessing input image data defining a plurality of input pixels of an input image; and
processing the input image data to generate an output image, the output image defined by output image data, the output image data defining a plurality of output pixels, wherein each output pixel corresponds to an input pixel and at least one output pixel is generated by a sampling process that includes:
selecting a first working pixel from the plurality of input pixels;
selecting a first set of sample pixels, wherein the first set of sample pixels includes at least two of the plurality of input pixels; and
generating a first output pixel that corresponds to the first working pixel based on the first set of sample pixels,
wherein selecting the first set of sample pixels includes:
selecting a first candidate pixel from the plurality of input pixels;
determining a first depth separation between the first working pixel and the first candidate pixel, wherein the first depth separation is determined based on depth data that is associated with the input image and the depth data provides a first working pixel depth and a first candidate pixel depth;
determining a first depth-adjusted sampling area for the first candidate pixel based on the first depth separation;
determining that the first candidate pixel is positioned within the first depth-adjusted sampling area; and
in response to determining that the first candidate pixel is positioned within the first depth-adjusted sampling area, selecting the first candidate pixel for inclusion in the first set of sample pixels for the first working pixel.
|