Method for providing image, electronic device supporting same, and recording medium
The system dynamically adjusts exposure times for multiple cameras based on subject movement, improving image clarity by minimizing blur in images captured with different fields of view.
Patent Information
- Application Number
- PCT/KR2025/008270
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-09-09
- Filing Date
- 2025-06-16
- Publication Date
- 2026-02-05
AI Technical Summary
Existing image capture systems struggle to effectively adjust exposure times based on subject movement, leading to blurred images, particularly when using multiple cameras with different fields of view.
Implementing a system where exposure times for multiple cameras are dynamically adjusted based on the detection of subject movement, with shorter exposure times applied to cameras with wider angles to minimize motion blur.
Enhances image clarity by reducing motion blur in captured images, especially when using cameras with different fields of view, by adapting exposure times to subject movement.
Smart Images

Figure KR2025008270_05022026_PF_FP_ABST
Abstract
Description
Method for providing images, electronic devices supporting the same, and recording media
[0001] The present disclosure relates to a method for providing an image, an electronic device supporting the same, and a recording medium.
[0002] An electronic device can acquire an image through a camera based on camera settings set based on user input. For example, the electronic device can display a preview image acquired through a camera while a camera application is running. While the preview image is displayed, the electronic device can set camera settings (e.g., focus, exposure) based on a region selected by the user input within the preview image based on a user input (e.g., touch input) input for the preview image. The electronic device can acquire a preview image through the camera based on the set camera settings and display the acquired preview image. While the acquired preview image is displayed, the electronic device can acquire an image (e.g., a captured image) based on the user input.
[0003] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.
[0004] An electronic device according to one embodiment may include a first camera, a second camera having a wider angle of view than the first camera, at least one processor, and a memory storing instructions. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to set a first exposure time corresponding to the first camera and a second exposure time corresponding to the second camera based on the execution of a camera application. The second exposure time may be shorter than the first exposure time. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to acquire a first image through the first camera and to acquire a second image through the second camera. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine whether a subject located in a field of view area corresponding to the second camera is moving toward a field of view area corresponding to the first camera. The instructions, when executed individually or collectively by the at least one processor, may cause the electronic device to decrease the first exposure time based on determining that the subject is moving toward a field of view corresponding to the first camera, and to decrease the second exposure time such that the second exposure time is shorter than the decreased first exposure time.
[0005] A method for providing an image in an electronic device according to one embodiment may include an operation of setting a first exposure time corresponding to a first camera of the electronic device and a second exposure time corresponding to a second camera of the electronic device based on execution of a camera application. The second exposure time may be shorter than the first exposure time. The method may include an operation of acquiring a first image through the first camera and an operation of acquiring a second image through the second camera. The method may include an operation of determining whether a subject located in a field of view corresponding to the second camera is moving toward the field of view corresponding to the first camera. The method may include an operation of reducing the first exposure time based on determining that the subject is moving toward the field of view corresponding to the first camera, and reducing the second exposure time such that the second exposure time is shorter than the reduced first exposure time.
[0006] In one embodiment, a non-transitory computer-readable storage medium having computer-executable instructions recorded thereon may cause an electronic device, when individually or collectively executed by at least one processor, to set a first exposure time corresponding to a first camera of the electronic device and a second exposure time corresponding to a second camera of the electronic device based on a camera application being executed. The second exposure time may be shorter than the first exposure time. The computer-executable instructions, when individually or collectively executed by at least one processor, may cause the electronic device to acquire a first image through the first camera and to acquire a second image through the second camera. The computer-executable instructions, when individually or collectively executed by at least one processor, may cause the electronic device to determine whether a subject located in a field of view corresponding to the second camera is moving toward a field of view corresponding to the first camera. The computer-executable instructions, when executed individually or collectively by at least one processor, may cause the electronic device to decrease the first exposure time based on determining that the subject is moving toward a field of view corresponding to the first camera, and to decrease the second exposure time such that the second exposure time is shorter than the decreased first exposure time.
[0007] The technical problems to be solved by the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by a person having ordinary skill in the technical field to which the present disclosure pertains from the description below.
[0008] FIG. 1 is a block diagram of an electronic device within a network environment, according to one embodiment.
[0009] FIG. 2 is a perspective view illustrating the internal configuration of a wearable electronic device according to an embodiment of the present disclosure.
[0010] FIGS. 3A and 3B are drawings showing the front and back of a wearable electronic device according to one embodiment.
[0011] FIG. 4 is a block diagram illustrating a camera module according to various embodiments.
[0012] FIG. 5 is a block diagram of an electronic device according to one embodiment.
[0013] FIG. 6 is a signal flow diagram of an electronic device according to one embodiment.
[0014] FIG. 7 is a flowchart illustrating a method for providing an image according to one embodiment.
[0015] FIGS. 8A and 8B are drawings for explaining a method for determining the direction in which a subject moves, according to one embodiment.
[0016] FIG. 9a is a drawing for explaining a method of providing an image according to a comparative example.
[0017] FIG. 9b is a diagram illustrating a method for providing an image according to one embodiment.
[0018] FIG. 10 is a signal flow diagram of an electronic device according to one embodiment.
[0019] FIG. 11 is a flowchart illustrating a method for providing an image according to one embodiment.
[0020] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100), according to one embodiment.
[0021] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0022] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or a secondary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor)) that can operate independently or together therewith. For example, if the electronic device (101) includes a main processor (121) and a secondary processor (123), the secondary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a specified function. The secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0023] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0024] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0025] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0026] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0027] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0028] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0029] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0030] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0031] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0032] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0033] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0034] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0035] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least a part of a power management integrated circuit (PMIC).
[0036] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0037] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0038] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0039] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0040] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.
[0041] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0042] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In one embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server using machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0043] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0044] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0045] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0046] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0047] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0048] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0049] FIG. 2 is a perspective view illustrating the internal configuration of a wearable electronic device according to an embodiment of the present disclosure.
[0050] Referring to FIG. 2, a wearable electronic device (200) according to one embodiment of the present disclosure may include at least one of a light output module (211), a display member (201), and a camera module (250).
[0051] According to one embodiment of the present disclosure, the light output module (211) may include a light source capable of outputting an image, and a lens for guiding the image to the display member (201). According to one embodiment of the present disclosure, the light output module (211) may include at least one of a liquid crystal display (LCD), a digital mirror device (DMD), a liquid crystal on silicon (LCoS), an organic light emitting diode (OLED), or a micro light emitting diode (micro LED).
[0052] According to one embodiment of the present disclosure, the display member (201) may include an optical waveguide (e.g., a waveguide). According to one embodiment of the present disclosure, an output image of an optical output module (211) incident on one end of the optical waveguide may be propagated inside the optical waveguide and provided to a user. According to one embodiment of the present disclosure, the optical waveguide may include at least one diffractive element (e.g., a diffractive optical element (DOE), a holographic optical element (HOE)) or at least one reflective element (e.g., a reflective mirror). For example, the optical waveguide may guide an output image of the optical output module (211) to a user's eye by using at least one diffractive element or reflective element.
[0053] According to one embodiment of the present disclosure, the camera module (250) can capture still images and / or moving images. According to one embodiment, the camera module (250) is disposed within a lens frame and can be disposed around the display member (201).
[0054] According to one embodiment of the present disclosure, the first camera module (251) can capture and / or recognize the trajectory of the user's eye (e.g., pupil, iris) or gaze. According to one embodiment of the present disclosure, the first camera module (251) can periodically or aperiodically transmit information related to the trajectory of the user's eye or gaze (e.g., trajectory information) to a processor (e.g., processor (120) of FIG. 1).
[0055] According to one embodiment of the present disclosure, the second camera module (253) can capture an external image.
[0056] According to one embodiment of the present disclosure, the third camera module (255) can be used for hand detection and tracking, and user gesture (e.g., hand movement) recognition. According to one embodiment of the present disclosure, the third camera module (255) can be used for 3 degrees of freedom (3DoF), 6DoF head tracking, position (space, environment) recognition, and / or movement recognition. According to one embodiment of the present disclosure, the second camera module (253) can also be used for hand detection and tracking, and user gesture recognition. According to one embodiment of the present disclosure, at least one of the first camera module (251) to the third camera module (255) can be replaced with a sensor module (e.g., a LiDAR sensor). For example, the sensor module can include at least one of a vertical cavity surface emitting laser (VCSEL), an infrared sensor, and / or a photodiode.
[0057] FIGS. 3A and 3B are drawings showing the front and back of a wearable electronic device according to one embodiment.
[0058] Referring to FIGS. 3A and 3B, in one embodiment, camera modules (311, 312, 313, 314, 315, 316) and / or depth sensors (317) for obtaining information related to the surrounding environment of the wearable electronic device (300) may be arranged on the first surface (310) of the housing.
[0059] In one embodiment, the camera modules (311, 312) can acquire images related to the surrounding environment of the wearable electronic device (300).
[0060] In one embodiment, the camera modules (313, 314, 315, 316) can acquire images while the wearable electronic device is worn by a user. The camera modules (313, 314, 315, 316) can be used for hand detection and tracking, and user gesture (e.g., hand movement) recognition. The camera modules (313, 314, 315, 316) can be used for 3DoF, 6DoF head tracking, position (spatial, environmental) recognition, and / or movement recognition. In one embodiment, the camera modules (311, 312) can also be used for hand detection and tracking, and user gesture.
[0061] In one embodiment, a depth sensor (317) may be configured to transmit a signal and receive a signal reflected from a subject, and may be used for purposes such as time of flight (TOF) to determine the distance to an object. Instead of or in addition to the depth sensor (317), camera modules (313, 314, 315, 316) may determine the distance to an object.
[0062] According to one embodiment, a camera module (325, 326) for facial recognition and / or a display (321) (and / or a lens) may be disposed on the second side (320) of the housing.
[0063] In one embodiment, a face recognition camera module (325, 326) adjacent to the display (321) (and / or lens) may be used to recognize a user's face, or may recognize and / or track both eyes of the user.
[0064] In one embodiment, the display (321) (and / or lens) may be disposed on the second side (320) of the wearable electronic device (300). In one embodiment, the wearable electronic device (300) may not include camera modules (315, 316) among the plurality of camera modules (313, 314, 315, 316). Although not illustrated in FIGS. 3A and 3B , the wearable electronic device (300) may further include at least one of the configurations illustrated in FIG. 2 .
[0065] As described above, according to one embodiment, the wearable electronic device (300) may have a form factor for being worn on a user's head. The wearable electronic device (300) may further include a strap and / or a wearing member for being secured to a body part of the user. The wearable electronic device (300) may provide a user experience based on augmented reality, virtual reality, and / or mixed reality while being worn on the user's head.
[0066] FIG. 4 is a block diagram (400) illustrating a camera module (180) according to various embodiments.
[0067] Referring to FIG. 4, the camera module (180) may include a lens assembly (410), a flash (420), an image sensor (430), an image stabilizer (440), a memory (450) (e.g., a buffer memory), or an image signal processor (460). The lens assembly (410) may collect light emitted from a subject that is a target of image capturing. The lens assembly (410) may include one or more lenses. According to one embodiment, the camera module (180) may include a plurality of lens assemblies (410). In this case, the camera module (180) may form, for example, a dual camera, a 360-degree camera, or a spherical camera. Some of the plurality of lens assemblies (410) may have the same lens properties (e.g., angle of view, focal length, autofocus, f-number, or optical zoom), or at least one lens assembly may have one or more lens properties that are different from the lens properties of the other lens assemblies. A lens assembly (410) may include, for example, a wide-angle lens or a telephoto lens.
[0068] The flash (420) can emit light used to enhance light emitted or reflected from a subject. According to one embodiment, the flash (420) can include one or more light-emitting diodes (e.g., red-green-blue (RGB) LED, white LED, infrared LED, or ultraviolet LED), or a xenon lamp. The image sensor (430) can acquire an image corresponding to the subject by converting light emitted or reflected from the subject and transmitted through the lens assembly (410) into an electrical signal. According to one embodiment, the image sensor (430) can include one image sensor selected from among image sensors having different properties, such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same property, or a plurality of image sensors having different properties. Each image sensor included in the image sensor (430) can be implemented using, for example, a CCD (charged coupled device) sensor or a CMOS (complementary metal oxide semiconductor) sensor.
[0069] The image stabilizer (440) can move at least one lens or image sensor (430) included in the lens assembly (410) in a specific direction or control the operating characteristics of the image sensor (430) (e.g., adjusting the read-out timing, etc.) in response to the movement of the camera module (180) or the electronic device (101) including the same. This allows compensating for at least some of the negative effects of the movement on the captured image. In one embodiment, the image stabilizer (440) can detect such movement of the camera module (180) or the electronic device (101) using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module (180). In one embodiment, the image stabilizer (440) can be implemented as, for example, an optical image stabilizer. The memory (450) can temporarily store at least a portion of the image acquired through the image sensor (430) for the next image processing task. For example, when image acquisition is delayed due to the shutter, or when multiple images are acquired at high speed, the acquired original image (e.g., a Bayer-patterned image or a high-resolution image) is stored in the memory (450), and a corresponding copy image (e.g., a low-resolution image) can be previewed through a display device (e.g., a display module (160)). Thereafter, when a specified condition is satisfied (e.g., a user input or a system command), at least a portion of the original image stored in the memory (450) can be acquired and processed, for example, by an image signal processor (460). According to one embodiment, the memory (450) may be configured as at least a portion of the memory (130) or as a separate memory that operates independently therefrom.
[0070] The image signal processor (460) can perform one or more image processing operations on an image acquired through an image sensor (430) or an image stored in a memory (450). The one or more image processing operations may include, for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening). Additionally or alternatively, the image signal processor (460) may perform control (e.g., exposure time control, read-out timing control, etc.) on at least one of the components included in the camera module (180) (e.g., image sensor (430)). An image processed by the image signal processor (460) may be stored back in the memory (450) for further processing or provided to an external component of the camera module (180) (e.g., memory (130), display module (160), electronic device (102), electronic device (104), or server (108)). According to one embodiment, the image signal processor (460) may include at least one of the processors (120). It may be configured as a separate processor that is configured as a part of the processor (120) or operates independently of the processor (120). If the image signal processor (460) is configured as a separate processor from the processor (120), at least one image processed by the image signal processor (460) may be displayed through the display module (160) as is or after undergoing additional image processing by the processor (120).
[0071] According to one embodiment, the electronic device (101) may include a plurality of camera modules (180), each having different properties or functions. In this case, for example, at least one of the plurality of camera modules (180) may be a wide-angle camera, and at least another may be a telephoto camera. Similarly, at least one of the plurality of camera modules (180) may be a front camera, and at least another may be a rear camera.
[0072] FIG. 5 is a block diagram of an electronic device (101) according to one embodiment.
[0073] Referring to FIG. 5, in one embodiment, the electronic device (101) may be the electronic device (101) of FIG. 1.
[0074] In one embodiment, the electronic device (101) may include a first camera (511), a second camera (513), a memory (520), a display (530), and / or a processor (540).
[0075] In one embodiment, the first camera (511) and / or the second camera (513) may be included in the camera module (180) of FIG. 1.
[0076] In one embodiment, the first camera (511) and the second camera (513) can obtain an image to be displayed as a preview (hereinafter referred to as a “preview image”) based on the execution of the camera application. The first camera (511) and the second camera (513) can obtain a capture image (hereinafter also referred to as a “capture image”) (e.g., a still image) based on a user input (or when a specified condition is satisfied) while the preview image is displayed through the display (530). In FIG. 5, the electronic device (101) is illustrated as including two cameras, but this is to distinguish the second camera (513) from the first camera (511) and is not limited thereto. For example, the electronic device (101) can include three or more cameras.
[0077] In one embodiment, the memory (520) may be included in the memory (130) of FIG. 1.
[0078] In one embodiment, the memory (520) may store information for performing an operation to provide an image. For example, the memory (520) may store instructions for performing an operation to provide an image when executed by the processor (540).
[0079] In one embodiment, the display (530) may be included in the display module (160) of FIG. 1.
[0080] In one embodiment, the display (530) may display a preview image and / or a captured image.
[0081] In one embodiment, the processor (540) may be included in the processor (120) of FIG. 1.
[0082] In one embodiment, a processor (540) (e.g., a processor including "processing circuitry") may control the overall operation of providing an image. In one embodiment, the processor (540) may include one or more processors (540) for providing an image. For example, the processor (540) may correspond to multiple processors that divide (or individually) or collectively perform multiple operations among the processors (540). The operation of the processor (540) for providing an image will be described in detail below with reference to FIGS. 6 to 11.
[0083] Although the electronic device (101) in FIG. 5 is illustrated as including a first camera (511), a second camera (513), a memory (520), a display (530), and / or a processor (540), the present invention is not limited thereto. For example, the electronic device (101) may further include at least one component (e.g., a sensor module (176)) among one or more components of the electronic device (101) illustrated in FIG. 1.
[0084] FIG. 6 is a signal flow diagram of an electronic device (101) according to one embodiment.
[0085] In one embodiment, the electronic device (101) may include a first camera (511), a second camera (513), a memory (520), an image signal processor (460), a motion detection module (610), and / or a controller (620).
[0086] In one embodiment, the first camera (511) may have a relatively narrower field of view (“FOV”) compared to the second camera (513). The first camera (511) may be referred to, for example, as a “main camera.”
[0087] In one embodiment, the second camera (513) may have a relatively wider angle of view compared to the first camera (511). The exposure time corresponding to the second camera (513) may be set shorter than the exposure time corresponding to the first camera (511). Since the exposure time of the second camera (513) is set shorter than the exposure time of the first camera (511), a clear image may be acquired by the second camera (513). The clear image may be an image that includes a subject with less motion blur. The second camera (513) may be referred to as, for example, a "sub camera."
[0088] In one embodiment, raw images acquired by the first camera (511) and the second camera (513) may be provided to the image signal processor (460). In one embodiment, the raw images may be provided to the motion detection unit (610) and / or the memory (520) (e.g., an image gallery within a file system) without passing through the image signal processor (460).
[0089] In one embodiment, the image signal processor (460) may be included in the image signal processor (460) of FIG. 4. The image signal processor (460) may be configured as at least a part of the processor (540) or may be configured as a separate processor that operates independently of the processor (540).
[0090] In one embodiment, the image signal processor (460) may output a first image based on a raw image provided from a first camera (511). The first image may be an image in a format recognizable by the human eye, such as YUV or RGB. The image signal processor (460) may output a second image based on a raw image provided from a second camera (513). The image signal processor (460) may provide each of the first image and the second image to a motion detection unit (610). The image signal processor (460) may also provide each of the first image and the second image to a display (e.g., the display (530)).
[0091] In one embodiment, the motion detection unit (610) and / or the controller (620) may be implemented in the form of a program, computer code, instructions, routine, process, software, application, firmware, or a combination of at least two or more thereof executable by a processor (e.g., the processor (540)). For example, when at least one of the motion detection unit (610) or the controller (620) is executed, the processor may perform an operation corresponding to at least one of the motion detection unit (610) or the controller (620). Hereinafter, the description that "a specific module and / or unit performs an operation" may be understood as "as the specific module and / or unit is executed, the processor performs an operation corresponding to the specific module and / or unit." In one embodiment, at least some of the modules and / or units may include multiple programs, but are not limited thereto. In one embodiment, the modules and / or units may be implemented as, but are not limited to, services or applications when running on the Android operating system.
[0092] In one embodiment, the motion detection unit (610) may detect a subject located in a field of view corresponding to the first camera (511) and / or the second camera (513) based on at least one of the first image or the second image output from the image signal processor (460). The operation of the motion detection unit (610) detecting the subject may be referred to as an operation of “performing motion detection.” In one embodiment, the motion detection may be performed based on a predetermined cycle. The motion detection may be performed, for example, once every several tens of frames. The cycle of performing motion detection may be a time interval corresponding to 20 to 30 frames, but is not limited to a specific number. Since motion detection is not performed for every frame, an operation of preemptively detecting a subject located outside the field of view of the first camera (511) may be required in order to obtain an image including a subject with less motion blur.
[0093] In one embodiment, the motion detection unit (610) can identify the subject based on whether the angle of view of the second camera (513) is larger than the angle of view of the first camera (511). The motion detection unit (610) can detect, for example, based on the second image, that a subject located outside the angle of view of the first camera (511) is located within the angle of view of the second camera (511). Since the first camera (511) and the second camera (513) are arranged at predetermined locations in the electronic device (101) during the manufacturing of the electronic device (101), the motion detection unit (610) can recognize the angle of view of the first camera (511) based on the image acquired by the second camera (513). The motion detection unit (610) can proactively detect a subject located within the field of view of the second camera (511) before the subject enters the field of view of the first camera (511). In one embodiment, the motion detection unit (610) can correct information indicating the movement of the subject based on sensor information acquired by a sensor (e.g., sensor module (176)). For example, the motion detection unit (610) can detect the direction and / or speed of movement of the subject, taking into account that the electronic device (101) may move in the same direction as or in a different direction from the subject, based on sensor information acquired by a gyro sensor. A specific method by which the motion detection unit (610) detects the subject will be described later with reference to FIGS. 8A and 8B.
[0094] In one embodiment, the motion detection unit (610) may provide two types of control signals to the controller (620). One type of control signal may be, for example, a signal indicating which image to store (or use) among the first image and the second image. The other type of control signal may be, for example, a signal indicating whether a subject moving toward the field of view of the first camera (511) has been detected.
[0095] In one embodiment, the motion detection unit (610) can identify an image to be stored in the memory (520) among the first image and the second image. The motion detection unit (610) can obtain a score of the first image and a score of the second image, for example, based on the first image and the second image provided by the image signal processor (460). The motion detection unit (610) can determine an image having a higher score among the scores of the first image and the second image as the image to be stored in the memory (520). The score of the image can represent, for example, the overall quality of the image. The motion detection unit (610) can obtain the score of the image based on at least one of blur, noise, or the magnitude of a motion vector corresponding to a subject identified in the image, and the parameters used to obtain the score of the image are not limited thereto. In one embodiment, the motion detection unit (610) may obtain a score of the first image and a score of the second image based on a raw image provided by the first camera (511) and a raw image provided by the second camera (513).
[0096] In one embodiment, the controller (620) may transmit a control signal to the memory (520) indicating an image to be stored in the memory (520) (e.g., an image gallery) among the first image and the second image. The controller (620) may transmit the control signal to the memory (520) indicating an image to be stored in the memory (520), for example, based on a signal provided from the motion detection unit (610). In one embodiment, a module (not shown) managing the image gallery may perform image post-processing based on the control signal provided from the controller (620). For example, the module managing the image gallery may apply an HDR (high dynamic range) function to the first image based on the control signal provided by the controller (620) instructing to store the first image. The HDR function may include, for example, a function of expanding the range of brightness corresponding to the image so that the brightness of the image corresponds to brightness perceived by the human eye. The quality of the image output by the module managing the image gallery based on the application of the HDR function may depend on the quality of the input image (or input frames). For example, if the motion blur of the input image is large, the degree of brightness improvement due to the application of the HDR function may be small. The controller (620) may improve the quality of the input image for applying the HDR function based on storing an image with a high score in the memory (520). By applying the HDR function to an input image with high image quality, the brightness of the image stored in the memory (520) may be improved.
[0097] In one embodiment, the controller (620) may provide a control signal to the first camera (511) and / or the second camera (513) for changing the settings of the cameras. The controller (620) may provide a control signal to the first camera (511) and the second camera (513) for changing the exposure time of the cameras, for example, based on a signal provided from the motion detection unit (610). The controller (620) may decrease the exposure time of the first camera (511) based on receiving a signal from the motion detection unit (610) indicating that a subject located in the field of view corresponding to the second camera (513) is moving toward the field of view corresponding to the first image. The controller (620) may provide a control signal to the first camera (511) for changing the settings associated with the exposure time of the first camera (511). The controller (620) can reduce the exposure time corresponding to the second camera (513) so that the exposure time corresponding to the second camera (513) is shorter than the reduced exposure time corresponding to the first camera (511). The controller (620) can provide a control signal to the second camera (513) for changing a setting associated with the exposure time of the second camera (513). Since the exposure time corresponding to the second camera (513) is maintained shorter than the reduced exposure time corresponding to the first camera (511), an image having relatively smaller motion blur than an image acquired through the first camera (511) can be acquired by the second camera (513).
[0098] In one embodiment, the controller (620) can change the sensitivity values corresponding to each of the first camera (511) and the second camera (513) based on decreasing the exposure time corresponding to each of the first camera (511) and the second camera (513). The controller (620) can control the brightness of an image acquired through the first camera (511) and an image acquired through the second camera (513) to correspond before the decrease in exposure time by transmitting a control signal to each of the first camera (511) and the second camera (513) for changing the setting of the sensor sensitivity corresponding to each of the first camera (511) and the second camera (513).
[0099] FIG. 7 is a flowchart illustrating a method for providing an image according to one embodiment. The embodiment of FIG. 7 will be described with reference to FIGS. 8A, 8B, 9A, and 9B. FIGS. 8A and 8B are diagrams illustrating a method for determining a direction in which a subject moves according to one embodiment. FIG. 9A is a diagram illustrating a method for providing an image according to a comparative example. FIG. 9B is a diagram illustrating a method for providing an image according to one embodiment.
[0100] Referring to FIG. 7, in operation 701, in one embodiment, the electronic device (101) (e.g., the processor (540)) may set a first exposure time corresponding to a first camera (e.g., the first camera (511)) and a second exposure time corresponding to a second camera (e.g., the second camera (513)). The electronic device (101) may set the first exposure time corresponding to the first camera and the second exposure time corresponding to the second camera based on the execution of the camera application. The second exposure time may be set to be shorter than the first exposure time. Since the second exposure time is set to be relatively shorter than the first exposure time, an image including a subject with relatively less motion blur may be acquired through the second camera.
[0101] In operation 703, in one embodiment, the electronic device (101) may acquire a first image through a first camera and a second image through a second camera. In one embodiment, the first image and the second image may be images in a format recognizable by the human eye, such as YUV or RGB. In one embodiment, the first image and the second image may be raw images acquired from the first camera and the second camera, respectively.
[0102] In operation 705, in one embodiment, the electronic device (101) can determine whether a subject located in a field of view corresponding to a second camera (e.g., the second camera (513)) is moving toward a field of view corresponding to a first image. The electronic device (101) can proactively detect the subject before the subject enters the field of view corresponding to the first camera (e.g., the first camera (511)). In one embodiment, the motion detection operation of the subject can be performed based on a set cycle.
[0103] In one embodiment, based on determining that a subject positioned in the field of view corresponding to the second camera is not moving toward the field of view corresponding to the first image (operation 705-No), the electronic device (101) may maintain the setting of the exposure time in operation 707.
[0104] Referring to FIG. 8B, in one embodiment, the electronic device (101) can identify a subject (841) located within a field of view area (810) corresponding to the second camera. The electronic device (101) can identify a motion vector (843) of the subject (841) located outside a field of view area (820) corresponding to the first camera. Based on identifying a direction corresponding to the motion vector (843) of the subject (841), the electronic device (101) can identify that the subject (841) does not move toward the field of view area (820) corresponding to the first camera. Based on predicting that the subject (841) will not enter the field of view area (820) corresponding to the first camera, the electronic device (101) can maintain an exposure time corresponding to the first camera.
[0105] In one embodiment, based on determining that a subject positioned in a field of view (810) corresponding to a second camera is moving toward a field of view (820) corresponding to a first camera (operation 705 - Yes), the electronic device (101) may, in operation 709, reduce the first exposure time and reduce the second exposure time such that the second exposure time is shorter than the reduced first exposure time.
[0106] Referring to FIG. 8A, in one embodiment, the electronic device (101) can identify a subject (831) located within a field of view area (810) corresponding to the second camera. The electronic device (101) can detect, for example, a subject (831) located outside a field of view area (820) corresponding to the first camera based on the second image. The electronic device (101) can identify a relative position between the first camera and the second camera included in the electronic device (101). The second camera can draw the field of view area of the first camera on the field of view area of the second camera based on obtaining information associated with the field of view area of the first camera. Since the field of view area (820) corresponding to the first camera is mapped to the second image, the electronic device (101) can identify, based only on the second image, that the position of the subject (831) is outside the field of view area (820) corresponding to the first camera. In one embodiment, the electronic device (101) can determine the motion vector (833) of the subject (831) located in the field of view (810) corresponding to the second camera. Based on the direction of the motion vector (833), the electronic device (101) can determine whether the subject (831) is moving toward the field of view (820) corresponding to the first camera. Referring to FIG. 8A, the electronic device (101) can determine that the subject (831) is moving toward the field of view (820) corresponding to the first camera. Based on the prediction in advance that the subject (831) will enter the field of view (820) corresponding to the first camera, the electronic device (101) can reduce the exposure time corresponding to the first camera. By reducing the exposure time corresponding to the first camera before the subject (831) enters the field of view area (820) corresponding to the first camera, the motion blur of the image captured after the subject (831) enters the field of view area (820) corresponding to the first camera can be reduced.The electronic device (101) can reduce the second exposure time so that the second exposure time corresponding to the second camera is shorter than the reduced first exposure time. The electronic device (101) can perform preemptive motion detection based on a feedback loop by controlling the setting of the second exposure time so that the reduced second exposure time is shorter than the reduced first exposure time.
[0107] In one embodiment, the electronic device (101) can change the sensitivity values corresponding to each of the first camera and the second camera. The electronic device (101) can change the sensitivity values corresponding to each of the first camera and the second camera based on determining that a subject (831) located in the field of view area (810) corresponding to the second camera is moving toward the field of view area (820) corresponding to the first camera. The electronic device (101) can control the brightness of an image acquired through the first camera and an image acquired through the second camera to correspond to the brightness before the exposure time is reduced by changing the sensitivity values corresponding to each of the first camera and the second camera along with changing the exposure times of the cameras.
[0108] FIG. 9a is a drawing for explaining a method of providing an image according to a comparative example.
[0109] In a comparative example, the electronic device (101) can acquire image frames (910a, 910b, 910c, 910d, 910e, 910f, 910g, 910h, 910i, 910j) through a first camera (e.g., the first camera (511)). When the exposure time (921) of the first camera is set to be long, the motion blur of the subject (911) identified within the image frames can be significantly detected. In a comparative example, the electronic device (101) can detect (923) the motion of the subject (911) from the image frames (910b, 910c, 910d, 910e). Since the motion detection operation is performed at a predetermined cycle, the image frame (910b) in which the subject (911) is first detected and the image frame (910e) in which the electronic device (101) detects the motion of the subject (911) may be different. The electronic device (101) may reduce (925) the exposure time of the first camera to obtain image frames (910f, 910g, 910h, 910i, 910j) with small motion blur. As the exposure time (927) of the first camera is reduced, the motion blur of the subject (913) identified in the image frames (910f, 910g, 910h, 910i, 910j) may be reduced.
[0110] In a comparative example, the electronic device (101) can confirm (929) a user input for acquiring a captured image after reducing (925) the exposure time of the first camera. The electronic device (101) can provide an image frame (910j) based on confirming (929) the user input for acquiring a captured image. The motion blur of the image frame (910j) acquired after reducing the exposure time of the first camera can be detected to be small.
[0111] In a comparative example, before the electronic device (101) performs motion detection (923), the electronic device (101) can confirm (931) a user input for acquiring a captured image. The electronic device (101) can provide an image frame (910d) based on the confirmation (931) of the user input for acquiring a captured image. Motion blur of the image frame (910d) acquired before performing motion detection (923) can be significantly detected.
[0112] FIG. 9b is a diagram illustrating a method for providing an image according to one embodiment.
[0113] In one embodiment, the electronic device (101) can acquire image frames (940a, 940b, 940c, 940d, 940e, 940f, 940g, 940h, 940i, 940j) through a first camera (e.g., the first camera (511)) and can acquire image frames (950a, 950b, 950c, 950d, 950e, 950f, 950g, 950h, 950i, 950j) through a second camera (e.g., the first camera (513)). When the exposure time (961) of the first camera is set long, the motion blur of the subject (941) identified within the image frames can be significantly detected. When the exposure time (971) of the second camera is set shorter than the exposure time (961) of the first camera, the motion blur of the subject (951) identified within the image frames can be detected to be relatively small.
[0114] In one embodiment, the electronic device (101) can detect (981) the motion of the subject (951) from image frames (950b, 950c, 950d, 950e). Since the motion detection operation is performed at a predetermined cycle, the image frame (950b) in which the subject (951) is first detected and the image frame (950e) in which the electronic device (101) detects the motion of the subject (951) may be different. The electronic device (101) can confirm that the subject (951) located outside the field of view of the first camera is moving into the field of view of the first camera. The electronic device (101) can reduce (983) the exposure time of the first camera in order to acquire image frames (940f, 940g, 940h, 940i, 940j) with small motion blur through the first camera. As the exposure time (963) of the first camera is reduced, the motion blur of the subject (943) identified within the image frames (940f, 940g, 940h, 940i, 940j) may be reduced. The electronic device (101) may reduce (983) the exposure time of the second camera so that the exposure time (973) of the second camera is shorter than the reduced exposure time (963) of the first camera. As the exposure time (973) of the second camera is reduced, the motion blur of the subject (953) identified within the image frames (950f, 950g, 950h, 950i, 950j) may be further reduced.
[0115] In one embodiment, the electronic device (101) may detect the subject (951) based on image frames (950b, 950c, 950d, 950e) acquired through the second camera before detecting the subject (941) based on image frames (940b, 940c, 940d, 940e) acquired through the first camera, thereby reducing (983) the exposure time of the first camera in advance. After reducing (983) the exposure time of the first camera, the electronic device (101) may confirm (993) a user input for acquiring a captured image. Based on confirming (993) the user input for acquiring a captured image, the electronic device (101) may provide an image frame with a high score among the image frames (940j, 950j). Motion blur in the image frame (940j) acquired after reducing the exposure time of the first camera can be detected to be small.
[0116] In one embodiment, before the electronic device (101) performs motion detection (981), the electronic device (101) can confirm (991) a user input for acquiring a captured image. Based on the confirmation (991) of the user input for acquiring a captured image, the electronic device (101) can provide an image having a higher image quality among the acquired first image (940d) and the acquired second image (950d). The electronic device (101) can compare the image quality between the image frame (940d) acquired through the first camera and the image frame (950d) acquired through the second camera. The electronic device (101) can provide an image having a higher score among the image frames (940d, 950d). The electronic device (101) can obtain a score corresponding to the first image (940d) and a score corresponding to the second image (950d) based on at least one of blur, noise, or the magnitude of a motion vector corresponding to the subject. The electronic device (101) can provide an image having a higher score among the scores corresponding to the first image (940d) and the scores corresponding to the second image (950d). The electronic device (101) can provide the image having the higher score as an input for a post-processing operation. For example, the electronic device (101) can improve the brightness of the image by applying an HDR function to the image having the higher score.
[0117] FIG. 10 is a signal flow diagram of an electronic device according to one embodiment.
[0118] In one embodiment, the electronic device (101) may include a first camera (511), a second camera (513), a memory (520), an image signal processor (460), a warping unit (1010), a processing unit (1020), a motion detection module (610), and / or a controller (620).
[0119] In one embodiment, among the configurations illustrated in FIG. 10, a configuration having the same reference numeral as the configuration illustrated in FIG. 6 may perform at least the same function as described in FIG. 6. Descriptions overlapping with those in FIG. 6 may not be repeated in FIG. 10.
[0120] In one embodiment, the image signal processor (460) can output a first image based on a raw image provided from a first camera (511). The image signal processor (460) can output a second image based on a raw image provided from a second camera (513). The image signal processor (460) can provide the first image and the second image to the warping unit (1010).
[0121] In one embodiment, the warping unit (1010) may adjust the time difference between the first image and the second image based on performing warping on the first image and the second image. The warping unit (1010) may provide the first image and the second image with the adjusted time difference to the processing unit (1020) and / or the motion detection unit (610).
[0122] In one embodiment, the processing unit (1020) may perform image cropping and / or image upscaling on the second image.
[0123] In one embodiment, if the second camera (513) is a camera capable of providing high-resolution images, the processing unit (1020) may perform cropping on the second image so that the resolution of the second image corresponds to the resolution of the first image.
[0124] In one embodiment, the resolution of the second camera (513) may be relatively lower than the resolution of the first camera (511). The processing unit (1020) may perform upscaling on the second image based on the lower resolution of the second image. The processing unit (1020) may perform upscaling on the second image so that the resolution of the second image corresponds to the resolution of the first image. The processing unit (1020) may also perform cropping on the second image after the upscaling is performed.
[0125] FIG. 11 is a flowchart illustrating a method for providing an image according to one embodiment.
[0126] Referring to FIG. 11, in operation 1101, in one embodiment, the electronic device (101) (e.g., the processor (540)) may set an exposure time. The electronic device (101) may set a first exposure time corresponding to a first camera (e.g., the first camera (511)) and a second exposure time corresponding to a second camera (e.g., the second camera (513)). The electronic device (101) may set the first exposure time corresponding to the first camera and the second exposure time corresponding to the second camera based on the execution of the camera application. The second exposure time may be set to be shorter than the first exposure time. Since the second exposure time is set to be relatively shorter than the first exposure time, an image including a subject with relatively less motion blur may be acquired through the second camera.
[0127] In operation 1103, in one embodiment, the electronic device (101) may acquire an image. The electronic device (101) may acquire a first image through a first camera and a second image through a second camera. In one embodiment, the first image and the second image may be images in a format recognizable by the human eye, such as YUV or RGB. In one embodiment, the first image and the second image may be raw images acquired from the first camera and the second camera, respectively.
[0128] In operation 1105, in one embodiment, the electronic device (101) may process an image. In one embodiment, the electronic device (101) may adjust a time difference between the first image and the second image based on performing warping on the first image and the second image.
[0129] In one embodiment, the electronic device (101) may perform cropping on the second image based on the difference in resolution between the first image and the second image so that the resolution of the second image corresponds to the resolution of the first image. The electronic device (101) may perform cropping on the second image based on the fact that the second camera is a camera capable of outputting high-resolution images.
[0130] In one embodiment, the electronic device (101) may perform upscaling on the second image so that the resolution of the second image corresponds to the resolution of the first image, based on the fact that the second camera is a camera capable of outputting a lower resolution image than the first camera. After performing upscaling, the electronic device (101) may perform cropping on the second image.
[0131] In operation 1107, in one embodiment, the electronic device (101) can determine whether the subject is moving toward the field of view of the first image. The electronic device (101) can determine whether the subject located in the field of view corresponding to the second camera is moving toward the field of view corresponding to the first image. The electronic device (101) can proactively detect the subject before the subject enters the field of view corresponding to the first camera. In one embodiment, the motion detection of the subject can be performed based on a set cycle.
[0132] In one embodiment, based on determining that a subject located in the field of view corresponding to the second camera is not moving toward the field of view corresponding to the first camera (operation 1107-No), the electronic device (101) can maintain the setting of the exposure time in operation 1109.
[0133] In one embodiment, based on determining that a subject located in a field of view corresponding to a second camera is moving toward a field of view corresponding to a first camera (operation 1107 - Yes), the electronic device (101) may, in operation 1111, reduce the first exposure time and reduce the second exposure time so that the second exposure time is shorter than the reduced first exposure time. The electronic device (101) may reduce the exposure time of the first camera by preemptively detecting the subject before the subject enters the field of view corresponding to the first camera. If a user input for acquiring a captured image is confirmed after the exposure time of the first camera is reduced, an image with less motion blur may be acquired through the first camera.
[0134] An electronic device (e.g., electronic device (101)) according to one embodiment may include a first camera (e.g., first camera (511)), a second camera (e.g., second camera (513)) having a wider angle of view than the first camera (511), at least one processor (e.g., processor (540)), and a memory (e.g., memory (520)) storing instructions. The instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to set a first exposure time corresponding to the first camera (511) and a second exposure time corresponding to the second camera (513) based on the execution of a camera application. The second exposure time may be shorter than the first exposure time. The instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to acquire a first image through the first camera (511) and to acquire a second image through the second camera (513). The instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to determine whether a subject located in a field of view corresponding to the second camera is moving toward a field of view corresponding to the first camera. The instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to reduce the first exposure time based on determining that the subject is moving toward the field of view corresponding to the first camera, and to reduce the second exposure time such that the second exposure time is shorter than the reduced first exposure time.
[0135] In one embodiment, the instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to determine a motion vector of the subject located in a field of view corresponding to the second camera. The instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to determine, based on a direction of the motion vector, whether the subject is moving toward a field of view corresponding to the first camera.
[0136] In one embodiment, the instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to provide an image having a higher image quality among the acquired first image and the acquired second image based on the input for acquiring a captured image.
[0137] In one embodiment, the instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to obtain a score corresponding to the first image and a score corresponding to the second image based on at least one of blur, noise, or a magnitude of a motion vector corresponding to the subject. The instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to provide an image having a higher score among the scores corresponding to the first image and the scores corresponding to the second image.
[0138] In one embodiment, the instructions, when executed individually or collectively by the at least one processor (540), may cause the electronic device (101) to provide the image having the higher score as input for a post-processing operation.
[0139] In one embodiment, the instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to perform motion detection of the subject based on a set period.
[0140] In one embodiment, the instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to change a sensitivity value corresponding to each of the first camera (511) and the second camera (513) based on determining that the subject is moving toward a field of view corresponding to the first camera.
[0141] In one embodiment, the instructions, when executed individually or collectively by the at least one processor (540), may cause the electronic device (101) to adjust a time difference between the first image and the second image based on performing warping on the first image and the second image.
[0142] In one embodiment, the instructions, when executed individually or collectively by the at least one processor (540), may cause the electronic device (101) to perform a crop on the second image such that the resolution of the second image corresponds to the resolution of the first image.
[0143] In one embodiment, the instructions, when individually or collectively executed by the at least one processor (540), may cause the electronic device (101) to perform upscaling on the second image such that the resolution of the second image corresponds to the resolution of the first image.
[0144] A method for providing an image in an electronic device (101) according to one embodiment may include an operation of setting a first exposure time corresponding to a first camera (511) of the electronic device (101) and a second exposure time corresponding to a second camera (513) of the electronic device (101) based on execution of a camera application. The second exposure time may be shorter than the first exposure time. The method may include an operation of acquiring a first image through the first camera (511) and an operation of acquiring a second image through the second camera (513). The method may include an operation of determining whether a subject located in a field of view corresponding to the second camera is moving toward a field of view corresponding to the first camera. The method may include an operation of reducing the first exposure time based on determining that the subject is moving toward the field of view corresponding to the first camera, and reducing the second exposure time such that the second exposure time is shorter than the reduced first exposure time.
[0145] In one embodiment, the operation of determining whether a subject located in the field of view corresponding to the second camera is moving toward the field of view corresponding to the first camera may include determining a motion vector of the subject located in the field of view corresponding to the second image. The operation of determining whether a subject located in the field of view corresponding to the second camera is moving toward the field of view corresponding to the first camera may include determining, based on a direction of the motion vector, whether the subject is moving toward the field of view corresponding to the first camera.
[0146] In one embodiment, the method may further include an operation of providing an image having a higher image quality among the acquired first image and the acquired second image, based on verifying an input for acquiring a photographed image.
[0147] In one embodiment, the operation of providing an image having a higher image quality among the acquired first image and the acquired second image may include an operation of obtaining a score corresponding to the first image and a score corresponding to the second image based on at least one of blur, noise, or a magnitude of a motion vector corresponding to a subject. The operation of providing an image having a higher image quality among the acquired first image and the acquired second image may include an operation of providing an image having a higher score among the scores corresponding to the first image and the scores corresponding to the second image.
[0148] In one embodiment, the method may further include providing the image having the higher score as input for a post-processing operation.
[0149] In one embodiment, the method may further include an operation of performing motion detection of the subject based on a set cycle.
[0150] In one embodiment, the method further comprises changing a sensitivity value corresponding to each of the first camera (511) and the second camera (513) based on determining that the subject is moving toward a field of view corresponding to the first camera.
[0151] In one embodiment, the method may further include an operation of adjusting a time difference between the first image and the second image based on performing warping on the first image and the second image.
[0152] In one embodiment, the method may further include performing a cropping operation on the second image such that the resolution of the second image corresponds to the resolution of the first image.
[0153] In one embodiment, a non-transitory computer-readable storage medium having computer-executable instructions recorded thereon may cause the computer-executable instructions, when individually or collectively executed by at least one processor (540), to cause the electronic device (101) to set a first exposure time corresponding to a first camera (511) of the electronic device (101) and a second exposure time corresponding to a second camera (513) of the electronic device (101) based on the execution of a camera application. The second exposure time may be shorter than the first exposure time. The computer-executable instructions, when individually or collectively executed by at least one processor (540), may cause the electronic device (101) to acquire a first image through the first camera (511) and to acquire a second image through the second camera (513). The computer-executable instructions, when individually or collectively executed by at least one processor (540), may cause the electronic device (101) to determine whether a subject located in the field of view corresponding to the second camera is moving toward the field of view corresponding to the first camera. The computer-executable instructions, when individually or collectively executed by at least one processor (540), may cause the electronic device (101) to reduce the first exposure time and reduce the second exposure time such that the second exposure time is shorter than the reduced first exposure time, based on determining that the subject is moving toward the field of view corresponding to the first camera. In addition, the structure of data used in the embodiments of the present disclosure described above may be recorded on a computer-readable recording medium through various means.The computer-readable recording medium includes storage media such as magnetic storage media (e.g., ROM, floppy disk, hard disk, etc.) and optical readable media (e.g., CD-ROM, DVD, etc.).
[0154] The effects that can be obtained from the present disclosure are not limited to the effects mentioned above, and other effects that are not mentioned will be clearly understood by a person having ordinary skill in the art to which the present disclosure pertains.
Claims
1. In an electronic device (101), First camera (511); A second camera (513) having a wider angle of view than the first camera (511); At least one processor (540); and A memory (520) for storing instructions, wherein the instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: Based on the execution of the camera application, a first exposure time corresponding to the first camera (511) and a second exposure time corresponding to the second camera (513) are set, wherein the second exposure time is shorter than the first exposure time. A first image is acquired through the first camera (511), and a second image is acquired through the second camera (513). Check whether a subject located in the field of view corresponding to the second camera is moving toward the field of view corresponding to the first camera, An electronic device (101) that reduces the first exposure time based on determining that the subject is moving toward a field of view corresponding to the first camera, and causes the second exposure time to be reduced so that the second exposure time is shorter than the reduced first exposure time.
2. In paragraph 1, The above instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: Check the motion vector of the subject located in the field of view corresponding to the second camera, An electronic device (101) that causes the subject to move toward a field of view corresponding to the first camera based on the direction of the motion vector.
3. In paragraph 1 or 2, The above instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: An electronic device (101) that causes an image having a higher image quality to be provided among the acquired first image and the acquired second image based on confirmation of an input for acquiring a photographed image.
4. In any one of paragraphs 1 to 3, The above instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: Obtain a score corresponding to the first image and a score corresponding to the second image based on at least one of the magnitude of a motion vector corresponding to a blur, noise, or an object, An electronic device (101) that causes an image having a higher score among the scores corresponding to the first image and the scores corresponding to the second image to be provided.
5. In any one of paragraphs 1 to 4, The above instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: An electronic device (101) that causes an image having a higher score to be provided as input for a post-processing operation.
6. In any one of paragraphs 1 to 5, The above instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: An electronic device (101) that causes motion detection of the subject to be performed based on a set cycle.
7. In any one of paragraphs 1 to 6, The above instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: An electronic device (101) that causes a sensitivity value corresponding to each of the first camera (511) and the second camera (513) to be changed based on determining that the subject is moving toward the field of view corresponding to the first camera.
8. In any one of paragraphs 1 to 7, The above instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: An electronic device (101) that causes a time difference between the first image and the second image to be adjusted based on performing warping on the first image and the second image.
9. In any one of paragraphs 1 to 8, The above instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: An electronic device (101) that causes cropping to be performed on the second image so that the resolution of the second image corresponds to the resolution of the first image.
10. In any one of paragraphs 1 to 9, The above instructions, when individually or collectively executed by the at least one processor (540), cause the electronic device (101) to: An electronic device (101) that causes upscaling to be performed on the second image so that the resolution of the second image corresponds to the resolution of the first image.
11. In a method for providing an image in an electronic device (101), An operation of setting a first exposure time corresponding to a first camera (511) of the electronic device (101) and a second exposure time corresponding to a second camera (513) of the electronic device (101) based on the execution of a camera application, wherein the second exposure time is shorter than the first exposure time; An operation of acquiring a first image through the first camera (511) and acquiring a second image through the second camera (513); An operation of checking whether a subject located in the field of view corresponding to the second camera is moving toward the field of view corresponding to the first image; and A method comprising: reducing the first exposure time based on determining that the subject is moving toward a field of view corresponding to the first camera; and reducing the second exposure time such that the second exposure time is shorter than the reduced first exposure time.
12. In paragraph 11, The operation of checking whether a subject located in the field of view corresponding to the second camera is moving toward the field of view corresponding to the first camera is, An operation of checking a motion vector of the subject located in the field of view corresponding to the second camera; and A method comprising an operation of determining whether the subject is moving toward a field of view corresponding to the first camera based on the direction of the motion vector.
13. In paragraph 11 or 12, A method further comprising an operation of providing an image having a higher image quality among the acquired first image and the acquired second image based on verifying an input for acquiring a photographed image.
14. In any one of paragraphs 11 to 13, An operation of providing an image having a higher image quality among the first image and the second image obtained above, An operation of obtaining a score corresponding to the first image and a score corresponding to the second image based on at least one of a blur, noise, or a magnitude of a motion vector corresponding to the subject; and A method comprising an action of providing an image having a higher score among a score corresponding to the first image and a score corresponding to the second image.
15. In a non-transitory computer-readable storage medium having recorded thereon computer-executable instructions, the computer-executable instructions, when individually or collectively executed by at least one processor (540), cause an electronic device (101) to: Based on the execution of the camera application, a first exposure time corresponding to the first camera (511) of the electronic device (101) and a second exposure time corresponding to the second camera (513) of the electronic device (101) are set, wherein the second exposure time is shorter than the first exposure time. A first image is acquired through the first camera (511), and a second image is acquired through the second camera (513). Checking whether a subject located in the field of view corresponding to the second camera is moving toward the field of view corresponding to the first image, and A storage medium that reduces the first exposure time based on determining that the subject is moving toward a field of view corresponding to the first camera, and causes the second exposure time to be reduced so that the second exposure time is shorter than the reduced first exposure time.
Citation Information
Patent Citations
Control method and device for dual cameras
EP3621291A1
Method and device for shooting a picture
KR101712301B1
Semiconductor devices and method for executing test
KR1020240048419A
Electronic device for acquiring image using plurality of cameras and method for processing image using the same
KR102328539B1
Image Fusion Method and Apparatus, and Terminal Device
US20190014249A1