An electronic device includes: memory; a
color filter array (CFA); an
image sensor operatively connected to the CFA, the
image sensor being configured to capture a plurality of images respectively having a plurality of measured spectral densities in a plurality of
spectral bands; and a processor operatively connected to the at least one memory and the
image sensor, wherein the at least one processor is configured to: measure a plurality of
crosstalk values in a plurality of pixels and in a plurality of K channels of the plurality of images (the K represents a number of pixels per a color of the CFA), estimate a plurality of spectral-
crosstalk values by applying an
estimation function to the plurality of
crosstalk values, and control to store, in at least one of the memory, the image sensor, or the processor, the estimated plurality of spectral-crosstalk values.