CPC H04N 23/81 (2023.01) [G06F 18/2148 (2023.01); G06F 18/40 (2023.01); G06N 20/00 (2019.01); G06T 3/4015 (2013.01); G06T 3/4038 (2013.01); G06T 5/20 (2013.01); G06T 5/70 (2024.01); G06T 7/90 (2017.01); H04N 23/90 (2023.01); G06T 2207/10016 (2013.01); G06T 2207/10024 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01); G06T 2207/20182 (2013.01)] | 15 Claims |
1. A method, performed by an electronic device including a camera module, of generating noise-reduced image data of an object, the method comprising:
obtaining, by a second processor of the electronic device, from a first processor of the electronic device, a control signal for obtaining image data;
storing a learning model into a memory;
obtaining, by using the camera module, raw image data of the object obtained from light received by the camera module, the raw image data having a color array of a plurality of colors with respect to a plurality of pixels;
obtaining, by using the stored learning model, a color data set of the plurality of pixels from the obtained raw image data, the color data set comprising a plurality of pieces of color data representing the plurality of colors; and
obtaining the noise-reduced image data of the object by using the obtained color data set,
wherein the learning model is trained by using input data and target data,
wherein the target data is obtained based on a standard color data set comprising a plurality of pieces of standard color data classified according to the plurality of colors, the plurality of pieces of standard color data being obtained by applying a down-sampling filter to sample raw image data, and
wherein the input data is obtained based on training raw image data and random noise generated by a noise generator, the training raw image data being obtained by performing mosaicing based on the standard color data set.
|