CPC G06T 11/001 (2013.01) [G06T 5/20 (2013.01); H04N 7/0155 (2013.01)] | 16 Claims |
1. An image processing apparatus comprising:
a memory storing information on at least one random patch; and
at least one processor configured to:
obtain a first random patch and a second random patch based on the information stored in the memory;
obtain an output image by applying, to a pixel block included in an input image, the first random patch multiplied by a first weight and the second random patch multiplied by a second weight;
apply the first random patch to the pixel block so that a random value at a first position included in the first random patch is added to a first pixel included in the pixel block; and
apply the second random patch to the pixel block so that a random value at the first position included in the second random patch is added to the first pixel included in the pixel block,
wherein the first weight is obtained based on a correlation between the pixel block and the first random patch, and the second weight is obtained based on a correlation between the pixel block and the second random patch, and
wherein the first weight and the second weight are different according to a type of the pixel block.
|