In screen 105, in operation AF, the electronic device 100 may adjust a focus on an external object by moving the one or more lenses included in the camera module 110 based on the generated phase difference data. As such, the electronic device 100 may display a preview image focusing on the external object to the display 120.
An example is illustrated in FIG. 1 as the camera module 110 is a front camera of the electronic device 100. However, the disclosure is not limited thereto. For example, the camera module 110 may be disposed on at least one of a back surface or a side surface of the electronic device 100.
FIG. 2A illustrates a configuration diagram of an image sensor including one pixel according to an embodiment of the disclosure.
Referring to FIG. 2A, according to an embodiment, an image sensor 200 may include at least one pixel 210 and a control circuit 220. For convenience of description, an example is illustrated in FIG. 2A as the image sensor 200 includes one pixel. However, the disclosure is not limited thereto. For example, the image sensor 200 may include a plurality of pixels that are formed to have a specified channel pattern.
According to an embodiment, the at least one pixel 210 may include a first micro lens ML1, a second micro lens ML2, a third micro lens ML3, a color filter CF1, a first sub-pixel PD1, a second sub-pixel PD2, a third sub-pixel PD3, and a fourth sub-pixel PD4.