Patent ID: 11967040
Assignee: CANON KABUSHIKI KAISHA
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 17:
18. An imaging device comprising:
one or more circuits; or
one or more processors and at least one memory, the at least one memory being coupled to the one or more processors and having stored thereon instructions executable by the one or more processors, wherein at least one of the one or more circuits or the execution of the instructions cause the imaging device to function as:
an input unit configured to input an image; and
a processing unit configured to perform demosaic processing by using a trained model obtained by machine learning using a data set including a pair of a second image and a third image;

wherein the second image is a first image to which noise is added,
the third image is a mosaic image obtained by thinning predetermined pixels from the first image by mosaic processing to which noise is added, and it is used for the machine learning as a pair of the second image, and
the processing unit performs the demosaic processing for the input image,

wherein the at least one of the one or more circuits or the execution of the instructions cause the imaging device to cause a generation unit to function as:
a separation unit configured to separate the first image into channel images corresponding to each channel of RGB;
an addition unit configured to add noise to each of the channel images;
a mosaic image generation unit configured to generate a mosaic image to which noise is added by sampling, in accordance with a color filter array, predetermined pixels in each channel image to which the noise is added by the addition unit;
a connection unit configured to generate an image including three channels of RGB to which noise is added by connecting each channel image to which the noise is added by the addition unit; and
an image pair generation unit configured to obtain the data set by taking the demosaic image to which the noise is added as the third image and the image including three channels of RGB to which the noise is added as the second image.