主权项 |
1. An image processing device, comprising:
processing circuitry configured to implement a calculator; and an output interface, wherein the calculator acquires first image information including a value of a first pixel and values of each of a plurality of peripheral pixels disposed around the first pixel, the first pixel being disposed at a first position and having a first color, at least one of the peripheral pixels including a second pixel having a second color, the second color being different from the first color, the calculator calculates, based on the value of the first pixel and a value of at least one of the peripheral pixels, a first feature quantity of the value of the first pixel relating to a difference between the value of the first pixel and the values of each of the peripheral pixels, the calculator calculates a value relating to the second color at the first position by using a first filter coefficient and a value of the second pixel, the first filter coefficient being determined according to the first feature quantity and the first position, and the output interface outputs second image information based on the calculated value relating to the second color at the first position. |