Electronic device having a plurality of lens and controlling method thereof
Patent Information
- Application Number
- KR1020210028134
- Authority / Receiving Office
- KR · KR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-03
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2041-03-03
Smart Images

Figure 112021025112873-PAT00004_ABST
Abstract
Description
Technology Field
[0001] Various embodiments according to the present disclosure relate to an electronic device having a plurality of cameras and a technology for controlling the electronic device. Background Technology
[0002] Recently, the proliferation of electronic devices equipped with cameras, such as digital cameras, digital camcorders, and smartphones, has been active. These camera-equipped electronic devices can provide shooting functions. For example, the electronic device can output a preview screen on a display using video acquired in real time from the camera, and acquire a captured video from the camera when a shooting input is received.
[0003] Meanwhile, the electronic device may be equipped with multiple cameras. For example, the electronic device may be equipped with multiple cameras having different angles of view. Each of the multiple cameras can capture images of the same subject with different angles of view. During zoom-in / zoom-out operations, the electronic device may switch cameras when each individual camera performs digital zoom and reaches optical magnification. The problem to be solved
[0004] Meanwhile, cameras are being developed that can provide images from different positions to the user by adjusting the field of view over a wide range of angles using driving devices such as prisms or mirrors. In camera configurations that adjust the field of view in this way, the camera is switched when the basic magnification is reached, and at the basic magnification, the center of the image is fixed to the center and the zoom operation is performed.
[0005] If zoom in / out is performed based on the image center at the basic magnification of each camera, a problem occurs where the movement of the image center operates discontinuously over the entire zoom.
[0006] The technical problems to be solved in this document are not limited to those mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art to which this invention belongs from the description below. means of solving the problem
[0007] An electronic device according to one embodiment comprises a plurality of cameras, a display, and at least one processor electrically connected to the plurality of cameras and the display, wherein the at least one processor acquires a first image through a first camera among the plurality of cameras, and while the magnification is set to a first magnification, displays a preview centered on a first point in the first image on the display, acquires user input to change the magnification from the first magnification to a second magnification, and in response to the user input, gradually changes the magnification from the first magnification to the second magnification, acquires a second image centered on a second point using a second camera among the plurality of cameras, changes the preview displayed on the display from the first image to at least a portion of the second image, and when the magnification is changed to the second magnification, displays a preview centered on a second point in the second image on the display, and the at least one processor changes the center of the preview from the first point to the second point as the magnification changes from the first magnification to the second magnification. It can be moved gradually.
[0008] A method of operation of an electronic device according to one embodiment may include: acquiring a first image through a first camera among a plurality of cameras; displaying a preview centered on a first point in the first image on a display while the magnification is set to a first magnification; acquiring a user input to change the magnification from the first magnification to a second magnification; gradually changing the magnification from the first magnification to the second magnification in response to the user input; acquiring a second image centered on a second point using a second camera among the plurality of cameras; changing the preview displayed on the display from the first image to at least a portion of the second image; displaying a preview centered on a second point in the second image on the display when the magnification is changed to the second magnification; and gradually moving the center of the preview from the first point to the second point as the magnification is changed from the first magnification to the second magnification. Effects of the invention
[0009] The electronic device and method in various embodiments according to the present disclosure can achieve more natural camera operation by improving the quality of zoom in / out operation by linearly moving the image center point when switching cameras.
[0010] In addition, various effects that can be identified directly or indirectly through this document may be provided. Brief explanation of the drawing
[0011] FIG. 1 is a block diagram of an electronic device according to one embodiment. FIG. 2 is a flowchart illustrating an electronic device according to one embodiment switching cameras in response to user input changing the magnification. FIG. 3 is a flowchart showing an electronic device according to one embodiment calculating the amount of center point movement up to the final magnification and moving the center point. FIG. 4a is a diagram showing the angle of view and the center of the angle of view of each of the plurality of cameras in an electronic device according to one embodiment. FIG. 4b is a diagram showing the image center moving while performing a zoom-out operation in an electronic device according to one embodiment. FIG. 5a is a diagram showing the angle of view and the center of the angle of view of each of the plurality of cameras in an electronic device according to one embodiment. FIG. 5b is a diagram showing the image center moving while performing a zoom-in operation in an electronic device according to one embodiment. FIG. 6 is a block diagram of an electronic device in a network environment according to one embodiment. FIG. 7 is a block diagram illustrating a camera module according to one embodiment. In relation to the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Specific details for implementing the invention
[0012] FIG. 1 is a block diagram of an electronic device according to one embodiment.
[0013] Referring to FIG. 1, an electronic device (100) (e.g., the electronic device (601) of FIG. 6) may include a processor (110), a camera (120) (e.g., the camera module (680) of FIG. 6 and FIG. 7), a display (130), and a memory (140). In various embodiments, the electronic device (100) may include additional components in addition to the components shown in FIG. 1, or at least one of the components shown in FIG. 1 may be omitted.
[0014] According to one embodiment, the processor (110) can execute operations or data processing regarding the control and / or communication of at least one other component of the electronic device (100) using instructions stored in memory (140). According to one embodiment, the processor (110) may include at least one of a central processing unit (CPU), a graphics processing unit (GPU), a micro controller unit (MCU), a sensor hub, a supplementary processor, a communication processor, an application processor, an application specific integrated circuit (ASIC), and a field programmable gate array (FPGA), and may have multiple cores.
[0015] According to one embodiment, the processor (110) can acquire an image through the camera (120). According to one embodiment, the processor (110) can provide the image acquired through the camera (120) in the form of a preview on the display (130). According to one embodiment, the processor (110) can display a plurality of objects (or icons) corresponding to a plurality of lenses included in the camera (120) on the display (130). According to one embodiment, the processor (110) can acquire user input (e.g., tap, touch) for one of the plurality of objects. According to one embodiment, the processor (110) can acquire an image at the zoom level of the lens corresponding to the selected icon and display it on the display (130).
[0016] According to one embodiment, the processor (110) may change the magnification level in response to receiving user input to change the zoom level. For example, the processor (110) may change gradually from an initial magnification level to a final magnification level. According to one embodiment, the processor (110) may shift the center of the preview as the magnification level changes. For example, the processor (110) may gradually shift the center of the preview from a first point to a second point as the magnification level changes gradually from an initial magnification level to a final magnification level. Specific details regarding the operation of the processor (110) will be described later with reference to FIGS. 2 and FIGS. 3.
[0017] According to one embodiment, the processor (110) can move the center of the preview using a reflective member (e.g., a prism or a mirror). According to one embodiment, the reflective member can change the path of light so that an external light source can pass through a lens assembly (e.g., the lens assembly (720) of FIG. 7).
[0018] According to one embodiment, the camera (120) can acquire (or capture) images (e.g., still images and video). For example, an image signal processor electrically connected to the camera (120) can distinguish between objects (e.g., people) and backgrounds included in the images (e.g., preview images or images stored in memory (140)). According to one embodiment, the image signal processor may be separated from the camera (120) or implemented as part of the processor (110). According to one embodiment, the camera (220) may include an image sensor (e.g., the image sensor (730) of FIG. 7). According to one embodiment, the image sensor may acquire and / or process color information.
[0019] According to one embodiment, the camera (120) includes a plurality of lenses, and each of the plurality of lenses may have different zoom levels. For example, the plurality of lenses may include at least two of an ultra-wide lens, a wide lens, and a tele lens.
[0020] According to one embodiment, the camera (120) may include a periscopic lens. According to one embodiment, if the camera (120) includes a periscopic lens, a reflective member (e.g., a prism or a mirror) may perform rotational (or translational) motion with respect to two axes substantially perpendicular to the optical axis. For example, the rotational motion may consist of pitching motion or yawing motion. According to one embodiment, motion related to any rotational axis perpendicular to the optical axis may be defined as pitching motion, and motion related to any other rotational axis perpendicular to the optical axis may be defined as yawing motion. According to one embodiment, the rotational axis parallel to the optical axis may be an axis orthogonal to the plane of the pitching motion and the yawing motion.
[0021] According to one embodiment, the display (130) can display a plurality of objects corresponding to a plurality of lenses included in the camera (120). According to one embodiment, the display (130) can display an image acquired at the zoom level of the lens corresponding to an icon selected by user input among the plurality of objects.
[0022] According to one embodiment, the display (130) can generate a driving signal by converting an image signal, a data signal, an OSD (on screen display) signal, a control signal, etc., processed by the processor (110). According to one embodiment, the display (130) can be implemented as a PDP (plasma display panel), an LCD (liquid crystal display), an OLED (organic light emitting diode), a flexible display, etc., and can also be implemented as a 3D display. According to one embodiment, the display (130) is configured as a touch screen and can be used as an input device in addition to an output device.
[0023] According to one embodiment, memory (140) may mean one or more sets of memory. According to one embodiment, memory (140) may store data and / or commands received from or generated by other components (e.g., processor (110), display (130)).
[0024] FIG. 2 is a flowchart illustrating an electronic device according to one embodiment switching cameras in response to user input changing the magnification.
[0025] Referring to FIG. 2, a processor (110) according to one embodiment can acquire a first image through a first camera among a plurality of cameras in operation 210. According to one embodiment, the processor (110) can display the image acquired through the first camera as a preview on a display (130) while a camera application stored in memory (140) is running. For example, the first camera may be one of a tele camera, a wide camera, and an ultra-wide camera.
[0026] According to one embodiment, the processor (110) can display a preview centered on a first point in a first image on a display while the magnification is set to a first magnification in operation 220. According to one embodiment, the processor (110) can display an image received at a zoom level of a first camera on a display. For example, the processor (110) can display an image received at a zoom level of a telephoto camera (e.g., x5.0 magnification) on a display (130). Also, for example, the processor (110) can display an image received at a zoom level of a wide camera (e.g., x1.0 magnification) on a display (130). Also, for example, the processor (110) can display an image received at a zoom level of an ultra-wide camera (e.g., x0.5 magnification) on a display (130). According to various embodiments, the center of the image acquired through the camera may vary depending on the type of camera.
[0027] According to one embodiment, the telecamera can move the center of the image to a position within a first zoom level range (e.g., x1.0 magnification) using a reflective member (e.g., a prism or a mirror). According to one embodiment, the telecamera can move the center of the image to a position in an area exceeding a second zoom level range (e.g., x5.0 magnification) using digital zoom. According to one embodiment, the reflective member is connected to a reflective member holder (not shown) to move the center of the image up, down, left, and right.
[0028] According to one embodiment, the processor (110) can obtain user input to change the scale from a first scale to a second scale in operation 230.
[0029] According to one embodiment, the processor (110) displays an image obtained through the camera (120) on the display (130), and may display at least two icons among a first object corresponding to a first camera (e.g., a tele camera) among a plurality of cameras, a second object corresponding to a second camera (e.g., a wide camera), and a third object corresponding to a third camera (e.g., an ultra-wide camera) in at least a portion of the display (130). According to one embodiment, the processor (110) may obtain user input for a second object corresponding to a second magnification or a third object corresponding to a second magnification while the magnification is set to a first magnification.
[0030] According to one embodiment, the processor (110) may display a slide bar that slides according to the magnification level changed by a zoom-in or zoom-out operation on the display (130). According to one embodiment, an object representing each camera equipped in the electronic device (100) may be placed on the slide bar according to the magnification order (e.g., ultra-wide camera, wide camera, tele-camera) and may move according to the movement of the slide bar. According to one embodiment, the object may be displayed or disappear on the display (130) while moving along the slide bar. According to one embodiment, the processor (110) may obtain user input (e.g., tap, drag) for the slide bar. According to one embodiment, the processor (110) may obtain user input for the slide bar that changes the magnification level from a first magnification level to a second magnification level.
[0031] According to one embodiment, the processor (110) can activate the second camera before acquiring user input and switch the activated second camera to a standby state.
[0032] According to one embodiment, the processor (110) can gradually change the magnification from a first magnification to a second magnification in response to user input in operation 240. According to one embodiment, the processor (110) can change the magnification in response to user input for one of a plurality of objects (e.g., icons) corresponding to a plurality of cameras displayed in at least a portion of the display (130). According to one embodiment, the processor (110) can gradually change the magnification from a first magnification to a second magnification in response to selecting a second object corresponding to a second camera while the magnification is set to a first magnification.
[0033] According to one embodiment, the processor (110) can acquire a second image centered on a second point using a second camera among a plurality of cameras in operation 250. According to one embodiment, the processor (110) can display the received image on a display at the zoom level of the second camera.
[0034] For example, the processor (110) can display an image received at the zoom level of the telecamera (e.g., x5.0 magnification) on the display (130) in response to user input regarding an object corresponding to the widecamera, and display an image received at the zoom level of the widecamera (e.g., x1.0 magnification) on the display (130).
[0035] In another example, the processor (110) may display the image received at the zoom level of the wide camera on the display (130) in response to user input regarding an object corresponding to the tele camera. However, this is not limited thereto, and the second camera may include an ultra-wide camera.
[0036] According to one embodiment, the processor (110) may acquire a second image centered on a second point. According to one embodiment, the second point may be different from the first point. For example, if the first camera is a telephoto camera and the second camera is a wide camera or an ultra-wide camera, the center of the image acquired by each camera may be different. Also, for example, if the first camera is a wide camera or an ultra-wide camera and the second camera is a telephoto camera, the center of the image acquired by each camera may be different.
[0037] According to one embodiment, the second point may be the same as the first point. For example, if the first camera is a wide camera and the second camera is an ultra-wide camera, the center of the image acquired by each camera may be the same. Also, for example, if the first camera is an ultra-wide camera and the second camera is a wide camera, the center of the image acquired by each camera may be the same.
[0038] According to one embodiment, the processor (110) can change the preview displayed on the display (130) in operation 260 from a first image to at least a portion of the second image. According to one embodiment, the processor (110) can change the preview displayed on the display (130) to at least a portion of the second image obtained through the second camera as the magnification is gradually changed from a first magnification to a second magnification while the first image obtained through the first camera is displayed.
[0039] According to one embodiment, the processor (110) can display a preview centered on a second point in the second image on the display (130) when the scale is changed to a second scale in operation 270. According to one embodiment, the processor (110) can output a preview centered on a second point in the second image to the display (130) in response to the completion of the change from the first scale to the second scale.
[0040] According to one embodiment, the processor (110) can gradually move the center of the preview from a first point to a second point as the magnification in operation 280 changes from a first magnification to a second magnification. For example, the processor (110) can linearly move the center of the preview displayed on the display (130) from a first point to a second point as the magnification changes from a first magnification to a second magnification.
[0041] According to the above-described embodiment, the electronic device (100) can support a natural zoom in / out operation for the user by linearly moving the center of the image as the magnification of the camera changes.
[0042] FIG. 3 is a flowchart illustrating an electronic device according to one embodiment calculating the amount of center point movement up to the final magnification and moving the center point. Content similar to or overlapping with the foregoing in relation to FIG. 3 may be simplified or omitted.
[0043] Referring to FIG. 3, a processor (110) according to one embodiment can obtain user input in operation 301. According to one embodiment, the processor (110) can display at least two icons among a first object corresponding to a first camera (e.g., tele camera), a second object corresponding to a second camera (e.g., wide camera), and a third object corresponding to a third camera (e.g., ultra-wide camera) in at least a portion of a display (130). According to one embodiment, the processor (110) can obtain user input for a first object corresponding to a first camera, a second object corresponding to a second camera, or a third object corresponding to a third camera.
[0044] According to one embodiment, the processor (110) may display a slide bar on the display (130) that slides according to a magnification that changes by a zoom-in or zoom-out operation. According to one embodiment, the processor (110) may obtain user input (e.g., tap, drag) for the slide bar.
[0045] According to one embodiment, the processor (110) may obtain user input for pinch zoom. According to one embodiment, the pinch zoom operation may mean that the content displayed on the display (130) is zoomed in or zoomed out as two fingers of the user that were spread out and apart come close together on the display (130) or as two fingers of the user that were close together and come close together come apart on the display (130).
[0046] According to one embodiment, the processor (110) may obtain user input for button zoom. According to one embodiment, the button zoom operation may mean that content displayed on the display (130) is zoomed in or zoomed out based on an object (e.g., an icon) and / or a hardware button that corresponds to a specified zoom scale displayed through the display (130). According to one embodiment, the processor (110) may perform a zoom operation based on multiple user inputs. For example, when the processor (110) obtains user input sequentially or simultaneously for an object (e.g., an icon) corresponding to a first scale and a second scale, it may zoom in or zoom out the content displayed on the display (130) in the order of the first scale and the second scale (or the second scale and the first scale).
[0047] According to one embodiment, the processor (110) may determine (determine) the final scale based on an intermediate scale between the initial scale and the final scale. For example, the processor (110) may predict the final scale by applying the same change time from the intermediate scale to the final scale based on the change time between the initial scale and the intermediate scale.
[0048] According to one embodiment, the processor (110) can calculate the amount of center point movement from the initial scale to the final scale using mathematical formula 1 in operation 303.
[0049]
[0050] In Equation 1, Pi represents the center of the image at the initial magnification, Pf represents the center of the image at the final magnification, and Pc represents the center of the image at the current magnification. Xi represents the initial magnification, Xf represents the final magnification, and Xc represents the current magnification.
[0051] According to one embodiment, the processor (110) can calculate the amount of center point movement of a preview image from an initial magnification to a final magnification in response to receiving user input. For example, the processor (110) can calculate the amount of center point movement to a magnification corresponding to an object in response to receiving touch input for an object displayed on the display (130). For example, the processor (110) can calculate the amount of center point movement from the first magnification to the second magnification in response to touch input for an object corresponding to the second magnification (e.g., x1.0 magnification) while the image received at the first magnification (e.g., x5.0 magnification) is displayed on the display (130).
[0052] According to one embodiment, the processor (110) can calculate the camera switching scale in operation 305. According to one embodiment, the camera switching scale may mean a specified scale at which the camera is switched. For example, if the scale at which the camera is switched from a telephoto camera to a wide-angle camera is a first scale (e.g., x5.0 scale), the camera switching scale may be the first scale.
[0053] According to one embodiment, the processor (110) can obtain an offset value from camera calibration. According to one embodiment, the processor (110) can calculate a camera switching magnification based on the offset value obtained from calibration and the center position of the field of view of the camera (e.g., telecamera). For example, the offset value may be determined based on the tilt angle or tolerance of the camera occurring during design or assembly.
[0054] According to one embodiment, the processor (110) can gradually shift the center of the preview using an offset value obtained through camera calibration when the center of the field of view (FOV) of the camera (120) differs between cameras. According to one embodiment, deviations in the optical axis that occur during manufacturing can be corrected using an offset value obtained through camera calibration. For example, deviations in the optical axis caused by manufacturing errors that may occur during the manufacturing of the camera (120) (or camera module) and / or assembly errors that may occur when the camera (120) is placed in the electronic device (100) can be corrected using an offset value obtained through camera calibration. For example, as shown in FIG. 4b and / or FIG. 5b, the processor (110) can linearly shift the center of the preview image while the magnification of the camera (120) is changed.
[0055] According to one embodiment, the processor (110) can calculate the camera switching ratio as x1.125 when switching from a state of acquiring an image with a wide camera to an ultra-wide camera.
[0056] According to one embodiment, the processor (110) may determine the center of the field of view location based on the area displayed through the display (130). For example, if the field of view (or field of view area) of the camera (120) includes an area smaller than the sensing area of the image sensor (e.g., image sensor (730) of FIG. 7) included in the camera (120) (e.g., camera module (680) of FIG. 7), the processor (110) may determine the center of the field of view of the camera (120) as the center of the area displayed through the display (130), rather than the center of the image sensor, as the center of the field of view of the camera (120).
[0057] According to one embodiment, the processor (110) can check the current scale in operation 307 and determine the amount of center point movement. According to one embodiment, the processor (110) can check the current scale while the scale changes from an initial scale to a final scale. For example, the processor (110) can check the current scale (e.g., x3.0 scale) while the scale changes from an initial scale (e.g., x5.0 scale) to a final scale (e.g., x1.0 scale) and calculate the amount of center point movement from the current scale to the final scale.
[0058] According to one embodiment, the processor (110) can move the center point of the preview image in operation 309. According to one embodiment, the processor (110) can move the center point of the preview image as the magnification of the camera (120) transitions from an initial magnification to a final magnification. According to one embodiment, the processor (110) can change the center point of the preview image displayed on the display (130) gradually (or linearly) as the magnification of the camera (120) changes gradually (or linearly) from an initial magnification to a final magnification.
[0059] According to one embodiment, the processor (110) can determine whether the current magnification in operation 311 is equal to the camera switching magnification. According to one embodiment, the processor (110) can determine whether the current magnification of the camera (120) is equal to the camera switching magnification calculated based on the offset obtained by camera calibration. For example, the processor (110) can determine whether the magnification becomes the magnification that switches to a wide camera (e.g., x5.0 magnification) while the telecam is in operation. Also, for example, the processor (110) can determine whether the camera switching magnification becomes the magnification that switches from a wide camera to an ultra-wide camera (e.g., x1.125 magnification).
[0060] According to one embodiment, the processor (110) may switch the main camera in operation 313 when it is determined that the current magnification is the same as the camera switching magnification. According to one embodiment, the processor (110) may switch the main camera to a wide camera in response to the current magnification becoming the camera switching magnification (e.g., x5.0 magnification) while acquiring an image using a tele camera. According to one embodiment, the processor (110) may switch the main camera to an ultra-wide camera in response to the current magnification becoming the camera switching magnification (e.g., x1.125 magnification) while acquiring an image using a wide camera.
[0061] According to one embodiment, the processor (110) can acquire an image using the main camera in response to the main camera being switched. According to one embodiment, the processor (110) can disable the first camera or switch it to a standby state in response to the first camera being switched to the second camera.
[0062] According to one embodiment, the processor (110) may display a preview of an image acquired through the camera in operation 315 on the screen when it is determined that the current magnification is not the same as the camera switching magnification. According to one embodiment, when the processor (110) determines that the current magnification is not the same as the camera switching magnification, it may display a preview of an image acquired through the first camera on the display (130) without switching the main camera from the first camera to the second camera.
[0063] According to one embodiment, the processor (110) can determine whether the current scale is equal to the final scale in operation 317. According to one embodiment, the processor (110) can determine whether the current scale becomes the final scale corresponding to the user input (e.g., x5.0 scale).
[0064] According to one embodiment, the processor (110) may terminate the zoom operation if it is determined that the current magnification is the same as the final magnification. According to one embodiment, if the processor (110) is not determined that the current magnification is the same as the final magnification, it may return to operation 307 to check the current magnification and determine the amount of center point movement.
[0065] FIG. 4a is a diagram showing the angle of view and the center of the angle of view of each of a plurality of cameras in an electronic device according to one embodiment. FIG. 4b is a diagram showing the image center moving while performing a zoom-out operation in an electronic device according to one embodiment.
[0066] Referring to FIG. 4a, according to one embodiment, a first camera (e.g., a telecamera) having a first angle of view (410) can acquire an image centered on a first point (401). According to one embodiment, a second camera (e.g., a widecamera) having a second angle of view (420) can acquire an image centered on a second point (402). According to one embodiment, a third camera (e.g., an ultra-widecamera) having a third angle of view (430) can acquire an image centered on a second point (402).
[0067] Referring to Fig. 4b, the X-axis represents the zoom level, and the Y-axis represents the coordinates of the center point of the image.
[0068] According to one embodiment, the processor (110) can change the center of the preview image as the magnification of the camera (120) changes. According to one embodiment, the processor (110) can move the center of the preview image while performing a zoom-out operation.
[0069] As illustrated in FIG. 4b, according to one embodiment, the processor (110) can linearly shift the center of the preview image while the magnification of the camera (120) gradually changes from an initial magnification (e.g., x5.0 magnification) to a final magnification (e.g., x5.0 magnification).
[0070] According to one embodiment, the processor (110) may acquire an image through a wide camera while performing a zoom-out operation from an initial magnification (e.g., x5.0 magnification) to a camera transition magnification (e.g., x1.125 magnification). According to one embodiment, while the magnification is gradually (or linearly) changed from the initial magnification to the camera transition magnification, the center of the preview image may be gradually changed from C1 (0.4, -0.4) (e.g., the first point (401) in FIG. 4a) to C2. For example, C2 may be calculated by the above Equation 1.
[0071] According to one embodiment, the processor (110) may switch the main camera in response to the magnification of the camera (120) becoming the camera switching magnification. According to one embodiment, the processor (110) may switch the main camera based on a magnification that includes an object within the range of the field of view (FOV) of the camera (120). For example, the minimum value of the coordinates (e.g., X-axis coordinate or Y-axis coordinate) corresponding to the camera switching magnification may be (Pc-Cc)-0.5 / Xc. Also, for example, the maximum value of the coordinates corresponding to the camera switching magnification may be (Pc-Cc)+0.5 / Xc. Here, Pc represents the center position of the image at the current magnification, and Cc represents the offset value.
[0072] According to one embodiment, the processor (110) may switch the main camera from a wide camera to an ultra-wide camera in response to the camera switching magnification (e.g., x1.125 magnification). According to one embodiment, the processor (110) may acquire an image through the ultra-wide camera while performing a zoom-out operation from the camera switching magnification to the final magnification. According to one embodiment, the processor (110) may gradually change the center of the preview image from C2 to C3 (0,0) (e.g., the second point (402) in FIG. 4a) while the magnification is gradually (or linearly) changing from the camera switching magnification to the final magnification.
[0073] FIG. 5a is a diagram showing the angle of view and the center of the angle of view of each of a plurality of cameras in an electronic device according to one embodiment. FIG. 5b is a diagram showing the image center moving while performing a zoom-in operation in an electronic device according to one embodiment.
[0074] Referring to FIG. 5a, according to one embodiment, a first camera (e.g., a wide camera) having a first angle of view (510) can acquire an image centered on a first point (501). According to one embodiment, a second camera (e.g., a tele camera) having a second angle of view (520) or a third angle of view (530) depending on the magnification can acquire an image centered on a second point (502). For example, the zoom magnification set when acquiring the second angle of view (520) (e.g., x5.0 magnification) may be lower than the zoom magnification set when acquiring the third angle of view (530) (e.g., x10.0 magnification).
[0075] Referring to FIG. 5b, according to one embodiment, the processor (110) can change the center of the preview image as the magnification of the camera (120) changes. According to one embodiment, the processor (110) can move the center of the preview image while performing a zoom-in operation.
[0076] As illustrated in FIG. 5b, according to one embodiment, the processor (110) can linearly shift the center of the preview image while the magnification of the camera (120) gradually changes from an initial magnification (e.g., x1.0 magnification) to a final magnification (e.g., x10.0 magnification).
[0077] According to one embodiment, the processor (110) can acquire an image through a wide camera while performing a zoom-out operation from an initial magnification (e.g., x1.0 magnification) to a camera transition magnification (e.g., x8.23 magnification). According to one embodiment, while the magnification is gradually (or linearly) changed from the initial magnification to the camera transition magnification, the center of the preview image can be gradually changed from C1 (0,0) (e.g., the first point (501) in FIG. 5a) to C2. For example, C2 can be calculated by the above Equation 1.
[0078] According to one embodiment, the processor (110) can switch the main camera in response to the magnification of the camera (120) becoming the camera switching magnification. According to one embodiment, the processor (110) can switch the main camera from the wide camera to the tele camera in response to the camera switching magnification (e.g., x8.23 magnification). According to one embodiment, the processor (110) can acquire an image through the tele camera while performing a zoom-in operation from the camera switching magnification to the final magnification. According to one embodiment, the processor (110) can gradually change the preview image center from C2 to C3 (0.4, 0.4) (e.g., the second point (502) in FIG. 5a) while the magnification is gradually (or linearly) changing from the camera switching magnification to the final magnification.
[0079] FIG. 6 is a block diagram of an electronic device (601) (e.g., the electronic device (100) of FIG. 1) in a network environment (600) according to one embodiment.
[0080] Referring to FIG. 6, in a network environment (600), an electronic device (601) may communicate with an electronic device (602) through a first network (698) (e.g., a short-range wireless communication network) or with an electronic device (604) or a server (608) through a second network (699) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (601) may communicate with an electronic device (604) through a server (608). According to one embodiment, the electronic device (601) may include a processor (610) (e.g., processor (110) of FIG. 1), memory (630), input module (650), sound output module (655), display module (660), audio module (670), sensor module (676), interface (677), connection terminal (678), haptic module (679), camera module (680), power management module (688), battery (689), communication module (690), subscriber identification module (696), or antenna module (697). In some embodiments, at least one of these components (e.g., connection terminal (678)) may be omitted from the electronic device (601), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (676), camera module (680), or antenna module (697)) may be integrated into a single component (e.g., display module (660)).
[0081] The processor (620) can control at least one other component (e.g., a hardware or software component) of the electronic device (601) connected to the processor (620) by executing software (e.g., a program (640)), for example, and can perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (620) can store commands or data received from other components (e.g., a sensor module (676) or a communication module (690)) in volatile memory (632), process the commands or data stored in volatile memory (632), and store the resulting data in non-volatile memory (634). According to one embodiment, the processor (620) may include a main processor (621) (e.g., a central processing unit or an application processor) or an auxiliary processor (623) that can operate independently or together with it (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device (601) includes a main processor (621) and an auxiliary processor (623), the auxiliary processor (623) may be configured to use less power than the main processor (621) or to be specialized for a designated function. The auxiliary processor (623) may be implemented separately from the main processor (621) or as part thereof.
[0082] The auxiliary processor (623) may control at least some of the functions or states associated with at least one component of the electronic device (601) (e.g., display module (660), sensor module (676), or communication module (690)) on behalf of the main processor (621) while the main processor (621) is in an inactive (e.g., sleep) state, or together with the main processor (621) while the main processor (621) is in an active (e.g., application execution) state. According to one embodiment, the auxiliary processor (623) (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module (680) or communication module (690)). According to one embodiment, the auxiliary processor (623) (e.g., neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, on the electronic device (601) itself where the artificial intelligence is performed, or through a separate server (e.g., server (608)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers.An artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may include a software structure, either additionally or substantially.
[0083] The memory (630) can store various data used by at least one component of the electronic device (601) (e.g., processor (620) or sensor module (676)). The data may include, for example, software (e.g., program (640)) and input or output data for related commands. The memory (630) may include volatile memory (632) or non-volatile memory (634).
[0084] The program (640) may be stored as software in memory (630) and may include, for example, an operating system (642), middleware (644), or an application (646).
[0085] The input module (650) can receive commands or data to be used for a component of the electronic device (601) (e.g., processor (620)) from outside the electronic device (601) (e.g., user). The input module (650) may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0086] The sound output module (655) can output a sound signal to the outside of the electronic device (601). The sound output module (655) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback. The receiver may be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part thereof.
[0087] The display module (660) can visually provide information to an external (e.g., user) of the electronic device (601). The display module (660) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling said device. According to one embodiment, the display module (660) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of the force generated by said touch.
[0088] The audio module (670) can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module (670) can acquire sound through the input module (650) or output sound through the sound output module (655) or an external electronic device (e.g., electronic device (602)) (e.g., speaker or headphones) connected directly or wirelessly to the electronic device (601).
[0089] The sensor module (676) can detect the operating state of the electronic device (601) (e.g., power or temperature) or the external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module (676) may include, for example, a gesture sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0090] The interface (677) may support one or more specified protocols that can be used for the electronic device (601) to be connected directly or wirelessly to an external electronic device (e.g., electronic device (602)). According to one embodiment, the interface (677) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0091] The connection terminal (678) may include a connector through which the electronic device (601) can be physically connected to an external electronic device (e.g., electronic device (602)). According to one embodiment, the connection terminal (678) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0092] The haptic module (679) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module (679) may include, for example, a motor, a piezoelectric element, or an electric stimulation device.
[0093] The camera module (680) can capture still images and video. According to one embodiment, the camera module (680) may include one or more lenses, image sensors, image signal processors, or flashes.
[0094] The power management module (688) can manage the power supplied to the electronic device (601). According to one embodiment, the power management module (688) can be implemented, for example, as at least part of a power management integrated circuit (PMIC).
[0095] The battery (689) can supply power to at least one component of the electronic device (601). According to one embodiment, the battery (689) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0096] The communication module (690) can support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between an electronic device (601) and an external electronic device (e.g., electronic device (602), electronic device (604), or server (608)), and the performance of communication through the established communication channel. The communication module (690) may include one or more communication processors that operate independently of the processor (620) (e.g., application processor) and support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (690) may include a wireless communication module (692) (e.g., cellular communication module, short-range wireless communication module, or GNSS (global navigation satellite system) communication module) or a wired communication module (694) (e.g., LAN (local area network) communication module, or power line communication module). The corresponding communication module among these communication modules can communicate with an external electronic device (604) via a first network (698) (e.g., a short-range communication network such as Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (699) (e.g., a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (692) can identify or authenticate the electronic device (601) within a communication network such as the first network (698) or the second network (699) using subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module (696).
[0097] The wireless communication module (692) can support 5G networks and next-generation communication technologies following 4G networks, for example, new radio access technology. NR access technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and connection of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low-latency communications (URLLC)). The wireless communication module (692) can support a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate, for example. The wireless communication module (692) can support various technologies for securing performance in the high-frequency band, such as beamforming, massive MIMO (multiple-input and multiple-output), full-dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large-scale antenna. The wireless communication module (692) can support various requirements specified in the electronic device (601), external electronic device (e.g., electronic device (604)), or network system (e.g., second network (699)). According to one embodiment, the wireless communication module (692) can support a Peak data rate (e.g., 20 Gbps or more) for eMBB realization, loss coverage (e.g., 164 dB or less) for mMTC realization, or U-plane latency (e.g., downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) for URLLC realization.
[0098] An antenna module (697) can transmit a signal or power to or from an external source (e.g., an external electronic device). According to one embodiment, the antenna module (697) may include an antenna comprising a radiator made of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (697) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as a first network (698) or a second network (699), may be selected from the plurality of antennas, for example, by a communication module (690). A signal or power may be transmitted or received between the communication module (690) and an external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, other components (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module (697).
[0099] According to various embodiments, the antenna module (697) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high frequency band (e.g., mmWave band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving a signal of the specified high frequency band.
[0100] At least some of the above components can be connected to each other via a communication method between peripheral devices (e.g., bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)) and exchange signals (e.g., commands or data) with each other.
[0101] According to one embodiment, commands or data may be transmitted or received between the electronic device (601) and an external electronic device (604) through a server (608) connected to a second network (699). Each of the external electronic devices (602, or 1004) may be the same or a different type of device as the electronic device (601). According to one embodiment, all or part of the operations performed on the electronic device (601) may be performed on one or more of the external electronic devices (602, 1004, or 1008). For example, if the electronic device (601) needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device (601) may request one or more external electronic devices to perform at least part of the function or service instead of performing the function or service itself or additionally. One or more external electronic devices that receive the above request may execute at least part of the requested function or service, or additional function or service related to the request, and transmit the result of the execution to the electronic device (601). The electronic device (601) may provide the result as is or additionally processed as at least part of the response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (601) may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (604) may include an Internet of Things (IoT) device. The server (608) may be an intelligent server using machine learning and / or neural networks. According to one embodiment, the external electronic device (604) or the server (608) may be included within a second network (699).The electronic device (601) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0102] The electronic device according to the various embodiments disclosed in this document may be of various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a consumer electronics device. The electronic device according to the embodiments of this document is not limited to the devices described above.
[0103] The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of said items unless the relevant context clearly indicates otherwise. In this document, phrases such 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 each include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used simply to distinguish said components from other said components and do not limit said components in any other aspect (e.g., importance or order). Where any (e.g., 1st) component is referred to as “coupled” or “connected” to another (e.g., 2nd) component, with or without the terms “functionally” or “communicationly,” it means that said any component may be connected to said other component directly (e.g., via a wire), wirelessly, or through a third component.
[0104] The term “module” as used in the various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be a component formed integrally, or a minimum unit of said component or a part thereof that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0105] Various embodiments of the present document may be implemented as software (e.g., program (640)) comprising one or more instructions stored in a storage medium (e.g., internal memory (636) or external memory (638)) readable by a machine (e.g., electronic device (601)). For example, a processor (e.g., processor (620)) of the machine (e.g., electronic device (601)) may call at least one of the one or more instructions stored in the storage medium and execute it. This enables the machine to be operated to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The storage medium readable by the machine may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' simply means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily.
[0106] According to one embodiment, the method according to the various embodiments disclosed herein may be provided as included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or distributed online (e.g., download or upload) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
[0107] According to various embodiments, each component (e.g., module or program) of the components described above may include a singular or multiple entities, and some of the multiple entities may be separated and placed in other components. According to various embodiments, one or more of the components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Generally or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the multiple components in the same or similar manner as those performed by the corresponding component among the multiple components prior to integration. According to various embodiments, operations performed by the module, program, or other components may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0108] FIG. 7 is a block diagram (700) illustrating a camera module (680) according to one embodiment.
[0109] Referring to FIG. 7, the camera module (680) may include a lens assembly (710), a flash (720), an image sensor (730), an image stabilizer (740), a memory (750) (e.g., a buffer memory), or an image signal processor (760). The lens assembly (710) may collect light emitted from a subject that is the target of image capture. The lens assembly (710) may include one or more lenses. According to one embodiment, the camera module (680) may include a plurality of lens assemblies (710). In this case, the camera module (680) may form, for example, a dual camera, a 360-degree camera, or a spherical camera. Some of the plurality of lens assemblies (710) may have the same lens properties (e.g., angle of view, focal length, autofocus, f-number, or optical zoom), or at least one lens assembly may have one or more lens properties different from the lens properties of other lens assemblies. The lens assemblies (710) may include, for example, wide-angle lenses or telephoto lenses.
[0110] A flash (720) may emit light used to enhance light emitted or reflected from a subject. According to one embodiment, the flash (720) may include one or more light-emitting diodes (e.g., RGB (red-green-blue) LED, white LED, infrared LED, or ultraviolet LED), or a xenon lamp. An image sensor (730) may acquire an image corresponding to the subject by converting light emitted or reflected from the subject and transmitted through the lens assembly (710) into an electrical signal. According to one embodiment, the image sensor (730) may include, for example, one image sensor selected from image sensors with different properties such as an RGB sensor, a BW (black and white) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same properties, or a plurality of image sensors having different properties. Each image sensor included in the image sensor (730) can be implemented using, for example, a CCD (charged coupled device) sensor or a CMOS (complementary metal oxide semiconductor) sensor.
[0111] The image stabilizer (740) may move at least one lens or image sensor (730) included in the lens assembly (710) in a specific direction or control the operational characteristics of the image sensor (730) (e.g., adjusting read-out timing) in response to the movement of the camera module (680) or the electronic device (601) containing it. This allows for compensating for at least some of the negative effects caused by the movement on the image being captured. According to one embodiment, the image stabilizer (740) may detect such movement of the camera module (680) or the electronic device (601) using a gyroscope sensor (not shown) or an accelerometer sensor (not shown) placed inside or outside the camera module (680). According to one embodiment, the image stabilizer (740) may be implemented, for example, as an optical image stabilizer. The memory (750) may temporarily store at least a portion of the image acquired through the image sensor (730) for the next image processing operation. For example, if image acquisition by the shutter is delayed or multiple images are acquired at high speed, the acquired original image (e.g., a Bayer-patterned image or a high-resolution image) is stored in the memory (750), and the corresponding copy image (e.g., a low-resolution image) can be previewed through the display device (660). Subsequently, when a specified condition is satisfied (e.g., user input or system command), at least a portion of the original image stored in the memory (750) may be acquired and processed, for example, by an image signal processor (760). According to one embodiment, the memory (750) may be composed of at least a portion of the memory (630) or a separate memory that operates independently thereof.
[0112] The image signal processor (760) can perform one or more image processing operations on an image obtained through the image sensor (730) or an image stored in memory (750). One or more of the above image processing may include, for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softing). Additionally or generally, the image signal processor (760) may perform control (e.g., exposure time control, or readout timing control, etc.) over at least one of the components included in the camera module (680) (e.g., image sensor (730)). The image processed by the image signal processor (760) may be stored back in memory (750) for further processing or provided to an external component of the camera module (680) (e.g., memory (630), display device (660), electronic device (602), electronic device (604), or server (608)). According to one embodiment, the image signal processor (760) is at least part of the processor (620). It may be configured as a separate processor that operates independently of the processor (620). If the image signal processor (760) is configured as a separate processor from the processor (620), at least one image processed by the image signal processor (760) may be displayed through the display device (660) as is or after additional image processing by the processor (620).
[0113] According to one embodiment, the electronic device (601) may include a plurality of camera modules (680) each having different attributes or functions. In this case, for example, at least one of the plurality of camera modules (680) may be a wide-angle camera and at least another may be a telephoto camera. Similarly, at least one of the plurality of camera modules (680) may be a front camera and at least another may be a rear camera.
[0114] As described above, an electronic device according to one embodiment (e.g., the electronic device (100) of FIG. 1) comprises a plurality of cameras, a display (e.g., the display (130) of FIG. 1), and at least one processor (e.g., the processor (110) of FIG. 1) electrically connected to the plurality of cameras and the display, wherein the at least one processor acquires a first image through a first camera among the plurality of cameras, displays a preview centered on a first point in the first image on the display while the magnification is set to a first magnification, acquires a user input to change the magnification from the first magnification to a second magnification, and in response to the user input, gradually changes the magnification from the first magnification to the second magnification, acquires a second image centered on a second point using a second camera among the plurality of cameras, changes the preview displayed on the display from the first image to at least a part area of the second image, and when the magnification is changed to the second magnification, the second point in the second image A preview is displayed on the display, and the at least one processor can gradually move the center of the preview from the first point to the second point as the magnification changes from the first magnification to the second magnification.
[0115] According to one embodiment, the first magnification may be greater than the second magnification.
[0116] According to one embodiment, when the first magnification is greater than the second magnification, the display displays a plurality of objects corresponding to each of the plurality of cameras while the camera application is running, and the user input may include a touch input for an object corresponding to the second magnification among the plurality of objects.
[0117] According to one embodiment, when the first magnification is greater than the second magnification, the at least one processor can move the center of the preview using at least one of a prism and a mirror.
[0118] According to one embodiment, when the first magnification is greater than the second magnification, the at least one processor can activate the second camera before acquiring the user input and switch the activated second camera to a standby state.
[0119] According to one embodiment, when the first magnification is greater than the second magnification, the at least one processor may disable the first camera or switch it to a standby state while acquiring the second image using the second camera.
[0120] According to one embodiment, if the first magnification is greater than the second magnification, the at least one processor can shift the center of the preview based on the offset obtained from the calibration.
[0121] According to one embodiment, when the first magnification is greater than the second magnification, the at least one processor calculates a designated magnification based on an offset obtained from the calibration to switch to the second camera, and can switch from the first camera to the second camera in response to the magnification becoming the calculated designated magnification.
[0122] According to one embodiment, the first magnification may be smaller than the second magnification.
[0123] According to one embodiment, when the first magnification is smaller than the second magnification, the display displays a plurality of objects corresponding to each of the plurality of cameras while the camera application is running, and the user input may include obtaining a touch input for an object corresponding to the second magnification among the plurality of objects.
[0124] According to one embodiment, when the first magnification is smaller than the second magnification, the at least one processor can move the center of the preview using at least one of a prism and a mirror.
[0125] According to one embodiment, when the first magnification is smaller than the second magnification, the at least one processor can activate the second camera before acquiring the user input and switch the activated second camera to a standby state.
[0126] According to one embodiment, if the first magnification is smaller than the second magnification, the at least one processor can shift the center of the preview based on the offset obtained from the calibration.
[0127] According to one embodiment, when the first magnification is smaller than the second magnification, the at least one processor calculates a specified magnification based on an offset obtained from the calibration to switch to the second camera, and can switch from the first camera to the second camera in response to the magnification becoming the calculated specified magnification.
[0128] As described above, the method of operation of an electronic device (e.g., the electronic device (100) of FIG. 1) according to one embodiment may include: acquiring a first image through a first camera among a plurality of cameras; displaying a preview centered on a first point in the first image on a display while the magnification is set to a first magnification; acquiring a user input to change the magnification from the first magnification to a second magnification; gradually changing the magnification from the first magnification to the second magnification in response to the user input; acquiring a second image centered on a second point using a second camera among the plurality of cameras; changing the preview displayed on the display from the first image to at least a part area of the second image; displaying a preview centered on a second point in the second image on the display when the magnification is changed to the second magnification; and gradually moving the center of the preview from the first point to the second point as the magnification is changed from the first magnification to the second magnification.
[0129] In the method of operation of an electronic device according to one embodiment, the first magnification may be greater than the second magnification.
[0130] A method of operation of an electronic device according to one embodiment may include an operation of moving the center of the preview using at least one of a prism and a mirror.
[0131] A method of operation of an electronic device according to one embodiment may include activating the second camera prior to acquiring the user input and switching the activated second camera to a standby state.
[0132] A method of operation of an electronic device according to one embodiment may include an operation of deactivating the first camera or switching it to a standby state in response to the acquisition of the user input.
[0133] A method of operation of an electronic device according to one embodiment may include an operation of moving the center of the preview based on an offset obtained from calibration, wherein the operation of moving the center of the preview may include an operation of moving the center of the preview based on an offset obtained from calibration.
Claims
Claim 1 In an electronic device, multiple cameras; a display; and includes at least one processor electrically connected to the plurality of cameras and the display, wherein the at least one processor: acquires a first image through a first camera among the plurality of cameras, and while the magnification is set to a first magnification, displays a preview centered on a first point in the first image on the display, acquires user input to change the magnification from the first magnification to a second magnification, acquires a camera switching magnification between the first magnification and the second magnification, and in response to the user input: gradually changes the magnification from the first magnification to the second magnification, and while changing the magnification from the first magnification to the camera switching magnification, displays a preview in which the center is gradually moved from the first point in the image acquired using the first camera to coordinates corresponding to the camera switching magnification, acquires a second image centered on a second point using a second camera among the plurality of cameras, and in response to the magnification becoming the camera switching magnification, displays a preview on the display from the first image to at least a part area of the second image. An electronic device that changes and displays a preview of the center gradually shifting from the coordinates to the second point among images acquired using the second camera while changing the magnification from the camera switching magnification to the second magnification. Claim 2 An electronic device according to claim 1, wherein the first magnification is greater than the second magnification. Claim 3 An electronic device according to claim 2, wherein the display displays a plurality of objects corresponding to each of the plurality of cameras when a camera application is executed, and the user input includes a touch input for an object corresponding to the second magnification among the plurality of objects. Claim 4 An electronic device according to claim 2, wherein the at least one processor moves the center of the preview using at least one of a prism and a mirror. Claim 5 An electronic device according to claim 2, wherein at least one processor activates the second camera prior to acquiring the user input and switches the activated second camera to a standby state. Claim 6 An electronic device according to claim 2, wherein the at least one processor disables or switches the first camera to a standby state while acquiring the second image using the second camera. Claim 7 An electronic device according to claim 2, wherein at least one processor shifts the center of the preview based on an offset obtained from calibration. Claim 8 An electronic device according to claim 7, wherein the at least one processor calculates a specified magnification that causes switching to the second camera based on an offset obtained in the calibration, and switches from the first camera to the second camera in response to the magnification becoming the calculated specified magnification. Claim 9 An electronic device according to claim 1, wherein the first magnification is smaller than the second magnification. Claim 10 An electronic device according to claim 9, wherein the display displays a plurality of objects corresponding to each of the plurality of cameras while a camera application is executed, and the user input acquires a touch input for an object corresponding to the second magnification among the plurality of objects. Claim 11 An electronic device according to claim 9, wherein the at least one processor moves the center of the preview using at least one of a prism and a mirror. Claim 12 An electronic device according to claim 9, wherein at least one processor activates the second camera prior to acquiring the user input and switches the activated second camera to a standby state. Claim 13 An electronic device according to claim 9, wherein at least one processor shifts the center of the preview based on an offset obtained from calibration. Claim 14 An electronic device according to claim 13, wherein the at least one processor calculates a specified magnification that causes switching to the second camera based on an offset obtained in the calibration, and switches from the first camera to the second camera in response to the magnification becoming the calculated specified magnification. Claim 15 A method of operating an electronic device comprises: an operation of acquiring a first image through a first camera among a plurality of cameras; an operation of displaying a preview centered on a first point in the first image on a display while the magnification is set to a first magnification; an operation of acquiring a user input to change the magnification from the first magnification to a second magnification; an operation of acquiring a camera switching magnification between the first magnification and the second magnification; and an operation of gradually changing the magnification from the first magnification to the second magnification in response to the user input; wherein the operation of gradually changing comprises: an operation of displaying a preview in which the center is gradually moved from the first point in the image acquired using the first camera to coordinates corresponding to the camera switching magnification while the magnification is changed from the first magnification to the camera switching magnification; an operation of acquiring a second image centered on a second point using a second camera among the plurality of cameras; and an operation of changing the preview displayed on the display from the first image to at least a part area of the second image in response to the magnification becoming the camera switching magnification. A method of operation of an electronic device comprising, while changing the magnification from the camera switching magnification to the second magnification, displaying a preview in which the center is gradually moved from the coordinates to the second point among images acquired using the second camera. Claim 16 A method of operating an electronic device according to claim 15, wherein the first magnification is greater than the second magnification. Claim 17 A method of operation of an electronic device according to claim 15, wherein the operation of moving the center of the preview includes the operation of moving using at least one of a prism and a mirror. Claim 18 A method of operation of an electronic device according to claim 15, comprising the operation of activating the second camera prior to acquiring the user input and switching the activated second camera to a standby state. Claim 19 A method of operation of an electronic device according to claim 15, comprising the operation of deactivating the first camera or switching it to a standby state while acquiring the second image using the second camera. Claim 20 A method of operation of an electronic device according to claim 19, wherein the operation of moving the center of the preview includes the operation of moving the center of the preview based on an offset obtained from calibration.
Citation Information
Patent Citations
Dual-aperture zoom digital camera with automatic adjustable tele field of view
KR1020180054825A
Electronic device and method for modifying magnification of image using multiple cameras
KR1020200101207A
Zooming method and electronic device applying the same
KR1020200132981A
