Patent ID: 8817137
Filing Date: 2014-08-26
Classification: H04N

Abstract:
1. An image processing device, comprising: an image input part inputting image data formed of, among a plurality of pixels each corresponding to any one of two-dimensionally arranged a first color element, a second color element, and a third color element, a first type pixel whose first color element is known and whose second color element and third color element are unknown, a second type pixel whose second color element is known and whose first color element and third color element are unknown, and a third type pixel whose third color element is known and whose first color element and second color element are unknown; a first color element interpolating part determining, with respect to a target pixel in which the first color element is unknown, a first interpolation value of the first color element by referring to the first type pixels in a neighborhood of the target pixel; a first convexoconcave structure calculating part calculating a first convexoconcave structure in the target pixel by referring to the target pixel and at least either of the second type pixels and the third type pixels in the neighborhood of the target pixel; a first convexoconcave addition part adding the first convexoconcave structure to the first interpolation value to determine a second interpolation value; a first color range calculating part determining a range of the first color element in the target pixel by referring to the first type pixels in the neighborhood of the target pixel; a clip part determining a third interpolation value by clipping the second interpolation value to fall within the range; a second convexoconcave structure calculating part calculating a second convexoconcave structure in the target pixel by referring to the target pixel and at least either of the second type pixels and the third type pixels in the neighborhood of the target pixel; a second convexoconcave addition part adding the second convexoconcave structure to the first interpolation value to determine a fourth interpolation value; and an interpolation value selecting part selecting one of the third interpolation value and the fourth interpolation value, based on the range set by the first color range calculating part.