Electronic device and image control method of the electronic device

An electronic device is provided. The electronic device includes a camera including a plurality of lenses, a display, and a processor, in which the processor is configured to display a plurality of icons corresponding to the plurality of lenses, based on first position information in a first photographing mode, and upon selection of a first icon by a first gesture from the plurality of icons in the first photographing mode, switch to a second photographing mode and display a zoom control region including a plurality of zoom levels having a first zoom level of a first lens corresponding to the first icon as a reference zoom level and the plurality of icons rearranged based on second position information corresponding to the plurality of zoom levels.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is based on and claims priority under 35 U.S.C. § 119(a) of a Korean patent application number 10-2019-0019401, filed on Feb. 19, 2019, in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein in its entirety.

BACKGROUND

The disclosure relates to an electronic device and an image control method of the electronic device.

2. Description of Related Art

Still image shooting or moving image shooting using an electronic device has increased, and a user may in advance check an image to be shot in a photographing mode that displays an image to be obtained through a camera, before still image shooting or moving image shooting. In the photographing mode, the user may perform various functions such as enlargement/reduction, brightness control, etc., with respect to the image.

In the photographing mode of the electronic device where the image to be obtained through the camera is displayed before still image shooting or moving image shooting, the image displayed in the photographing mode may be enlarged and reduced through manipulation of a pinch zoom-in/out or shooting button.

SUMMARY

Aspects of the disclosure are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the disclosure is to provide an electronic device capable of conveniently providing an enlargement and reduction function with respect to an image in a photographing mode where an image is displayed before shooting, and an image control method of the electronic device.

In accordance with an aspect of the disclosure, an electronic device is provided. The electronic device includes a camera including a plurality of lenses, a display, and a processor, in which the processor is configured to display a plurality of icons corresponding to the plurality lenses, based on first position information in a first photographing mode, and upon selection of an icon by a first gesture from among the plurality of icons in the first photographing mode, to switch to a second photographing mode to display a zoom control region including a plurality of zoom levels having a zoom level of a lens corresponding to the selected icon as a reference zoom level and the plurality of icons rearranged in position based on second position information corresponding to the plurality of zoom levels.

In accordance with another aspect of the disclosure, an image control method of an electronic device is provided. The image control method includes displaying a plurality of icons corresponding to the plurality lenses, based on first position information in a first photographing mode and upon selection of an icon by a first gesture from among the plurality of icons in the first photographing mode, switching to a second photographing mode to display a zoom control region including a plurality of zoom levels having a zoom level of a lens corresponding to the selected icon as a reference zoom level and the plurality of icons rearranged in position based on second position information corresponding to the plurality of zoom levels.

DETAILED DESCRIPTION

The input device150may receive a command or data to be used by another component (e.g., the processor120) of the electronic device101, from the outside (e.g., a user) of the electronic device101. The input device150may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).

The haptic module179may convert an electrical signal into a mechanical stimulus (e.g., a vibration or motion) or electrical stimulus which may be recognized by a user via a user's tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module179may include, for example, a motor, a piezoelectric element, or an electric stimulator.

The communication module190may support establishing a wired or wireless communication channel between the electronic device101and an external electronic device (e.g., the electronic device102, the electronic device104, or the server108) and performing communication through the established communication channel. The communication module190may include one or more communication processors that are operable independently from the processor120(e.g., the AP) and supports a direct (e.g., wired) communication or a wireless communication.

According to an embodiment, the communication module190may include a wireless communication module192(e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module194(e.g., a local area network (LAN) communication module or a power line communication (PLC) module).

A corresponding one of these communication modules may communicate with the external electronic device via the first network198(e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network199(e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multi components (e.g., multi chips) separate from each other. The wireless communication module192may identify and authenticate the electronic device101in a communication network, such as the first network198or the second network199, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the SIM196.

FIG. 2is a block diagram200of the camera module180according to an embodiment of the disclosure. Referring toFIG. 2, the camera module180may include a lens assembly210, a flash220, an image sensor230, an image stabilizer240, memory250(e.g., buffer memory), or an image signal processor260. The lens assembly210may collect light emitted or reflected from an object whose image is to be taken. The lens assembly210may include one or more lenses. According to an embodiment, the camera module180may include a plurality of lens assemblies210. In such a case, the camera module180may form, for example, a dual camera, a 360-degree camera, or a spherical camera. Some of the plurality of lens assemblies210may have the same lens attribute (e.g., view angle, focal length, auto-focusing, f number, or optical zoom), or at least one lens assembly may have at least one lens attributes different from those of another lens assembly. The lens assembly210may include, for example, a wide-angle lens or a telephoto lens. The flash220may emit light that is used to reinforce light reflected from an object. The flash220may include one or more light emitting diodes (LEDs) (e.g., a red-green-blue (RGB) LED, a white LED, an infrared (IR) LED, or an ultraviolet (UV) LED) or a xenon lamp.

The image sensor230may obtain an image corresponding to an object by converting light emitted from the object and transmitted via the lens assembly210into an electrical signal. According to an embodiment, the image sensor230may include one selected from image sensors having different attributes, such as an RGB sensor, a black-and-white (BW) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same attribute, or a plurality of image sensors having different attributes. Each image sensor included in the image sensor230may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.

The image stabilizer240may move or control (e.g., adjust read-out timing) at least one lens included in the lens assembly210or the image sensor230to at least partially compensate for a negative influence (e.g., image blurring) of movement of the camera module180or the electronic device101including the same upon a captured image in response to the movement. According to an embodiment, the image stabilizer240may be implemented with, for example, an optical image stabilizer, and may sense such a movement using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module180.

The memory250may store, at least temporarily, at least part of an image obtained via the image sensor230for a subsequent image processing task. For example, if image capturing is delayed due to shutter lag or multiple images are quickly captured, a raw image obtained (e.g., a high-resolution image) may be stored in the memory250, and its corresponding copy image (e.g., a low-resolution image) may be previewed via the display device160. Thereafter, if a specified condition is met (e.g., by a user's input or system command), at least part of the raw image stored in the memory250may be obtained and processed, for example, by the image signal processor360. According to an embodiment, the memory250may be configured as at least part of the memory130or as a separate memory that is operated independently from the memory130.

The image signal processor260may perform image processing (e.g., depth map generation, three-dimensional (3D) modeling, panorama generation, feature point extraction, image synthesizing, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening) on an image obtained by the image sensor230or an image stored in the memory250. Additionally or alternatively, the image signal processor260may perform control (e.g., exposure time control or read-out timing control) with respect to at least one (e.g., the image sensor230) of the components included in the camera module180. An image processed by the image signal processor260may be stored back in the memory250for further processing, or may be provided to an external component (e.g., the memory130, the display device160, the electronic device102, the electronic device104, or the server108) outside the camera module180. According to an embodiment, the image signal processor260may be configured as at least part of the processor120, or as a separate processor that is operated independently from the processor120. When the image signal processor260is configured as a separate processor, images processed by the image signal processor260may be displayed, by the processor120, via the display device160as it is or after being further processed.

According to an embodiment, the electronic device101may include two or more camera modules180having different attributes or functions. In this case, for example, at least one camera module180may be a wide-angle camera or a front camera, and at least one another camera module may be a telescopic camera or a rear camera.

FIG. 3is a schematic block diagram of an electronic device, according to an embodiment of the disclosure.

Referring toFIG. 3, a block diagram300of an electronic device301is illustrated. The electronic device300may be implemented substantially identically or similarly to the processor120ofFIG. 1. For example, the electronic device301may be implemented with a smartphone or a tablet PC.

The electronic device301may include a camera310, a processor320, a memory330, and a display360.

The camera310may be implemented substantially identically or similarly to the camera module180ofFIG. 1orFIG. 2.

According to various embodiments, the camera310(e.g., the camera module180ofFIGS. 1 and 2) may include a plurality of lenses (e.g., the plurality of lens assemblies210ofFIG. 2) which have different zoom levels. For example, the plurality of lenses may include at least two of an ultra-wide lens, a standard lens, or a tele lens. The ultra-wide lens may include a zoom level having a magnification of ×0.5-×0.9, the standard lens may include a zoom level having a magnification of ×1.0-×2.0, and the tele lens may include a zoom level having a magnification of ×2.0 or higher.

The processor320may control overall operations of the electronic device301. For example, the processor320may be implemented substantially identically or similarly to the processor120ofFIG. 1.

According to various embodiments, the processor320may display a plurality of icons corresponding to a plurality of lenses included in the camera310based on first position information in a first photographing mode, obtain an image at a zoom magnification of a lens corresponding to an icon selected by a first gesture from among the plurality of icons, and display the obtained image on the display360(e.g., the display160ofFIG. 1).

According to an embodiment, the first gesture may include various gestures including a tap.

According to an embodiment, the processor320may display the plurality of icons corresponding to the plurality of lenses in the first photographing mode for obtaining and displaying the image through the lens of the camera before performing photographing (e.g., still image shooting or moving image shooting).

According to an embodiment, the processor320may arrange and display the plurality of icons at equal intervals, based on the first position information in the first photographing mode. In the first photographing mode, the first position information for arranging the plurality of icons may be changed by a user.

According to an embodiment, upon selection of switchover to the first photographing mode (e.g., selection of an icon corresponding to a camera application), the processor320may display the plurality of icons while obtaining and displaying an image at a zoom magnification (e.g., ×1.0) of a lens set by default (e.g., a standard lens) among the plurality of lenses or at the zoom magnification (e.g., ×2.0) of a lens set in the previous first photographing mode.

According to an embodiment, the processor320may obtain and display an image at a zoom magnification of a lens corresponding to an icon selected by the first gesture from among the plurality of icons in the first photographing mode. While displaying the image obtained at the zoom magnification of the lens corresponding to the icon selected by the first gesture, the processor320may display the selected icon among the plurality of icons differently from the other icons.

According to an embodiment, the first photographing mode may indicate a photographing mode for still image shooting, moving image shooting, and selfie-shooting.

According to various embodiments, while displaying a plurality of icons corresponding to a plurality of lenses included in the camera310in the first photographing mode, upon selection of an icon from among the plurality of icons by a second gesture, the processor320switches from the first photographing mode to the second photographing mode and display, on the display360(e.g., the display160ofFIG. 1), a zoom control region including a plurality of zoom levels and the plurality of icons rearranged in position based on second position information corresponding to the plurality of zoom levels.

According to an embodiment, the second gesture may include various gestures including a long tap and a left-right swipe. The second gesture may include a gesture that is identical to or different from the first gesture.

According to an embodiment, upon selection of a particular icon from among the plurality of icons by the second gesture after selection of the particular icon by the first gesture in the first photographing mode, the processor320may switch to the second photographing mode.

According to an embodiment, the processor320may display in the second photographing mode, the zoom control region including the plurality of zoom levels having a reference zoom level that is a zoom level of a lens corresponding to the icon selected by the first gesture in the first photographing mode. The processor320may set the zoom level of the lens selected in the first photographing mode to the reference zoom level of the plurality of zoom levels, before switching to the second photographing mode.

According to an embodiment, the processor320may display in the second photographing mode, the zoom control region including the plurality of zoom levels having a reference zoom level that is a zoom level of a lens corresponding to the icon selected by the second gesture.

According to an embodiment, the processor320may rearrange each of the plurality of icons in a position corresponding to a zoom level among the plurality of zoom levels in the second photographing mode. For example, the processor320may display each of the plurality of icons in an upper end or a lower end of a zoom bar indicating the plurality of zoom levels to prevent the plurality of zoom levels from being hidden by the plurality of icons.

According to an embodiment, upon switchover to the second photographing mode, the processor320may display the zoom control region while displaying an image obtained at a zoom level of the lens corresponding to the icon selected by the second gesture.

According to an embodiment, upon detection of a third gesture in the zoom control region in the second photographing mode, the processor320may obtain and display an image at a zoom level of a lens corresponding to a zoom level selected by the third gesture from among the plurality of zoom levels. While displaying the image obtained at the zoom level of the lens corresponding to the zoom level selected by the third gesture, the processor320may display the plurality of zoom levels having the reference zoom level changed to the zoom level selected by the third gesture.

According to an embodiment, the third gesture may include various gestures including a left-right swipe detected in the zoom control region and a tap with respect to an icon among the plurality of icons. The third gesture may include a gesture that is identical to or different from the first gesture or the second gesture.

According to an embodiment, the processor320may switch to the first photographing mode unless the third gesture for enlarging or reducing the image is detected before an elapse of a specific time in the second photographing mode.

According to an embodiment, the processor320may display the plurality of icons in the zoom control region in the second photographing mode by changing display intervals among the plurality of icons based on specifications (e.g., a focal distance) of each of the plurality of icons included in the camera.

According to an embodiment, the second photographing mode may indicate a photographing mode for still image shooting, moving image shooting, and selfie-shooting.

According to various embodiments, while displaying a plurality of icons corresponding to a plurality of lenses included in the camera310in the first photographing mode, upon detection of a fourth gesture on a screen of the display360, the processor320switches from the first photographing mode to the second photographing mode and display, on the display360(e.g., the display160ofFIG. 1), the zoom control region including the plurality of zoom levels and the plurality of icons rearranged in position based on the second position information corresponding to the plurality of zoom levels.

According to an embodiment, the fourth gesture may include various gestures including pinch zoom-in/out, and the fourth gesture may include a gesture that is identical to or different from the first through third gestures.

According to an embodiment, the processor320may obtain and display an image at a zoom level of a lens corresponding to a zoom level selected from among the plurality of zoom levels based on the fourth gesture detected on the screen of the display360, in the second photographing mode.

The memory330may store data of the electronic device301. For example, the memory330may be implemented substantially identically or similarly to the memory130ofFIG. 1. For example, the memory250may be implemented with a non-volatile memory.

The display360may be implemented substantially identically or similarly to the display160ofFIG. 1.

According to various embodiments, the display360may display the plurality of icons corresponding to the plurality of lenses, based on the first position information in the first photographing mode. The display360may display an image obtained at a zoom level of a lens corresponding to an icon selected by the first gesture from among the plurality of icons.

According to various embodiments, the display360may display a plurality of selectable zoom levels and a zoom control region including a plurality of icons rearranged in position based on the second position information corresponding to the plurality of zoom levels, in the second photographing mode. The display360may display an image obtained at a zoom level of a lens corresponding to a zoom level selected by the third gesture or the fourth gesture from among the plurality of zoom levels.

According to various embodiments, an electronic device (e.g., the electronic device101ofFIG. 1or the electronic device301ofFIG. 3) may include a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) including a plurality of lenses, a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3), and a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3), in which the processor is configured to display a plurality of icons corresponding to the plurality lenses, based on first position information in a first photographing mode, and upon selection of an icon by a first gesture from among the plurality of icons in the first photographing mode, switch to a second photographing mode to display a zoom control region including a plurality of zoom levels having a zoom level of a lens corresponding to the selected icon as a reference zoom level and the plurality of icons rearranged in position based on second position information corresponding to the plurality of zoom levels.

According to various embodiments, the processor may be configured to arrange and display the plurality of icons at specific intervals based on the first position information in the first photographing mode.

According to various embodiments, the processor may be configured to, upon selection of an icon by a second gesture from among the plurality of icons in the first photographing mode, display an image at a zoom level of a lens corresponding to the selected icon.

According to various embodiments, the processor may be configured to display the plurality of icons and to differently display the selected icon among the plurality of icons, while displaying an image at a zoom level of a lens corresponding to an icon selected by a second gesture from among the plurality of icons.

According to various embodiments, the processor may be configured to rearrange each of the plurality of icons in a position corresponding to a zoom level among the plurality of zoom levels based on the second position information in the second photographing mode.

According to various embodiments, the processor may be configured to display, in response to switchover to the second photographing mode, the zoom control region, while displaying an image at a zoom level of a lens corresponding to the reference zoom level.

According to various embodiments, the processor may be configured to, upon detection of a third gesture in the zoom control region, display an image at a zoom level of a lens corresponding to a zoom level selected by the third gesture from among the plurality of zoom levels.

According to various embodiments, the processor may be configured to change the zoom level selected by the third gesture to the reference zoom level among the plurality of levels.

According to various embodiments, the processor may be configured to switch to the first photographing mode when the third gesture is not detected in the zoom control region until an elapse of a specific time, while displaying the zoom control region in the second photographing mode.

According to various embodiments, the processor may be configured to switch to the second photographing mode to display the zoom control region upon detection of a fourth gesture on a screen of the display in the first photographing mode.

FIG. 4is a flowchart400for describing an operation of controlling an image in an electronic device, according to an embodiment of the disclosure. An image control method may include operations401through407. The image control method may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 4, in operation401, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a first photographing mode in response to selection of an icon corresponding to a camera application.

In operation403, in response to switchover to the first photographing mode, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 1) may display a plurality of icons corresponding to a plurality of lenses included in a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on a display (the display160ofFIG. 1or the display360ofFIG. 3) based on first position information. The first position information is information for displaying the plurality of icons in the first photographing mode, and based on the first position information, the plurality of icons may be displayed arranged at equal intervals.

In operation405, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may detect selection of an icon by a first gesture (e.g., a tap or a swipe) from among the plurality of icons displayed based on the first position information in the first photographing mode.

In operation407, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 1) may select a lens corresponding to the icon selected by the first gesture among a plurality of lenses included in a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) and obtain and display an image enlarged or reduced at a zoom level of the lens.

FIGS. 5A and 5Bare views500aand500bfor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 5A, upon switchover to a first photographing mode in response to selection of the icon corresponding to a camera application, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3) into first through third screens510through530to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen510, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen530. The processor may display an image obtained through a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the second screen520, and display a first icon525acorresponding to a first lens (e.g., a standard lens) included in the camera and a second icon525bcorresponding to a second lens (e.g., a tele lens) included in the camera, for example, at equal intervals, based the first position information, in a specific region525of the second screen520. Referring toFIG. 5A, upon selection of the first icon525abetween the two icons525aand525bcorresponding to the two lenses by the first gesture (e.g., a tap), the processor may display an image received at a zoom level (e.g., a magnification of ×1.0) of the first lens (e.g., a standard lens) corresponding to the first icon525aon the second screen520. While displaying the image received at the zoom level (e.g., ×1.0) of the first lens (e.g., the standard lens) corresponding to the first icon525aon the second screen520, the processor may differently display the first icon525aselected by the first gesture between the two icons525aand525bdisplayed in the specific region525.

Referring toFIG. 5B, upon selection of the second icon525bbetween the two icons525aand525bcorresponding to the two lenses by the first gesture (e.g., a tap), the processor may display an image received at a zoom level (e.g., a magnification of ×2.0) of the second lens (e.g., a tele lens) corresponding to the second icon525bon the second screen520. While displaying the image received at the zoom level (e.g., ×2.0) of the second lens (e.g., the tele lens) corresponding to the second icon525bon the second screen520, the processor may differently display the second icon525bselected by the first gesture between the two icons525aand525bdisplayed in the specific region525.

FIGS. 6A, 6B, and 6Care views600a,600b, and600cfor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 6A, upon switchover to a first photographing mode in response to selection of the icon corresponding to a camera application, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3) into first through third screens510through530to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen610, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen630. The processor may display an image obtained through a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the second screen620, and display a first icon625acorresponding to a first lens (e.g., an ultra lens) included in the camera, a second icon625bcorresponding to a second lens (e.g., a standard lens) included in the camera, and a third icon625ccorresponding to a third lens (e.g., a tele lens) included in the camera, for example, at equal intervals, based the first position information, in a specific region625of the second screen620. Referring toFIG. 6A, upon selection of the first icon625aamong the three icons625a,625b, and625ccorresponding to the three lenses by a first gesture (e.g., a tap), the processor may display an image reduced at a zoom level (e.g., a magnification of ×0.5) of the first lens (e.g., an ultra lens) corresponding to the first icon625aon the second screen620. While displaying the image received at the zoom level (e.g., ×0.5) of the first lens (e.g., the ultra lens) corresponding to the first icon625aon the second screen620, the processor may differently display the first icon625aselected by the first gesture among the three icons625a,625b, and625cdisplayed in the specific region625.

Referring toFIG. 6B, upon selection of the second icon625bamong the three icons625a,625b, and625ccorresponding to the three lenses by the first gesture (e.g., a tap), the processor may display an image reduced at a zoom level (e.g., a magnification of ×1.0) of the second lens (e.g., a standard lens) corresponding to the second icon625bon the second screen620. While displaying the image received at the zoom level (e.g., ×1.0) of the second lens (e.g., the standard lens) corresponding to the second icon625bon the second screen620, the processor may differently display the second icon625cselected by the first gesture among the three icons625a,625b, and625cdisplayed in the specific region625.

Referring toFIG. 6C, upon selection of the third icon625camong the three icons625a,625c, and625ccorresponding to the three lenses by the first gesture (e.g., a tap), the processor may display an image enlarged at a zoom level (e.g., a magnification of ×2.0) of the third lens (e.g., a tele lens) corresponding to the third icon625con the second screen620. While displaying the image received at the zoom level (e.g., ×2.0) of the third lens (e.g., the tele lens) corresponding to the third icon625con the second screen620, the processor may differently display the third icon625cselected by the first gesture among the three icons625a,625b, and625cdisplayed in the specific region625.

FIG. 7is a flowchart700for describing an operation of controlling an image in an electronic device, according to an embodiment of the disclosure. An image control method may include operations701through711. The image control method may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 7, in operation701, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a first photographing mode in response to selection of an icon corresponding to a camera application.

In operation703, in response to switchover to the first photographing mode, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 1) may display a plurality of icons corresponding to a plurality of lenses included in a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the display (the display160ofFIG. 1or the display360ofFIG. 3) based on first position information. The first position information is information for displaying the plurality of icons in the first photographing mode, and based on the first position information, the plurality of icons may be displayed arranged at equal intervals.

In operation705, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may detect selection of an icon by a first gesture (e.g., a tap or a swipe) from among the plurality of icons displayed based on the first position information in the first photographing mode. The processor may select a lens corresponding to the icon selected by the first gesture among a plurality of lenses included in a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) and obtain and display an image at a zoom level of the lens.

In operation707, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode upon selection of an icon by a second gesture (e.g., a long tap) from among the plurality of icons corresponding to the plurality of lenses.

In operation709, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may display a zoom control region comprising a zoom bar including a plurality of zoom levels and the plurality of icons rearranged in position based on the second position information corresponding to the plurality of zoom levels, in the second photographing mode. The processor may set a zoom level of a lens corresponding to an icon selected by the first gesture to a reference zoom level and display a zoom bar including the plurality of zoom levels with respect to the reference zoom level, in the first photographing mode. The processor may rearrange each of the plurality of icons in a position corresponding to a zoom level among the plurality of zoom levels. For example, the processor may display each of the plurality of icons in an upper end or a lower end of a zoom bar indicating the plurality of zoom levels to prevent the plurality of zoom levels from being hidden by the plurality of icons.

In operation711, upon detection of the third gesture (e.g., a swipe) in the zoom control region, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may obtain an image enlarged or reduced at a zoom level of a lens corresponding to a zoom level selected by the third gesture from among the plurality of zoom levels and display the obtained image in a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3).

FIG. 8is a flowchart800for describing an operation of controlling an image in an electronic device, according to an embodiment of the disclosure. An image control method may include operations801through817. The image control method may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 8, in operation801, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a first photographing mode in response to selection of an icon corresponding to a camera application.

In operation803, in response to switchover to the first photographing mode, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 1) may display a plurality of icons corresponding to a plurality of lenses included in a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the display (the display160ofFIG. 1or the display360ofFIG. 3) based on first position information. The first position information is information for displaying the plurality of icons in the first photographing mode, and based on the first position information, the plurality of icons may be displayed arranged at equal intervals.

In operation805, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may detect selection of an icon by ae first gesture (e.g., a tap or a swipe) from among the plurality of icons displayed based on the first position information in the first photographing mode. The processor may select a lens corresponding to the icon selected by the first gesture among a plurality of lenses included in a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) and obtain and display an image at a zoom level of the lens.

In operation807, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode upon selection of an icon by a second gesture (e.g., a long tap) from among the plurality of icons corresponding to the plurality of lenses.

In operation809, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may display a zoom control region comprising a zoom bar including a plurality of zoom levels and the plurality of icons rearranged in position based on the second position information corresponding to the plurality of zoom levels, in the second photographing mode. The processor may set a zoom level of a lens corresponding to an icon selected by the first gesture to a reference zoom level and display a zoom bar including the plurality of zoom levels with respect to the reference zoom level, in the first photographing mode. The processor may rearrange each of the plurality of icons in a position corresponding to a zoom level among the plurality of zoom levels. For example, the processor may display each of the plurality of icons in an upper end or a lower end of a zoom bar indicating the plurality of zoom levels to prevent the plurality of zoom levels from being hidden by the plurality of icons.

In operation811, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may determine whether the third gesture (e.g., a swipe) is detected in the zoom control region.

When the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) determines that the third gesture (e.g., a swipe) is not detected in the zoom control region in operation811and identifies an elapse of a specific time in operation813, the processor may switch to the first photographing mode to display the plurality of icons corresponding to the plurality of lenses, based on the first position information, in operation815.

Upon detection of the third gesture (e.g., a swipe) in the zoom control region in operation811, the processor may obtain an image enlarged or reduced at a zoom level of a lens corresponding to a zoom level selected by the third gesture from among the plurality of zoom levels and display the obtained image in a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3), in operation817.

FIGS. 9A and 9Bare views900aand900bfor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 9A, upon switchover to a first photographing mode in response to selection of an icon corresponding to a camera application, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3) into first through third screens910through930to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen910, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen930. The processor may display an image obtained through a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the second screen920, and display a first icon925acorresponding to a first lens (e.g., a standard lens) included in the camera and a second icon925bcorresponding to a second lens (e.g., a tele lens) included in the camera in a specific region925of the second screen920. Referring toFIG. 9A, when the first icon925ais selected between the two icons925aand925bcorresponding to the two lenses by a first gesture (e.g., a tap) or the first icon925ais set to a default icon, the processor may display an image received at a zoom level (e.g., a magnification of ×1.0) of the first lens (e.g., a standard lens) corresponding to the first icon925aon the second screen920. While displaying the image received at the zoom level (e.g., ×1.0) of the first lens (e.g., the standard lens) corresponding to the first icon925aon the second screen920, the processor may differently display the first icon925athat is selected by the first gesture or set by default between the two icons925aand925bdisplayed in the specific region925.

When the first icon925aor a second icon925bis selected by a second gesture (e.g., a swipe) in the first photographing mode after selection of the first lens (e.g., a standard lens) corresponding to the first icon925aby the first gesture in the first photographing mode inFIG. 9A, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode to display a zoom control region927comprising a zoom bar927aincluding a plurality of zoom levels and the plurality of icons925aand925brearranged in position based on the second position information, as shown inFIG. 9B. The processor may display the zoom control region927on the second screen920in the second photographing mode. The processor may display, in the zoom control region927, the zoom bar927aincluding the plurality of zoom levels having, as a reference zoom level A, a zoom level (e.g., a magnification of ×1.0) of the first lens (e.g., a standard lens) corresponding to the first icon925aselected by the first gesture in the first photographing mode. The processor may rearrange and display each of the plurality of icons925aand925bin a position corresponding to a zoom level among the plurality of zoom levels. The processor may display each of the plurality of icons925aand925bin an upper end or a lower end of the zoom bar927aindicating the plurality of zoom levels to prevent the plurality of zoom levels from being hidden by the plurality of icons925aand925b.

FIGS. 10A and 10Bare views1000aand1000bfor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 10A, upon switchover to a first photographing mode in response to selection of an icon corresponding to a camera application, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3) into first through third screens1010through1030to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen1010, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen1030. The processor may display an image obtained through a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the second screen1020, and display a first icon1025acorresponding to a first lens (e.g., an ultra lens) included in the camera, a second icon1025bcorresponding to a second lens (e.g., a standard lens) included in the camera, and a third icon1025ccorresponding to a third lens (e.g., a tele lens) included in the camera, in a specific region1025of the second screen1020. Referring toFIG. 10A, when the second icon1025bis selected between the three icons1025a,1025b, and1025ccorresponding to the three lenses by a first gesture (e.g., a tap) or the second icon1025bis set to a default icon, the processor may display an image received at a zoom level (e.g., a magnification of ×1.0) of the second lens (e.g., a standard lens) corresponding to the second icon1025bon the second screen1020. While displaying the image received at the zoom level (e.g., ×1.0) of the second lens (e.g., the standard lens) corresponding to the second icon1025bon the second screen1020, the processor may differently display the second icon1025bthat is selected by the first gesture or set by default among the three icons1025a,1025b, and1025cdisplayed in the specific region1025.

When any one of the second icon1025bor the third icon1025cis selected by a second gesture (e.g., a swipe) in the first photographing mode after selection of the second lens (e.g., a standard lens) corresponding to the second icon1025bby the first gesture in the first photographing mode, as shown inFIG. 10A, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode to display a zoom control region1027comprising a zoom bar1027aincluding a plurality of zoom levels and the plurality of icons1025a,1025b, and1025crearranged in position based on the second position information, as shown inFIG. 10B. The processor may display the zoom control region1027on the second screen1020in the second photographing mode. The processor may display, in the zoom control region1027, the zoom bar1027aincluding the plurality of zoom levels having, as a reference zoom level A, a zoom level (e.g., a magnification of ×1.0) of the second lens (e.g., a standard lens) corresponding to the second icon1025bselected by the first gesture in the first photographing mode. The processor may rearrange and display each of the plurality of icons1025a,1025b, and1025cin a position corresponding to a zoom level among the plurality of zoom levels. The processor may display each of the plurality of icons1025a,1025b, and1025cin an upper end or a lower end of the zoom bar1027aindicating the plurality of zoom levels to prevent the plurality of zoom levels from being hidden by the plurality of icons1025a,1025b, and1025c.

FIGS. 11A to 11Eare views1100athrough1100efor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. A photographing mode switch operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 11A, upon switchover to a first photographing mode in response to selection of an icon corresponding to a camera application, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3) into first through third screens1110through1130to display icons indicating various functions to be performed with respect to images received in the first photographing mode, on the first screen1110, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen1130. The processor may display an image received through a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on a second screen1120, and display a first icon1125acorresponding to a first lens (e.g., an ultra lens) included in the camera, a second icon1125bcorresponding to a second lens (e.g., a standard lens) included in the camera, and a third icon1125ccorresponding to a third lens (e.g., a tele lens) included in the camera, in a specific region1125of the second screen1120.

When any one of the first icon1125a, the second icon1125b, or the third icon1125cis selected by the second gesture (e.g., a swipe) in the first photographing mode after selection of the second lens (e.g., a standard lens) corresponding to the second icon1125bby the first gesture in the first photographing mode as shown inFIG. 11A, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to the second photographing mode to display a zoom control region as shown inFIG. 11Ewhile displaying an intermediate process such as visual interaction animation as shown inFIGS. 11B through 11D. Referring toFIG. 11E, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode to display a zoom control region1127comprising a zoom bar1127aincluding a plurality of zoom levels and the plurality of icons1125a,1125b, and1125crearranged in position based on the second position information.

FIGS. 12A to 12Dare views1200athrough1200dfor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 12A, upon switchover to a first photographing mode in response to selection of an icon corresponding to a camera application, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3) into first through third screens1210through1230to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen1210, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen1230. The processor may display an image received through a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on a second screen1220, and display a first icon1225acorresponding to a first lens (e.g., an ultra lens) included in the camera, a second icon1225bcorresponding to a second lens (e.g., a standard lens) included in the camera, and a third icon1225ccorresponding to a third lens (e.g., a tele lens) included in the camera, in a specific region1225of the second screen1220. Referring toFIG. 12A, when the second icon1225bis selected between the three icons1225a,1225b, and1225ccorresponding to the three lenses by the first gesture (e.g., a tap) or the second icon1225bis set to a default icon, the processor may display an image received at a zoom level (e.g., a magnification of ×1.0) of the second lens (e.g., a standard lens) corresponding to the second icon1225bon the second screen1220. While displaying the image received at the zoom level (e.g., ×1.0) of the second lens (e.g., the standard lens) corresponding to the second icon1225bon the second screen1220, the processor may differently display the second icon1225bthat is selected by the first gesture or set by default among the three icons1225a,1225b, and1225cdisplayed in the specific region1225.

After selection of the second lens (e.g., a standard lens) corresponding to the second icon1225bby a first gesture in the first photographing mode, when any one of the second icon1225bor the third icon1225cis selected by the second gesture (e.g., a swipe) in the first photographing mode as shown inFIG. 12A, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode to display a zoom control region1227comprising a zoom bar1227aincluding a plurality of zoom levels and the plurality of icons1225a,1225b, and1225crearranged in position based on the second position information corresponding to the plurality of zoom levels, as shown inFIG. 12B. InFIG. 12B, the processor may detect the third gesture, e.g., a swipe, for controlling the zoom bar1227ato enlarge or reduce the image in the zoom control region1227. The processor may detect a swipe for movement to the left (or left movement) a1in the zoom control region1227, and determine a zoom level selected by the swipe for the left movement a1from among the plurality of zoom levels of the zoom bar1227a.

When determining the zoom level (e.g., a magnification of ×0.5) of the first lens (e.g., an ultra lens) corresponding to the first icon1225aby a swipe for the left movement a1inFIG. 12B, the processor may display a zoom bar1227bincluding a plurality of zoom levels having the first icon1225aas a reference zoom level A in the zoom control region1227as shown inFIG. 12C. The processor may rearrange the plurality of zoom levels based on the first icon1225aas the reference zoom level A is changed into the first icon1225a, and rearrange and display the plurality of icons1225a,1225b, and1225cbased on the second position information changed based on the plurality of rearranged zoom levels.

Referring toFIG. 12B, the processor may detect a swipe for movement to the right (or right movement) b1in the zoom control region1227, and determine a zoom level selected by the swipe for the right movement b1from among the plurality of zoom levels of the zoom bar1227a.

When determining the zoom level (e.g., a magnification of ×2.0) of the third lens (e.g., a tele lens) corresponding to the third icon1225cby a swipe for the left movement b1inFIG. 12B, the processor may display a zoom bar1227cincluding a plurality of zoom levels having the first icon1225cas the reference zoom level A in the zoom control region1227as shown inFIG. 12D. The processor may rearrange the plurality of zoom levels based on the third icon1225cas the reference zoom level A is changed into the third icon1225c, and rearrange and display the plurality of icons1225a,1225b, and1225cbased on the second position information changed based on the plurality of rearranged zoom levels.

Although the description has been made with reference toFIGS. 12B through 12Dby using the swipe as an example of the third gesture, the third gesture may also include selecting a desired icon from among a plurality of icons corresponding to a plurality of lenses displayed in a zoom control region. Upon selection of the first icon1225afrom among the plurality of icons1225a,1225b, and1225cin the zoom control region1227ofFIG. 12B, the processor may display the zoom bar1227bas shown inFIG. 12C. Upon selection of the third icon1225cfrom among the plurality of icons1225a,1225b, and1225cin the zoom control region1227ofFIG. 12B, the processor may display the zoom bar1227cas shown inFIG. 12D.

FIGS. 13A to 13Eare views1300athrough1300efor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 13A, upon switchover to a first photographing mode in response to selection of an icon corresponding to a camera application, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3) into first through third screens1310through1330to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen1310, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen1330. The processor may display an image received through a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on a second screen1320, and display a first icon1325acorresponding to a first lens (e.g., an ultra lens) included in the camera, a second icon1325bcorresponding to a second lens (e.g., a standard lens) included in the camera, and a third icon1325ccorresponding to a third lens (e.g., a tele lens) included in the camera, in a specific region1325of the second screen1320. Referring toFIG. 13A, the processor may display on the second screen1320, an image reduced at a zoom level (e.g., a magnification of ×1.0) of the second lens (e.g., a standard lens) corresponding to the second icon1325bset by default among the three icons1325a,1325b, and1325ccorresponding to the three lenses. Upon selection of the first icon1325aamong the three icons1325a,1325b, and1325cdisplayed in the specific region1325by a first gesture (e.g., a tap) inFIG. 13A, the processor may obtain and display an image reduced at a zoom level (e.g., a magnification of ×0.5) of the first lens (e.g., an ultra lens) corresponding to the first icon1325aon the second screen1320as shown inFIG. 13B. The processor may differently display the first icon1325aselected by the first gesture among the three icons1325a,1325b, and1325cdisplayed in the specific region1325. Upon selection of any one of the first icon1325a, the second icon1325b, or the third icon1325cby a second gesture (e.g., a swipe) in the first photographing mode after selection of the first lens (e.g., an ultra lens) corresponding to the first icon1325aby the first gesture in the first photographing mode inFIG. 13B, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode to display zoom control region1327comprising a zoom bar1327aincluding a plurality of zoom levels having a zoom level (e.g., ×0.5) of the first lens (e.g., an ultra lens) corresponding to the first icon1325aas a reference zoom level A and the plurality of icons1325a,1325b, and1325crearranged in position based on the second position information corresponding to the plurality of zoom levels, as shown inFIG. 13C.

Upon selection of the third icon1325camong the three icons1325a,1325b, and1325cdisplayed in the specific region1325by the first gesture (e.g., a tap) inFIG. 13A, the processor may obtain and display an image enlarged at a zoom level (e.g., ×2.0) of the third lens (e.g., a tele lens) corresponding to the third icon1325con the second screen1320as shown inFIG. 13D. The processor may differently display the third icon1325cselected by the first gesture among the three icons1325a,1325b, and1325cdisplayed in the specific region1325. Upon selection of any one of the first icon1325a, the second icon1325b, or the third icon1325cby the second gesture (e.g., a swipe) in the first photographing mode after selection of the third lens (e.g., a tele lens) corresponding to the third icon1325cby the first gesture in the first photographing mode inFIG. 13D, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode to display the zoom control region1327comprising a zoom bar1327bincluding a plurality of zoom levels having a zoom level (e.g., ×2.0) of the third lens (e.g., a tele lens) corresponding to the third icon1325cas a reference zoom level A and the plurality of icons1325a,1325b, and1325crearranged in position based on the second position information corresponding to the plurality of zoom levels, as shown inFIG. 13E.

FIGS. 14A, 14B, 15A, 15B, and 15Care views1400a,1400b,1500a,1500b, and1500cfor describing an operation of controlling a plurality of icons with respect to a structure of a lens in an electronic device, according to various embodiments of the disclosure. A plural-icon control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 14A, view1400aincludes a first screen1410, a second screen1420, and a third screen1430. Upon switching to a first photographing mode in response to selection of an icon corresponding to a camera application, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may display three displays1425a,1425b, and1425cin a specific region1425of a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3). Upon selection of any one of the three icons1425a,1425b, and1425cby the second gesture (e.g., a long tab) after selection of the second icon1425bfrom among the three icons1425a,1425b, and1425cby a first gesture (e.g., a tap) or setting of the second icon1425bby default inFIG. 14A, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode as shown inFIG. 14B. InFIG. 14B, the processor may display a zoom control region1427comprising a zoom bar1427aincluding a plurality of zoom levels having a zoom level (e.g., ×1.5) of the second lens (e.g., a standard lens) corresponding to the second icon1425bas a reference zoom level A and the plurality of icons1425a,1425b, and1425crearranged in position based on the second position information corresponding to the plurality of zoom levels, in the second photographing mode.

Arrangement intervals among the three icons1425a,1425b, and1425cdisplayed around corresponding zoom levels among the plurality of zoom levels in the zoom control region1427may be changed according to a focal length of each of the three lenses corresponding to the three icons1425a,1425b, and1425c. For example, inFIGS. 14A and 14B, when a focal length of the first lens corresponding to the first icon1425ais 16 mm, a focal length of the second lens corresponding to the second icon1425bis 50 mm, and a focal length of the third lens corresponding to the third icon1425cis 80 mm, all of the three icons1425a,1425b, and1425cmay be displayed in the zoom control region1427by narrowing the arrangement intervals of the three icons1425a,1425b, and1425cdisplayed in the corresponding zoom levels among the plurality of zoom levels in the zoom control region1427.

Referring toFIG. 15A, view1500aincludes a first screen1510, a second screen1520, and a third screen1530. Upon switching to a first photographing mode in response to selection of an icon corresponding to a camera application, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may display three displays1525a,1525b, and1525cin a specific region1525of a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3). Upon selection of any one of the three icons1525a,1525b, and1525cby a second gesture (e.g., a long tab) after selection of the second icon1525bfrom among the three icons1525a,1525b, and1525cby a first gesture (e.g., a tap) or setting of the second icon1425bby default inFIG. 15A, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode as shown inFIG. 15B. InFIG. 15B, the processor may display a zoom control region1527comprising a zoom bar1527aincluding a plurality of zoom levels having a zoom level (e.g., ×1.5) of the second lens (e.g., a standard lens) corresponding to the second icon1525bas a reference zoom level A and the plurality of icons1525a,1525b, and1525crearranged in position based on the second position information corresponding to the plurality of zoom levels, in the second photographing mode.

Arrangement intervals among the three icons1525a,1525b, and1525cdisplayed around corresponding zoom levels among the plurality of zoom levels in the zoom control region1527may be changed according to a focal length of each of the three lenses corresponding to the three icons1525a,1525b, and1525c. For example, inFIGS. 15A through 15C, when a focal length of the first lens corresponding to the first icon1525ais 18 mm, a focal length of the second lens corresponding to the second icon1525bis 70 mm, and a focal length of the third lens corresponding to the third icon1525cis 300 mm, the processor may display the first icon1525aand the second icon1525bout of the three icons1525a,1525b, and1525cin the zoom control region1527by widening the arrangement intervals of the three icons1525a,1525b, and1525cdisplayed in the corresponding zoom levels among the plurality of zoom levels. Upon occurrence of a swipe as the third gesture to move to the left in the zoom control region1527inFIG. 15B, the third icon1525camong the three icons1525a,1525b, and1525cmay be displayed as shown inFIG. 15C.

FIG. 16is a flowchart1600for describing an operation of controlling an image in an electronic device, according to an embodiment of the disclosure. An image control method may include operations1601through1609. The image control method may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 16, in operation1601, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a first photographing mode in response to selection of an icon corresponding to a camera application.

In operation1603, in response to switchover to an first photographing mode, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 1) may display a plurality of icons corresponding to a plurality of lenses included in a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the display (the display160ofFIG. 1or the display360ofFIG. 3) based on first position information. The first position information is information for displaying the plurality of icons in the first photographing mode, and based on the first position information, the plurality of icons may be displayed arranged at equal intervals.

In operation1605, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may detect selection of an icon by a first gesture (e.g., a tap or a swipe) from among the plurality of icons displayed based on the first position information in the first photographing mode. The processor may select a lens corresponding to the icon selected by the first gesture among a plurality of lenses included in a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) and obtain and display an image at a zoom level of the lens.

In operation1607, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode upon detection of a fourth gesture (e.g., a pinch-in/out) on the screen of the display (e.g., the display160ofFIG. 1or the display360ofFIG. 3). The processor may display a zoom control region comprising a zoom bar including a plurality of zoom levels having a zoom level of a lens corresponding to an icon selected by the first gesture as a reference zoom level and the plurality of icons rearranged in position based on the second position information corresponding to the plurality of zoom levels, in the second photographing mode.

In operation1609, upon detection of the fourth gesture (e.g., a pinch-in/out) on the screen of the display, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may obtain an image enlarged or reduced at a zoom level of a lens corresponding to a zoom level selected by the fourth gesture from among the plurality of zoom levels and display the obtained image in the display (e.g., the display160ofFIG. 1or the display360ofFIG. 3).

FIGS. 17A to 17Dare views1700athrough1700dfor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 17A, upon switchover to a first photographing mode in response to selection of an icon corresponding to a camera application, a processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide a display (e.g., the display160ofFIG. 1or the display360ofFIG. 3) into first through third screens1710through1730to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen1710, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen1730. The processor may display an image received through a camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on a second screen1720, and display a first icon1725acorresponding to a first lens (e.g., an ultra lens) included in the camera, a second icon1725bcorresponding to a second lens (e.g., a standard lens) included in the camera, and a third icon1725ccorresponding to a third lens (e.g., a tele lens) included in the camera, in a specific region1725of the second screen1720. Referring toFIG. 17A, the processor may display on the second screen1320, an image reduced at a zoom level (e.g., a magnification of ×1.0) of the second lens (e.g., a standard lens) corresponding to the second icon1725bset by default among the three icons1725a,1725b, and1725ccorresponding to the three lenses. Upon occurrence of, for example, a pinch-zoom c1as the fourth gesture on the second screen1720while displaying three icons1725a,1725b, and1725cin a specific region1725, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may switch to a second photographing mode to display a zoom control region1727comprising a zoom bar1727aincluding a plurality of zoom levels having a zoom level (e.g., ×1.0) of the second lens (e.g., a standard lens) corresponding to the second icon1725bas a reference zoom level A and the plurality of icons1725a,1725b, and1725crearranged in position based on the second position information corresponding to the plurality of zoom levels, as shown inFIG. 17B.

Upon detection of a pinch-zoom-out c2on the second screen1720displaying an image inFIG. 17B, the processor may obtain an image reduced at a zoom level (e.g., ×0.9) of the first lens (e.g., an ultra lens) corresponding to a zoom level selected by the pinch-zoom-out c2from among the plurality of levels and display the reduced image on the second screen1720as shown inFIG. 17C. The processor may change and display the plurality of zoom levels having the zoom level selected by the pinch-zoom-out c2as the reference zoom level and rearrange the plurality of icons1725a,1725b, and1725cin position based on the second position information changed according to the plurality of changed zoom levels.

Upon detection of a pinch-zoom-in c3on the second screen1720displaying an image inFIG. 17C, the processor may obtain an image enlarged at a zoom level (e.g., ×2.3) of the third lens (e.g., a tele lens) corresponding to a zoom level selected by the pinch-zoom-in c3from among the plurality of levels and display the enlarged image on the second screen1720as shown inFIG. 17D. The processor may change and display the plurality of zoom levels having the zoom level selected by the pinch-zoom-in c3as the reference zoom level and rearrange the plurality of icons1725a,1725b, and1725cin position based on the second position information changed according to the plurality of changed zoom levels.

FIGS. 18A and 18Bare views1800aand1800bfor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 18A, in a first photographing mode for selfie shooting in which a user shoots while looking at a display(e.g., the display160ofFIG. 1or the display360ofFIG. 3) of the electronic device, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide the display into first through third screens1810through1830to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen1810, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen1830. The processor may display an image received through the camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the second screen1820, and display a first icon1825acorresponding to a first lens (e.g., a standard lens) included in the camera and a second icon1825bcorresponding to a second lens (e.g., a tele lens) included in the camera, for example, at equal intervals, based the first position information, in a specific region1825of the second screen1820. Referring toFIG. 18A, upon selection of the second icon1825bbetween the two icons1825aand1825bcorresponding to the two lenses by a first gesture (e.g., a tap), the processor may display a selfie image received at a zoom level (e.g., a magnification of ×2.0) of the second lens (e.g., a tele lens) corresponding to the second icon1825bon the second screen1820.

Referring toFIG. 18B, upon selection of the first icon1825abetween the two icons1825aand1825bcorresponding to the two lenses by the first gesture (e.g., a tap), the processor may display a selfie image reduced at a zoom level (e.g., a magnification of ×1.0) of the first lens (e.g., a standard lens) corresponding to the first icon1825aon the second screen1820.

FIGS. 19A and 19Bare views1900aand1900bfor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 19A, in a first photographing mode for selfie shooting in which a user shoots while looking at a display(e.g., the display160ofFIG. 1or the display360ofFIG. 3) of the electronic device, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide the display into first through third screens1910through1930to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen1910, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen1930. The processor may display an image received through the camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the second screen1920, and display a first icon1925acorresponding to a first lens (e.g., a standard lens) included in the camera and a second icon1925bcorresponding to a second lens (e.g., a tele lens) included in the camera, for example, at equal intervals, based the first position information, in a specific region1925of the second screen1920. Referring toFIG. 19A, upon selection of the first icon1925abetween the two icons1925aand1925bcorresponding to the two lenses by the first gesture (e.g., a tap), the processor may display a selfie image received at a zoom level (e.g., a magnification of ×2.0) of the second lens (e.g., a tele lens) corresponding to the second icon1925bon the second screen1920.

Upon selection of any one of the first icon1925aand the second icon1925bby a second gesture (e.g., a swipe) in the first photographing mode after selection of the second lens (e.g., a tele lens) corresponding to the second icon1925bby the first gesture in the first photographing mode inFIG. 19A, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 2) may switch to a second photographing mode to display a zoom control region1937comprising a zoom bar1937aincluding a plurality of zoom levels having a zoom level of a lens corresponding to the second icon1925bas a reference zoom level A and the plurality of icons1925aand1925brearranged in position based on the second position information, as shown inFIG. 19B.

FIGS. 20A and 20Bare views2000aand2000bfor describing an operation of controlling an image in an electronic device, according to various embodiments of the disclosure. An image control operation may be performed by at least one of an electronic device (e.g.,101ofFIG. 1 or 301ofFIG. 3) or at least one processor (e.g., the processor120ofFIG. 1 or 320ofFIG. 3).

Referring toFIG. 20A, in the first photographing mode for selfie shooting in which a user shoots while looking at a display(e.g., the display160ofFIG. 1or the display360ofFIG. 3) of the electronic device, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 3) may divide the display into first through third screens2010through2030to display icons indicating various functions to be performed with respect to images obtained in the first photographing mode, on the first screen2010, and icons indicating various shooting functions and an icon indicating a shooting button on the third screen2030. The processor may display an image received through the camera (e.g., the camera module180ofFIGS. 1 and 2or the camera310ofFIG. 3) on the second screen2020, and display a first icon2025acorresponding to a first lens (e.g., a standard lens) included in the camera and a second icon2025bcorresponding to a second lens (e.g., a tele lens) included in the camera, for example, at equal intervals, based the first position information, in a specific region2025of the second screen2020. Referring toFIG. 20A, upon selection of the first icon2025abetween the two icons2025aand2025bcorresponding to the two lenses by a first gesture (e.g., a tap), the processor may display a selfie image received at a zoom level (e.g., a magnification of ×1.0) of the first lens (e.g., a standard lens) corresponding to the first icon2025aon the second screen2020.

Upon selection of any one of the first icon2025aand the second icon2025bby ae second gesture (e.g., a swipe) in the first photographing mode after selection of the first lens (e.g., a standard lens) corresponding to the first icon2025aby the first gesture in the first photographing mode inFIG. 20A, the processor (e.g., the processor120ofFIG. 1or the processor320ofFIG. 1) may switch to a second photographing mode to display a zoom control region2027comprising a zoom bar2027aincluding a plurality of zoom levels having a zoom level of a lens corresponding to the first icon2025aas a reference zoom level A and the plurality of icons2025aand2025brearranged in position based on the second position information, as shown inFIG. 20B.

According to various embodiments, an image control method in an electronic device (e.g., the electronic device101ofFIG. 1or the electronic device ofFIG. 2) may include displaying a plurality of icons corresponding to the plurality lenses, based on first position information in a first photographing mode and upon selection of an icon by a first gesture from among the plurality of icons in the first photographing mode, switching to a second photographing mode to display a zoom control region including a plurality of zoom levels having a zoom level of a lens corresponding to the selected icon as a reference zoom level and the plurality of icons rearranged in position based on second position information corresponding to the plurality of zoom levels.

According to various embodiments, the displaying of the plurality of icons may include arranging and displaying the plurality of icons at specific intervals based on the first position information in the first photographing mode.

According to various embodiments, the image control method may further include, upon selection of an icon by a second gesture from among the plurality of icons in the first photographing mode, displaying an image at a zoom level of a lens corresponding to the selected icon.

According to various embodiments, the displaying of the plurality of icons may include displaying the plurality of icons and differently displaying the selected icon among the plurality of icons, while displaying an image at a zoom level of a lens corresponding to an icon selected by a second gesture from among the plurality of icons.

According to various embodiments, the switching to the second photographing mode may include rearranging each of the plurality of icons in a position corresponding to a zoom level among the plurality of zoom levels based on the second position information in the second photographing mode.

According to various embodiments, the switching to the second photographing mode may include, in response to switchover to the second photographing mode, displaying the zoom control region, while displaying an image at a zoom level of a lens corresponding to the reference zoom level.

According to various embodiments, the image control method may further include, upon detection of a third gesture in the zoom control region, displaying an image at a zoom level of a lens corresponding to a zoom level selected by the third gesture from among the plurality of zoom levels.

According to various embodiments, the image control method may further include changing the zoom level selected by the third gesture to the reference zoom level among the plurality of levels.

According to various embodiments, the image control method may further include switching to the first photographing mode when the third gesture is not detected in the zoom control region until an elapse of a specific time, while displaying the zoom control region in the second photographing mode.

According to various embodiments, the image control method may further include switching to the second photographing mode to display the zoom control region upon detection of a fourth gesture on a screen of a display of the electronic device in the first photographing mode.

According to various embodiments, in a photographing mode where an image prior to photographing is displayed, image enlargement and reduction may be performed conveniently. Moreover, by displaying a user interface (UI) indicating a plurality of lenses having different zoom levels in the camera, image enlargement and reduction may be easily performed in the photographing mode.

It should be appreciated that various embodiments of the disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the things, unless the relevant context clearly indicates otherwise. As used herein, each of such phrases as “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least one of A, B, or C,” may include all possible combinations of the items enumerated together in a corresponding one of the phrases. Expressions such as “first,” “second,” “primarily,” or “secondary,” used herein may represent various elements regardless of order and/or importance and do not limit corresponding elements. When it is described that an element (such as a first element) is “operatively or communicatively coupled with/to” or “connected” to another element (such as a second element), the element can be directly connected to the other element or can be connected to the other element through another element (e.g., a third element).

A term “module” used herein may mean, for example, a unit including one of or a combination of two or more of hardware, software, and firmware, and may be used interchangeably with terms such as logic, a logic block, a part, or a circuit. The module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, the module may be implemented as an application-specific integrated circuit (ASIC).