| CPC H04N 23/687 (2023.01) [H04N 23/80 (2023.01); H04N 25/48 (2023.01); H04N 23/951 (2023.01)] | 20 Claims |

|
1. An electronic device comprising:
a camera module configured to perform an optical image stabilization (OIS) function;
memory, comprising one or more storage media, storing instructions; and
at least one processor communicatively coupled to the memory and the camera module,
wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
control the camera module to continuously acquire first image data including first pixel data, second image data including second pixel data, third image data including third pixel data, and fourth image data including fourth pixel data by using the OIS function, wherein the first image data, the second image data, the third image data, and the fourth image data have different phases from each other due to the OIS function,
acquire a plurality of fifth pixel data based on a center of mass calculation of the first pixel data, the second pixel data, the third pixel data, and the fourth pixel data, and
generate a first image frame based on the plurality of fifth pixel data,
wherein an interval between pixels of the plurality of fifth pixel data is adjusted to be narrower than an interval between pixels of first image data,
wherein the different phases of the first image data, the second image data, the third image data, and the fourth image data result in different positions of a corresponding pixel in each of the first image data, the second image data, the third image data, and the fourth image data, and
wherein a center of mass of the corresponding pixels is not positioned an equal distance from each of the first image data, the second image data, the third image data, and the fourth image data.
|