Electronic device including multiple cameras and method of controlling the same
Patent Information
- Application Number
- CN202580023024.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-03-31
- Filing Date
- 2025-04-01
- Publication Date
- 2026-10-27
AI Technical Summary
关于前述内容中的任何内容是否可用作与本公开相关的现有技术,没有提出权利要求或确定
Smart Images

Figure CN122996672A_ABST
Abstract
Description
Technical Field
[0001] Various embodiments of this disclosure relate to electronic devices including multiple cameras and methods for controlling them. Background Technology
[0002] The variety of services and additional functions offered through electronic devices (such as portable electronic devices like smartphones) is gradually increasing. To enhance the practical value of these devices and meet the diverse needs of users, communication service providers and electronic device manufacturers are competitively developing devices to offer a wide range of functions and differentiate themselves from other companies. Consequently, the functions offered through electronic devices are becoming increasingly sophisticated.
[0003] Recently, various types of electronic devices have been developed that provide a more extended screen on an electronic device by using multiple displays. For example, an extended screen is provided by including multiple displays.
[0004] Electronic devices may incorporate new shape elements, such as multi-display (e.g., dual-display) devices (e.g., foldable devices). Foldable devices are equipped with foldable (or bendable) displays (e.g., foldable displays or flexible displays) and can be used when folded or unfolded. Furthermore, depending on the implementation of multiple displays, the need for developing user interfaces (UIs) and their operation corresponding to the multiple displays is increasing.
[0005] The above information may be provided as related technology for the purpose of aiding understanding of this disclosure. No claims or determination are made regarding whether any of the foregoing content can be used as prior art in relation to this disclosure. Summary of the Invention
[0006] Technical solution An electronic device according to an embodiment may include: a first housing including a first surface and a second surface opposite to the first surface; a second housing including a third surface and a fourth surface opposite to the third surface; a hinge structure rotatably connecting the first housing and the second housing; a flexible display disposed on the first surface and the third surface; a plurality of cameras including a first camera, a second camera, and a third camera; at least one first sensor for sensing the tilt of the electronic device; at least one processor including processing circuitry; and a memory storing instructions. The instructions according to an embodiment, when executed individually or jointly by the at least one processor, may cause the electronic device to perform the following operations: sensing the tilt of the electronic device via the at least one first sensor based on user input received for stereoscopic image capture. The instructions according to an embodiment, when executed individually or jointly by the at least one processor, may cause the electronic device to perform the following operations: acquiring a stereoscopic image via the first camera and the second camera among the plurality of cameras based on the sensed tilt being included within a first range. When executed individually or jointly by the at least one processor, the instructions according to the embodiments may cause the electronic device to perform the following operations: acquiring a stereoscopic image using a first camera and a third camera among the plurality of cameras, based on the sensed tilt being included in a second range different from a first range. A method according to the embodiments for selecting a camera in an electronic device including a plurality of cameras may include the following operations: sensing the tilt of the electronic device using at least one first sensor of the electronic device based on user input for stereoscopic image capture being received. A method according to the embodiments may include the following operations: acquiring a stereoscopic image using a first camera and a second camera among the plurality of cameras of the electronic device, based on the sensed tilt being included in a first range. A method according to the embodiments may include the following operations: acquiring a stereoscopic image using a first camera and a third camera among the plurality of cameras, based on the sensed tilt being included in a second range different from a first range.
[0007] According to an embodiment, a non-volatile storage medium storing instructions is provided, wherein the instructions are configured to cause the wearable electronic device to perform at least one operation when executed by the wearable electronic device. The at least one operation includes: sensing the tilt of the electronic device using at least one first sensor based on received user input for stereoscopic image capture. The at least one operation according to an embodiment may include: acquiring a stereoscopic image using a first camera and a second camera among a plurality of cameras of the electronic device, based on the sensed tilt being included within a first range. The at least one operation according to an embodiment may include: acquiring a stereoscopic image using a first camera and a third camera among the plurality of cameras, based on the sensed tilt being included within a second range different from the first range. Attached Figure Description
[0008] Figure 1 This is a block diagram illustrating an electronic device in a network environment according to an embodiment.
[0009] Figure 2a This is a view showing the unfolded state of an electronic device according to an embodiment.
[0010] Figure 2b This is a view showing the folded state of the electronic device according to an embodiment.
[0011] Figure 3 This is a view showing a plurality of cameras arranged in two rows in the rear region of the second housing of the electronic device according to an embodiment.
[0012] Figure 4 This is a flowchart illustrating the operation of selecting two cameras for generating stereoscopic images based on the tilt angle of the electronic device according to an embodiment.
[0013] Figure 5 This is a flowchart illustrating the operation of selecting two cameras for generating stereoscopic images based on the tilt and folding state of the electronic device according to an embodiment.
[0014] Figure 6 This is a flowchart illustrating the operation of selecting two cameras for generating stereoscopic images based on the tilt and folding state of the electronic device according to an embodiment, wherein multiple cameras are arranged in two rows in the rear region of the second housing.
[0015] Figure 7a and Figure 7b This is a view illustrating the operation of two cameras for stereo image capture based on the tilt and folding states of the electronic device according to an embodiment.
[0016] Figure 8a and Figure 8b This is a view illustrating the operation of two cameras for stereoscopic image capture according to an embodiment, based on changes in the capture mode of the electronic device's tilt and folding state.
[0017] Figure 9 This is a view illustrating the operation of recommending a capture mode based on the distance between the electronic device and the subject, according to an embodiment.
[0018] Figure 10a and Figure 10b This is a view illustrating the operation of changing and displaying the position of at least one indicator corresponding to a function according to a change in capture mode based on the tilt and folding state of the electronic device, according to an embodiment. Detailed Implementation
[0019] Figure 1This is a block diagram illustrating an electronic device 101 in a network environment 100 according to an embodiment. (Refer to...) Figure 1 In network environment 100, electronic device 101 can communicate with electronic device 102 via a first network 198 (e.g., a short-range wireless communication network), or can communicate with at least one of electronic device 104 or server 108 via a second network 199 (e.g., a long-range wireless communication network). According to an embodiment, electronic device 101 can communicate with electronic device 104 via server 108. According to an embodiment, electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound 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 user identification module 196, or an antenna module 197. In some embodiments, at least one of these components (e.g., connection terminal 178) may be omitted in electronic device 101, or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module 176, camera module 180, or antenna module 197) may be integrated into a single component (e.g., display module 160).
[0020] Processor 120 may, for example, run software (e.g., program 140) to control at least one other component (e.g., hardware or software component) of electronic device 101 connected to processor 120, and may perform various data processing or calculations. According to embodiments, as at least part of the data processing or calculations, processor 120 may store instructions or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132, process the instructions or data stored in volatile memory 132, and store the result data in non-volatile memory 134. According to embodiments, processor 120 may include a main processor 121 (e.g., central processing unit or application processor) or an auxiliary processor 123 (e.g., graphics processing unit, neural processor (NPU), image signal processor, sensor central processor, or communication processor) that is operationally independent of or integrated with the main processor 121. For example, when electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be configured to consume less power than the main processor 121, or may be configured to be dedicated to a specific function. The auxiliary processor 123 may be implemented separately from the main processor 121, or may be implemented as part of the main processor 121.
[0021] When the main processor 121 is inactive (e.g., in sleep mode), the auxiliary processor 123 (in place of the main processor 121) may, for example, control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190), or when the main processor 121 is active (e.g., application running), the auxiliary processor 123 may work with the main processor 121 to control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190). According to embodiments, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another functionally related component (e.g., camera module 180 or communication module 190). According to embodiments, the auxiliary processor 123 (e.g., a neural processor) may include hardware architectures dedicated to processing artificial intelligence models. Artificial intelligence models can be generated through machine learning. For example, such learning can be performed by electronic device 101 where the artificial intelligence model is executed, or it can be performed via 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 above. The artificial intelligence model can include multiple layers of artificial neural networks. The artificial neural network can be one or a combination of two or more of the following: deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted Boltzmann machine (RBM), deep belief network (DBN), bidirectional recurrent deep neural network (BRDNN), or deep Q-network, but is not limited to the examples above. Additionally or alternatively, the artificial intelligence model can include software structures in addition to hardware structures.
[0022] Memory 130 may store various data used by at least one component of electronic device 101 (e.g., processor 120 or sensor module 176). The data may include, for example, software (e.g., program 140) and input or output data for instructions associated therewith. Memory 130 may include volatile memory 132 or non-volatile memory 134.
[0023] The program 140 may be stored as software in the memory 130, and the program 140 may include, for example, an operating system 142, middleware 144, or application 146.
[0024] The input module 150 can receive instructions or data from outside the electronic device 101 (e.g., a user) that will be used by components of the electronic device 101 (e.g., processor 120). The input module 150 may include, for example, a microphone, mouse, keyboard, keys (e.g., buttons), or digital pen (e.g., stylus).
[0025] The audio output module 155 can output audio signals to the outside of the electronic device 101. The audio output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or record playback. The receiver can be used to receive incoming calls. According to embodiments, the receiver can be implemented separately from the speaker or as part of the speaker.
[0026] Display module 160 can visually provide information to the outside of electronic device 101 (e.g., to a user). Display module 160 may include, for example, a display, a holographic device, or a projector, and control circuitry for controlling the corresponding device. According to an embodiment, display module 160 may include a touch sensor configured to sense touch or a pressure sensor configured to measure the intensity of the force generated by touch.
[0027] The audio module 170 can convert sound into electrical signals and vice versa, that is, convert electrical signals into sound. According to an embodiment, the audio module 170 can obtain sound via the input module 150, or can output sound via the sound output module 155 or an external electronic device (e.g., electronic device 102) (e.g., a speaker or headphones) that is directly or wirelessly connected to the electronic device 101.
[0028] Sensor module 176 can sense the operating state of electronic device 101 (e.g., power or temperature) or external environmental state (e.g., user state), and can generate electrical signals or data values corresponding to the sensed state. According to embodiments, sensor module 176 may include, for example, a gesture sensor, gyroscope sensor, atmospheric pressure sensor, magnetic sensor, accelerometer, grip sensor, proximity sensor, color sensor, infrared (IR) sensor, biometric sensor, temperature sensor, humidity sensor, or illuminance sensor.
[0029] Interface 177 may support one or more specific protocols that can be used to enable electronic device 101 to connect directly or wirelessly to external electronic devices (e.g., electronic device 102). According to embodiments, 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.
[0030] Connection 178 may include a connector, through which electronic device 101 may be physically connected to an external electronic device (e.g., electronic device 102). According to embodiments, connection 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0031] The haptic module 179 can convert electrical signals into mechanical stimuli (e.g., vibration or motion) or electrical stimuli that a user can perceive via touch or kinesthesia. According to embodiments, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0032] Camera module 180 can capture still images and video. According to an embodiment, camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0033] The power management module 188 manages the power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
[0034] Battery 189 can power at least one component of electronic device 101. According to an embodiment, battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable rechargeable battery, or a fuel cell.
[0035] Communication module 190 can support the establishment of a direct (e.g., wired) or wireless communication channel between electronic device 101 and external electronic devices (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. Communication module 190 may include one or more communication processors capable of operating independently of processor 120 (e.g., application processor) and support direct (e.g., wired) or wireless communication. According to embodiments, communication module 190 may include wireless communication module 192 (e.g., cellular communication module, short-range wireless communication module, or Global Navigation Satellite System (GNSS) communication module) or wired communication module 194 (e.g., local area network (LAN) communication module or power line communication module). One of these communication modules can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth, Wi-Fi Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a traditional cellular network, 5G network, 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 identify or verify the electronic device 101 within the communication network (such as the first network 198 or the second network 199) using user information (e.g., the International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.
[0036] Wireless communication module 192 can support 5G networks following 4G networks and next-generation communication technologies such as New Radio (NR) access technology. NR access technology can support high-speed transmission of large amounts of data (enhanced Mobile Broadband (eMBB)), minimized terminal power and access for multiple terminals (massive machine-type communication (mMTC)), or high reliability and low latency (ultra-reliable low-latency communication (URLLC)). Wireless communication module 192 can support, for example, high-frequency bands (e.g., millimeter-wave bands) to achieve high data transmission rates. Wireless communication module 192 can support various technologies used to ensure performance in high-frequency bands, such as beamforming, massive MIMO, full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive MIMO. Wireless communication module 192 can support various requirements specified in electronic device 101, external electronic devices (e.g., electronic device 104), or network systems (e.g., second network 199). According to an embodiment, the wireless communication module 192 may support peak data rates (e.g., 20 Gbps or greater) for implementing eMBB, lost coverage (e.g., 164 dB or less) for implementing mMTC, or U-plane latency (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less round trip) for implementing URLLC.
[0037] Antenna module 197 can transmit or receive signals or power to or from an external source (e.g., an external electronic device). According to embodiments, antenna module 197 may include an antenna comprising a radiator made of a conductor or conductive pattern formed on a substrate (e.g., a PCB). According to embodiments, antenna module 197 may include multiple antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as a first network 198 or a second network 199) can be selected from the multiple antennas by, for example, communication module 190. Signals or power can be transmitted or received between communication module 190 and an external electronic device via the selected at least one antenna. According to some embodiments, additional components besides the radiator (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of antenna module 197.
[0038] According to an embodiment, antenna module 197 can form a millimeter-wave antenna module. According to an embodiment, the millimeter-wave antenna module may include a printed circuit board, a radio frequency integrated circuit (RFIC), and multiple antennas (e.g., an array antenna), wherein the RFIC is disposed on or adjacent to a first surface (e.g., the lower surface) of the printed circuit board and is capable of supporting a specific high-frequency band (e.g., a millimeter-wave band), and the multiple antennas are disposed on or adjacent to a second surface (e.g., the upper or side surface) of the printed circuit board and are capable of transmitting or receiving signals of a specific high-frequency band.
[0039] At least some of the components can be interconnected and exchange signals (e.g., commands or data) via an inter-peripheral communication scheme (e.g., bus, general purpose input / output (GPIO), serial peripheral interface (SPI), or mobile industrial processor interface (MIPI)).
[0040] According to an embodiment, commands or data can be sent or received between electronic device 101 and external electronic device 104 via server 108 connected to the second network 199. Each of external electronic device 102 or external electronic device 104 can be a device of the same type as electronic device 101, or a device of a different type. According to an embodiment, all or some of the operations performed on electronic device 101 can be performed on one or more external electronic devices, such as external electronic device 102, external electronic device 104, or server 108. For example, when electronic device 101 needs to automatically perform a function or service, or should perform a function or service in response to a request from a user or another device, electronic device 101 may request one or more external electronic devices to perform at least a portion of the function or service, instead of running the function or service independently, or electronic device 101 may request one or more external electronic devices to perform at least a portion of the function or service in addition to running the function or service independently. The one or more external electronic devices that have received the request may perform at least a portion of the requested function or service, or perform additional functions or services related to the request, and may transmit the result of the performance to electronic device 101. Electronic device 101 may provide the result as is or after further processing as at least a partial response to the request. For this purpose, technologies such as cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing may be used. Electronic device 101 may, for example, use distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, external electronic device 104 may include an Internet of Things (IoT) device. Server 108 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, external electronic device 104 or server 108 may be included in a second network 199. Electronic device 101 may be applied to intelligent services based on 5G communication technology or IoT-related technologies (e.g., smart homes, smart cities, smart cars, and healthcare).
[0041] Figure 2a This is a view showing the structure of an electronic device in an unfolded state according to an embodiment, and Figure 2b This is a view showing the structure of an electronic device in a folded state according to an embodiment.
[0042] Reference Figure 2a and Figure 2b The electronic device 101 according to the embodiment is a foldable electronic device and may include a hinge structure covering the foldable portion of the housing 200 (e.g., Figure 2bThe hinge structure 230 (e.g., hinge cover) and the flexible or foldable first display 161 disposed in the space formed by the housing 200 (e.g., Figure 1 The electronic device 101 may include a second display 163 disposed on a portion of the surface of the housing 200 opposite to the surface on which the first display 161 is disposed. According to an embodiment, the surface on which the first display 161 is disposed is defined as a first surface (e.g., a front surface) of the electronic device 101. The surface opposite to the first surface is defined as a second surface (e.g., a rear surface) of the electronic device 101. Furthermore, the surface surrounding the space between the first and second surfaces is defined as a third surface (e.g., a side surface) of the electronic device 101. The second display 163 may be smaller in size than the first display 161.
[0043] According to an embodiment, the housing 200 may include a first housing structure 210, a second housing structure 220 including a sensor region 224, a first rear cover 280, a second rear cover 290, and a hinge structure 230. The housing 200 of the electronic device 101 is not limited to... Figure 2a and Figure 2b The shapes and combinations shown can be implemented through combinations and / or couplings of other shapes or components. For example, in another embodiment, the first housing structure 210 and the first rear cover 280 may be integrally formed, and the second housing structure 220 and the second rear cover 290 may be integrally formed.
[0044] According to an embodiment, the first housing structure 210 and the second housing structure 220 surround a folding axis (e.g., Figure 2a The folding axis A is arranged on both sides and can have an overall symmetrical shape with respect to the folding axis A. As described below, the angle or distance formed between the first housing structure 210 and the second housing structure 220 can vary depending on whether the electronic device 101 is in an unfolded state, a folded state, or an intermediate state where the device is partially unfolded. According to an embodiment, unlike the first housing structure 210, the second housing structure 220 additionally includes a sensor area 224 where various sensors are provided, but it can have a symmetrical shape with each other in other areas.
[0045] According to an embodiment, the first housing structure 210 and the second housing structure 220 are connected to the hinge structure 230 and can be folded or unfolded when they rotate about the hinge structure 230. Therefore, the electronic device 101 can be transformed into a folded state or an unfolded state. The electronic device 101 can be accessed from, for example... Figure 2a The unfolded state transitions to the folded state (e.g., Figure 2bIn the inward folded state, the first surface of the first housing structure 210 and the third surface of the second housing structure 220 become closer to each other and face each other. The electronic device 101 can then access the device from the inside. Figure 2a The unfolded state transitions to a folded state (e.g., an outward folded state), in which the second surface of the first housing structure 210 and the fourth surface of the second housing structure 220 face each other and simultaneously become closer to each other.
[0046] According to the embodiments, such as Figure 2a As shown, the first housing structure 210 and the second housing structure 220 can together form a recess for accommodating the first display 161. According to an embodiment, due to the sensor region 224, the recess can have two or more different widths in a direction perpendicular to the folding axis A. According to an embodiment, the recess can have a first width w1 between a first portion 210a of the first housing structure 210 parallel to the folding axis A and a first portion 220a of the second housing structure 220 formed at the edge of the sensor region 224. The recess can have a second width w2 formed by a second portion 210b of the first housing structure 210 and a second portion 220b of the second housing structure 220, which does not correspond to the sensor region 224 and is parallel to the folding axis A. In this case, the second width w2 can be longer than the first width w1. As another example, a first portion 210a of a first housing structure 210 and a first portion 220a of a second housing structure 220, having asymmetrical shapes, may form a first width w1 of the recess, and a second portion 210b of a first housing structure 210 and a second portion 220b of a second housing structure 220, having symmetrical shapes, may form a second width w2 of the recess. According to an embodiment, the first portion 220a and the second portion 220b of the second housing structure 220 may have different distances from the folding axis A. The width of the recess is not limited to the example shown. In another embodiment, depending on the shape of the sensor region 224 or the asymmetrically shaped portions of the first housing structure 210 and the second housing structure 220, the recess may have multiple widths.
[0047] According to an embodiment, at least a portion of the first housing structure 210 and the second housing structure 220 may be formed from a rigid metallic or non-metallic material having dimensions selected to support the first display 161. The at least portion formed of metal may provide a ground plane for the electronic device 101 and may be electrically connected to a ground wire formed on a printed circuit board.
[0048] According to an embodiment, the sensor region 224 may be formed having a predetermined area adjacent to a corner of the second housing structure 220. However, the arrangement, shape, and size of the sensor region 224 are not limited to the example shown. For example, in another embodiment, the sensor region 224 may be located at another corner of the second housing structure 220 or in any area between an upper and lower corner. In an embodiment, components embedded in the electronic device 101 for performing various functions may be visually exposed on the front surface of the electronic device 101 through the sensor region 224 or through one or more openings provided in the sensor region 224. In various embodiments, the components may include various types of sensors. The sensors may include at least one of, for example, a front-facing camera 24, a receiver, or a proximity sensor.
[0049] According to an embodiment, a first rear cover 280 is disposed on one side of the folding axis on the rear surface of the electronic device 101 and may have a substantially rectangular periphery, the periphery of which may be surrounded by a first housing structure 210. Similarly, a second rear cover 290 is disposed on the other side of the folding axis on the rear surface of the electronic device 101 and its periphery may be surrounded by a second housing structure 220.
[0050] According to an embodiment, the first rear cover 280 and the second rear cover 290 may have a shape that is substantially symmetrical about the folding axis (A-axis). However, the first rear cover 280 and the second rear cover 290 are not necessarily symmetrical to each other, and in another embodiment, the electronic device 101 may include a first rear cover 280 and a second rear cover 290 of various shapes. In another embodiment, the first rear cover 280 may be integrally formed with the first housing structure 210, and the second rear cover 290 may be integrally formed with the second housing structure 220.
[0051] According to an embodiment, the first rear cover 280, the second rear cover 290, the first housing structure 210, and the second housing structure 220 may form a space for housing various components of the electronic device 101 (e.g., printed circuit boards or batteries). According to an embodiment, one or more components may be arranged on or visually exposed on the rear surface of the electronic device 101. For example, at least a portion of a sub-display may be visually exposed through a first rear region 282 of the first rear cover 280. In another embodiment, one or more components or sensors may be visually exposed through a second rear region 292 of the second rear cover 290. In an embodiment, the sensor may include a proximity sensor and / or a rear camera.
[0052] According to embodiments, a front-facing camera visually exposed on the front surface of the electronic device 101 through one or more openings in sensor region 224, or a rear-facing camera exposed through the second rear region 292 of the second rear cover 290, may include one or more lenses, an image sensor, and / or an image signal processor. A flash may include, for example, a light-emitting diode or a xenon lamp. In some embodiments, two or more lenses (infrared camera, wide-angle lens, and telephoto lens) and an image sensor may be disposed on one surface of the electronic device 101.
[0053] Reference Figure 2b The hinge structure 230 may be disposed between the first housing structure 210 and the second housing structure 220, and is configured to cover internal components. According to an embodiment, depending on the folded state of the electronic device 101 (unfolded state, intermediate state, or folded state), the hinge structure 230 may be partially covered by the first housing structure 210 and the second housing structure 220, or exposed to the outside. According to an embodiment, such as... Figure 2a As shown, when the electronic device 101 is in the unfolded state, the hinge structure 230 can be covered by the first housing structure 210 and the second housing structure 220 and is not exposed. As another example, such as... Figure 2b As shown, when the electronic device 101 is in a folded state (e.g., a fully folded state), the hinge structure 230 may be exposed to the outside between the first housing structure 210 and the second housing structure 220. As another example, when the first housing structure 210 and the second housing structure 220 are in an intermediate state folded at an angle, the hinge structure 230 may be partially exposed to the outside between the first housing structure 210 and the second housing structure 220. However, in this case, the exposed area may be smaller than the exposed area in the fully folded state. In embodiments, the hinge structure 230 may include a curved surface.
[0054] According to an embodiment, a first display 161 may be disposed in the space formed on a first surface of a first housing structure 210 and a third surface of a second housing structure 220. According to an embodiment, a second display 163 may be disposed in the space formed on a second surface of a first housing structure 210 or a fourth surface of a second housing structure 220. For example, the first display 161 may be disposed on a recess formed by a housing 200 and may constitute a large portion of the front surface of an electronic device 101. According to an embodiment, the first display 161 may refer to a display whose at least a portion can be transformed into a flat surface or a curved surface. According to an embodiment, the first display 161 may include a folded region 203, and a portion disposed on the first housing structure 210 on one side relative to the folded region 203 (e.g., Figure 2a The first display area 201 on the left side of the folded area 203 shown, and the other display area on the second housing structure 220 (e.g., Figure 2a The second display area 202 is located on the right side of the folded area 203 shown in the diagram.
[0055] However, Figure 2a The area division of the first display 161 shown is exemplary, and the first display 161 may be divided into multiple areas (e.g., four or more, or two) according to its structure or function. For example, in Figure 2a In the illustrated embodiment, the area of the first display 161 may be divided by a folded region 203 extending parallel to the y-axis or a folding axis (A-axis). However, in another embodiment, the area of the first display 161 may be divided based on another folded region (e.g., a folded region parallel to the x-axis) or another folding axis (e.g., a folding axis parallel to the x-axis). According to embodiments, the first display 161 and the second display 163 may be coupled to touch sensing circuitry, a pressure sensor capable of measuring the intensity (pressure) of the touch, and / or a digital converter for detecting a magnetic field type stylus, or may be arranged adjacent to touch sensing circuitry, a pressure sensor capable of measuring the intensity (pressure) of the touch, and / or a digital converter for detecting a magnetic field type stylus.
[0056] According to an embodiment, the first display area 201 and the second display area 202 may have an overall symmetrical shape with respect to the folded area 203. However, unlike the first display area 201, the second display area 202 may include grooves cut according to the presence of the sensor area 224, but may have a shape symmetrical to the first display area 201 in other areas. In other words, the first display area 201 and the second display area 202 may include portions with shapes symmetrical to each other and portions with shapes asymmetrical to each other.
[0057] The operation of the first housing structure 210 and the second housing structure 220, as well as each area of the first display 161, will be described below according to the state of the electronic device 101 (e.g., folded state, unfolded state, or intermediate state).
[0058] According to an embodiment, when the electronic device 101 is in an unfolded state (e.g., Figure 2a In its unfolded state, the first housing structure 210 and the second housing structure 220 can form a 180-degree angle and are arranged to face the same direction. The surfaces of the first display area 201 and the second display area 202 of the first display 161 form a 180-degree angle with each other and can face the same direction (e.g., the front direction of the electronic device). The folded area 203 can form a coplanar plane with the first display area 201 and the second display area 202.
[0059] According to an embodiment, when the electronic device 101 is in a folded state (e.g., Figure 2bWhen in the folded state, the first housing structure 210 and the second housing structure 220 can be arranged to face each other. The surfaces of the first display area 201 and the second display area 202 of the first display 161 form a narrow angle with each other (e.g., between 0 and 10 degrees) and can face each other. At least a portion of the folded area 203 can be a curved surface with a predetermined curvature.
[0060] According to an embodiment, when the electronic device 101 is in a folded state, the first housing structure 210 and the second housing structure 220 can be arranged at an angle to each other. The surfaces of the first display area 201 and the second display area 202 of the first display 161 can form an angle larger than that in the folded state and smaller than that in the unfolded state. At least a portion of the folded area 203 can be a curved surface with a predetermined curvature, and the curvature at this time can be smaller than the curvature in the folded state.
[0061] According to embodiments, the electronic device 101 may include an inward-folding type or an outward-folding type. An inward-folding type may refer to a state where the flexible first display 161 is not exposed to the outside when fully folded. As another example, it may refer to a state where the first display 161 is folded towards the forward direction. An outward-folding type may refer to a state where the first display 161 is visually exposed to the outside when fully folded. As another example, it may refer to a state where the first display 161 is folded towards the rearward direction. For example, the electronic device 101 may be in an unfolded state (e.g., Figure 2a Multiple windows are displayed in the expanded state.
[0062] exist Figure 2a and Figure 2b The text describes an example of expanding the display area (i.e., increasing the display area) using a flexible display, but electronic devices may have a display area that can be expanded using a rollable display, or a display area of a size that can be displayed in multiple windows, rather than being flexible or rollable.
[0063] Figure 3 This is a view showing a plurality of cameras arranged in two rows in the rear region of the second housing of the electronic device according to an embodiment.
[0064] Reference Figure 3 Electronic devices according to embodiments (e.g., Figure 1 The electronic device 101 may include multiple cameras (e.g., Figure 1 (Camera module 190). Not limited thereto, the electronic device 101 according to the embodiment may also include... Figure 1 Other components described in the document.
[0065] The electronic device according to the embodiment can be used in electronic devices (e.g., Figure 2aIn the unfolded state of the electronic device 101, the front-facing camera 24 is positioned with the second housing of the electronic device (e.g., Figure 2a The third surface of the second housing 220 (or the first housing (e.g., Figure 2a The first surface of the first housing 210 corresponds to a portion of the front surface, and the front camera 24 may include an under-display camera (UDC).
[0066] The electronic device according to the embodiment can be used in electronic devices (e.g., Figure 2a In the unfolded state of the electronic device 101, in relation to the first housing of the electronic device (e.g., Figure 2a The second surface of the first housing 210 and the second housing (e.g., Figure 2a Multiple rear cameras 393 and front cover cameras 383 are respectively provided in a portion of the rear surface corresponding to the fourth surface of the second housing 220.
[0067] The electronic device according to the embodiment may be, for example, Figure 3 In the vertical orientation shown, stereoscopic images are captured using at least two of the multiple rear cameras 393 and the front cover camera 383.
[0068] According to embodiments, a "stereoscopic image" is an image obtained by two or more cameras and can be used to mean a pair of 2D images that allow the perception of three-dimensionality (depth) by using the parallax between the two eyes. For example, a stereoscopic image may include a left-eye image corresponding to the left eye and a right-eye image corresponding to the right eye. According to embodiments, stereoscopic images can be played back by electronic devices developed in a wearable form by the user (e.g., wearable electronics such as augmented reality (AR) glasses, video see-through (VST) devices, or head-mounted display (HMD) devices) and can be displayed to the user as a 3D image. Stereoscopic images may also be referred to by the term "spatial video," but are not limited to that specific term.
[0069] According to an embodiment, the camera may include multiple cameras, with a front-mounted camera 383 disposed on a second surface (e.g., the front surface) of the first housing, and multiple rear-mounted cameras 393 disposed on a fourth surface (e.g., the rear surface) of the second housing. For example, in the electronic device in the vertical direction ( Figure 2a In the state of being placed in the direction shown, stereoscopic images can be captured by using one of the multiple rear cameras and the front cover camera 383.
[0070] According to the embodiments, such as Figure 2a As shown, when included in the second rear cover of an electronic device (e.g., Figure 2aWhen the multiple rear cameras in the second rear region 292 of (290) include multiple first rear cameras 393 arranged in a row, the multiple first rear cameras 393 may be an ultra-wide-angle camera 393-1, a wide-angle camera 393-2 and a telephoto camera 393-3.
[0071] According to the embodiments, such as Figure 3 As shown, when included in the second rear cover of an electronic device (e.g., Figure 2a When the plurality of rear cameras in the second rear region 292 of (290) include a plurality of first rear cameras 393 arranged in two rows and at least one second rear camera 394, the plurality of first rear cameras 393 in the first row are an ultra-wide-angle camera 393-1, a wide-angle camera 393-2 and a telephoto camera 393-3, and at least one second rear camera 394 in the second row can be a telephoto camera.
[0072] According to an embodiment, when the electronic device is foldable, such as Figure 2a and Figure 3 As shown, when the electronic device is fully deployed, the front cover camera 383 and the plurality of rear cameras 393 and / or 394 can face the same direction. Therefore, a stereoscopic image can be obtained by using at least one of the front cover camera 383 and the plurality of rear cameras 393 and / or 394.
[0073] According to an embodiment, in the embodiments described below, for ease of description, among the multiple cameras used for stereoscopic image capture, multiple rear cameras 393 may be configured as cameras corresponding to the right eye, and a front-facing camera 383 may be configured as a camera corresponding to the left eye. According to an embodiment, multiple rear cameras 393 and / or 394 may be configured as cameras corresponding to the left eye, and a front-facing camera 383 may be configured as a camera corresponding to the left eye.
[0074] According to an embodiment, the electronic device may, based on user input received for capturing stereoscopic images, acquire a first image via at least one of a plurality of rear cameras 393 and / or 394, and acquire a second image via a front-facing camera 383. According to an embodiment, the electronic device may acquire left-eye and right-eye images of the stereoscopic image based on the first and second images.
[0075] An electronic device may display, via a display (e.g., a flexible display), an image set as a preview image (e.g., the first image or the second image) from a first image and a second image as a preview image.
[0076] According to an embodiment, the electronic device can store data of a stereoscopic image obtained based on a first image and a second image in a memory.
[0077] The electronic device according to an embodiment may include: a first housing including a first surface and a second surface opposite to the first surface; a second housing including a third surface and a fourth surface opposite to the third surface; a hinge structure rotatably connecting the first housing and the second housing; a flexible display disposed on the first surface and the third surface; a plurality of cameras including a first camera, a second camera, and a third camera; at least one first sensor for sensing the tilt of the electronic device; at least one processor including processing circuitry; and a memory storing instructions. When executed individually or jointly by at least one processor, the instructions according to an embodiment may cause the electronic device to: sense the tilt of the electronic device via at least one first sensor based on user input received for stereoscopic image capture. When executed individually or jointly by at least one processor, the instructions according to an embodiment may cause the electronic device to: acquire a stereoscopic image via a first camera and a second camera among the plurality of cameras based on the sensed tilt being included within a first range. When executed individually or jointly by at least one processor, the instructions according to an embodiment may cause the electronic device to: acquire a stereoscopic image via a first camera and a third camera among the plurality of cameras based on the sensed tilt being included within a second range different from the first range. In the electronic device according to the embodiment, a second camera may be arranged in a first direction relative to a first camera, and a third camera may be arranged in a second direction perpendicular to the first direction relative to the first camera.
[0078] When executed by at least one processor individually or jointly, the electronic device according to the embodiment may cause the electronic device to: include a first camera and a second camera as a plurality of rear cameras arranged side by side on a fourth surface, and include a third camera as a front cover camera disposed on a second surface.
[0079] In the electronic device according to the embodiment, the first camera and the second camera include a plurality of rear cameras arranged side by side on a fourth surface, and the third camera may be arranged adjacent to the first camera disposed on the fourth surface.
[0080] The electronic device according to an embodiment may further include at least one second sensor for sensing the folding angle of the first housing and the second housing. When executed individually or jointly by at least one processor, the instructions according to an embodiment may cause the electronic device to: acquire a stereoscopic image using a first camera and a third camera among a plurality of cameras, based on the sensed tilt being included in a second range and the folding angle sensed by the second sensor being included in a first range. When executed individually or jointly by at least one processor, the instructions according to an embodiment may cause the electronic device to: provide an indicator that a stereoscopic image cannot be generated, based on the sensed tilt being included in the second range and the folding angle being outside the first range.
[0081] The electronic device according to an embodiment may further include at least one second sensor for sensing the folding angle of the first housing and the second housing. When executed individually or jointly by at least one processor, the instructions according to the embodiment may cause the electronic device to: select one of a first camera and a second camera, and a third camera disposed on a second surface, based on the sensed tilt being included in a second range and the folding angle sensed by the second sensor being included in a first range. When executed individually or jointly by at least one processor, the instructions according to the embodiment may cause the electronic device to: select one of a first camera and a second camera, and a third camera disposed adjacent to the first camera on a fourth surface, based on the sensed tilt being included in a second range and the folding angle sensed by the second sensor being outside the first range.
[0082] The electronic device according to an embodiment may further include at least one second sensor for sensing the folding angle of the first housing and the second housing. When executed individually or jointly by at least one processor, the instructions according to the embodiment may cause the electronic device to: identify stereoscopic image capture as depth-sensing stereoscopic image capture based on the sensed tilt being included in a second range, the sensed folding angle being included in a first range, and select one of the first and second cameras and a third camera disposed on the second surface, according to the function of stereoscopic image capture or user selection.
[0083] The electronic device according to an embodiment may further include at least one second sensor for sensing the folding angle of the first housing and the second housing. When executed individually or jointly by at least one processor, the instructions according to the embodiment may cause the electronic device to: select one of the first camera and the second camera, and a third camera arranged adjacent to the first camera on a fourth surface, based on the sensed tilt being included in a second range, the sensed folding angle being included in a first range, and to identify stereoscopic image capture as for quality stereoscopic image capture according to the function of stereoscopic image capture or user selection.
[0084] When executed individually or jointly by at least one processor, the instructions according to the embodiments may cause the electronic device to: identify itself in a landscape mode based on a sensed tilt angle being included within a first range. When executed individually or jointly by at least one processor, the instructions according to the embodiments may cause the electronic device to: identify itself in a portrait mode based on a sensed tilt angle being included within a second range.
[0085] When executed individually or jointly by at least one processor, the instructions according to the embodiment enable the electronic device to identify itself as being in an unfolded state based on the sensed folding angle being included within a first range.
[0086] When executed individually or jointly by at least one processor, the instructions according to the embodiment enable the electronic device to: identify itself as being in a semi-folded state, or in a folded state in which the first and second housings are folded, based on a sensed folding angle outside a first range, wherein the first and second housings are partially folded such that the first and second cameras and the third camera among a plurality of cameras cannot capture the same subject.
[0087] When executed individually or jointly by at least one processor, the instructions according to the embodiments cause the electronic device to: acquire left-eye and right-eye images via each of a first and second camera of a plurality of cameras, based on a sensed tilt angle included within a first range. When executed individually or jointly by at least one processor, the instructions according to the embodiments cause the electronic device to: acquire left-eye and right-eye images via each of a first and third camera of a plurality of cameras, based on a sensed tilt angle included within a second range.
[0088] Figure 4 This is a flowchart illustrating the operation of selecting two cameras for generating stereoscopic images based on the tilt angle of the electronic device according to an embodiment.
[0089] Reference Figure 4 According to an embodiment, in operation 410, the electronic device (e.g., Figure 1 Electronic device 101 Figure 1 Processor 120 Figure 2a The electronic device 101 may be received based on user input for stereo image capture, and the tilt of the electronic device may be sensed by at least one sensor.
[0090] According to an embodiment, when user input (e.g., touch input or voice input) for capturing stereoscopic images is received via the execution screen of a camera application, the electronic device can sense the tilt of the electronic device through at least one sensor (e.g., ... Figure 1 The sensor module 176 is used to sense the tilt of the electronic device. For example, at least one sensor may include at least one of a gyroscope sensor or an accelerometer sensor.
[0091] According to an embodiment, in operation 420, the electronic device may select two cameras from a plurality of rear cameras based on the sensed tilt being included in a first range, and select two cameras arranged in a second direction different from the first direction from a plurality of rear cameras and front cover cameras based on the sensed tilt being included in a second range different from the first range.
[0092] For example, the first range may include a range of more than 90 degrees and less than 180 degrees, and the second range may include a range of 0 degrees or more and 90 degrees or less.
[0093] According to an embodiment, the front-cover camera may be disposed in the first housing (e.g., Figure 2a First shell structure 210 or Figure 2b On the second surface of the first housing structure 210, and multiple rear cameras may be mounted on the second housing (e.g., Figure 2a The second shell structure 220 or Figure 2b On the fourth surface of the second shell structure 220.
[0094] According to embodiments, the electronic device may be based solely on the electronic device's... Figure 2a The tilt of the plane formed by the x-axis and y-axis in the coordinate system shown is used to select two cameras. For example, the electronic device can select two cameras corresponding to the left and right eyes, respectively, for stereoscopic image capture. According to an embodiment, the electronic device can select two cameras arranged left and right for stereoscopic image capture based on the tilt of the electronic device.
[0095] According to an embodiment, when the sensed tilt of the electronic device is included within a first range, the electronic device can be identified as corresponding to a "lateral mode". According to an embodiment, the lateral mode can be a state in which the hinge structure includes elements parallel to... Figure 2a The coordinate system shown has the x-axis in the direction and is arranged in a lateral (or horizontal) direction within a set angle from the x-axis. According to an embodiment, when the sensed tilt of the electronic device is included in a first range, the first direction in which a plurality of rear cameras including those in a fourth surface of the electronic device are arranged includes a direction parallel to the x-axis and may be a lateral (or horizontal) direction within a set angle from the x-axis.
[0096] According to an embodiment, when the electronic device is in landscape mode, the electronic device can select two cameras (e.g., an ultra-wide-angle camera and a wide-angle camera) from a plurality of rear cameras arranged in a first direction parallel to the hinge structure.
[0097] According to an embodiment, when the sensed tilt of the electronic device is included in a second range different from the first range, the electronic device can be identified as corresponding to a "vertical mode". According to an embodiment, the vertical mode can be a state in which the hinge structure includes elements perpendicular to... Figure 2a The coordinate system shown is oriented along the x-axis and is positioned along a longitudinal (or vertical) direction that deviates from the x-axis direction by an angle beyond the set point.
[0098] According to an embodiment, when the sensed tilt of the electronic device is included in the second range, the first direction in which a plurality of rear cameras are arranged in the fourth surface of the electronic device includes a direction perpendicular to the x-axis, and may be a longitudinal direction (or vertical direction) deviating from the x-axis direction within the set angle.
[0099] According to an embodiment, when the electronic device is in portrait mode, it can select two cameras arranged in a second direction from a plurality of rear cameras and a front-facing camera. This second direction is different from a first direction parallel to the hinge structure. According to an embodiment, the second direction may include a direction within a set angle, including a direction perpendicular to the first direction.
[0100] According to an embodiment, when the electronic device is in portrait mode, the electronic device can select two cameras from a plurality of rear cameras and a front-facing camera by further considering the folded state of the electronic device. For example, the electronic device can further consider the folded state of the electronic device by using at least one sensor (e.g., ...) Figure 1 The sensor module 176 senses the folding angle to select two cameras from a plurality of rear cameras and a front cover camera. For example, at least one sensor for sensing the folding state of the electronic device may include an accelerometer and / or a Hall sensor.
[0101] According to an embodiment, the electronic device may select one of a plurality of rear cameras and a front cover camera based on the sensed tilt angle of the electronic device being included in a second range and the folding angle sensed by a second sensor being included in a first range. For example, when the electronic device is in portrait mode and the folding angle is within a first range that the plurality of rear cameras and the front cover camera can capture the same subject, the electronic device may select one of the plurality of rear cameras and the front cover camera.
[0102] According to an embodiment, when the folding angle is within a first range, the electronic device can be identified as corresponding to the unfolded state of the first housing and the second housing being unfolded.
[0103] According to an embodiment, when the plurality of rear cameras include a plurality of first rear cameras arranged in a row, and when the electronic device is in portrait mode and unfolded state, as described above, the electronic device may select one of the plurality of first rear cameras (e.g., an ultra-wide-angle camera) and a front-mount camera. According to an embodiment, the selected rear camera and the front-mount camera may be arranged in a second direction.
[0104] In this way, even in portrait mode, the electronic device can capture stereoscopic images by using a rear camera and a front-facing camera, and can obtain stereoscopic images with improved depth perception depending on the distance between the rear camera and the front-facing camera.
[0105] According to an embodiment, when the plurality of rear cameras include a plurality of first rear cameras arranged in two rows and at least one second rear camera, and when the electronic device is in portrait mode and unfolded state, the electronic device may select one of the plurality of rear cameras and the front cover camera, or select one of the plurality of first rear cameras in the first row (e.g., a wide-angle camera) and one of at least one second rear camera in the second row (e.g., a telephoto camera).
[0106] According to an embodiment, a selected rear camera and a front-facing camera, or a selected rear camera in the first row and a selected rear camera in the second row, can be arranged in a second direction.
[0107] For example, regarding the use of stereoscopic images or the performance of stereoscopic images as desired by the user, when the sense of depth of the stereoscopic image is more important than the quality of the stereoscopic image (e.g., image quality), the electronic device may select one of a plurality of rear cameras and a front-mounted camera.
[0108] According to an embodiment, when the quality of the stereoscopic image (e.g., image quality) is more important than the sense of depth of the stereoscopic image, the electronic device may select one of a plurality of first rear cameras in a first row and one of at least one second rear camera in a second row.
[0109] Thus, even in portrait mode, the electronic device can capture stereoscopic images by using one of the plurality of first rear cameras in the first row and one of at least one second rear camera in the second row, and can obtain stereoscopic images with improved quality depending on the performance of the rear cameras.
[0110] According to an embodiment, the electronic device may provide an indication that a stereoscopic image cannot be generated based on the sensed tilt angle of the electronic device being included within a second range and the folding angle being outside a first range. For example, when the electronic device is in portrait mode and the folding angle is outside a first range where multiple rear cameras and a front-facing camera can capture the same subject, the electronic device may provide an indication that a stereoscopic image cannot be generated. According to an embodiment, when the folding angle is outside the first range, the electronic device may be identified as corresponding to a half-folded state where the first and second housings are partially folded or a folded state where the first and second housings are folded.
[0111] According to an embodiment, when the plurality of rear cameras consist only of a plurality of first rear cameras arranged in a row, and when the electronic device is in portrait mode and in a semi-folded or folded state, as described above, the electronic device can provide an indicator that a stereoscopic image cannot be generated.
[0112] According to an embodiment, when the plurality of rear cameras include a plurality of first rear cameras arranged in two rows and at least one second rear camera, and when the electronic device is in portrait mode and in a semi-folded or folded state, the electronic device can select one of the plurality of first rear cameras in the first row (e.g., a wide-angle camera) and one of at least one second rear camera in the second row (e.g., a telephoto camera). According to an embodiment, the selected rear cameras in the first row and the second rear cameras in the second row can be arranged in a second direction.
[0113] Thus, even in the semi-folded or folded state of the portrait mode, stereoscopic images can be captured by using one of the multiple first rear cameras in the first row and one of the at least one second rear camera in the second row, and stereoscopic images with improved quality can be obtained depending on the performance of the rear cameras.
[0114] According to the embodiments, the following will refer to Figure 5 The operation of selecting two cameras for capturing stereoscopic images is described in more detail by taking into account the folded state of the electronic devices.
[0115] According to the embodiments, the following will refer to Figure 6 A more detailed description of the operation of selecting the two cameras to capture stereo images when multiple rear cameras are arranged in two rows.
[0116] According to an embodiment, in operation 430, the electronic device can obtain stereoscopic images through two selected cameras. According to an embodiment, the electronic device can obtain a left-eye image through one of the two selected cameras and a right-eye image through the other.
[0117] According to an embodiment, the electronic device can perform image processing to horizontally align the acquired left-eye and right-eye images. For example, correction can be performed such that corresponding points included in the left-eye and right-eye images, respectively, have the same y-coordinate.
[0118] According to an embodiment, the electronic device can store the corrected stereoscopic image in a memory (e.g., Figure 1 In the memory 130).
[0119] According to an embodiment, the electronic device can be communicated via a communication module (e.g., Figure 1 The communication module 190 sends the corrected stereoscopic image to an external electronic device (e.g., a head-mounted display (HMD) device).
[0120] Figure 5 This is a flowchart illustrating the operation of selecting two cameras for generating stereoscopic images based on the tilt and folding state of the electronic device according to an embodiment of the present disclosure.
[0121] Reference Figure 5According to an embodiment, in operation 501, the electronic device (e.g., Figure 1 Electronic device 101 Figure 1 Processor 120 Figure 2a The electronic device 101 can receive user input for stereoscopic image capture. For example, the electronic device can receive user input (e.g., touch input or voice input) for capturing stereoscopic images via the execution screen of a camera application.
[0122] According to an embodiment, in operation 502, the electronic device can identify whether the tilt angle of the electronic device is within a first range.
[0123] According to an embodiment, the electronic device can be detected by at least one sensor (e.g., for sensing the tilt of the electronic device) Figure 1 The sensor module 176 is used to sense the tilt of the electronic device. For example, at least one sensor may include at least one of a gyroscope sensor or an accelerometer sensor.
[0124] According to an embodiment, when the tilt of the electronic device is within a first range (operation 502-Yes), in operation 503, two rear cameras 393-1 and 393-2 can be selected from a plurality of first rear cameras.
[0125] According to an embodiment, when the tilt angle of the electronic device is included within a first range, the electronic device can be identified as corresponding to a "horizontal mode".
[0126] According to an embodiment, when the electronic device is in landscape mode, it can select two rear cameras 393-1 and 393-2 from a plurality of first rear cameras arranged in a first direction parallel to the hinge structure. For example, rear camera A 393-1 may be an ultra-wide-angle camera, and rear camera B 393-2 may be a wide-angle camera.
[0127] According to an embodiment, in operation 504, the electronic device can obtain a stereoscopic image using two selected rear cameras.
[0128] According to an embodiment, the electronic device can obtain a left-eye image via rear camera A 393-1 and a right-eye image via rear camera B 393-2.
[0129] According to an embodiment, when the tilt angle of the electronic device is outside the first range (operation 502-No), in operation 505, the electronic device can identify whether the folding angle is within the first range. According to an embodiment, when the tilt angle of the electronic device is outside the first range, the electronic device can be identified as corresponding to a "vertical mode".
[0130] According to an embodiment, when the electronic device is in portrait mode, the electronic device can sense the folding state of the electronic device through at least one sensor (e.g., Figure 1 The sensor module 176 is used to sense the folding angle. For example, at least one sensor for sensing the folding state of the electronic device may include an accelerometer and / or a Hall sensor.
[0131] According to an embodiment, when the electronic device is in portrait mode and the folding angle is within a first range that multiple rear cameras and a front-facing camera can capture the same subject, the electronic device can be identified as being associated with a first housing (e.g., Figure 2a First shell structure 210 or Figure 2b The first shell structure 210) and the second shell (e.g., Figure 2a The second shell structure 220 or Figure 2b The second shell structure 220 corresponds to the unfolded state.
[0132] For example, the first range may include a range of more than 90 degrees and less than 180 degrees, and the second range may include a range of 0 degrees or more and 90 degrees or less.
[0133] According to an embodiment, when the folding angle is within a first range (operation 505 - Yes), in operation 506, the electronic device can select one of the plurality of first rear cameras, rear camera A 393-1 and front cover camera 383.
[0134] According to an embodiment, when the electronic device is in portrait mode and in an unfolded state, the electronic device can select one of a plurality of first rear cameras, a rear camera 393-1 and a front cover camera 383. According to an embodiment, the selected rear camera and the front cover camera can be arranged in a second direction different from the first direction parallel to the hinge structure. For example, the rear camera A393-1 can be an ultra-wide-angle camera.
[0135] According to an embodiment, in operation 504, the electronic device can acquire stereoscopic images via two selected cameras. According to an embodiment, the electronic device can acquire a left-eye image via the front-facing camera 383 and a right-eye image via the rear-facing camera A 393-1.
[0136] In this way, even in portrait mode, stereoscopic images can be captured using a rear camera and a front-facing camera, and stereoscopic images with improved depth can be obtained depending on the distance between the rear camera and the front-facing camera.
[0137] According to an embodiment, when the folding angle is outside the first range (operation 505-No), in operation 507, the electronic device can provide an indicator that stereoscopic image capture is unavailable.
[0138] According to an embodiment, the electronic device may provide at least one of sound, vibration, or screen display as an indicator that stereoscopic image capture is unavailable.
[0139] According to an embodiment, when the electronic device is in a longitudinal mode and the folding angle is outside a first range that multiple rear cameras and a front cover camera can capture the same subject, the electronic device can be identified as corresponding to a half-folded state in which the first housing and the second housing are partially folded or a folded state in which the first housing and the second housing are folded.
[0140] According to an embodiment, when the electronic device is in portrait mode and in a semi-folded or folded state, the electronic device may display a message notifying that stereo capture is unavailable on the execution screen of the camera application, or provide sound and / or vibration notifications. According to an embodiment, the message notifying that stereo capture is unavailable may include a message guiding the electronic device to change to landscape mode or an unfolded state.
[0141] Figure 6 This is a flowchart illustrating the operation of selecting two cameras for generating stereoscopic images based on the tilt and folding state of the electronic device according to an embodiment, wherein multiple cameras are arranged in two rows in the rear region of the second housing.
[0142] Reference Figure 6 According to an embodiment, in operation 601, the electronic device (e.g., Figure 1 Electronic device 101 Figure 1 Processor 120 Figure 2a The electronic device 101 can receive user input for stereoscopic image capture. For example, the electronic device can receive user input (e.g., touch input or voice input) for capturing stereoscopic images via the execution screen of a camera application.
[0143] According to an embodiment, in operation 602, the electronic device can identify whether the tilt angle of the electronic device is within a first range. According to an embodiment, operation 602 and... Figure 5 The operation is the same as 502, and redundant descriptions will be omitted.
[0144] According to an embodiment, when the tilt of the electronic device is within a first range (operation 602-Yes), in operation 603, two cameras 393-1 and 393-2 can be selected from a plurality of rear cameras. For example, the plurality of rear cameras may include a plurality of first rear cameras in a first row and at least one first rear camera in a second row.
[0145] According to an embodiment, when the tilt angle of the electronic device is included within a first range, the electronic device can be identified as corresponding to a "horizontal mode".
[0146] According to an embodiment, when the electronic device is in landscape mode, it can select two rear cameras 393-1 and 393-2 from a plurality of first rear cameras arranged in a first row parallel to the first direction of the hinge structure. For example, rear camera A 393-1 in the first row can be an ultra-wide-angle camera, and rear camera B 393-2 in the first row can be a wide-angle camera.
[0147] According to an embodiment, in operation 604, the electronic device can obtain stereoscopic images via two selected rear cameras. According to an embodiment, the electronic device can obtain a left-eye image via rear camera A 393-1 in the first row, and a right-eye image via rear camera B 393-2 in the first row.
[0148] According to an embodiment, when the tilt angle of the electronic device is outside the first range (operation 602-No), in operation 605, the electronic device can identify whether the folding angle is within the first range. According to an embodiment, operation 605 and... Figure 5 The operation is the same as 505, and redundant descriptions will be omitted.
[0149] According to an embodiment, when the folding angle is within a first range (operation 605 - Yes), in operation 606, the electronic device can identify whether the depth perception of the stereoscopic image is more important than the image quality. For example, regarding the functionality of using the stereoscopic image or the performance of the stereoscopic image as desired by the user, the electronic device can identify whether the depth perception of the stereoscopic image is more important than the quality of the stereoscopic image (e.g., image quality).
[0150] According to an embodiment, when capturing a person or a short-form image as a stereoscopic image, or when a user wants a stereoscopic image with a high aspect ratio or a stereoscopic image with a high sense of depth, the electronic device can recognize that the sense of depth of the stereoscopic image is more important than the quality of the stereoscopic image.
[0151] According to an embodiment, when capturing a landscape or video blog as a stereoscopic image, or when a user wants a stereoscopic image with a high aspect ratio or high image quality, the electronic device can recognize that the quality of the stereoscopic image is more important than the sense of depth of the stereoscopic image.
[0152] According to an embodiment, when it is determined that the depth perception of a stereoscopic image is more important than the quality of the stereoscopic image (operation 606-Yes), in operation 607, the electronic device may select one of the plurality of first rear cameras in the first row, a rear camera 393-1 and a front cover camera 383.
[0153] According to an embodiment, when the electronic device is in portrait mode, in an unfolded state, and when depth perception is more important than image quality, the electronic device can select one of a plurality of first rear cameras in the first row: a rear camera 393-1 and a front-cover camera 383. According to an embodiment, the selected rear camera 393-1 and front-cover camera 383 can be arranged in a second direction different from the first direction parallel to the hinge structure. For example, the rear camera A 393-1 can be an ultra-wide-angle camera.
[0154] According to an embodiment, in operation 604, the electronic device can acquire stereoscopic images via two selected cameras. According to an embodiment, the electronic device can acquire a left-eye image via the front-facing camera 383 and a right-eye image via the rear-facing camera A 393-1 in the first row.
[0155] In this way, even in portrait mode, the electronic device can capture stereoscopic images by using a rear camera and a front-facing camera, and can obtain stereoscopic images with improved depth perception depending on the distance between the rear camera and the front-facing camera.
[0156] According to an embodiment, when it is determined that the quality of the stereoscopic image is more important than the depth perception of the stereoscopic image (operation 606-No), in operation 608, the electronic device may select one of the plurality of first rear cameras in the first row, camera 393-2, and one of the at least one second rear camera in the second row, camera 394.
[0157] According to an embodiment, when the electronic device is in portrait mode, in an unfolded state, and image quality is more important than depth perception, the electronic device can select one camera 393-2 from a plurality of first rear cameras in the first row and one camera 394 from at least one second rear camera in the second row. According to an embodiment, the selected rear camera A393-1 in the first row and the rear camera 394 in the second row can be arranged in a second direction different from a first direction parallel to the hinge structure. For example, the rear camera A393-1 in the first row can be an ultra-wide-angle camera, and the rear camera 394 in the second row can be a telephoto camera.
[0158] According to an embodiment, in operation 604, the electronic device can obtain stereoscopic images via two selected rear cameras. According to an embodiment, the electronic device can obtain a left-eye image via the rear camera 394 in the second row and a right-eye image via the rear camera A 393-1 in the first row.
[0159] Thus, by capturing stereoscopic images using one of the multiple first rear cameras in the first row and one of at least one second rear camera in the second row, stereoscopic images with improved quality can be obtained.
[0160] According to an embodiment, when the folding angle exceeds the first range (operation 605-No), in operation 609, the electronic device may select one rear camera 393-2 from a plurality of first rear cameras in the first row, and select one rear camera 394 from at least one second rear camera in the second row.
[0161] According to an embodiment, when the electronic device is in a longitudinal mode and the folding angle is outside a first range that multiple rear cameras and a front cover camera can capture the same subject, the electronic device can be identified as corresponding to a half-folded state in which the first housing and the second housing are partially folded or a folded state in which the first housing and the second housing are folded.
[0162] According to an embodiment, when the electronic device is in portrait mode and in a semi-folded or folded state, the electronic device can select one of a plurality of first rear cameras 393-2 in the first row and one of at least one second rear camera 394 in the second row. According to an embodiment, the selected rear camera A 393-1 in the first row and the rear camera 394 in the second row can be arranged in a second direction different from a first direction parallel to the hinge structure. For example, the rear camera A 393-1 in the first row can be an ultra-wide-angle camera, and the rear camera 394 in the second row can be a telephoto camera.
[0163] According to an embodiment, in operation 604, the electronic device can obtain stereoscopic images via two selected rear cameras. According to an embodiment, the electronic device can obtain a left-eye image via the rear camera 394 in the second row and a right-eye image via the rear camera A 393-1 in the first row.
[0164] Thus, even in the semi-folded or folded state of the portrait mode, one of the multiple first rear cameras in the first row and one of the at least one second rear camera in the second row can be used to capture stereo images, and stereo images with improved quality can be obtained depending on the performance of the rear cameras.
[0165] A method for selecting a camera in an electronic device comprising multiple cameras, according to an embodiment, may include the following operations: receiving user input for stereoscopic image capture, and sensing the tilt of the electronic device via at least one first sensor of the electronic device. The method according to an embodiment may include the following operations: selecting a first camera and a second camera from the multiple cameras of the electronic device based on the sensed tilt being included within a first range, and obtaining a stereoscopic image using the selected first and second cameras. The method according to an embodiment may include the following operations: obtaining a stereoscopic image using a first camera and a third camera from the multiple cameras based on the sensed tilt being included within a second range different from the first range. In the method according to an embodiment, the second camera may be arranged relative to the first camera in a first direction, and the third camera may be arranged relative to the first camera in a second direction perpendicular to the first direction.
[0166] In the method according to the embodiment, the first camera and the second camera may include a plurality of rear cameras arranged side by side on a fourth surface of a second housing of the electronic device, and the third camera may include a front cover camera disposed on a second surface of a first housing of the electronic device.
[0167] In the method according to the embodiment, the first camera and the second camera may include a plurality of rear cameras arranged side by side on the fourth surface, and the third camera may be arranged adjacent to the first camera disposed on the fourth surface.
[0168] When the electronic device further includes at least one second sensor for sensing the folding angle of the first housing and the second housing, the method according to an embodiment may include the following operation: acquiring a stereoscopic image using a first camera and a third camera among a plurality of cameras, based on the sensed tilt being included in a second range and the folding angle sensed by the at least one second sensor being included in a first range. The method according to an embodiment may also include the following operation: providing an indicator that a stereoscopic image cannot be generated, based on the sensed tilt being included in the second range and the folding angle being outside the first range.
[0169] When the electronic device further includes at least one second sensor for sensing the folding angle of the first housing and the second housing, the method according to an embodiment may include the following operations: selecting one of a first camera and a second camera, and a third camera disposed on a second surface, based on the sensed tilt being included in a second range and the folding angle sensed by the second sensor being included in a first range. The method according to an embodiment may also include the following operations: selecting one of a first camera and a second camera, and a third camera disposed adjacent to the first camera on a fourth surface, based on the sensed tilt being included in a second range and the folding angle sensed by the second sensor being outside the first range.
[0170] When the electronic device further includes at least one second sensor for sensing the folding angle of the first housing and the second housing, the method according to the embodiment may further include the following operations: based on the sensed tilt being included in a second range, the sensed folding angle being included in a first range, and the stereoscopic image capture being identified as a stereoscopic image capture for depth perception based on the function of the stereoscopic image or the user's selection, selecting one of the first camera and the second camera and a third camera disposed on the second surface.
[0171] When the electronic device further includes at least one second sensor for sensing the folding angle of the first housing and the second housing, the method according to the embodiment may further include the following operations: based on the sensed tilt being included in a second range, the sensed folding angle being included in a first range, and the stereo image capture being identified as a stereo image capture for quality based on the function of the stereo image or the user's selection, selecting one of the first camera and the second camera and a third camera arranged adjacent to the first camera on a fourth surface.
[0172] The method according to an embodiment may further include the following operation: identifying the electronic device as being in a landscape mode based on the sensed tilt being included within a first range. The method according to an embodiment may further include the following operation: identifying the electronic device as being in a portrait mode based on the sensed tilt being included within a second range.
[0173] The method according to an embodiment may further include the following operation: identifying the electronic device as being in an unfolded state based on the sensed folding angle being included within a first range. The method according to an embodiment may further include the following operation: identifying the electronic device as being in a semi-folded state, or in a folded state where the first and second housings are folded, based on the sensed folding angle being outside the first range, such that the first and second cameras and the third camera among a plurality of cameras cannot capture the same subject.
[0174] The method according to an embodiment may include the following operations: acquiring left-eye region and right-eye images through each of a first camera and a second camera among a plurality of cameras, based on a sensed tilt angle included within a first range. The method according to an embodiment may also include the following operations: acquiring left-eye region and right-eye images through each of a first camera and a third camera among a plurality of cameras, based on a sensed tilt angle included within a second range.
[0175] Figure 7a and Figure 7b This is a view illustrating the operation of two cameras for stereo image capture based on the tilt and folding states of the electronic device according to an embodiment.
[0176] Reference Figure 7a According to an embodiment, when electronic device 301 (e.g., Figure 1 Electronic device 101 Figure 1 Processor 120 Figure 2a When the electronic device 101 identifies stereoscopic image capture in the landscape mode of the electronic device based on the user's selection, or identifies stereoscopic image capture as a stereoscopic image capture for high image quality based on the function of the stereoscopic image or the user's selection, the electronic device 301 can generate a stereoscopic image 711 based on image data captured by two of the multiple rear cameras 393-1 and 393-2 in the landscape mode of the electronic device, where the tilt of the electronic device is included in a first range.
[0177] According to an embodiment, in the landscape mode of the electronic device, a first stereoscopic image 713 (e.g., a landscape) and / or a second stereoscopic image 715 (e.g., a video blog) can be captured based on stereoscopic image capture or stereoscopic image capture for high image quality.
[0178] Reference Figure 7b According to an embodiment, when electronic device 301 (e.g., Figure 1 Electronic device 101 Figure 1 Processor 120 Figure 2a When the electronic device 101 identifies stereoscopic image capture in the portrait mode of the electronic device based on the user's selection, or identifies stereoscopic image capture as stereoscopic image capture for high image quality based on the function of the stereoscopic image or the user's selection, or identifies stereoscopic image capture as stereoscopic image capture for depth perception based on the function of the stereoscopic image or the user's selection, the electronic device 301 can generate a stereoscopic image 717 based on image data captured by one of the multiple rear cameras 393-1 and the front cover camera 383 in the portrait mode of the electronic device in which the tilt of the electronic device is included in the second range.
[0179] According to an embodiment, in the portrait mode of the electronic device, a third stereoscopic image 719 (e.g., a person) and / or a fourth stereoscopic image 721 (e.g., content in a 9:16 aspect ratio (e.g., short form)) can be captured based on stereoscopic image capture, stereoscopic image capture for high image quality, or stereoscopic image capture for depth perception.
[0180] Figure 8a and Figure 8b This is a view illustrating the operation of two cameras for stereoscopic image capture according to an embodiment, based on changes in the capture mode of the electronic device's tilt and folding state.
[0181] like Figure 8a As shown, according to an embodiment, when electronic device 301 (e.g., Figure 1Electronic device 101 Figure 1 Processor 120 Figure 2a When the electronic device 101 identifies that the tilt of the electronic device is included in the horizontal pattern of the electronic device within a first range, the electronic device 301 can generate a stereoscopic image 711 based on image data captured by two of the multiple rear cameras 393-1 and 393-2.
[0182] like Figure 8a As shown, according to an embodiment, when the electronic device 301 acquires a stereoscopic image through two of the multiple rear cameras 393-1 and 393-2 in a horizontal mode where the tilt of the electronic device is included in a first range, and when the electronic device 301 recognizes a transition to a vertical mode where the tilt of the electronic device is included in a second range, as... Figure 8b As shown, the electronic device 301 can obtain stereoscopic images through one of the multiple rear cameras, a rear camera 393-1, and a front-cover camera 383.
[0183] like Figure 8b As shown, according to an embodiment, when the electronic device 301 obtains a stereoscopic image in a longitudinal mode of the electronic device where the tilt angle of the electronic device is included in a second range, via one of the rear cameras 393-1 and the front cover camera 383, when the electronic device 301 recognizes a transition to a lateral mode of the electronic device where the tilt angle of the electronic device is included in a first range, as... Figure 8a As shown, the electronic device 301 can obtain stereoscopic images through two of the multiple rear cameras, 393-1 and 393-2.
[0184] Figure 9 This is a view illustrating the operation of recommending a capture mode based on the distance between the electronic device and the subject, according to an embodiment.
[0185] Reference Figure 9 According to an embodiment, when electronic device 301 (e.g., Figure 1 Electronic device 101 Figure 1 Processor 120 Figure 2aWhen the electronic device 101) acquires a stereoscopic image through two of the multiple rear cameras 393-1 and 393-2 in the horizontal mode of the electronic device, where the tilt angle of the electronic device is included in the first range, such as <911> As shown, electronic device 301 can analyze depth perception based on the distance between electronic device 301 and subject 991. According to an embodiment, when electronic device 301 determines, based on the depth perception analysis, that the distance between electronic device 301 and subject 991 is a distant view, electronic device 301 can display UI 913 (e.g., portrait capture recommendation) recommending changing the capture mode to portrait mode in a portion of the display area of electronic device 301.
[0186] According to an embodiment, when the electronic device 301 acquires a stereoscopic image in the longitudinal mode of the electronic device, where the tilt angle of the electronic device is included in the second range, via one of the multiple rear cameras, a rear camera 393-1, and a front-cover camera 383, such as <913> As shown, electronic device 301 can analyze depth perception based on the distance between electronic device 301 and subject 991. According to an embodiment, when electronic device 301 determines, based on the depth perception analysis, that the distance between electronic device 301 and subject 991 is close-up, electronic device 301 can display UI 833 (e.g., landscape capture recommendation) recommending changing the capture mode to landscape mode in a portion of the display of electronic device 301.
[0187] Figure 10a and Figure 10b This is a view illustrating the operation of changing and displaying the position of at least one indicator corresponding to a function according to a change in capture mode based on the tilt and folding state of the electronic device, according to an embodiment.
[0188] like Figure 10a As shown, according to an embodiment, in a lateral mode of the electronic device where the tilt angle is included within a first range, the electronic device 301 (e.g., Figure 1 Electronic device 101 Figure 1 Processor 120 Figure 2a The electronic device 101 may display at least one first indicator 1011a related to the capture function (e.g., a thumbnail corresponding to a previously captured image, a capture button, and / or a screen switch) on the upper side of the display of the electronic device, and at least one second indicator 1013a related to the capture magnification on the lower side of the display of the electronic device.
[0189] According to an embodiment, the electronic device 301 may display at least one third indicator 1015a related to the function of the electronic device (e.g., call-related indicator, text-related indicator, and / or internet-related indicator, etc.) on the left side of the display of the electronic device, and at least one fourth indicator 1017a related to the setting of the capture function (e.g., indicator related to camera settings, indicator related to timers, and / or indicator related to screen ratio, etc.) on the right side of the display of the electronic device.
[0190] like Figure 10b As shown, according to an embodiment, in a longitudinal mode of the electronic device where the tilt angle of the electronic device is included in a second range, the electronic device 301 (e.g., Figure 1 Electronic device 101 Figure 1 Processor 120 Figure 2a The electronic device 101 may display at least one second indicator 1013b related to the capture magnification on the upper side of the display of the electronic device, and at least one first indicator 1011b related to the capture function (e.g., a thumbnail corresponding to a previously captured image, a capture button, and / or a screen switch) on the lower side of the display of the electronic device.
[0191] According to an embodiment, the electronic device 301 may display at least one fourth indicator 1017b related to the setting of the capture function (e.g., an indicator related to camera settings, an indicator related to a timer, and / or an indicator related to screen ratio, etc.) on the left side of the display of the electronic device, and at least one third indicator 1015b related to the function of the electronic device (e.g., a call-related indicator, a text-related indicator, and / or an internet-related indicator, etc.) on the right side of the display of the electronic device.
[0192] The electronic device according to the embodiments disclosed in this document can be one of a variety of types of devices. 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 appliance devices. The electronic device according to the embodiments of this document is not limited to the devices described above.
[0193] The embodiments and terminology used in this document are not intended to limit the technical features described herein to specific embodiments and should be understood to include various modifications, equivalents, or substitutions of the corresponding embodiments. Similar reference numerals may be used for similar or related components in conjunction with the description of the accompanying drawings. Unless the relevant context clearly indicates otherwise, the singular form of the noun corresponding to an item may include one or more of that item. In this document, each of the 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 include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as “first” or “second” may be used only to distinguish a corresponding component from another corresponding component, without limiting the corresponding component in any other way (e.g., in terms of importance or order). When a component (e.g., the first) is referred to as “coupled” or “connected” to another component (e.g., the second), with or without the terms “functionally” or “communically”, it means that a component can be connected to the other component directly (e.g., via a wire), wirelessly, or via a third component.
[0194] The term "module" as used in the embodiments of this document may include a unit implemented in hardware, software, or firmware, and is used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integrated configuration of components or the smallest unit or part of a component that performs one or more functions. For example, according to an embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0195] Embodiments of this document may be implemented as software (e.g., program 140) including one or more instructions readable by a machine (e.g., electronic device 101 or electronic device 301) stored in a storage medium (e.g., internal memory 136 or external memory 138). For example, a processor (e.g., processor 520) of the machine (e.g., electronic device 301) may invoke and execute at least one of the one or more instructions stored in the storage medium. This enables the machine to perform at least one function according to the invoked at least one instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. Machine-readable storage media may be provided in the form of non-transitory storage media. Here, "non-transitory" means only that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently in the storage medium and cases where data is temporarily stored.
[0196] According to embodiments, the methods according to the embodiments disclosed in this document can be provided by being included in a computer program product. The computer program product can be traded as a commodity between a seller and a buyer. The computer program product can be distributed in the form of a machine-readable storage medium (e.g., an optical disc read-only memory (CD-ROM)) or through an app store (e.g., the Play Store). TM The computer program product may be distributed online (e.g., downloaded or uploaded) 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 generated in a machine-readable storage medium (such as the memory of a manufacturer's server, an app store's server, or a relay server).
[0197] According to embodiments, each of the foregoing components (e.g., a module or program) may include a single entity or multiple entities, and some of the multiple entities may be separately located in another component. According to embodiments, one or more of the foregoing components or operations may be omitted, or one or more other components or operations may be added. Optionally or additionally, multiple components (e.g., modules or programs) may be integrated into one 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 the corresponding components in the multiple components before integration. According to embodiments, operations performed by a module, program, or other component may be performed sequentially, in parallel, repeatedly, or heuristically, or one or more operations may be performed in a different order, omitted, or one or more other operations may be added.
Claims
1. An electronic device comprising: The first housing includes a first surface and a second surface opposite to the first surface; The second housing includes a third surface and a fourth surface opposite to the third surface; A hinge structure rotatably connects the first housing and the second housing; A flexible display is disposed on a first surface and a third surface; Multiple cameras, including a first camera, a second camera, and a third camera; At least one first sensor is used to sense the tilt of the electronic device; At least one processor, including processing circuitry; and A memory that stores instructions, wherein the instructions, when executed individually or jointly by the at least one processor, cause the electronic device to perform the following operations: Based on the user input received for stereo image capture, the tilt of the electronic device is sensed by the at least one first sensor; Based on the sensed tilt angle being included within a first range, stereoscopic images are obtained through a first camera and a second camera among the plurality of cameras; and Based on the sensed tilt being included in a second range different from the first range, stereo images are obtained through the first and third cameras among the plurality of cameras.
2. The electronic device according to claim 1, wherein, The second camera is arranged in a first direction relative to the first camera, and the third camera is arranged in a second direction perpendicular to the first direction relative to the first camera.
3. The electronic device according to claim 1, wherein, The first and second cameras include multiple rear cameras arranged side-by-side on the fourth surface, and The third camera includes a front-cover camera mounted on the second surface.
4. The electronic device according to claim 1, wherein, The first and second cameras include multiple rear cameras arranged side-by-side on the fourth surface, and The third camera is positioned adjacent to the first camera, which is set on the fourth surface.
5. The electronic device according to claim 1, further comprising: At least one second sensor is provided for sensing the folding angle of the first housing and the second housing, wherein the instructions, when executed individually or jointly by the at least one processor, cause the electronic device to perform the following operations: Based on the sensed tilt being included in the second range and the folding angle sensed by the second sensor being included in the first range, stereoscopic images are obtained through the first and third cameras among the plurality of cameras, and based on the sensed tilt being included in the second range and the folding angle being outside the first range, an indicator is provided to notify that a stereoscopic image cannot be generated.
6. The electronic device according to claim 1, further comprising: At least one second sensor is provided for sensing the folding angle of the first housing and the second housing, wherein the instructions, when executed individually or jointly by the at least one processor, cause the electronic device to perform the following operations: Based on the sensed tilt angle being included in the second range and the folding angle sensed by the second sensor being included in the first range, one of the first and second cameras and a third camera positioned on the second surface are selected; and Based on the sensed tilt being included in the second range and the folding angle sensed by the second sensor being outside the first range, one of the first camera and the second camera, and a third camera arranged adjacent to the first camera on the fourth surface, are selected.
7. The electronic device according to claim 1, further comprising: At least one second sensor is provided for sensing the folding angle of the first housing and the second housing, wherein the instructions, when executed individually or jointly by the at least one processor, cause the electronic device to perform the following operations: Based on the sensed tilt angle being included in the second range, the sensed folding angle being included in the first range, and the stereo image capture being identified as a stereo image capture for depth perception according to the function of the stereo image or the user's selection, one of the first and second cameras and a third camera set on the second surface are selected.
8. The electronic device according to claim 1, further comprising: At least one second sensor is provided for sensing the folding angle of the first housing and the second housing, wherein the instructions, when executed individually or jointly by the at least one processor, cause the electronic device to perform the following operations: Based on the sensed tilt angle being included in the second range, the sensed folding angle being included in the first range, and the stereo image capture being identified as a stereo image capture for quality based on the function of the stereo image or the user's selection, one of the first and second cameras and a third camera arranged adjacent to the first camera on the fourth surface are selected.
9. The electronic device according to claim 1, wherein, When executed individually or jointly by the at least one processor, the instructions cause the electronic device to perform the following operations: Based on the sensed tilt being included within a first range, the electronic device is identified as being in a horizontal mode; as well as Based on the sensed tilt being included in a second range, the electronic device is identified as being in longitudinal mode.
10. The electronic device according to claim 1, wherein, When executed individually or jointly by the at least one processor, the instructions cause the electronic device to perform the following operations: The electronic device is identified as being in an unfolded state based on the sensed folding angle being included within a first range; as well as Based on the sensed folding angle being outside a first range, the electronic device is identified as being in a semi-folded state, or in a folded state where the first and second housings are folded, in which the first and second housings are partially folded such that the first and second cameras and the third camera among the plurality of cameras cannot capture the same subject.
11. A method for selecting a camera in an electronic device comprising a plurality of cameras, the method comprising: Based on the user input received for stereo image capture, the tilt of the electronic device is sensed by at least one first sensor of the electronic device. Based on the sensed tilt angle being included within a first range, stereoscopic images are obtained through the first and second cameras among the plurality of cameras of the electronic device; as well as Based on the sensed tilt being included in a second range different from the first range, stereo images are obtained through the first and third cameras among the plurality of cameras.
12. The method according to claim 11, wherein, The second camera is arranged in a first direction relative to the first camera, and the third camera is arranged in a second direction perpendicular to the first direction relative to the first camera.
13. The method according to claim 11, wherein, The first and second cameras include a plurality of rear cameras arranged side-by-side on the fourth surface of the second housing of the electronic device, and The third camera includes a front-cover camera, one of the plurality of cameras, disposed on the second surface of the first housing of the electronic device.
14. The method according to claim 11, wherein, The first and second cameras include multiple rear cameras arranged side-by-side on the fourth surface, and The third camera is positioned adjacent to the first camera, which is set on the fourth surface.
15. A non-volatile storage medium for storing instructions, wherein, The instructions are configured to cause the wearable electronic device to perform at least one operation when executed by the wearable electronic device, the at least one operation including: Based on the user input received for stereo image capture, the tilt of the electronic device is sensed by at least one first sensor of the electronic device. Based on the sensed tilt angle being included within a first range, stereoscopic images are obtained through a first camera and a second camera among a plurality of cameras in the electronic device; and Based on the sensed tilt being included in a second range different from the first range, stereo images are obtained through the first and third cameras among the plurality of cameras.