Electronic device comprising plurality of cameras, and control method therefor

By adjusting the viewpoint of captured images using a calculated setting value, the electronic device synchronizes stereoscopic image capture and playback, addressing the mismatch issue and ensuring a consistent 3D experience across devices with multiple cameras.

WO2025211706A1PCT designated stage Publication Date: 2025-10-09SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/004255
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-27
Filing Date
2025-04-01
Publication Date
2025-10-09

AI Technical Summary

Technical Problem

Existing electronic devices with multiple cameras struggle to synchronize the viewpoint during stereoscopic image capture and playback, leading to a mismatch between the perceived space during shooting and playback, especially when using devices without 3D display capabilities.

Method used

The electronic device adjusts the viewpoint of captured images by shifting the preview images by a calculated setting value based on the physical distance and focal length of the cameras, ensuring that the images are aligned for both capture and playback, even on devices without 3D display functionality.

Benefits of technology

This synchronization method ensures that the perceived space during shooting and playback of stereoscopic images aligns correctly, providing a consistent 3D experience across different devices, including those without inherent 3D display capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025004255_09102025_PF_FP_ABST
    Figure KR2025004255_09102025_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device according to one embodiment comprises: a display; a first camera; a second camera; a memory for storing instructions; and at least one processor operatively connected to the display, the first camera, the second camera and the memory, wherein, when executed individually or collectively by the at least one processor, the instructions can cause the electronic device to: acquire a first image through the first camera on the basis that a user input for capturing a stereo image is received; acquire a second image through the second camera; and display, as a preview image, through the display, an image having a viewpoint shifted by a first set value in a first direction from the first image set for the preview image among the first image and the second image.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device including multiple cameras and method for controlling the same

[0001] Various embodiments of the present invention relate to an electronic device including a plurality of cameras and a method for controlling the same.

[0002] The variety of services and additional features offered through electronic devices, such as smartphones, is steadily increasing. To enhance the utility of these devices and satisfy the diverse needs of users, telecommunications service providers and electronic device manufacturers are competitively developing electronic devices to offer a variety of features and differentiate themselves from competitors. Consequently, the various functions offered through electronic devices are also becoming increasingly sophisticated.

[0003] Recently, technologies have been developed that allow electronic devices to capture images in various ways, including using multiple cameras. Electronic devices can capture stereoscopic images using multiple cameras. Stereoscopic images capture a pair of 2D images that utilize the visual differences between the two eyes to create a three-dimensional sense of depth. Stereoscopic images are fundamentally based on the principle that the images received by each eye differ due to parallax (e.g., binocular parallax) based on the distance between the two eyes, and that this difference is recognized to create a sense of depth. Thus, two images, one for the left and one for the right, are displayed as a pair.

[0004] The above information may be provided as background information to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.

[0005] According to one embodiment, an electronic device includes a display, a first camera, a second camera, a memory storing instructions, and at least one processor operatively connected to the display, the first camera, the second camera, and the memory, wherein the instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: acquire a first image through the first camera, acquire a second image through the second camera, and display an image, in which a viewpoint is moved in a first direction by a first setting value from the first image set for a preview image among the first image and the second image, as a preview image through the display.

[0006] According to one embodiment, a method for controlling an electronic device may include an operation of confirming that a user input for capturing a stereo image is received, an operation of obtaining a first image through a first camera and a second image through a second camera based on confirming that the user input for capturing the stereo image is received, and an operation of displaying an image, in which a viewpoint is moved in a first direction by a first setting value from among the first image and the second image, as a preview image through a display.

[0007] According to one embodiment, an electronic device includes a display, a first camera, a second camera, a memory storing instructions, and at least one processor operatively connected to the display, the first camera, the second camera, and the memory, wherein the instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: acquire a first image through the first camera, acquire a second image through the second camera, display the first image as a preview image through the display, and store an image in which a viewpoint is moved in a first direction by a first set value in each of the first image and the second image, as an image for a stereo video, in the memory.

[0008] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment.

[0009] FIG. 2 is a diagram illustrating an example configuration of an electronic device including a plurality of cameras according to an embodiment of the present disclosure.

[0010] FIG. 3 is a block diagram of an electronic device including a plurality of cameras according to one embodiment of the present disclosure.

[0011] FIG. 4 is a drawing showing a mismatch between a shooting time and a playback time according to one embodiment of the present disclosure.

[0012] FIG. 5 is a diagram illustrating a concept of a method for matching a shooting point and a playback point according to one embodiment of the present disclosure.

[0013] FIG. 6 is a diagram illustrating calculation of a setting value for movement of a point in time according to one embodiment of the present disclosure.

[0014] FIG. 7 is a diagram illustrating calculation of a setting value for movement of a point in time according to one embodiment of the present disclosure.

[0015] FIG. 8 is a drawing showing the coincidence of a shooting point and a playback point according to one embodiment of the present disclosure.

[0016] FIG. 9 is a diagram illustrating a method for displaying stereo video in an electronic device according to an embodiment of the present disclosure.

[0017] FIG. 10 is a diagram showing an example of a data format of stereo video according to one embodiment of the present disclosure.

[0018] FIG. 11 is a diagram illustrating an example of a data format of a stereo video with a preview image added, according to an embodiment of the present disclosure.

[0019] FIG. 12 is a diagram showing an example of a header configuration for storing setting values ​​related to viewpoint movement according to one embodiment of the present disclosure.

[0020] FIG. 13 is a diagram illustrating a concept of an image adjustment and viewpoint movement method according to one embodiment of the present disclosure.

[0021] FIG. 14 is a flowchart illustrating a method for synchronizing a shooting point and a playback point according to one embodiment of the present disclosure.

[0022] FIG. 15 is a flowchart illustrating a method for moving and storing a viewpoint when shooting a stereo image according to an embodiment of the present disclosure.

[0023] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein. In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Furthermore, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and conciseness.

[0024] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment.

[0025] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).

[0026] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.

[0027] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can 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 can include multiple artificial neural network layers.The artificial neural network may be one of 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, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0028] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).

[0029] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

[0030] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0031] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0032] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0033] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).

[0034] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0035] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0036] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0037] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0038] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

[0039] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0040] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0041] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (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 module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as 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 can 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 (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).

[0042] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0043] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) 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 the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).

[0044] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.

[0045] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0046] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) 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.

[0047] The artificial intelligence-related functions according to the present disclosure are operated through a processor and memory. The processor may be composed of one or more processors. In this case, one or more processors may be a general-purpose processor such as a central processing unit (CPU), an application processor (AP), or a digital signal processor (DSP), a graphics-only processor such as a graphics processing unit (GPU) or a vision processing unit (VPU), or an artificial intelligence-only processor such as an NPU. One or more processors control the processing of input data according to predefined operation rules or artificial intelligence models stored in memory. Alternatively, if one or more processors are artificial intelligence-only processors, the artificial intelligence-only processor may be designed with a hardware structure specialized for processing a specific artificial intelligence model.

[0048] The predefined operation rules or artificial intelligence models are characterized by being created through learning. Here, being created through learning means that the basic artificial intelligence model is trained using a learning algorithm using a plurality of learning data, thereby creating a predefined operation rules or artificial intelligence model set to perform a desired characteristic (or purpose). This learning may be performed on the device itself on which the artificial intelligence according to the present disclosure is performed, or may be performed through a separate server and / or system. Examples of the learning algorithm include, but are not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning.

[0049] An artificial intelligence model may be composed of multiple neural network layers. Each of the multiple neural network layers has multiple weight values, and performs neural network operations through operations between the operation results of the previous layer and the multiple weights. The multiple weights of the multiple neural network layers may be optimized based on the learning results of the artificial intelligence model. For example, the multiple weights may be updated so that the loss value or cost value obtained from the artificial intelligence model is reduced or minimized during the learning process. The artificial neural network may include a deep neural network (DNN), and examples thereof include, but are not limited to, a convolutional neural network (CNN), a deep neural network (DNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), or deep Q-networks.

[0050] FIG. 2 is a diagram illustrating an example configuration of an electronic device including a plurality of cameras according to an embodiment of the present disclosure.

[0051] Referring to FIG. 2, an electronic device (201) according to one embodiment (e.g., the electronic device (101) of FIG. 1) may include a camera (220) (e.g., the camera module (190) of FIG. 1). However, the electronic device (101) according to one embodiment may further include other components described in FIG. 1.

[0052] An electronic device (201) according to one embodiment can capture a stereo image using a camera (220) (e.g., a plurality of cameras (221, 223)). According to one embodiment, a “stereo image” is an image obtained through two or more cameras, and can be used to mean a pair of 2D images that enable the perception of a three-dimensional sense of depth by utilizing the difference in visual acuity of both eyes. For example, the stereo image may include a left-eye image corresponding to the left eye and a right-eye image corresponding to the right eye. According to one embodiment, the stereo image may be played back through an electronic device developed in a form that a user can wear (e.g., a wearable electronic device such as an augmented reality glass (AR glass), a video see-through (VST) device, or a head-mounted display (HMD) device) and shown to the user in the form of a 3D image. The stereo image may also be replaced with the term “spatial video,” but is not limited to a specific term.

[0053] According to one embodiment, the camera (220) may include a plurality of cameras, and among the plurality of cameras, a front camera may be disposed on a first surface (e.g., the front) of the housing, and among the plurality of cameras, a plurality of rear cameras may be disposed on a second surface (e.g., the rear) of the housing. For example, when the electronic device (201) is placed in a horizontal direction (a direction rotated 90 degrees from the vertical direction illustrated in FIG. 2), the camera (220) may capture a stereo image using at least two (e.g., a first camera (221) and a second camera (223)) of the plurality of rear cameras that are disposed in a line in a first direction (e.g., the Y direction). According to one embodiment, the camera (220) may include a first camera (221) and a second camera (223) of different or the same kind for capturing a stereo image. The first camera (221) and the second camera (223) of different or the same kind may be rear cameras disposed on the rear of the electronic device (201). For example, if the first camera (221) and the second camera (223) are different types of cameras, the first camera (221) may be a wide-angle camera, and the second camera (223) may be an ultra-wide-angle camera.

[0054] According to one embodiment, when the electronic device (201) is foldable, when the electronic device (201) is fully unfolded, the front camera (e.g., front cover camera) and the rear camera may face the same direction. Accordingly, stereo images may be captured using at least one camera positioned on the front and at least one camera positioned on the rear (e.g., a wide-angle camera or an ultra-wide-angle camera).

[0055] In one embodiment, for convenience of explanation, in the embodiments described below, among the multiple cameras used for stereoscopic image capture, the first camera may be set to correspond to the left eye, and the second camera may be set to correspond to the right eye. In various embodiments, the first camera may be set to correspond to the right eye, and the second camera may be set to correspond to the left eye.

[0056] FIG. 3 is a block diagram of an electronic device including a plurality of cameras according to one embodiment of the present disclosure.

[0057] Referring to FIG. 3, an electronic device (101) including a plurality of cameras (e.g., the electronic device (201) of FIG. 2) may include a processor (320) (e.g., the processor (120) of FIG. 1), a memory (330) (e.g., the memory (130) of FIG. 1), a display (360) (e.g., the display module (160) of FIG. 1), and a plurality of cameras (e.g., the camera module (180) of FIG. 1). The plurality of cameras may include a first camera (381) (e.g., the first camera (221) of FIG. 2) and a second camera (382) (e.g., the second camera (223) of FIG. 2). Although FIG. 3 illustrates two cameras, this is for convenience of explanation, and the electronic device may include three or more cameras.

[0058] According to one embodiment, when a user inputs execution of an application related to taking pictures or videos on an electronic device (101), the processor (320) may execute a program corresponding to the application related to taking pictures or videos stored in the memory (330) (e.g., program (140) of FIG. 1).

[0059] According to one embodiment, the processor (320) may display a preview image through the display (360) according to the execution of an application related to the photo or video recording. The preview image displayed through the display (360) may correspond to a first image (e.g., a left-eye image) acquired (or captured) through the first camera (381) or a second image (e.g., a right-eye image) acquired (or captured) through the second camera (382).

[0060] According to one embodiment, when a user input for starting shooting of a stereo image is received through the application, and a user input for ending shooting is received after a certain period of time, the processor (320) may store the first image acquired through the first camera (381) and the second image acquired through the second camera (382) from the start time of shooting to the end time of shooting as a stereo image in the memory (330). According to one embodiment, the stereo image stored in the memory (330) may be stored in the form of a compressed file based on a set coding method (e.g., HV-HEVC (multi-view high efficiency video coding)). According to one embodiment, the user input for starting shooting of the stereo image may be set or confirmed by an input of a video shooting start button when the shooting mode in the application is set to a stereo image shooting mode, or may be set or confirmed by an input of a stereo image shooting start button that is set separately.

[0061] FIG. 4 is a drawing showing a mismatch between a shooting time and a playback time according to one embodiment of the present disclosure.

[0062] Referring to FIG. 4, when capturing a stereo image of an object (400) using a head mounted display (HMD) device (410), the user looks at the object (400) while wearing the HMD device (410), so the point of view of the space (411) recognized by the user through the screen may be a point of view where the object (400) is located at the center. In the following description, the point of view may be replaced with the term picture composition, photo composition used in the photography field. According to one embodiment, the screen actually shown to the user may include a left-eye image (412a) captured through a first camera and a right-eye image (412b) captured through a second camera. Since the user views the object (400) with both eyes through the first camera and the second camera of the HMD device (410), the left-eye image (412a) may be an image in which the object (400) has moved to the right by a certain distance from the center, and the right-eye image (412b) may be an image in which the object (400) has moved to the left by a certain distance from the center. The left-eye image (413a) and the right-eye image (413b) captured by the user through the HMD device (410) may be stored in memory as stereo images (e.g., in the form of a compressed file using a set coding method (e.g., HV-HEVC (multi-view high efficiency video coding)). According to one embodiment, when a user wears the HMD device (410) and plays back a stereo image using the left eye image (413a) and the right eye image (413b) stored in the memory, the image (414) recognized by the user through the screen during the playback may have the object (400) positioned at the center in the same manner as the image (411) recognized by the user through the screen during the shooting.Hereinafter, the display of stereo images (e.g., left-eye images and right-eye images) stored in memory on the screen for the user to enjoy a video will be referred to as “reproduction of stereo images” to distinguish it from the display of preview images.

[0063] According to one embodiment, a user may capture a stereo image through an electronic device (101) (e.g., a smartphone) that does not provide a 3D display function, rather than the HMD device (410). For example, as described above in the descriptions of FIGS. 2 and 3 , among the multiple cameras arranged in the electronic device (101), a first camera (e.g., the first camera (381) of FIG. 3 ) may be set as a camera corresponding to the left eye, and a second camera (e.g., the second camera (382) of FIG. 3 ) may be set as a camera corresponding to the right eye, thereby capturing and storing a stereo image. When capturing a stereo image of an object (400) using an electronic device (101) (e.g., a smartphone) that does not provide the above 3D display function, the electronic device (101) may display either a first image captured by a first camera corresponding to the left eye or a second image captured by a second camera corresponding to the right eye as a preview image (e.g., a display (360) of FIG. 3). For example, since a user looks at an object while holding the electronic device (101) in his or her hand, the point of view of the space (421) recognized by the user through the screen, as illustrated in FIG. 4, may be a point of view where the object (400) is located at the center. According to one embodiment, a screen (422) displayed to an actual user as a preview image may correspond to either a left-eye image (423a) captured by the first camera and a right-eye image (423b) captured by the second camera (e.g., a right-eye image (423b)). Since the user adjusts the viewpoint so that the object (400) is positioned at the center through the preview image (422) in order to take a picture of the object (400), the right-eye image (423b) displayed as the preview image can have the object (400) positioned at the center.According to one embodiment, since the viewpoint of the left-eye image (423a) is determined based on the relative positions of the first camera and the second camera, the left-eye image (423a) may be an image in which the object (400) is moved a certain distance further to the right from the center than the left-eye image (413a) captured through the MHD device (410). The left-eye image (423a) and the right-eye image (423b) captured by the user through the electronic device (101) may be stored in the memory as stereo images. According to one embodiment, when the stereo image stored in the memory is played back for viewing on the HMD device (410), the image (424) recognized by the user through the screen during the playback may be positioned such that the object (400) is moved to the right, unlike the image (421) recognized by the user through the screen during the shooting. For example, the viewpoint of the space recognized by the user when capturing a stereo image through the electronic device (101) and the viewpoint of the screen recognized by the user when playing back the stereo image through the HMD device (410) may not match each other.

[0064] Hereinafter, with reference to FIGS. 5 to 8, various embodiments for matching the viewpoint of space perceived by the user when shooting a stereo image through an electronic device (101) and the viewpoint of the screen perceived by the user when playing back the stereo image shot through the electronic device (101) through an HMD device (410) will be described.

[0065] FIG. 5 is a diagram illustrating a concept of a method for matching a shooting point and a playback point according to one embodiment of the present disclosure.

[0066] Referring to FIG. 5, according to one embodiment, a user may capture a stereo image through an electronic device (101) (e.g., a smartphone) that does not provide a 3D display function, rather than the HMD device (410). For example, as described above in the descriptions of FIGS. 2 and 3, among the multiple cameras arranged in the electronic device (101), a first camera (e.g., the first camera (381) of FIG. 3) may be set as a camera corresponding to the left eye, and a second camera (e.g., the second camera (382) of FIG. 3) may be set as a camera corresponding to the right eye, thereby capturing and storing a stereo image. When capturing a stereo image of an object (400) using an electronic device (101) (e.g., a smartphone) that does not provide the above 3D display function, the electronic device (101) may display either a first image captured by a first camera corresponding to the left eye or a second image captured by a second camera corresponding to the right eye as a preview image through a display (e.g., a display (360) of FIG. 3). For example, since a user looks at an object while holding the electronic device (101) in his / her hand, the point of view of the space recognized by the user through the screen may be a point of view where the object (400) is located at the center, as illustrated in FIG. 4. According to one embodiment, a screen (521) displayed as a preview image to an actual user may correspond to either a set image of a left-eye image (523a) captured by the first camera and a right-eye image (523b) captured by the second camera.

[0067] According to various embodiments, in order to match the shooting time and the playback time, the processor (e.g., the processor (320) of FIG. 3) may display one of the images, a left-eye image (523a) captured by the first camera and a right-eye image (523b) captured by the second camera, as a preview image after moving the viewpoint in a first direction (e.g., left or right) by a first setting value. For example, as illustrated in FIG. 5, when the right-eye image (523b) is set as a preview image, the viewpoint of the right-eye image (523b) may be moved to the right by the first setting value, and then the right-eye image (523b) whose viewpoint has been moved to the right by the first setting value may be displayed as a preview image. Since the user adjusts the viewpoint so that the object (400) is located at the center of the screen through the preview image, the viewpoints of the left-eye image (523a) and the right-eye image (523b) saved as actual stereo images are moved to the left by the first setting value compared to FIG. 4. The viewpoints of the left-eye image (523a) and the right-eye image (523b) moved to the left by the first setting value may be the same as the viewpoints of the left-eye image (413a) and the right-eye image (413b) of the stereo image saved through the HMD device (410) in FIG. 4. Since the user adjusts the viewpoint so that the object (400) is located at the center through the preview image (521) whose viewpoint is moved from the right-eye image (523b) in order to capture the object (400), the preview image (521) may have the object (400) located at the center. The left eye image (523a) and right eye image (523b) captured by the user through the electronic device (101) can be stored in memory as stereo images.According to one embodiment, when a stereo image stored in the memory is played back for viewing on the HMD device (410), the image (524) recognized by the user through the screen during the playback may have the object (400) positioned at the center of the screen in the same manner as the preview image (521) recognized by the user through the screen during the shooting. For example, when shooting a stereo image through the electronic device (101), the viewpoint of the space recognized by the user and the viewpoint of the screen recognized by the user when playing back the stereo image through the HMD device (410) may coincide with each other.

[0068] FIG. 6 is a diagram illustrating calculation of a setting value for movement of a point in time according to one embodiment of the present disclosure.

[0069] As described above, in order to match the shooting time and the playback time, the processor (e.g., the processor (320) of FIG. 3) may display one image among the left-eye image (523a) captured by the first camera and the right-eye image (523b) captured by the second camera as a preview image after moving the viewpoint by a first setting value in the first direction (e.g., left or right).

[0070] Referring to FIG. 6, the first setting value may be set by a physical distance (B) (e.g., baseline) between the first camera (381) and the second camera (382), a focal length (f) of the first camera (381) or the second camera (382), and a distance (Z) between the center of the two cameras (381, 382) and the object (400). For example, the first setting value (△x) may be set by the following <Mathematical Formula 1>.

[0071]

[0072] According to various embodiments, when the right-eye image (523b) is shifted by the first setting value as illustrated in FIG. 5 and used as a preview image, an image in which the viewpoint of the right-eye image (523b) is shifted to the right by the first setting value may be displayed as a preview image. In one embodiment, in order to shift the viewpoint of the right-eye image (523b) to the right by the first setting value, a processor (e.g., the processor (320) of FIG. 3) may shift crop the right-eye image (523b) to the left by the first setting value to generate a preview image. A specific method of the shift crop will be described later in the description of FIG. 13.

[0073] According to various embodiments, when the left-eye image (523a) is shifted by the first setting value and used as a preview image, an image in which the viewpoint of the left-eye image (523a) is shifted to the left by the first setting value may be displayed as a preview image. According to one embodiment, in order to shift the viewpoint of the left-eye image (523a) to the left by the first setting value, a processor (e.g., processor (320) of FIG. 3) may generate a preview image by shift-cropping the left-eye image (523a) to the right by the first setting value. A specific method of the shift crop will be described later in the description of FIG. 13.

[0074] FIG. 7 is a diagram illustrating calculation of a setting value for movement of a point in time according to one embodiment of the present disclosure.

[0075] Referring to FIG. 7, according to various embodiments, a second image captured by a second camera corresponding to the right eye may be displayed as a preview image. For example, since a user looks at an object while displaying the second image corresponding to the right eye as a preview image, a mismatch in viewpoints may occur when capturing a stereo image. In the embodiment of FIG. 8 described below, in order to match viewpoints, an image in which the viewpoint is shifted in a first direction (e.g., left or right) by a first setting value in each of a left-eye image captured by the first camera of the electronic device (101) and a right-eye image captured by the second camera may be stored in memory as an image for a stereo image. According to various embodiments, the first setting value may be determined by the aforementioned <Mathematical Formula 1>.

[0076] FIG. 8 is a diagram illustrating a concept of a method for matching a shooting point and a playback point according to one embodiment of the present disclosure.

[0077] Referring to FIG. 8, according to one embodiment, a user may capture a stereo image through an electronic device (101) (e.g., a smartphone) that does not provide a 3D display function, rather than the HMD device (410). For example, as described above in the descriptions of FIGS. 2 and 3, among the multiple cameras arranged in the electronic device (101), a first camera (e.g., the first camera (381) of FIG. 3) may be set as a camera corresponding to the left eye, and a second camera (e.g., the second camera (382) of FIG. 3) may be set as a camera corresponding to the right eye, thereby capturing and storing a stereo image. When capturing a stereo image of an object (400) using an electronic device (101) (e.g., a smartphone) that does not provide the above 3D display function, the electronic device (101) may display either a first image captured by a first camera corresponding to the left eye or a second image captured by a second camera corresponding to the right eye as a preview image through a display (e.g., a display (360) of FIG. 3). For example, since a user looks at an object while holding the electronic device (101) in his / her hand, the point of view of the space (821) recognized by the user through the screen, as illustrated in FIG. 8, may be a point of view where the object (400) is located at the center. According to one embodiment, a screen (822) displayed to an actual user as a preview image may correspond to either a left-eye image captured by the first camera or a right-eye image captured by the second camera (e.g., a right-eye image). Since the user adjusts the viewpoint so that the object (400) is positioned at the center through the preview image (822) in order to take a picture of the object (400), the right-eye image displayed as the preview image can have the object (400) positioned at the center.

[0078] According to various embodiments, in order to match the shooting time and the playback time, the processor (e.g., the processor (320) of FIG. 3) may store in memory, as an image for a stereo video, an image in which the viewpoint is moved in a first direction (e.g., left or right) by a first setting value, in each of the left-eye image (823a) captured by the first camera and the right-eye image (823b) captured by the second camera. For example, when displaying the right-eye image captured by the second camera as a preview image (822) as illustrated in FIG. 8, an image in which the viewpoint is moved to the left by a first setting value, in each of the left-eye image (823a) captured by the first camera and the right-eye image (823b) captured by the second camera, may be stored in memory as an image for a stereo video. For example, when displaying a left-eye image captured through the first camera as a preview image (822), an image whose viewpoint is shifted to the right by a first setting value in each of the left-eye image (823a) captured through the first camera and the right-eye image (823b) captured through the second camera can be stored in memory as an image for a stereo image. According to various embodiments, the first setting value can be determined by <Mathematical Formula 1>.

[0079] According to one embodiment, when a stereo image stored in the memory is played back for viewing on an HMD device, the image (824) recognized by the user through the screen during the playback may have the object (400) positioned at the center of the screen in the same manner as the preview image (822) recognized by the user through the screen during the shooting. For example, when shooting a stereo image through the electronic device (101), the viewpoint of the space recognized by the user and the viewpoint of the screen recognized by the user when playing back the stereo image through the HMD device may coincide with each other.

[0080] FIG. 9 is a diagram illustrating a method for displaying stereo video in an electronic device according to an embodiment of the present disclosure.

[0081] Referring to FIG. 9, according to one embodiment, a user can view and play stereo images through an electronic device (101) (e.g., a smartphone) that does not provide a 3D display function, rather than the HMD device (410).

[0082] According to various embodiments, when a user input for playing a stereo image is received, the electronic device (101) may selectively output a left-eye image or a right-eye image stored in memory through a display. The left-eye image or the right-eye image may have a mismatch in viewpoint with the preview image as an image for a stereo image.

[0083] According to various embodiments, the electronic device (101) may additionally store a preview image (822) in memory. When a user input for reproduction of a stereo image is received, the preview image (913) stored in the memory may be reproduced and output (or displayed) through a display. By storing the preview image (913) separately from the image for the stereo image and displaying the preview image (913) when a user input for reproduction of the stereo image is received, a mismatch in viewpoints may not occur.

[0084] According to various embodiments, when a user input for reproduction of a stereo image is received, the electronic device (101) may selectively output a left-eye image or a right-eye image stored in a memory through a display. At this time, the electronic device (101) may output (or display) an image whose viewpoint is shifted by a first set value through the display of the left-eye image or the right-eye image. By shifting the viewpoint of the left-eye image or the right-eye image and displaying it when a user input for reproduction of a stereo image is received, a mismatch in viewpoints may not occur.

[0085] FIG. 10 is a diagram showing an example of a data format of stereo video according to one embodiment of the present disclosure.

[0086] Referring to FIG. 10, according to various embodiments, the images for the stereoscopic images described above may be compressed in a multiview high efficiency video coding (MV-HEVC) format and stored in a memory. The MV-HEVC may utilize redundant information between image data to minimize the storage space of the memory. For example, as illustrated in FIG. 10, the left-eye image may be stored as a base frame (1010). The right-eye image may be stored as a secondary frame (1020). According to various embodiments, the secondary frame (1020) may be compressed based on the base frame (1010) to minimize the storage space of the memory. For example, the secondary frame (1020) may store only the difference value between the right-eye image and the left-eye image.

[0087] FIG. 11 is a diagram illustrating an example of a data format of a stereo video with a preview image added, according to an embodiment of the present disclosure.

[0088] Referring to FIG. 11, as described above in FIG. 10, MV-HEVC can store the left-eye image as a base frame (1110). The right-eye image can be stored as a secondary frame (1120). According to various embodiments, the secondary frame (1120) can minimize the storage space of the memory by compressing it based on the base frame (1110). For example, the secondary frame (1120) can store only the difference value between the right-eye image and the left-eye image.

[0089] According to various embodiments, a preview image may be additionally stored in the stereo video for viewpoint matching, as in FIG. 9 described above. For example, the preview image may be stored as a preview frame (1130) added to the base frame (1110) and the secondary frame (1120), according to the MV-HEVC format.

[0090] FIG. 12 is a diagram showing an example of a header configuration for storing setting values ​​related to viewpoint movement according to one embodiment of the present disclosure.

[0091] Referring to FIG. 12, as described above, a viewpoint change amount (e.g., a first setting value) may be stored in a header area of ​​MV-HEVC for viewpoint matching. For example, as illustrated in FIG. 12, the MV-HEVC header may include a video parameter set (VPS) area (1210), a sequence parameter set (SPS) area (1220), a picture parameter set (PPS) area (1230), and an ETC area (1240). The VPS area (1210) may correspond to an area defining the overall structure of a video stream among the information streams of MV-HEVC. The VPS area (1210) may include a VPS fixed data area (1211) and a VPS extended data area (1212). According to various embodiments, the viewpoint change amount (e.g., a first setting value) may be stored in the VPS extended data area (1212).

[0092] According to various embodiments, the storage cycle of the viewpoint change amount may be set in various ways. For example, the viewpoint change amount may be stored once in a stereo video file. The viewpoint change amount may be stored for each frame of the stereo video. The viewpoint change amount may also be stored aperiodically. For example, the viewpoint change amount may be stored when a depth change is detected in a stereo image. According to various embodiments, the viewpoint change amount may be stored as metadata in an additional track of the MV-HEVC.

[0093] FIG. 13 is a diagram illustrating a concept of an image adjustment and viewpoint movement method according to one embodiment of the present disclosure.

[0094] Referring to FIG. 13, a left-eye image (1301) captured by a first camera and a right-eye image (1302) captured by a second camera can be rectified, respectively. The rectification may mean projecting the plane of the left-eye image or the right-eye image onto a common line parallel to the line between the centers of the cameras. If the rectified left-eye image (1311) and the rectified right-eye image (1312) are images captured by a smartphone, a difference in camera performance may occur. For example, the left-eye image (1311) may be an image captured by an ultra-wide-angle lens, and the right-eye image (1312) may be an image captured by a wide-angle lens. According to various embodiments, the electronic device (101) may additionally perform a correction to match the resolution and / or angle of view between the left-eye image (1311) and the right-eye image (1312).

[0095] According to various embodiments, the electronic device (101) may store, in the memory, images in which the viewpoint is shifted to the left by a first set value in each of the left-eye image (823a) captured by the first camera and the right-eye image (823b) captured by the second camera in the above-described correction step as images for stereo imaging. The operation of shifting the viewpoint of the image in the above-described correction step may be performed by a shift crop operation in the entire image captured by the camera, as illustrated in FIG. 13.

[0096] Hereinafter, with reference to FIGS. 14 and 15, operations of an electronic device for matching a shooting point and a playback point according to various embodiments will be described.

[0097] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0098] FIG. 14 is a flowchart illustrating a method for synchronizing a shooting point and a playback point according to one embodiment of the present disclosure.

[0099] Referring to FIG. 14, an electronic device (101) including a plurality of cameras (e.g., the electronic device (201) of FIG. 2) may include a processor (320) (e.g., the processor (120) of FIG. 1), a memory (330) (e.g., the memory (130) of FIG. 1), a display (360) (e.g., the display module (160) of FIG. 1), and a plurality of cameras (e.g., the camera module (180) of FIG. 1). The plurality of cameras may include a first camera (381) (e.g., the first camera (221) of FIG. 2) and a second camera (382) (e.g., the second camera (223) of FIG. 2).

[0100] According to one embodiment, the processor (320) may, at operation 1402, receive user input for capturing a stereo image.

[0101] According to one embodiment, the processor (320) may, in operation 1404, acquire a first image through the first camera and acquire a second image through the second camera based on a user input for capturing a stereo image.

[0102] According to one embodiment, the processor (320) may, in operation 1406, display an image, in which a viewpoint is moved by a first set value in a first direction (e.g., left or right) from the first image set for the preview image among the first image and the second image, as a preview image through a display.

[0103] FIG. 15 is a flowchart illustrating a method for moving and storing a viewpoint when shooting a stereo image according to an embodiment of the present disclosure.

[0104] Referring to FIG. 15, a foldable electronic device (101) including a plurality of cameras (e.g., the electronic device (201) of FIG. 2) may include a processor (320) (e.g., the processor (120) of FIG. 1), a memory (330) (e.g., the memory (130) of FIG. 1), a display (360) (e.g., the display module (160) of FIG. 1), and a plurality of cameras (e.g., the camera module (180) of FIG. 1). The plurality of cameras may include a first camera (381) (e.g., the first camera (221) of FIG. 2) and a second camera (382) (e.g., the second camera (223) of FIG. 2).

[0105] According to one embodiment, the processor (320) in the foldable electronic device (101) may, at operation 1502, receive a user input for capturing a stereo image.

[0106] According to one embodiment, in the foldable electronic device (101), the processor (320) may, at operation 1504, acquire a first image through the first camera (e.g., a rear camera) and acquire a second image through the second camera (e.g., a front cover camera) based on receiving a user input for capturing a stereo image.

[0107] According to one embodiment, in the foldable electronic device (101), the processor (320) may, in operation 1506, display the first image as a preview image through the display.

[0108] According to one embodiment, in the foldable electronic device (101), the processor (320) may, in operation 1508, store an image in which the viewpoint is moved in the first direction by a first set value in each of the first image and the second image in the memory as an image for a stereo image.

[0109] According to one embodiment, an electronic device includes a display, a first camera, a second camera, a memory storing instructions, and at least one processor operatively connected to the display, the first camera, the second camera, and the memory, wherein the instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: acquire a first image through the first camera, acquire a second image through the second camera, and display an image, in which a viewpoint is moved in a first direction by a first setting value from the first image set for a preview image among the first image and the second image, as a preview image through the display.

[0110] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to: display, as a preview image through the display, an image whose viewpoint is shifted to the left by the first set value in the first image, if the first image corresponds to a left eye.

[0111] According to one embodiment, the first set value (Δx) can be determined by the following mathematical formula.

[0112]

[0113] Here, B represents the physical distance between the first camera and the second camera, f represents the focal length of the first camera or the second camera, and z represents the distance between the object and the center of the first camera and the second camera.

[0114] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to: store the first image and the second image in the memory as images for a stereo image, and, based on a user input for reproduction of the stereo image being received, display an image whose viewpoint is moved by the first set value in a first direction from the first image or the second image stored in the memory through the display.

[0115] According to one embodiment, the image for the stereo image may be compressed in a multiview high efficiency video coding (MV-HEVC) format and stored in the memory.

[0116] According to one embodiment, the first setting value may be stored in a header area of ​​the MV-HEVC.

[0117] According to one embodiment, the first setting value may be stored as metadata in an additional track of the MV-HEVC.

[0118] In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to: store the preview image in the memory; and, based on a user input for reproduction of the stereo image being received, display the preview image stored in the memory through the display.

[0119] According to one embodiment, a method for controlling an electronic device may include an operation of confirming that a user input for capturing a stereo image is received, an operation of obtaining a first image through a first camera and a second image through a second camera based on confirming that the user input for capturing the stereo image is received, and an operation of displaying an image, in which a viewpoint is moved in a first direction by a first setting value from among the first image and the second image, as a preview image through a display.

[0120] According to one embodiment, the method may include, when the first image is an image corresponding to the left eye, displaying an image whose viewpoint has been moved to the left by the first set value as a preview image through the display.

[0121] According to one embodiment, the first set value (Δx) can be determined by the following mathematical formula.

[0122]

[0123] Here, B represents the physical distance between the first camera and the second camera, f represents the focal length of the first camera or the second camera, and z represents the distance between the object and the center of the first camera and the second camera.

[0124] According to one embodiment, the method may include: storing the first image and the second image in a memory as images for a stereo image; and, based on receiving a user input for reproduction of the stereo image, displaying an image whose viewpoint has been moved in a first direction by the first set value from the first image or the second image stored in the memory through the display.

[0125] According to one embodiment, the image for the stereo image may be compressed in a multiview high efficiency video coding (MV-HEVC) format and stored in the memory.

[0126] According to one embodiment, the first setting value may be stored in a header area of ​​the MV-HEVC.

[0127] According to one embodiment, the first setting value may be stored as metadata in an additional track of the MV-HEVC.

[0128] According to one embodiment, the method may include: storing the preview image in a memory; and displaying the preview image stored in the memory through the display based on a user input for reproduction of the stereo image being received.

[0129] According to one embodiment, an electronic device includes a display, a first camera, a second camera, a memory storing instructions, and at least one processor operatively connected to the display, the first camera, the second camera, and the memory, wherein the instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: acquire a first image through the first camera, acquire a second image through the second camera, display the first image as a preview image through the display, and store an image in which a viewpoint is moved in a first direction by a first set value in each of the first image and the second image, as an image for a stereo video, in the memory.

[0130] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to: store, in the memory, an image in which the viewpoint is shifted to the left by the first set value in each of the first image and the second image, as an image for the stereo image, when the first image corresponds to a left eye.

[0131] According to one embodiment, the first set value (Δx) can be determined by the following mathematical formula.

[0132]

[0133] Here, B represents the physical distance between the first camera and the second camera, f represents the focal length of the first camera or the second camera, and z represents the distance between the object and the center of the first camera and the second camera.

[0134] According to one embodiment, the image for the stereo image may be compressed in a multiview high efficiency video coding (MV-HEVC) format and stored in the memory.

[0135] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0136] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the 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 the items, unless the context clearly indicates otherwise. In this document, each of the phrases "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" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0137] The term "module" used in 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. A module may be an integral component, or a minimum unit or part of such a component 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).

[0138] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate 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 executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0139] According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0140] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component 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.

Claims

1. In electronic devices, display; Camera 1; Second camera; Memory that stores instructions; and At least one processor operatively connected to the display, the first camera, the second camera, and the memory, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on the user input for shooting a stereo image, a first image is acquired through the first camera, and a second image is acquired through the second camera. An electronic device that displays an image, in which a viewpoint has been moved in a first direction by a first set value from among the first image and the second image, as a preview image through the display.

2. In the first paragraph, the instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that displays an image whose viewpoint has been moved to the left by the first setting value from the first image as a preview image through the display, when the first image corresponds to the left eye.

3. In the first paragraph, the first set value (Δx) is an electronic device determined by the following mathematical formula. Here, B represents the physical distance between the first camera and the second camera, f represents the focal length of the first camera or the second camera, and z represents the distance between the object and the center of the first camera and the second camera.

4. In the first paragraph, the instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Store the first image and the second image in the memory as images for stereo imaging, An electronic device that displays an image whose viewpoint has been moved in a first direction by the first setting value from the first image or the second image stored in the memory based on receiving a user input for reproduction of the stereo image through the display.

5. An electronic device according to claim 4, wherein the image for the stereo image is compressed in a multiview high efficiency video coding (MV-HEVC) format and stored in the memory.

6. In the fifth paragraph, the first setting value is, An electronic device stored in the header area of ​​the above MV-HEVC.

7. In the fifth paragraph, the first setting value is, An electronic device, wherein metadata is stored in an additional track of the above MV-HEVC.

8. In the first paragraph, the instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Store the above preview image in the above memory, An electronic device that displays the preview image stored in the memory through the display based on receiving a user input for reproduction of the stereo image.

9. In a method for controlling an electronic device, An action to confirm that user input for capturing stereo images has been received; An operation of acquiring a first image through a first camera and acquiring a second image through a second camera based on confirmation that a user input for capturing the stereo image is received; and A control method of an electronic device, comprising an action of displaying an image, in which a viewpoint has been moved in a first direction by a first set value from among the first image and the second image, as a preview image through a display.

10. In the 9th paragraph, the method, A control method of an electronic device, comprising an action of displaying an image whose viewpoint has been moved to the left by the first setting value from the first image as a preview image through the display, when the first image corresponds to the left eye.

11. A control method of an electronic device in the 9th paragraph, wherein the first set value (Δx) is determined by the following mathematical formula. Here, B represents the physical distance between the first camera and the second camera, f represents the focal length of the first camera or the second camera, and z represents the distance between the object and the center of the first camera and the second camera.

12. In paragraph 9, the method, An operation of storing the first image and the second image in memory as images for stereo imaging; and A control method of an electronic device, comprising an action of displaying an image whose viewpoint has been moved in a first direction by the first set value from the first image or the second image stored in the memory based on receiving a user input for reproduction of the stereo image, through the display.

13. A control method of an electronic device in claim 12, wherein the image for the stereo image is compressed in the format of multiview high efficiency video coding (MV-HEVC) and stored in the memory.

14. In the 13th paragraph, the first setting value is, A control method of an electronic device, stored in the header area of ​​the above MV-HEVC.

15. In electronic devices, display; Camera 1; Second camera; Memory that stores instructions; and At least one processor operatively connected to the display, the first camera, the second camera, and the memory, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on the user input for shooting a stereo image, a first image is acquired through the first camera, and a second image is acquired through the second camera. Displaying the above first image as a preview image through the display, An electronic device that stores an image in which a viewpoint has been moved in a first direction by a first set value in each of the first image and the second image in the memory as an image for stereo imaging.

Citation Information

Patent Citations

  • Mobile terminal and method for controlling the same

    KR1020150123117A

  • Mobile terminal and method for controlling the same

    KR1020170079545A

  • Mobile terminal and method for controlling the same

    KR1020180031239A

  • Mobile terminal and method for controlling the same

    KR102339178B1

  • Spatial video capture and replay

    US20230281933A1