1. An electronic device comprising: an image sensor configured to acquire image data from an array of pixels included in the image sensor; and at least one processor configured to process the image data, wherein the array of pixels comprises: a first plurality of pixels configured to have a first identical exposure time; and a second plurality of pixels configured to have a second identical exposure time, wherein the first identical exposure time is identical to or different from the second identical exposure time, and wherein the at least one processor is configured to control the image sensor such that the first plurality of pixels are changed from at least one of a state of having the exposure time identical to that of the second plurality of pixels to a state of having the exposure time different from that of the second plurality of pixels, and a state of having the exposure time different from that of the second plurality of pixels to a state of having the exposure time identical to that of the second plurality of pixels, based on at least some of the image data.