Electronic device comprising camera, operation method thereof, and recording medium

By analyzing video frames to extract recovery maps for specific areas, the electronic device optimizes storage and processing efficiency by reducing data volume and enabling advanced image editing capabilities.

WO2026038658A1PCT designated stage Publication Date: 2026-02-19SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/007693
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-10-18
Filing Date
2025-06-05
Publication Date
2026-02-19

AI Technical Summary

Technical Problem

Existing electronic devices with integrated cameras struggle with efficient management of video data, particularly in capturing and processing frames to extract specific color and brightness information, leading to inefficient use of storage capacity and processing resources.

Method used

The electronic device employs a processor to analyze video frames, determine recovery maps for specific areas based on brightness, saturation, or color changes, and store these maps to reduce data volume, allowing for efficient storage and processing of only relevant image data.

Benefits of technology

This approach optimizes storage capacity by storing recovery maps instead of full frames, enhancing processing efficiency and enabling advanced image editing features.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025007693_19022026_PF_FP_ABST
    Figure KR2025007693_19022026_PF_FP_ABST
Patent Text Reader

Abstract

According to one embodiment, an electronic device comprises a camera, at least one processor, a display, and a memory for storing instructions, wherein, when executed individually or collectively by the at least one processor, the instructions can instruct the electronic device to: acquire, through the camera, a video including a plurality of frames; determine that a first recovery map including information about any one from among brightness, saturation or specific color of first areas having designated coordinate values included in each of first frames from among the plurality of frames is to be acquired; identify variation in the any one from among the brightness, saturation or specific color between the first areas of the first frames; identify, on the basis of the variation, the number of first recovery maps to be acquired for the first areas of the first frames; acquire first recovery maps, of the number, for the first areas of the first frames; and store the first recovery maps, of the number, such that same correspond to the first areas.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device including a camera, method of operating the same, and recording medium

[0001] Embodiments of the present disclosure relate to an electronic device including a camera, a method of operating the same, and a recording medium.

[0002] Electronic devices can refer to devices that perform specific functions according to the programs installed on them, such as home appliances, electronic notebooks, portable multimedia players, mobile communication terminals, tablet PCs, audio / video devices, desktop / laptop computers, or car navigation systems. For example, these electronic devices can output stored information as audio or video. As the integration of electronic devices increases and ultra-high-speed, high-capacity wireless communication becomes more widespread, a single electronic device, such as a mobile communication terminal, can now be equipped with various functions. For example, in addition to communication functions, entertainment functions such as games, multimedia functions such as music / video playback, communication and security functions for mobile banking, or functions such as schedule management and electronic wallets are being integrated into a single electronic device.

[0003] As digital camera technology developed, electronic devices equipped with compact, lightweight camera modules became commercially available. With camera modules integrated into electronic devices we typically carry with us (e.g., mobile terminals), users could conveniently utilize a variety of features, including not only taking photos and videos, but also video calling and augmented reality.

[0004] The above information may be provided as background information to aid in understanding this document. None of the above is claimed to be prior art related to this document or can be used to determine prior art.

[0005] According to one embodiment, an electronic device may include a camera, at least one processor, a display, and a memory storing instructions.

[0006] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to acquire, through the camera, a video comprising a plurality of frames.

[0007] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine to obtain a first recovery map that includes information about any one of brightness, saturation, or a specific color of first areas having designated coordinate values ​​included in each of the first frames among the plurality of frames.

[0008] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine a change in any one of the brightness, the saturation, or the specific color between the first regions of the first frames.

[0009] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine, based on the amount of change, the number of the first recovery maps to be acquired for the first areas of the first frames.

[0010] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain the first recovery maps of the number for the first areas of the first frames.

[0011] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store the first recovery maps of the number corresponding to the first areas.

[0012] According to one embodiment, a method of operating an electronic device may include an operation of obtaining a video including a plurality of frames through a camera of the electronic device.

[0013] According to one embodiment, a method of operating an electronic device may include determining to acquire a first recovery map that includes information about one of brightness, saturation, or a specific color of first areas having designated coordinate values ​​included in each of first frames among a plurality of frames.

[0014] According to one embodiment, a method of operating an electronic device may include an operation of checking a change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames.

[0015] According to one embodiment, the operating method of the electronic device may include an operation of determining the number of first recovery maps to be acquired for the first areas of the first frames based on the amount of change.

[0016] According to one embodiment, a method of operating an electronic device may include obtaining the first recovery maps of the number for the first areas of the first frames.

[0017] According to one embodiment, the method of operating the electronic device may include storing the first recovery maps of the number corresponding to the first areas.

[0018] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of acquiring a moving image including a plurality of frames through a camera of the electronic device.

[0019] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of determining to obtain a first recovery map including information about any one of brightness, saturation, or a specific color of first areas having designated coordinate values ​​included in each of first frames among a plurality of frames.

[0020] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of checking an amount of change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames.

[0021] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of determining the number of first recovery maps to be acquired for the first areas of the first frames based on the amount of change.

[0022] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include obtaining the first recovery map of the number for the first areas of the first frames.

[0023] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, the at least one operation including storing the number of first recovery maps corresponding to the first areas.

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

[0025] FIG. 2 is a block diagram illustrating a camera module according to one embodiment.

[0026] FIG. 3 is a schematic block diagram of an electronic device according to one embodiment.

[0027] FIG. 4A is a flowchart illustrating an operation of an electronic device obtaining a first recovery map according to one embodiment.

[0028] FIG. 4b is a flowchart illustrating an operation of an electronic device obtaining a first recovery map according to one embodiment.

[0029] FIG. 5A is a flowchart illustrating an operation of an electronic device to obtain a first recovery map when a first variation is not greater than a specified value, according to one embodiment.

[0030] FIG. 5b is a flowchart illustrating an operation of an electronic device to determine the number of first recovery maps by applying a weight to the sum of a first variation amount and a second variation amount, according to one embodiment.

[0031] FIG. 6 is a flowchart illustrating an operation of an electronic device adjusting a section for checking one of brightness, saturation, or a specific color between first areas included in first frames, according to one embodiment.

[0032] FIG. 7A is a diagram showing the number of recovery maps for brightness corresponding to the amount of brightness change, according to one embodiment.

[0033] FIG. 7b is a diagram showing the number of recovery maps for saturation corresponding to the amount of saturation change according to one embodiment.

[0034] FIG. 8 is a flowchart illustrating an operation of an electronic device applying weights to changes in a quantity, according to one embodiment.

[0035] FIG. 9 is a flowchart illustrating an operation of an electronic device to obtain a recovery map for a frame including a second object after first frames including a first object, according to one embodiment.

[0036] FIG. 10 is a diagram illustrating an operation of an electronic device to obtain a recovery map based on frames including a first object, according to one embodiment.

[0037] FIG. 11 is a diagram illustrating an operation of an electronic device to obtain a recovery map based on frames including a first object and frames including a second object, according to one embodiment.

[0038] FIG. 12 is a diagram illustrating an operation of an electronic device obtaining a recovery map from first frames according to one embodiment.

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

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

[0041] 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, in the electronic device (101) itself where artificial intelligence is performed, 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.

[0042] 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).

[0043] 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).

[0044] 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).

[0045] 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.

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

[0047] 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).

[0048] 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.

[0049] 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.

[0050] 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).

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

[0052] 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.

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

[0054] 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.

[0055] 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).

[0056] 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.

[0057] 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 via the at least one selected 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).

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

[0059] 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)).

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

[0061] FIG. 2 is a block diagram (200) illustrating a camera module (180) according to one embodiment.

[0062] Referring to FIG. 2, the camera module (180) may include a lens assembly (210), a flash (220), an image sensor (230), an image stabilizer (240), a memory (250) (e.g., a buffer memory), or an image signal processor (260). The lens assembly (210) may collect light emitted from a subject that is a target of image capturing. The lens assembly (210) may include one or more lenses. According to one embodiment, the camera module (180) may include a plurality of lens assemblies (210). 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 (210) 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 (210) may include, for example, a wide-angle lens or a telephoto lens.

[0063] The flash (220) can emit light used to enhance light emitted or reflected from a subject. According to one embodiment, the flash (220) 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 (230) can acquire an image corresponding to the subject by converting light emitted or reflected from the subject and transmitted through the lens assembly (210) into an electrical signal. According to one embodiment, the image sensor (230) can include one image sensor selected from among image sensors having different properties, such as, for example, 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 (230) can be implemented using, for example, a CCD (charged coupled device) sensor or a CMOS (complementary metal oxide semiconductor) sensor.

[0064] The image stabilizer (240) can move at least one lens or image sensor (230) included in the lens assembly (210) in a specific direction or control the operating characteristics of the image sensor (230) (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 (240) can detect such movement of the camera module (180) or the electronic device (101) by 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 (240) can be implemented as, for example, an optical image stabilizer. The memory (250) can temporarily store at least a portion of the image acquired through the image sensor (230) 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 (250), and a corresponding copy image (e.g., a low-resolution image) can be previewed through the 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 (250) can be acquired and processed, for example, by the image signal processor (260). According to one embodiment, the memory (250) can be configured as at least a portion of the memory (130) or as a separate memory that operates independently therefrom.

[0065] The image signal processor (260) can perform one or more image processing operations on an image acquired through an image sensor (230) or an image stored in a memory (250). 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 (260) 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 (230)). An image processed by the image signal processor (260) may be stored back in the memory (250) 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)). In one embodiment, the image signal processor (260) may be at least a part of the processor (120). It may be configured as a separate processor that is configured or operates independently from the processor (120). If the image signal processor (260) is configured as a separate processor from the processor (120), at least one image processed by the image signal processor (260) may be displayed through the display module (160) as is or after undergoing additional image processing by the processor (120).

[0066] 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.

[0067] FIG. 3 is a schematic block diagram of an electronic device according to one embodiment.

[0068] Referring to FIG. 3, according to one embodiment, an electronic device (301) may obtain a video including a plurality of frames and store the video in a buffer of the electronic device (301). According to one embodiment, the electronic device (301) may obtain a recovery map including information on some of a plurality of areas included in the plurality of frames. For example, the electronic device (301) may obtain a recovery map including information on any one of brightness, saturation, or a specific color for areas corresponding to a specific object based on a change in any one of brightness, saturation, or a specific color for areas corresponding to a specific object included in the plurality of frames. After obtaining the recovery map, the electronic device (301) may delete the plurality of frames from the buffer. The electronic device (301) may store the recovery map by designating areas corresponding to a specific object. Through this, the electronic device (301) can obtain and store only information on brightness, saturation, or specific color of desired areas among multiple frames, thereby increasing the available capacity of the buffer.

[0069] According to one embodiment, the electronic device (301) can edit the brightness, saturation, or specific color of a frame included in a plurality of frames using a stored recovery map. For example, the electronic device (301) can overlay a recovery map for brightness onto a frame and apply a highlight effect to an area corresponding to a specific object included in the frame. For example, the electronic device (301) can overlay a recovery map for a specific color onto a frame and apply a specific color effect to an area corresponding to a specific object included in the frame. Through this, the electronic device (301) can provide a video with various effects applied.

[0070] According to one embodiment, an electronic device (301) (e.g., electronic device (101) of FIG. 1) may include a camera (180) (e.g., camera module (180) of FIG. 1, camera module (180) of FIG. 2), a processor (320) (e.g., processor (120) of FIG. 1, image signal processor (260) of FIG. 2), a memory (330) (e.g., memory (130) of FIG. 1), and a display (360) (e.g., display module (160) of FIG. 1). According to one embodiment, the electronic device (301) may be implemented in the same or similar manner as the electronic device (101) of FIG. 1.

[0071] According to one embodiment, the processor (320) can control the overall operation of the electronic device (301). For example, the processor (320) can be implemented as an application processor (AP) or a digital signal processor (DSP).

[0072] According to one embodiment, the processor (320) may acquire a video including a plurality of frames through the camera (310). According to one embodiment, the processor (320) may store the plurality of frames in a buffer of the electronic device (301).

[0073] According to one embodiment, the processor (320) may identify a first object included in each of the first frames among the plurality of frames. For example, the first object may include a person, an object, a plant, or the sky. However, this is merely an example, and the type of the first object may not be limited thereto and may include various types. According to one embodiment, the processor (320) may also identify an object different from the first object included in each of the first frames among the plurality of frames.

[0074] According to one embodiment, the processor (320) may determine to acquire a first recovery map including information on any one of brightness (or illuminance), saturation, or a specific color of first areas corresponding to the first object in the first frames based on identifying a first object included in each of the first frames among the plurality of frames. For example, the specific color may include red, green, or blue. According to one embodiment, the processor (320) may determine to acquire a recovery map including information on any one of brightness (or illuminance), saturation, or a specific color of areas corresponding to objects different from the first object in the first frames based on identifying an object different from the first object included in each of the first frames among the plurality of frames. Hereinafter, for convenience of explanation, a description of the first areas corresponding to the first object will be described. The description of the first areas corresponding to the first object may be equally applied to a description of areas corresponding to objects different from the first object included in each of the first frames.

[0075] According to one embodiment, the recovery map to be acquired may be determined differently depending on the object included in each of the plurality of frames. For example, if the first object is determined to be a fire, the processor (320) may determine to acquire a first recovery map including information on the color of the first regions (e.g., R (red) channel). For example, if the first object is determined to be an object, the processor (320) may determine to acquire a first recovery map including information on the saturation of the first regions. For example, if the first object is determined to be a plant, the processor (320) may determine to acquire a first recovery map including information on the color of the first regions (e.g., G (green) channel). For example, if the first object is determined to be an ocean, the processor (320) may determine to acquire a first recovery map including information on the color of the first regions (e.g., B (blue) channel). For example, if the first object is determined to be the sky, the processor (320) may determine to acquire a first recovery map including information on the brightness of the first areas. However, this is merely an example, and the determined recovery map corresponding to the type of the first object may not be limited thereto. The determined recovery map corresponding to the type of the first object may be set by the user or automatically set by the processor (320).

[0076] According to one embodiment, the processor (320) may determine the amount of change in any one of brightness, saturation, or a specific color between the first regions of the first frames. For example, the processor (320) may determine the amount of change in a specific color based on the value of the specific color of the first regions of the first frames identified in a color space. For example, the processor (320) may determine the amount of change in brightness or the amount of change in saturation based on histograms between the first regions of the first frames.

[0077] According to one embodiment, the processor (320) can determine the average value of the changes in brightness, saturation, or specific color of areas corresponding to the first object in adjacent frames among the first frames as the change in any one of brightness, saturation, or specific color between the first areas of the first frames.

[0078] According to one embodiment, the processor (320) determines two frames among the first frames for which to check the amount of change in brightness, saturation, or specific color, and may check the amount of change in brightness, saturation, or specific color of an area corresponding to a first object in the two frames as the amount of change in any one of brightness, saturation, or specific color between the first areas of the first frames.

[0079] According to one embodiment, the processor (320) determines N frames (N is a natural number greater than or equal to 3) for checking the amount of change in brightness, saturation, or specific color among the first frames, and may check the average value of the amount of change in brightness, saturation, or specific color between areas corresponding to the first object in the N frames as the amount of change in any one of brightness, saturation, or specific color between the first areas of the first frames.

[0080] However, this is an example, and the method of determining the amount of change in brightness, saturation, or a specific color between the first areas of the first frames may not be limited to this and may vary.

[0081] According to one embodiment, the processor (320) may determine the number of first recovery maps to be acquired for the first regions of the first frames based on the amount of change in any one of brightness, saturation, or a specific color between the first regions. According to one embodiment, a lookup table indicating the relationship between the amount of change in any one of brightness, saturation, or a specific color and the number of recovery maps may be stored in the memory (330). According to one embodiment, the processor (320) may determine the number of recovery maps corresponding to the amount of change in any one of brightness, saturation, or a specific color using the lookup table. For example, the number of first recovery maps may be set to be larger as the amount of change increases. For example, the number of first recovery maps may be set to be smaller as the amount of change decreases.

[0082] In one embodiment, a mathematical formula for determining the number of recovery maps based on the amount of change in any one of brightness, saturation, or a specific color may be stored in the memory (330). In one embodiment, the processor (320) may also determine the number of recovery maps using a mathematical formula related to the amount of change in any one of brightness, saturation, or a specific color.

[0083] According to one embodiment, the processor (320) may apply a weight corresponding to a specified condition to any one of the changes in brightness, saturation, or a specific color of the first regions based on determining that a specified condition for applying a specified weight to the change in any one of the changes is satisfied. According to one embodiment, the processor (320) may also determine the number of first recovery maps based on the change to which the weight corresponding to the specified condition is applied. According to one embodiment, the processor (320) may determine the number of first recovery maps corresponding to the change to which the weight corresponding to the specified condition is applied using a lookup table stored in the memory (330).

[0084] According to one embodiment, the processor (320) may determine that a specified condition for applying a weight to the amount of change in brightness, saturation, or color of first areas corresponding to the first object included in the first frames is satisfied based on identifying the first object as the object of interest of the user. For example, the processor (320) may confirm a user input for designating an object of interest to which a weight is to be applied as the first object through the display (360). For example, if the processor (320) determines that the first object is the most numerous among a plurality of objects included in a plurality of images stored in the electronic device (301), the processor (320) may determine that a specified condition for applying a weight is satisfied. For example, the processor (320) may determine that a specified condition for applying a weight is satisfied based on the size of the first object identified in each of the first frames being larger than a specified size. For example, in the case where the electronic device (301) is implemented as a wearable electronic device that can be worn on the head of a user, if the first frames are acquired through the camera of the wearable electronic device and the first object included in the first frames is confirmed to be an object corresponding to the gaze of the user wearing the wearable electronic device, it can be confirmed that the specified condition for applying the weight is satisfied.

[0085] According to one embodiment, the processor (320) may determine that a specified condition for applying a weight is satisfied based on the FPS (frame per second) set for the camera. For example, if the processor (320) determines that the FPS (frame per second) is greater than a specified value, the processor (320) may determine that the specified condition for applying a weight is satisfied.

[0086] According to one embodiment, the processor (320) may determine that the specified condition for applying weights is satisfied based on the positions of the first regions identified on the plurality of regions of the first frames. For example, if the processor (320) determines that the first regions are located at the center of the plurality of regions, the processor (320) may determine that the specified condition for applying weights is satisfied.

[0087] According to one embodiment, the processor (320) may determine that the first regions are focused on regions, and thereby satisfy a specified condition for applying weights.

[0088] According to one embodiment, the processor (320) may determine that the first regions are out-of-focus regions, and thereby satisfy a specified condition for applying weights.

[0089] According to one embodiment, the processor (320) may determine that the specified condition for applying the weight is satisfied based on determining that the information for the first frames includes the specified voice information.

[0090] According to one embodiment, the processor (320) may determine that the specified conditions for applying weights are satisfied based on the determination that the setting values ​​of the camera (310) that acquired the first frames are specified values. For example, the setting values ​​may include at least one of an aperture value, a shutter speed value, or a sensitivity value.

[0091] According to one embodiment, the electronic device (301) may be implemented as a wearable electronic device that can be worn on the user's head. According to one embodiment, the processor (320) may determine that a specified condition for applying a weight is satisfied based on determining that the user's gaze is directed in a specified direction (e.g., forward).

[0092] According to one embodiment, the electronic device (301) may be implemented as a foldable electronic device including a first housing and a second housing. According to one embodiment, the processor (320) may determine that a specified condition for applying a weight is satisfied based on determining that an angle between the first housing and the second housing included in the electronic device (301) is a specified angle. According to one embodiment, the processor (320) may multiply or add a weight corresponding to a specified condition to a change amount. According to one embodiment, the processor (320) may also divide or subtract a weight corresponding to a specified condition from a change amount. However, this is an example, and the method of applying a weight to a change amount may not be limited thereto.

[0093] According to one embodiment, the processor (320) may determine a weight corresponding to adjacent information based on the degree of proximity between frames for which changes in brightness, saturation, or a specific color are to be determined among the first frames. For example, the first frames may include a first frame corresponding to the first frame, a second frame corresponding to the second frame, and a third frame corresponding to the third frame.

[0094] For example, when the processor (320) determines the frame for checking the amount of change in brightness, saturation, or a specific color among the first frames as the first frame corresponding to the first frame and the second frame corresponding to the second frame after the first, the processor (320) can check the first amount of change between the brightness, saturation, or a specific color of an area corresponding to the first object included in the first frame and the brightness, saturation, or a specific color of an area corresponding to the first object included in the second frame. The processor (320) can apply a weight corresponding to adjacent information between the first frame and the second frame to the first amount of change. Alternatively, when the processor (320) determines the frame for checking the amount of change in brightness, saturation, or a specific color among the first frames as the third frame corresponding to the first frame and the third frame after the second, the processor (320) can check the second amount of change between the brightness, saturation, or a specific color of an area corresponding to the first object included in the first frame and the brightness, saturation, or a specific color of an area corresponding to the first object included in the third frame. The processor (320) may apply a weight corresponding to adjacent information between the first frame and the third frame to the second variation. Based on determining that the first frame and the second frame are closer together than the first frame and the third frame, the processor (320) may determine that the weight to be applied to the first variation is greater than the weight to be applied to the second variation.

[0095] According to one embodiment, the processor (320) may obtain a first recovery map of a confirmed number for the first regions of the first frames. According to one embodiment, the processor (320) may use a separate algorithm to determine at least one frame from which to obtain the first recovery map of the said number among the first frames. According to one embodiment, the processor (320) may obtain the first recovery map of the confirmed number from the determined at least one frame. Depending on the implementation, according to one embodiment, the processor (320) may obtain the first recovery map of the confirmed number from each of the first frames.

[0096] In one embodiment, the processor (320) may store the identified number of first recovery maps corresponding to the first regions. For example, the processor (320) may store the first recovery map as an image file. In one embodiment, after acquiring the first recovery map, the processor (320) may delete the first frames from the buffer.

[0097] According to one embodiment, the processor (320) may determine to acquire a second recovery map including information on any one of brightness, saturation, or a specific color of an area corresponding to the second object of the frame based on identifying a second object different from the first object included in a frame subsequent to the first frames among a plurality of frames. According to one embodiment, the processor (320) may determine the number of the second recovery maps to be acquired for the area of ​​the frame as a specified number. For example, the specified number may represent a maximum number of recovery maps included in a lookup table indicating a relationship between the amount of change and the number of recovery maps. According to one embodiment, the processor (320) may acquire the specified number of second recovery maps for the area of ​​the frame and store the specified number of second recovery maps corresponding to the area. According to one embodiment, the processor (320) may delete the frame from the buffer based on acquiring the second recovery map. Through this, when an electronic device (301) according to one embodiment is checking the amount of change for a plurality of frames, if a new object (second object) is checked, the electronic device can obtain the maximum number of recovery maps from the frame in which the second object is checked.

[0098] According to one embodiment, the processor (320) may obtain a recovery map including information on any one of brightness, saturation, or a specific color of the entire regions of the first frames. For example, the processor (320) may determine the amount of change in a specific color based on the value of a specific color (e.g., red, green, blue) of the entire regions of the first frames identified in a color space. For example, the processor (320) may determine the amount of change in brightness or the amount of change in saturation based on histograms between the entire regions of the first frames. According to one embodiment, the description of the regions corresponding to the first object included in the first frames may be equally applied to the description of the entire regions of the first frames.

[0099] According to one embodiment, the processor (320) may obtain a recovery map that includes information about any one of brightness, saturation, or specific color of areas corresponding to objects different from the first object included in the first frames. For example, the processor (320) may determine the amount of change in a specific color based on the value of a specific color (e.g., red, green, blue) of areas corresponding to objects different from the first object included in the first frames, which are identified in a color space. For example, the processor (320) may determine the amount of change in brightness or the amount of change in saturation based on histograms between areas corresponding to objects different from the first object included in the first frames. According to one embodiment, the description of areas corresponding to the first object included in the first frames may be equally applicable to the description of areas corresponding to objects different from the first object included in the first frames.

[0100] According to one embodiment, if the processor (320) determines that the available capacity of the buffer of the electronic device (301) is less than a specified amount, the processor (320) may not acquire a recovery map including information on any one of brightness, saturation, or a specific color of the first areas corresponding to the first object of the first frames. According to one embodiment, if the processor (320) determines that the available capacity of the buffer of the electronic device (301) is less than a specified amount, the processor (320) may adjust a section for checking the amount of change in any one of brightness, saturation, or a specific color to acquire a recovery map including information on any one of brightness, saturation, or a specific color of the first areas corresponding to the first object of the first frames.

[0101] According to one embodiment, after obtaining a recovery map for areas of first frames among a plurality of frames, the processor (320) may additionally obtain a recovery map including information on any one of brightness, saturation, or specific color of frames excluding the first frames among the plurality of frames.

[0102] Depending on the implementation, in one embodiment, the operations performed by the processor (320) may be performed by an artificial intelligence model stored in the memory (330) or by a separate external electronic device (e.g., a server).

[0103] The operations of the electronic device (301) described in the drawings below may be performed by the processor (320). However, for convenience of explanation, the operations performed by the processor (320) will be described as being performed by the electronic device (301).

[0104] FIG. 4A is a flowchart illustrating an operation of an electronic device obtaining a first recovery map according to one embodiment.

[0105] Referring to FIG. 4A, according to one embodiment, in operation 411, an electronic device (301) (e.g., the electronic device (301) of FIG. 3) may obtain a video including a plurality of frames. According to one embodiment, the electronic device (301) may store the plurality of frames in a buffer of the electronic device (301).

[0106] According to one embodiment, in operation 413, the electronic device (301) may identify a first object included in each of the first frames among the plurality of frames. For example, the first object may include a person, a flame, an object, a plant, or the sky. However, this is merely an example, and the type of the first object may not be limited thereto and may include various types.

[0107] According to one embodiment, at operation 415, the electronic device (301) may determine to acquire a first recovery map that includes information about any one of brightness, saturation, or a specific color of first areas corresponding to the first object of the first frames. For example, the specific color may include red, green, or blue.

[0108] According to one embodiment, the recovery map to be acquired may be determined differently depending on the object included in each of the plurality of frames. For example, if the first object is determined to be a person, the electronic device (301) may determine to acquire a first recovery map including information on the color of the first regions (e.g., R (red) channel). For example, if the first object is determined to be a fire, the electronic device (301) may determine to acquire a first recovery map including information on the color of the first regions (e.g., R (red) channel). For example, if the first object is determined to be an object, the electronic device (301) may determine to acquire a first recovery map including information on the saturation of the first regions. For example, if the first object is determined to be a plant, the electronic device (301) may determine to acquire a first recovery map including information on the color of the first regions (e.g., G (green) channel). For example, if the first object is determined to be the sea, the electronic device (301) may determine to acquire a first recovery map including information about the colors of the first areas (e.g., B (blue) channel). For example, if the first object is determined to be the sky, the electronic device (301) may determine to acquire a first recovery map including information about the brightness of the first areas. However, this is an example, and the determined recovery map corresponding to the type of the first object may not be limited thereto. The determined recovery map corresponding to the type of the first object may be set by the user or automatically set by the electronic device (301).

[0109] According to one embodiment, in operation 417, the electronic device (301) may determine the amount of change in any one of brightness, saturation, or a specific color between the first areas of the first frames. For example, the electronic device (301) may determine the amount of change in a specific color based on the value of the specific color of the first areas of the first frames identified in a color space. For example, the electronic device (301) may determine the amount of change in brightness or the amount of change in saturation based on histograms between the first areas of the first frames.

[0110] According to one embodiment, the electronic device (301) can determine the average value of the changes in brightness, saturation, or specific color of areas corresponding to the first object in adjacent frames among the first frames as the change in any one of brightness, saturation, or specific color between the first areas of the first frames.

[0111] According to one embodiment, the electronic device (301) determines two frames among the first frames to check the amount of change in brightness, saturation, or specific color, and may check the amount of change in brightness, saturation, or specific color of an area corresponding to a first object in the two frames as the amount of change in any one of brightness, saturation, or specific color between first areas of the first frames.

[0112] According to one embodiment, the electronic device (301) determines N frames (N is a natural number greater than or equal to 3) among the first frames in which to check the amount of change in brightness, saturation, or specific color, and may check an average value of the amount of change in brightness, saturation, or specific color between areas corresponding to a first object in the N frames as the amount of change in any one of brightness, saturation, or specific color between first areas of the first frames.

[0113] However, this is an example, and the method of determining the amount of change in brightness, saturation, or a specific color between the first areas of the first frames may not be limited to this and may vary.

[0114] According to one embodiment, in operation 419, the electronic device (301) may determine the number of first recovery maps to be acquired for the first areas of the first frames based on the amount of change. According to one embodiment, the electronic device (301) may determine the number of first recovery maps corresponding to the amount of change. For example, the electronic device (301) may determine that the number of first recovery maps should be increased as the amount of change increases.

[0115] According to one embodiment, in operation 421, the electronic device (301) may obtain a first recovery map of a confirmed number for the first areas of the first frames. According to one embodiment, the electronic device (301) may use a separate algorithm to determine at least one frame from which to obtain the first recovery map among the first frames. According to one embodiment, the processor (320) may obtain the first recovery map of a confirmed number from the determined at least one frame. Depending on the implementation, according to one embodiment, the electronic device (301) may also obtain the first recovery map of a confirmed number from each of the first frames.

[0116] According to one embodiment, in operation 423, the electronic device (301) may store the identified number of first recovery maps by designating them in the first areas. According to one embodiment, based on acquiring the first recovery map, the electronic device (301) may delete the first frames from the buffer of the electronic device (301). For example, the electronic device (301) may store the first recovery map as an image file.

[0117] FIG. 4b is a flowchart illustrating an operation of an electronic device obtaining a first recovery map according to one embodiment.

[0118] Referring to FIG. 4B, according to one embodiment, in operation 431, the electronic device (301) (e.g., the electronic device (301) of FIG. 3) may obtain a video including a plurality of frames. According to one embodiment, the electronic device (301) may store the plurality of frames in a buffer of the electronic device (301).

[0119] According to one embodiment, in operation 433, the electronic device (301) may determine to acquire a first recovery map that includes information about any one of brightness, saturation, or a specific color of first areas corresponding to coordinate values ​​of each of the first frames among the plurality of frames. For example, the specific color may include red, green, or blue.

[0120] For example, the electronic device (301) may determine to acquire a recovery map that includes information about any one of brightness, saturation, or a specific color of an area having corresponding designated coordinate values ​​for each of the first frames.

[0121] According to one embodiment, in operation 435, the electronic device (301) can determine the amount of change in any one of brightness, saturation, or a specific color between the first areas of the first frames. For example, the electronic device (301) can determine the amount of change in a specific color based on the value of the specific color of the first areas of the first frames identified in a color space. For example, the electronic device (301) can determine the amount of change in brightness or the amount of change in saturation based on histograms between the first areas of the first frames.

[0122] According to one embodiment, in operation 437, the electronic device (301) may determine the number of first recovery maps to be acquired for the first areas of the first frames based on the amount of change. According to one embodiment, the electronic device (301) may determine the number of first recovery maps corresponding to the amount of change. For example, the electronic device (301) may determine that the number of first recovery maps should be increased as the amount of change increases.

[0123] According to one embodiment, in operation 439, the electronic device (301) may obtain a first recovery map of a confirmed number for the first areas of the first frames.

[0124] According to one embodiment, in operation 441, the electronic device (301) may store the first recovery maps by specifying the identified number of first areas. FIG. 5A is a flowchart illustrating an operation of the electronic device to obtain the first recovery map when the first variation is not greater than the specified value, according to one embodiment.

[0125] Referring to FIG. 5A, according to one embodiment, in operation 511, the electronic device (301) (e.g., the electronic device (301) of FIG. 3) may determine a first change in brightness, saturation, or a specific color between areas included in a first frame and a second frame included in the first frames. For example, the second frame may represent a frame acquired after the first frame. For example, areas included in the first frame and the second frame may represent areas corresponding to a first object. For example, areas included in the first frame and the second frame may represent areas having designated coordinate values ​​that correspond to each other.

[0126] According to one embodiment, in operation 513, the electronic device (301) may determine whether the first variation is greater than a specified value. For example, if the electronic device (301) determines that the first variation is not greater than the specified value, the electronic device (301) may determine to increase the number of frames for which variation is to be determined in order to determine the number of first recovery maps. For example, the specified value may be set by a user or automatically set by the electronic device (301).

[0127] According to one embodiment, if the electronic device (301) determines that the first change amount is not greater than a specified value (operation 513-No), then in operation 515, the electronic device may determine a second change amount of any one of brightness, saturation, or a specific color between areas included in the second frame and the third frame. For example, the third frame may represent a frame acquired after the second frame.

[0128] According to one embodiment, in operation 517, the electronic device (301) may determine whether the sum of the first change amount and the second change amount is greater than a specified value. For example, if the electronic device (301) determines that the sum of the first change amount and the second change amount is not greater than the specified value, the electronic device (301) may determine to increase the number of frames for which the change amount is to be checked in order to check the number of first recovery maps.

[0129] According to one embodiment, if the electronic device (301) determines that the sum of the first change amount and the second change amount is greater than a specified value (operation 517 - Yes), in operation 519, the electronic device (301) can determine the number of first recovery maps based on the sum of the first change amount and the second change amount. For example, the electronic device (301) can determine the number of first recovery maps corresponding to the sum of the first change amount and the second change amount by using a lookup table indicating the relationship between the sum of the first change amount and the second change amount and the number of recovery maps stored in the memory (330) (e.g., the memory (330) of FIG. 3).

[0130] According to one embodiment, in operation 521, the electronic device (301) may obtain a first recovery map of a verified number.

[0131] According to one embodiment, in operation 523, the electronic device (301) may delete the first frames from a buffer of the electronic device (301) based on obtaining the identified number of first recovery maps.

[0132] According to one embodiment, if the electronic device (301) determines that the first variation is greater than a specified value (operation 513 - Yes), in operation 525, the electronic device can determine the number of first recovery maps based on the first variation.

[0133] According to one embodiment, in operation 527, the electronic device (301) may obtain a confirmed number of first recovery maps. According to one embodiment, the electronic device (301) may delete the first frames based on obtaining the confirmed number of first recovery maps.

[0134] According to one embodiment, if the electronic device (301) determines that the sum of the first change amount and the second change amount is not greater than a designated value (operation 517-No), in operation 529, the electronic device may determine a third change amount of any one of brightness, saturation, or a specific color between the first areas included in the third frame and the fourth frame. For example, the first areas included in the third frame and the fourth frame may represent areas corresponding to the first object. For example, the first areas included in the third frame and the fourth frame may represent areas having designated coordinate values ​​that correspond to each other.

[0135] According to one embodiment, the electronic device (301) can determine the number of first recovery maps and obtain the determined first recovery maps based on determining that the sum of the first variation amount, the second variation amount, and the third variation amount is greater than a specified value in operation 531.

[0136] According to one embodiment, the electronic device (301) may determine the number of recovery maps based on the first change amount and the change amount using frames acquired after the first frame and the second frame when the first change amount for brightness, saturation, or a specific color for an area is less than a designated value. Through this, the electronic device (301) according to one embodiment may not acquire a recovery map when the change amount is small, thereby increasing the available capacity of the memory (330) and reducing the time required to acquire a recovery map.

[0137] FIG. 5b is a flowchart illustrating an operation of an electronic device to determine the number of first recovery maps by applying a weight to the sum of a first variation amount and a second variation amount, according to one embodiment.

[0138] Referring to FIG. 5B, according to one embodiment, in operation 531, the electronic device (301) (e.g., the electronic device (301) of FIG. 3) may determine a first change in brightness, saturation, or a specific color between areas included in the first frame and the second frame, which are included in the first frames. For example, the areas included in the first frame and the second frame may represent areas corresponding to the first object. For example, the areas included in the first frame and the second frame may represent areas having designated coordinate values ​​that correspond to each other.

[0139] According to one embodiment, in operation 533, the electronic device (301) may determine a second change in one of brightness, saturation, or a specific color between areas included in the second frame and the third frame based on determining that the first change is less than a specified value. For example, the areas included in the second frame and the third frame may represent areas corresponding to the first object. For example, the areas included in the second frame and the third frame may represent areas having specified coordinate values ​​that correspond to each other.

[0140] According to one embodiment, in operation 535, the electronic device (301) may apply a weight corresponding to adjacent information to an amount corresponding to the sum of the first variation amount and the second variation amount, based on the degree of proximity between the first frame and the third frame.

[0141] According to one embodiment, a lookup table representing the relationship between the degree of proximity between frames and the weight may be stored in the memory (330) (e.g., the memory (330) of FIG. 3 ). According to one embodiment, the weight may be set to be larger as the frames are closer to each other. According to one embodiment, the electronic device (301) may multiply or add the weight corresponding to the adjacent information to an amount corresponding to the sum of the first variation amount and the second variation amount.

[0142] According to one embodiment, in operation 537, the electronic device (301) can check the number of first recovery maps based on an amount corresponding to the sum of the first variation amount and the second variation amount to which the weights are applied. For example, a lookup table indicating a relationship between the variation amount and the number of recovery maps can be stored in the memory (330). According to one embodiment, the electronic device (301) can check the number of first recovery maps using the lookup table. According to one embodiment, the electronic device (301) can obtain the checked number of first recovery maps. According to one embodiment, the electronic device (301) can delete the first frame, the second frame, and the third frame from the buffer based on obtaining the first recovery map.

[0143] FIG. 6 is a flowchart illustrating an operation of an electronic device adjusting a cycle for checking one of brightness, saturation, or a specific color between first areas included in first frames, according to one embodiment.

[0144] Referring to FIG. 6, according to one embodiment, in operation 611, the electronic device (301) (e.g., the electronic device (301) of FIG. 3) may set sections associated with frames for checking any one of brightness, saturation, or a specific color between first regions included in the first frames. For example, the first regions may represent regions corresponding to a first object. For example, the first regions may represent regions having designated coordinate values ​​corresponding to each other.

[0145] For example, frames may represent a section containing sequentially acquired frames. For example, a section may represent a section containing a specified number of frames. For example, the specified number may be set by a user or automatically by the electronic device (301). For example, the specified number may be set differently depending on the objects contained in the frames.

[0146] According to one embodiment, in operation 613, the electronic device (301) may determine that a specified condition for adjusting the sections is satisfied.

[0147] For example, the electronic device (301) may determine that a specified condition for adjusting the sections is satisfied if it is determined that the amount of change in any one of brightness, saturation, or a specific color identified in a first section included in the sections is less than a specified value. For example, the specified value may represent a change value for adjusting a specified number.

[0148] For example, the electronic device (301) may determine that a specified condition for adjusting the sections is satisfied based on determining that the setting value of the camera (310) has changed at the time of acquiring at least one frame included in the second section included in the sections. For example, the setting value of the camera (310) may include at least one of a shutter speed value, a sensitivity value, or an aperture value.

[0149] For example, the electronic device (301) may determine that a specified condition for adjusting the sections is satisfied based on identifying a voice signal in at least one frame included in a second section after the first section.

[0150] For example, the electronic device (301) can determine that a specified condition for adjusting the sections is satisfied based on the amount of change in the position of the areas corresponding to the first object included in the frames included in the second section.

[0151] For example, the electronic device (301) can determine that a specified condition for adjusting the sections is satisfied when a new object is identified in any one of the frames included in the first section.

[0152] According to one embodiment, in operation 615, the electronic device (301) may adjust the sections associated with the frames to determine one of brightness, saturation, or a specific color between the first regions included in the first frames based on satisfying a specified condition.

[0153] For example, if the electronic device (301) determines that the amount of change in any one of brightness, saturation, or specific color confirmed in the first section included in the sections is less than a designated value, the electronic device (301) may adjust the section for confirming any one of brightness, saturation, or specific color between the first areas included in the first frames to a section that is a combination of the first section and the second section after the first section. The electronic device (301) may determine the number of recovery maps based on the sum of the amount of change confirmed in the first section and the amount of change confirmed in the second section.

[0154] For example, the electronic device (301) may adjust a section for checking one of brightness, saturation, or a specific color between first areas corresponding to the first object included in the first frames to a section that is a combination of the first section and the second section after the first section, based on determining that the setting value of the camera (310) has changed at the time of acquiring a frame included in the second section after the first section included in the sections. The electronic device (301) may determine the number of recovery maps based on the sum of the amount of change confirmed in the first section and the amount of change confirmed in the second section.

[0155] For example, the electronic device (301) may adjust a section for checking one of brightness, saturation, or a specific color between the first areas corresponding to the first object included in the first frames to a section that is a combination of the first section and the second section following the first section, based on determining that the amount of change in the position of the areas corresponding to the first object included in the frames included in the second section is greater than a specified value.

[0156] For example, if a new object is identified in any one of the frames included in the first section, the electronic device (301) can reset the sections by calculating a section including a specified number of frames from any one of the frames.

[0157] FIG. 7A is a diagram showing the number of recovery maps for brightness corresponding to the amount of brightness change, according to one embodiment.

[0158] Referring to FIG. 7A, according to one embodiment, a lookup table indicating a relationship between a plurality of intervals for brightness change and the number of recovery maps for brightness may be stored in a memory (330) (e.g., memory (330) of FIG. 3A).

[0159] For example, when the amount of brightness change is 10 or less, the number of recovery maps for brightness may be 0. For example, when the amount of brightness change is greater than 10 and less than or equal to 30, the number of recovery maps for brightness may be 10. For example, when the amount of brightness change is greater than 30 and less than or equal to 50, the number of recovery maps for brightness may be 20. For example, when the amount of brightness change is greater than 50 and less than or equal to 80, the number of recovery maps for brightness may be 50. However, in embodiments of the present invention, the value for the amount of brightness change and the number of recovery maps may not be limited to the above example and may be set in various ways.

[0160] According to one embodiment, the electronic device (301) (e.g., the electronic device (301) of FIG. 3) can determine the amount of brightness change between frames. According to one embodiment, the electronic device (301) can use a lookup table to determine a section containing the determined amount of brightness change among a plurality of sections. According to one embodiment, the electronic device (301) can determine the number of recovery maps for brightness corresponding to the determined section.

[0161] According to one embodiment, the electronic device (301) can obtain a recovery map for a confirmed number of brightnesses.

[0162] FIG. 7b is a diagram showing the number of recovery maps for saturation corresponding to the amount of saturation change according to one embodiment.

[0163] Referring to FIG. 7b, according to one embodiment, a lookup table indicating a relationship between a plurality of intervals for saturation variation and the number of recovery maps for saturation may be stored in a memory (330) (e.g., memory (330) of FIG. 3a).

[0164] For example, when the saturation change amount is 20 or less, the number of recovery maps for saturation may be 0. For example, when the saturation change amount is greater than 20 and less than or equal to 50, the number of recovery maps for saturation may be 4. For example, when the saturation change amount is greater than 50 and less than or equal to 70, the number of recovery maps for saturation may be 10. For example, when the saturation change amount is greater than 70 and less than or equal to 90, the number of recovery maps for saturation may be 40. However, in embodiments of the present invention, the value for saturation change amount and the number of recovery maps may not be limited to the above example and may be set in various ways.

[0165] According to one embodiment, the electronic device (301) (e.g., the electronic device (301) of FIG. 3) can check the amount of saturation change between frames. According to one embodiment, the electronic device (301) can use a lookup table to check a section including the checked amount of saturation change among a plurality of sections for the amount of saturation change. According to one embodiment, the electronic device (301) can check the number of recovery maps for saturation corresponding to the checked section.

[0166] FIG. 8 is a flowchart illustrating an operation of an electronic device applying weights to changes in a quantity, according to one embodiment.

[0167] Referring to FIG. 8, according to one embodiment, in operation 811, the electronic device (301) (e.g., the electronic device (301) of FIG. 3) may determine that a specified condition is satisfied for applying a weight to a change in any one of brightness, saturation, or a specific color of first areas corresponding to a first object included in first frames.

[0168] According to one embodiment, in operation 813, the electronic device (301) may apply a weight corresponding to a condition specified in the amount of change in any one of the brightness, saturation, or specific color of the first regions.

[0169] According to one embodiment, the electronic device (301) may determine that a specified condition for applying a weight to the amount of change in brightness, saturation, or color of first areas corresponding to the first object included in the first frames is satisfied based on identifying the first object as a designated object. For example, the electronic device (301) may confirm a user input for designating an object to which a weight is to be applied through the display (360) (e.g., the display (360) of FIG. 3 ). For example, if the electronic device (301) determines that the first object is the largest among a plurality of objects included in a plurality of images stored in the electronic device (301), the electronic device (301) may determine that a specified condition for applying a weight is satisfied. For example, the electronic device (301) may determine that a specified condition for applying a weight is satisfied based on the size of the first object identified in each of the first frames being larger than a designated size.

[0170] According to one embodiment, the electronic device (301) can determine that a specified condition for applying a weight is satisfied based on determining that the frame per second (FPS) set to the camera is a specified value.

[0171] According to one embodiment, the electronic device (301) can determine that the first areas are focused on areas, and thereby satisfy a specified condition for applying weights.

[0172] According to one embodiment, the electronic device (301) may determine that the first areas are out-of-focus areas, thereby satisfying a specified condition for applying weights.

[0173] According to one embodiment, the electronic device (301) may determine that the specified condition for applying the weight is satisfied based on determining that the information for the first frames includes the specified voice information.

[0174] According to one embodiment, the electronic device (301) can determine that a designated condition for applying a weight is satisfied based on determining that an area corresponding to a first object included in each of the first frames is a central area of ​​each of the first frames.

[0175] According to one embodiment, in operation 815, the electronic device (301) can determine the number of first recovery maps based on a weighted change amount corresponding to a specified condition.

[0176] In one embodiment, the electronic device (301) may multiply or add a weight corresponding to a condition specified in the change amount. In another embodiment, the electronic device (301) may also divide or subtract a weight corresponding to a condition specified in the change amount. However, this is merely an example, and the method of applying a weight to the change amount may not be limited thereto.

[0177] According to one embodiment, the electronic device (301) can use a lookup table stored in the memory (330) (e.g., the memory (330) of FIG. 3A) to determine the number of first recovery maps corresponding to the weighted change corresponding to a specified condition.

[0178] FIG. 9 is a flowchart illustrating an operation of an electronic device to obtain a recovery map for a frame including a second object after first frames including a first object, according to one embodiment.

[0179] Referring to FIG. 9, according to one embodiment, in operation 911, the electronic device (301) (e.g., the electronic device (301) of FIG. 3) may identify a second object different from the first object included in a frame subsequent to the first frames including the first object among a plurality of frames. For example, the second object may include a person, an object, a plant, or the sky. However, this is merely an example, and the type of the second object may not be limited thereto and may include various types.

[0180] According to one embodiment, at operation 913, the electronic device (301) may determine to acquire a second recovery map that includes information about any one of brightness, saturation, or a specific color of an area corresponding to the second object.

[0181] According to one embodiment, in operation 915, the electronic device (301) may determine the number of second recovery maps to be a specified number. For example, the specified number may represent a maximum number of recovery maps included in a lookup table indicating a relationship between the amount of change and the number of recovery maps.

[0182] For example, if the second recovery map includes information about brightness, the specified number may represent 50. For example, if the second recovery map includes information about saturation, the specified number may represent 40. For example, if the second recovery map includes information about color, the specified number may represent 30. However, this is an example, and the maximum number may be set by the user or automatically set by the electronic device (301).

[0183] According to one embodiment, in operation 917, the electronic device (301) may obtain a specified number of second recovery maps for an area of ​​the frame. According to one embodiment, the electronic device (301) may delete the frame from the buffer based on obtaining the specified number of second recovery maps.

[0184] According to one embodiment, in operation 919, the electronic device (301) can store a specified number of second recovery maps in an area of ​​the frame.

[0185] Through this, when an electronic device (301) according to one embodiment is checking the amount of change for a plurality of frames, if a new object (second object) is checked, the electronic device can obtain the maximum number of recovery maps from the frame in which the second object is checked.

[0186] According to one embodiment, after the electronic device (301) acquires the maximum number of second recovery maps among the numbers of recovery maps included in the lookup table, the electronic device (301) may adjust the number of recovery maps to be acquired in the next frame to be less than the maximum number. For example, the electronic device (301) may adjust the number of recovery maps based on the amount of change between the next frames.

[0187] According to one embodiment, the electronic device (301) may acquire a specified number of second recovery maps when the available capacity of the buffer of the electronic device (301) is less than a specified value. For example, the specified number may represent a maximum number of recovery maps included in a lookup table indicating a relationship between a change amount and the number of recovery maps. According to one embodiment, after acquiring the second recovery map, the electronic device (301) may delete frames from the buffer. Through this, the electronic device (301) may increase the available capacity of the buffer by deleting raw frames from the buffer when the available capacity of the buffer is low.

[0188] FIG. 10 is a diagram illustrating an operation of an electronic device to obtain a recovery map based on frames including a first object, according to one embodiment.

[0189] Referring to FIG. 10, according to one embodiment, a frame section for checking the amount of change in any one of brightness, saturation, or specific color of first frames containing a first object may be pre-designated. For example, the frame section may be designated as a section including three frames. The frame section may be set by the user or by the electronic device (301).

[0190] According to one embodiment, the electronic device (301) (e.g., the electronic device (301) of FIG. 3 ) may determine to obtain a recovery map including information about brightness and saturation of areas corresponding to the first object (1001) based on identifying the first object (1001) included in the frames.

[0191] According to one embodiment, the electronic device (301) may check the amount of change in either brightness or saturation between areas corresponding to the first object (1001) included in the first frame (#1), the second frame (#2), and the third frame (#3) in the P1 section including the first frame (#1), the second frame (#2), and the third frame (#3). According to one embodiment, the electronic device (301) may check the average value of the amounts of change in either brightness or saturation between areas included in adjacent frames. According to one embodiment, the electronic device (301) may also check the amount of change in either brightness or saturation between areas included in two specified frames among the frames.

[0192] For example, the electronic device (301) can determine the amount of change in brightness (or saturation, color) between the area corresponding to the first object (1001) included in the first frame (#1) and the brightness (or saturation) of the area corresponding to the first object (1001) included in the second frame (#2), the amount of change between the brightness (or saturation) of the area corresponding to the first object (1001) included in the first frame (#1) and the brightness (or saturation) of the area corresponding to the first object (1001) included in the third frame (#3), and the average value of the amount of change between the amount of change in brightness (or saturation) of the area corresponding to the first object (1001) included in the second frame (#2) and the brightness (or saturation) of the area corresponding to the first object (1001) included in the third frame (#3) as the amount of change in brightness (or saturation) between the areas corresponding to the first object (1001).

[0193] For example, the electronic device (301) can determine the amount of change between the brightness (or saturation) of the area corresponding to the first object (1001) included in the first frame (#1) and the brightness (or saturation) of the area corresponding to the first object (1001) included in the second frame (#2) as the amount of change in brightness (or saturation) between the areas corresponding to the first object (1001). For example, the electronic device (301) can determine the amount of change between the brightness (or saturation) of the area corresponding to the first object (1001) included in the first frame (#1) and the brightness (or saturation) of the area corresponding to the first object (1001) included in the third frame (#3) as the amount of change in brightness (or saturation) between the areas corresponding to the first object. For example, the electronic device (301) can determine the amount of change in brightness (or saturation) between the area corresponding to the first object (1001) included in the second frame (#2) and the area corresponding to the first object (1001) included in the third frame (#3) as the amount of change in brightness (or saturation) between the areas corresponding to the first object (1001).

[0194] According to one embodiment, the electronic device (301) may determine the number of recovery maps corresponding to the amount of change in saturation to be four based on the confirmation that the amount of change in saturation confirmed in the P1 section is 21. According to one embodiment, the electronic device (301) may obtain four recovery maps including information on the saturation of an area corresponding to the first object (1001) included in at least one of the first frame (#1), the second frame (#2), or the third frame (#3). According to an implementation, according to one embodiment, the electronic device (301) may obtain four recovery maps including information about saturation of an area corresponding to the first object (1001) from a first frame (#1), obtain four recovery maps including information about saturation of an area corresponding to the first object (1001) from a second frame (#2), and obtain four recovery maps including information about saturation of an area corresponding to the first object (1001) from a third frame (#3).

[0195] According to one embodiment, the electronic device (301) may determine the number of recovery maps corresponding to the amount of change in brightness to be 0 based on the fact that the amount of change in brightness confirmed in the P1 section is 9. According to one embodiment, the electronic device (301) may not delete the first frame (#1), the second frame (#2), and the third frame (#3) from the buffer based on the fact that the recovery map including information about brightness in the P1 section was not acquired.

[0196] According to one embodiment, the electronic device (301) can check the amount of change in saturation between areas corresponding to the first object (1001) included in the fourth frame (#4), the fifth frame (#5), and the sixth frame (#6) in the P2 section including the fourth frame (#4), the fifth frame (#5), and the sixth frame (#6).

[0197] According to one embodiment, the electronic device (301) may determine the number of recovery maps corresponding to the amount of change in saturation to be four based on the confirmation that the amount of change in saturation confirmed in the P2 section is 23. According to one embodiment, the electronic device (301) may obtain four recovery maps including information on the saturation of an area corresponding to the first object (1001) included in at least one of the fourth frame (#4), the fifth frame (#5), or the sixth frame (#6). According to an implementation, according to one embodiment, the electronic device (301) may obtain four recovery maps including information on saturation of an area corresponding to the first object (1001) from a fourth frame (#4), obtain four recovery maps including information on saturation of an area corresponding to the first object (1001) from a fifth frame (#5), and obtain four recovery maps including information on saturation of an area corresponding to the first object (1001) from a sixth frame (#6).

[0198] According to one embodiment, the electronic device (301) may determine the amount of change in brightness in the P3 section (P1+P2) based on the fact that the number of recovery maps corresponding to the amount of change in brightness is determined to be 0 because the amount of change in brightness (e.g., 9) confirmed in the P1 section is not greater than a specified value (e.g., 10). According to one embodiment, the electronic device (301) may determine the amount of change in brightness confirmed in the P3 section (P1+P2) as the sum of the amount of change in brightness confirmed in the P1 section and the amount of change in brightness confirmed in the P2 section. According to one embodiment, the electronic device (301) may determine the number of recovery maps corresponding to the amount of change in brightness as 10 based on the fact that the amount of change in brightness confirmed in the P3 section (P1+P2) is 35. According to one embodiment, the electronic device (301) can obtain ten recovery maps including information on the brightness of an area corresponding to the first object (1001) included in at least one of the first frame (#1), the second frame (#2), the third frame (#3), the fourth frame (#4), the fifth frame (#5), and the sixth frame (#6). Depending on the implementation, according to one embodiment, the electronic device (301) can obtain ten recovery maps including information on the brightness of an area corresponding to the first object (1001) from each of the first frame (#1), the second frame (#2), the third frame (#3), the fourth frame (#4), the fifth frame (#5), and the sixth frame (#6).

[0199] According to one embodiment, the electronic device (301) can delete the first frame (#1), the second frame (#2), the third frame (#3), the fourth frame (#4), and the fifth frame (#5) from the buffer of the electronic device (301).

[0200] FIG. 11 is a diagram illustrating an operation of an electronic device to obtain a recovery map based on frames including a first object and frames including a second object, according to one embodiment.

[0201] Referring to FIG. 11, according to one embodiment, the electronic device (301) (e.g., the electronic device (301) of FIG. 3) may determine the number of recovery maps corresponding to the amount of change in brightness to be 10 based on the confirmation that the amount of change in brightness confirmed in the P4 section including the seventh frame (#7), the eighth frame (#8), and the ninth frame (#9) is 40. According to one embodiment, the electronic device (301) may determine the number of recovery maps corresponding to the amount of change in saturation to be 4 based on the confirmation that the amount of change in saturation confirmed in the P4 section is 10. According to one embodiment, the electronic device (301) may obtain recovery maps corresponding to 10 amounts of change in brightness and obtain recovery maps corresponding to 4 amounts of change in saturation. According to one embodiment, the electronic device (301) can delete the seventh frame (#7) and the eighth frame (#8) from the buffer of the electronic device (301).

[0202] According to one embodiment, the electronic device (301) may identify a second object (1101) (e.g., a cloud) that is different from the first object in the eleventh frame (#11). According to one embodiment, based on identifying the second object (1101) that is different from the first object in the eleventh frame (#11), the electronic device (301) may determine to acquire a recovery map that includes information on brightness and saturation of areas corresponding to the first object (1001) in the P5 section that includes the tenth frame (#10) and the eleventh frame (#11).

[0203] According to one embodiment, the electronic device (301) may determine the number of recovery maps corresponding to the amount of change in saturation to be 4 based on the determination that the amount of change in saturation of the area corresponding to the first object included in the 10th frame (#10) and the 11th frame (#11) identified in the P5 section is 30. According to one embodiment, the electronic device (301) may determine the number of recovery maps corresponding to the amount of change in brightness to be 4 based on the determination that the amount of change in brightness of the area corresponding to the first object included in the 10th frame (#10) and the 11th frame (#11) identified in the P5 section is 40.

[0204] According to one embodiment, the electronic device (301) may determine to acquire a recovery map including information on color, brightness, and saturation of areas corresponding to the second object (1101) in the P5 section based on identifying a second object (1101) different from the first object in the 11th frame (#11). According to one embodiment, the electronic device (301) may acquire a specified number of recovery maps including information on color, brightness, and saturation of areas corresponding to the second object (1101). For example, the specified number may represent a maximum number among the numbers of recovery maps included in a lookup table indicating a relationship between the amount of change and the number of recovery maps.

[0205] For example, the electronic device (301) can check the number of recovery maps including information on the brightness of an area corresponding to a second object included in the 11th frame (#11) as a specified number (e.g., 50), and obtain the specified number of recovery maps.

[0206] For example, the electronic device (301) can check the number of recovery maps including information about the color of the area corresponding to the second object included in the 11th frame (#11) as a specified number (e.g., 50), and obtain the specified number of recovery maps.

[0207] For example, the electronic device (301) can check the number of recovery maps including information on saturation of an area corresponding to a second object included in the 11th frame (#11) as a specified number (e.g., 40), and obtain the specified number of recovery maps.

[0208] FIG. 12 is a diagram illustrating an operation of an electronic device obtaining a recovery map from first frames according to one embodiment.

[0209] Referring to FIG. 12, according to one embodiment, an electronic device (301) (e.g., the electronic device (301) of FIG. 3) may obtain a plurality of recovery maps including information on any one of brightness, saturation, or specific color of a plurality of areas corresponding to a plurality of objects from a twelfth frame (#12), a thirteenth frame (#13), and a fourteenth frame (#14) included in the first frames.

[0210] According to one embodiment, the electronic device (301) may obtain a recovery map (1210) including information on any one of brightness, saturation, or a specific color for the entire area included in each of the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14). According to one embodiment, the electronic device (301) may determine to obtain a recovery map for any one of brightness, saturation, or a specific color specified in each of the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14). According to one embodiment, the electronic device (301) may check the number of recovery maps corresponding to the amount of change in any one of brightness, saturation, or a specific color for the entire area included in each of the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14). According to one embodiment, the electronic device (301) can obtain a recovery map (1210) for any one of brightness, saturation, or a specific color for the entire area identified from the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14).

[0211] According to one embodiment, the electronic device (301) may obtain a recovery map (1220) including information on any one of brightness, saturation, or a specific color for a specific object (e.g., a hand) included in each of the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14). According to one embodiment, the electronic device (301) may determine to obtain a recovery map on any one of brightness, saturation, or a specific color based on the specific object (e.g., a hand) included in each of the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14). According to one embodiment, the electronic device (301) can check the number of recovery maps corresponding to the amount of change in any one of brightness, saturation, or specific color for areas corresponding to a specific object (e.g., a hand) included in each of the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14). According to one embodiment, the electronic device (301) can obtain recovery maps (1220) for any one of brightness, saturation, or specific color for areas corresponding to a specific object (e.g., a hand) identified from the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14).

[0212] According to one embodiment, the electronic device (301) may obtain a recovery map (1230) including information on any one of brightness, saturation, or specific color for a specific object (e.g., a foot) included in each of the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14). According to one embodiment, the electronic device (301) may determine to obtain a recovery map on any one of brightness, saturation, or specific color based on a specific object (e.g., a foot) included in each of the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14). According to one embodiment, the electronic device (301) can check the number of recovery maps corresponding to the amount of change in any one of brightness, saturation, or specific color for areas corresponding to a specific object (e.g., foot) included in each of the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14). According to one embodiment, the electronic device (301) can obtain recovery maps (1230) for any one of brightness, saturation, or specific color for areas corresponding to a specific object (e.g., foot) identified from the 12th frame (#12), the 13th frame (#13), and the 14th frame (#14).

[0213] According to one embodiment, an electronic device may include a camera, at least one processor, a display, and a memory storing instructions.

[0214] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to acquire, through the camera, a video comprising a plurality of frames.

[0215] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine to obtain a first recovery map that includes information about any one of brightness, saturation, or a specific color of first areas having designated coordinate values ​​included in each of the first frames among the plurality of frames.

[0216] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine a change in any one of the brightness, the saturation, or the specific color between the first regions of the first frames.

[0217] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine, based on the amount of change, the number of the first recovery maps to be acquired for the first areas of the first frames.

[0218] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain the first recovery maps of the number for the first areas of the first frames.

[0219] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store the first recovery maps of the number corresponding to the first areas.

[0220] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine the number of the first recovery maps corresponding to the amount of change based on a table representing a relationship between the amount of change in any one of the brightness, the saturation, or the specific color and the number of recovery maps.

[0221] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to identify coordinate values ​​corresponding to the first object as the specified coordinate values ​​based on identifying the first object included in each of the first frames among the plurality of frames.

[0222] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine a second change in any one of brightness, saturation, or specific color of areas corresponding to the first object included in the first frame and the second frame among the first frame, the second frame, and the third frame included in the first frames, based on determining that a first change in any one of brightness, saturation, or specific color of areas corresponding to the first object included in the first frame and the second frame is not greater than a designated value.

[0223] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine the number of the first recovery maps to be acquired for the first areas based on the sum of the first amount of change and the second amount of change, if the sum of the first amount of change and the second amount of change is determined to be greater than the specified value.

[0224] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to apply a weight corresponding to the adjacent information to an amount corresponding to the sum of the first variation amount and the second variation amount based on the degree of adjacentness between the first frame and the third frame.

[0225] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store the first frames in a buffer to obtain the first recovery map.

[0226] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to delete the first frames from the buffer after obtaining the first recovery map.

[0227] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to apply a weight corresponding to the specified condition to the one of the variances based on determining that the specified condition for applying the weight to the variance is satisfied.

[0228] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine the number of the first recovery maps to be acquired for the first areas of the first frames based on the amount of change to which the weight is applied.

[0229] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine that the specified condition is satisfied when the first object is identified as an object of interest of the user or when the frame per second (FPS) set to the camera is identified as a specified value.

[0230] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine to acquire a second recovery map including information about any one of brightness, saturation, or a specific color of an area corresponding to the second object in the frame based on identifying a second object different from the first object included in a frame after the first frames among the plurality of frames.

[0231] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine a specified number of the second recovery maps to be acquired for the region of the frame.

[0232] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain the specified number of second recovery maps for the region of the frame.

[0233] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store the specified number of second recovery maps corresponding to the area.

[0234] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine that the number of the first recovery maps is greater as the amount of change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames is greater.

[0235] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine, as a change in brightness, an average value of changes in brightness of areas corresponding to the first object in adjacent frames among the first frames, based on a determination to obtain the first recovery map including information about the brightness of the first areas corresponding to the first object.

[0236] According to one embodiment, a method of operating an electronic device may include an operation of obtaining a video including a plurality of frames through a camera of the electronic device.

[0237] According to one embodiment, a method of operating an electronic device may include determining to acquire a first recovery map that includes information about one of brightness, saturation, or a specific color of first areas having designated coordinate values ​​included in each of first frames among a plurality of frames.

[0238] According to one embodiment, a method of operating an electronic device may include an operation of checking a change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames.

[0239] According to one embodiment, the method of operating an electronic device may include an operation of determining the number of first recovery maps to be stored for the first areas of the first frames based on the amount of change.

[0240] According to one embodiment, a method of operating an electronic device may include obtaining the first recovery maps of the number for the first areas of the first frames.

[0241] According to one embodiment, the method of operating the electronic device may include storing the first recovery maps of the number corresponding to the first areas.

[0242] According to one embodiment, the operating method of the electronic device may include an operation of checking the number of the first recovery maps corresponding to the amount of change based on a table indicating a relationship between the amount of change in any one of the brightness, the saturation, or the specific color and the number of recovery maps.

[0243] According to one embodiment, the operating method of the electronic device may include an operation of identifying coordinate values ​​corresponding to the first object as the specified coordinate values ​​based on identifying a first object included in each of the first frames among the plurality of frames.

[0244] According to one embodiment, the operating method of the electronic device may include an operation of determining a second change amount of any one of brightness, saturation, or specific color of areas corresponding to the first object included in the first frame and the second frame among the first frame, the second frame, and the third frame included in the first frames, based on determining that a first change amount of any one of brightness, saturation, or specific color of areas corresponding to the first object included in the first frame and the second frame is not greater than a specified value.

[0245] According to one embodiment, the operating method of the electronic device may include an operation of confirming the number of the first recovery maps to be acquired for the first areas based on the sum of the first change amount and the second change amount, if it is confirmed that the sum of the first change amount and the second change amount is greater than the specified value.

[0246] According to one embodiment, the method of operating an electronic device may include applying a weight corresponding to the adjacent information to an amount corresponding to a sum of the first change amount and the second change amount based on the degree of adjacentness between the first frame and the third frame.

[0247] According to one embodiment, a method of operating an electronic device may include storing the first frames in a buffer to obtain the first recovery map.

[0248] According to one embodiment, the method of operating the electronic device may include, after obtaining the first recovery map, deleting the first frames from the buffer.

[0249] According to one embodiment, a method of operating an electronic device may include applying a weight corresponding to a specified condition to one of the change amounts based on determining that a specified condition for applying a weight to the change amount is satisfied.

[0250] According to one embodiment, the method of operating an electronic device may include an operation of confirming that the specified condition is satisfied when the first object is confirmed as an object of interest of the user or when the FPS (frame per second) set to the camera is confirmed to be a specified value.

[0251] According to one embodiment, a method of operating an electronic device may include an operation of determining to acquire a second recovery map including information on any one of brightness, saturation, or a specific color of an area corresponding to the second object in the frame, based on identifying a second object different from the first object included in a frame after the first frames among the plurality of frames.

[0252] According to one embodiment, the method of operating the electronic device may include an operation of determining a number of the second recovery maps to be acquired for the area of ​​the frame as a specified number.

[0253] According to one embodiment, the method of operating the electronic device may include obtaining the specified number of second recovery maps for the area of ​​the frame.

[0254] According to one embodiment, the method of operating the electronic device may include storing the specified number of second recovery maps corresponding to the area.

[0255] According to one embodiment, the method of operating an electronic device may include an operation of determining that the number of the first recovery maps is greater as the amount of change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames is greater.

[0256] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of acquiring a moving image including a plurality of frames through a camera of the electronic device.

[0257] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of determining to obtain a first recovery map including information about any one of brightness, saturation, or a specific color of first areas having designated coordinate values ​​included in each of first frames among a plurality of frames.

[0258] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of checking an amount of change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames.

[0259] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of determining the number of first recovery maps to be acquired for the first areas of the first frames based on the amount of change.

[0260] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include obtaining the first recovery map of the number for the first areas of the first frames.

[0261] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, the at least one operation including storing the number of first recovery maps corresponding to the first areas.

[0262] 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 disclosed in this document are not limited to the aforementioned devices.

[0263] 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 component (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.

[0264] 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).

[0265] Various embodiments of the present document may be implemented as software (e.g., program (140)) including one or more commands stored in a storage medium (e.g., built-in memory (136) or external memory (138)) readable by a machine (e.g., electronic device (101, 301)). For example, a processor (e.g., processor (120, 320)) of a machine (e.g., electronic device (101, 301)) may call at least one command among the one or more commands stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the called at least one command. The one or more commands 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' means a device in which the storage medium is tangible, It simply means that it 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 a storage medium.

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

[0267] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

Claims

1. In the electronic device (301), Camera (310); At least one processor (320); display (360); and Includes a memory (330) for storing instructions, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Through the above camera, a video including multiple frames is obtained, Determine to obtain a first recovery map including information on any one of brightness, saturation, or specific color of first areas having designated coordinate values ​​included in each of the first frames among the plurality of frames, Checking the amount of change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames, Based on the above change amount, the number of first recovery maps to be acquired for the first areas of the first frames is confirmed, Obtaining the first recovery map of the number of first areas of the first frames, An electronic device that causes the first recovery map of the above number to be stored corresponding to the first areas.

2. In paragraph 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that causes the number of the first recovery maps corresponding to the change amount to be checked based on a table representing the relationship between the change amount of any one of the brightness, the saturation, or the specific color and the number of recovery maps.

3. In any one of paragraphs 1 and 2, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that causes coordinate values ​​corresponding to the first object to be identified as the specified coordinate values ​​based on identifying the first object included in each of the first frames among the plurality of frames.

4. In any one of paragraphs 1 to 3, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on confirming that a first change amount of any one of brightness, saturation, or specific color of areas corresponding to the first object included in the first frame and the second frame among the first frame, the second frame, and the third frame included in the first frames is not greater than a designated value, confirming a second change amount of any one of brightness, saturation, or specific color of areas corresponding to the first object included in the second frame and the third frame, An electronic device that causes the number of the first recovery maps to be acquired for the first areas to be determined based on the sum of the first change amount and the second change amount when it is determined that the sum of the first change amount and the second change amount is greater than the specified value.

5. In any one of paragraphs 1 to 4, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that applies a weight corresponding to the degree of proximity to an amount corresponding to the sum of the first change amount and the second change amount based on the degree of proximity between the first frame and the third frame.

6. In any one of paragraphs 1 to 5, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: To obtain the first recovery map, the first frames are stored in a buffer, An electronic device that causes the first frames to be deleted from the buffer after obtaining the first recovery map.

7. In any one of paragraphs 1 to 6, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Applying a weight corresponding to the specified condition to the change in any one of the brightness, saturation, or specific color of the first areas based on confirming that the specified condition for applying a weight is satisfied, An electronic device that causes the number of the first recovery maps to be acquired for the first areas of the first frames to be determined based on the amount of change to which the weight is applied.

8. In any one of paragraphs 1 to 7, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that causes the specified condition to be satisfied when the first object is identified as an object of interest of the user or when the FPS (frame per second) set to the camera is identified as a specified value.

9. In any one of paragraphs 1 to 8, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on identifying a second object different from the first object included in a frame after the first frames among the plurality of frames, it is determined to acquire a second recovery map including information on any one of brightness, saturation, or a specific color of an area corresponding to the second object in the frame, The number of the second recovery maps to be acquired for the above area of ​​the above frame is determined to be a specified number, Obtaining the second recovery map of the specified number for the above area of ​​the above frame, An electronic device that causes the specified number of second recovery maps to be stored corresponding to the area.

10. In any one of paragraphs 1 to 9, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that causes the number of the first recovery maps to be determined to be larger as the amount of change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames is larger.

11. In any one of paragraphs 1 to 10, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that causes an average value of changes in brightness of the first areas corresponding to the first object in adjacent frames among the first frames to be identified as a change in brightness between the first areas corresponding to the first object, based on a decision to acquire the first recovery map including information on the brightness of the first areas corresponding to the first object.

12. In the operating method of the electronic device (301), An operation of obtaining a video including a plurality of frames through a camera (310) of the electronic device; An operation of determining to obtain a first recovery map including information on any one of brightness, saturation, or specific color of first areas having designated coordinate values ​​included in each of first frames among the plurality of frames; An operation of checking the amount of change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames; An operation of checking the number of first recovery maps to be acquired for the first areas of the first frames based on the above change amount; An operation of obtaining the first recovery map of the number of first regions of the first frames; and An operating method of an electronic device, comprising an operation of storing the first recovery map of the above number corresponding to the first areas.

13. In paragraph 12, An operating method of an electronic device further comprising an operation of checking the number of the first recovery maps corresponding to the amount of change based on a table representing a relationship between the amount of change in any one of the brightness, the saturation, or the specific color and the number of recovery maps.

14. In any one of paragraphs 12 to 13, An operating method of an electronic device further comprising an operation of confirming coordinate values ​​corresponding to the first object as the specified coordinate values ​​based on confirming a first object included in each of the first frames among the plurality of frames.

15. In a storage medium storing computer-readable instructions, the instructions, when executed by at least one processor (320) of an electronic device (301), cause the electronic device to perform at least one operation, wherein the at least one operation is: An operation of obtaining a video including a plurality of frames through a camera (310) of the electronic device; An operation of determining to obtain a first recovery map including information on any one of brightness, saturation, or specific color of first areas having designated coordinate values ​​included in each of first frames among the plurality of frames; An operation of checking the amount of change in any one of the brightness, the saturation, or the specific color between the first areas of the first frames; An operation of checking the number of first recovery maps to be acquired for the first areas of the first frames based on the above change amount; An operation of obtaining the first recovery map of the number of first regions of the first frames; and A storage medium comprising an operation of storing the first recovery map of the above number corresponding to the first areas.

Citation Information

Patent Citations

  • Information processing device, color correction method, and computer program

    JP2019103029A

  • Imaging device, control method thereof, and control program

    JP6752688B2

  • Apparatus and method of improving definition of moving picture

    KR101552886B1

  • Fire detection system and method basedon visual data

    KR1020090054522A

  • Method for create a colormap with color correction applied and computer program recorded on record-medium for executing method therefor

    KR102540632B1