1. An electronic device comprising: at least one image sensor; and a processor configured to obtain, from the at least one image sensor, a plurality of images comprising a first image having a first noise, and a second image having a second noise; grant a first weight to the first image and a second weight to the second image; and combine, based on the first weight and the second weight, the first image and the second image to provide an output image, wherein, if the first noise is equal to or greater than a threshold value and the second noise is less than the threshold value, the second weight is granted higher than the first weight.