Patent ID: 11943518
Assignee: CANON KABUSHIKI KAISHA
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 14:
15. A non-transitory computer readable medium that stores a program, wherein the program causes a computer to execute:
an input step of inputting an image signal of a visible light pixel and an image signal of a near-infrared pixel, output from a sensor that includes a plurality of groups including a first visible light pixel component, a second visible light pixel component, a third visible light pixel component, and a near-infrared pixel component;
a determination step of determining whether or not an output signal of the near-infrared pixel is higher than a threshold;
a detection step of detecting a saturated visible light pixel, an output value from which is higher than a saturation threshold; and
a switching step of switching over saturation processing to be applied to the saturated visible light pixel on the basis of the determination result at the determination step, wherein the switching step is further configured:
to select, when the output signal of the near-infrared pixel is lower than the threshold, first saturation processing in which a pixel value of the saturated visible light pixel of each color is replaced with a predetermined value, and
to select, when the output signal of the near-infrared pixel is higher than the threshold, second saturation processing in which a pixel value of each visible light pixel included in one of the plurality of groups including the saturated visible light pixel is determined based on a pixel value of each unsaturated visible light pixel of another group in the vicinity of one of the plurality of groups.