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

By generating images in a log format to allocate data effectively for dark and bright signal levels, the electronic device addresses the challenge of wide dynamic range image capture and processing, resulting in improved image quality.

WO2026155617A1PCT designated stage Publication Date: 2026-07-23SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SAMSUNG ELECTRONICS CO LTD
Filing Date
2026-01-19
Publication Date
2026-07-23

AI Technical Summary

Technical Problem

Existing electronic devices face challenges in efficiently capturing and processing images with a wide dynamic range, particularly in managing data allocation for dark and bright input signal levels.

Method used

The electronic device generates images in a log format, allocating a large amount of data to dark input signal levels and a small amount of data to bright input signal levels, enabling effective image capture and processing.

Benefits of technology

This approach ensures improved image quality by optimizing data allocation for both dark and bright areas, enhancing the dynamic range of captured images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2026001081_23072026_PF_FP_ABST
    Figure KR2026001081_23072026_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device according to the disclosed one embodiment may comprise a camera, a display, at least one processor, and a memory for storing instructions. The electronic device can: identify a configuration for capturing a log format image; acquire an image stream by using the camera; acquire a first preview image of a log format on the basis of the acquired image stream; display the first preview image in a first area of the display; receive a user input for displaying a second preview image; identify, on the basis of a user input, a second area of the display on which the second preview image is to be displayed; acquire the second preview image by applying adjustment data to the acquired image stream; and display the second preview image in the second area.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device including a camera, method of operation thereof, and recording medium

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

[0002] With the development of digital technology, various types of electronic devices such as mobile communication terminals, PDAs (personal digital assistants), electronic notebooks, smartphones, tablet PCs (personal computers), or wearable devices are widely used. Electronic devices can provide various functions. For example, electronic devices can provide at least one function by running at least one application in the foreground and / or background.

[0003] The electronic device has a specified operating system (e.g., the Android operating system (Android) TM Various functions can be provided using an operating system. For example, an electronic device can support multiple functions provided through a camera.

[0004] The information described above may be provided as related art for the purpose of aiding understanding of the present disclosure. No claim or determination is made as to whether any of the foregoing may be applied as prior art in relation to the present disclosure.

[0005] A method of operation of an electronic device according to a disclosed embodiment may include an operation of identifying a setting for capturing a log format image. The method of operation may include an operation of acquiring an image stream using a camera. The method of operation may include an operation of acquiring a first preview image in a log format based on the acquired image stream. The method of operation may include an operation of displaying the first preview image in a first area of ​​a display. The method of operation may include an operation of receiving user input for displaying a second preview image. The method of operation may include an operation of identifying a second area of ​​a display where the second preview image is to be displayed based on the user input. The method of operation may include an operation of acquiring a second preview image by applying adjustment data to the acquired image stream. The method of operation may include an operation of displaying the second preview image in the second area.

[0006] A computer-readable, non-transient recording medium having recorded instructions for controlling an electronic device according to a disclosed embodiment may include a instruction for identifying a setting for capturing a log format image. The recording medium may include a instruction for acquiring an image stream using a camera. The recording medium may include a instruction for acquiring a first preview image in a log format based on the acquired image stream. The recording medium may include a instruction for displaying the first preview image in a first area of ​​a display. The recording medium may include a instruction for receiving user input for displaying a second preview image. The recording medium may include a instruction for identifying a second area of ​​a display where the second preview image is to be displayed based on user input. The recording medium may include a instruction for acquiring a second preview image by applying adjustment data to the acquired image stream. The recording medium may include a instruction for displaying the second preview image in the second area.

[0007] An electronic device according to a disclosed embodiment may include a camera, a display, at least one processor, and a memory for storing instructions. The electronic device may identify a setting for capturing a log format image. The electronic device may acquire an image stream using a camera. Based on the acquired image stream, the electronic device may acquire a first preview image in a log format. The electronic device may display the first preview image in a first area of ​​a display. The electronic device may receive user input for displaying a second preview image. Based on the user input, the electronic device may identify a second area of ​​a display where the second preview image is to be displayed. The electronic device may acquire the second preview image by applying adjustment data to the acquired image stream. The electronic device may display the second preview image in the second area.

[0008] FIG. 1 is a block diagram illustrating an electronic device in a network environment according to various embodiments.

[0009] FIG. 2 is a block diagram illustrating a camera module according to various embodiments.

[0010] FIG. 3 is a block diagram illustrating the configuration of an electronic device according to one embodiment.

[0011] FIG. 4 is a drawing for explaining the components of an electronic device according to one embodiment.

[0012] FIG. 5 is a drawing for explaining an image analysis module of an electronic device according to one embodiment.

[0013] FIG. 6 is a diagram illustrating an artificial intelligence model used by an image analysis module of an electronic device according to one embodiment.

[0014] FIG. 7 is a drawing for explaining a rendering module of an electronic device according to one embodiment.

[0015] FIG. 8 is a flowchart of the operation of an electronic device according to one embodiment.

[0016] FIG. 9a is a diagram illustrating the operation of receiving user input to set an electronic device according to one embodiment to acquire an image in a log format.

[0017] FIG. 9b is a diagram illustrating the operation of receiving user input to set an electronic device according to one embodiment to display a color-adjusted preview image.

[0018] FIG. 9c is a diagram illustrating the operation of an electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together.

[0019] FIG. 9d is a diagram illustrating the operation of an electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together.

[0020] FIG. 9e is a diagram illustrating the operation of an electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together.

[0021] FIG. 9f is a diagram illustrating the operation of an electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together.

[0022] FIG. 9g is a diagram illustrating the operation of a foldable electronic device according to one embodiment displaying a preview image in log format and a color-adjusted preview image together.

[0023] FIG. 9h is a diagram illustrating the operation of a foldable electronic device according to one embodiment displaying a preview image in log format and a color-adjusted preview image together.

[0024] FIG. 9i is a diagram illustrating the operation of a foldable electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together.

[0025] FIG. 9j is a diagram illustrating the operation of a foldable electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together.

[0026] FIG. 10 is a flowchart of the operation of an electronic device according to one embodiment.

[0027] FIG. 11a is a diagram illustrating the operation of receiving user input for adjusting an area where a log format preview image and a color-adjusted preview image are displayed in an electronic device according to one embodiment.

[0028] FIG. 11b is a diagram illustrating the operation of an electronic device according to one embodiment receiving user input to adjust an area where a log format preview image and a color-adjusted preview image are displayed.

[0029] FIG. 11c is a diagram illustrating the operation of an electronic device according to one embodiment receiving user input to adjust the area where a log format preview image and a color-adjusted preview image are displayed.

[0030] FIG. 12 is a flowchart of the operation of an electronic device according to one embodiment.

[0031] FIG. 13 is a flowchart of the operation of an electronic device according to one embodiment.

[0032] An electronic device can acquire images through a camera module. To ensure a wide dynamic range for the images acquired from the camera module, the electronic device can generate images in a log format. For example, the electronic device can generate a log format image in which a large amount of data is allocated to dark input signal levels and a small amount of data is allocated to bright input signal levels.

[0033] The technical problems intended to be solved in this document are not limited to those mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art to which this disclosure belongs from the description in this disclosure.

[0034] Hereinafter, embodiments are described in detail with reference to the attached drawings so that those skilled in the art can easily implement the present disclosure. However, the disclosed embodiments may be implemented in various different forms and are not limited to the embodiments described herein.

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

[0036] The processor (120) can control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) by executing software (e.g., a program (140)) and can perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (120) can store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in volatile memory (132), process the commands or data stored in volatile memory (132), and store the resulting data in 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) that can operate independently or together with it (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device (101) includes a main processor (121) and an 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 designated function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as part thereof.

[0037] The auxiliary processor (123) may control at least some of the functions or states associated with at least one component of the electronic device (101) (e.g., display module (160), sensor module (176), or communication module (190)) 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. According to one embodiment, the auxiliary processor (123) (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module (180) or communication module (190)). According to one embodiment, the auxiliary processor (123) (e.g., neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or through a separate server (e.g., server (108)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers.An artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may include a software structure, either additionally or substantially.

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

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

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

[0041] The sound output module (65) can output a sound signal to the outside of the electronic device (101). The sound output module (65) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback. The receiver may be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part thereof.

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

[0043] The audio module (170) can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (60) or output sound through the sound output module (65) or an external electronic device (e.g., electronic device (102)) (e.g., a speaker or headphones) that is directly or wirelessly connected to the electronic device (101).

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

[0045] The interface (177) may support one or more specified protocols that can be used for the electronic device (101) to be connected directly or wirelessly to an external electronic device (e.g., electronic device (102)). According to 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.

[0046] The connection terminal (178) may include a connector through which the electronic device (101) can 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).

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

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

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

[0050] The battery (189) can supply power to at least one component of the electronic device (101). According to one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0051] The communication module (190) can support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between an 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 include one or more communication processors that operate independently of the processor (120) (e.g., application processor) and 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., cellular communication module, short-range wireless communication module, or GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., LAN (local area network) communication module, or power line communication module). The corresponding communication module among these communication modules can communicate with an external electronic device (104) through a first network (198) (e.g., a short-range communication network such as Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) 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 may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) using subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module (196).

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

[0053] An antenna module (197) can transmit a signal or power to or from an external source (e.g., an external electronic device). According to one embodiment, the antenna module (197) may include an antenna comprising a radiator made of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) may include a plurality of antennas (e.g., array antennas). In this case, at least one antenna suitable for a communication method used in a communication network, such as a first network (198) or a second network (199), may be selected from the plurality of antennas, for example, by a communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, other components (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module (197).

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

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

[0056] According to one embodiment, commands or data may be transmitted or received between an electronic device (101) and an external electronic device (104) through 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 performed on the electronic device (101) may be performed on one or more of the external electronic devices (102, 104, or 108). For example, if the electronic device (101) needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device (101) may request one or more external electronic devices to perform at least part of the function or service instead of performing the function or service itself or additionally. One or more external electronic devices that receive the above request may execute at least part of the requested function or service, or additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may provide the result as is or additionally processed as at least part of the response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (101) may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In one embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server using machine learning and / or neural networks. According to one embodiment, the external electronic device (104) or the server (108) may be included within a 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.

[0057] FIG. 2 is a block diagram relating to an electronic device (101) including a camera module (180) according to various embodiments. The electronic device (101) of FIG. 2 may correspond to the electronic device (101) described with reference to FIG. 1. 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).

[0058] The lens assembly (210) can collect light emitted from a subject that is the subject of image capture. The lens assembly (210) may include one or more lenses.

[0059] 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 different from the lens properties of other lens assemblies. The lens assembly (210) may include, for example, a wide-angle lens or a telephoto lens.

[0060] The flash (220) may emit light used to enhance light emitted or reflected from a subject. According to one embodiment, the flash (220) may include one or more light-emitting diodes (e.g., RGB (red-green-blue) LED, white LED, infrared LED, or ultraviolet LED), or a xenon lamp.

[0061] 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) may include, for example, one image sensor selected from image sensors with different attributes such as an RGB sensor, a BW (black and white) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same attribute, or a plurality of image sensors having different attributes. Each image sensor included in the image sensor (230) may be implemented using, for example, a CCD (charged coupled device) sensor or a CMOS (complementary metal oxide semiconductor) sensor.

[0062] The image stabilizer (240) can move at least one lens or image sensor (230) included in the lens assembly (210) in a specific direction in response to the movement of the camera module (180) or the electronic device (101) including it, or control the operational characteristics of the image sensor (230) (e.g., adjusting read-out timing). This allows for compensating for at least some of the negative effects caused by the movement on the image being captured.

[0063] According to one embodiment, the image stabilizer (240) can detect the movement of the camera module (180) or the electronic device (101) using a gyroscope sensor (not shown) or an accelerometer sensor (not shown) placed inside or outside the camera module (180). For example, the image stabilizer (240) may be implemented as an optical image stabilizer.

[0064] The memory (250) may temporarily store at least a portion of the image acquired through the image sensor (230) for the next image processing operation. For example, if image acquisition by the shutter is delayed or multiple images are acquired at high speed, the acquired original image (e.g., a Bayer-patterned image or a high-resolution image) is stored in the memory (250), and the corresponding copy image (e.g., a low-resolution image) can be previewed through the display module (160). Subsequently, when a specified condition is satisfied (e.g., user input or system command), at least a portion of the original image stored in the memory (250) may be acquired and processed by, for example, an image signal processor (260). According to one embodiment, the memory (250) may be configured as at least a portion of the memory (130) or as a separate memory that operates independently thereof.

[0065] According to one embodiment, the memory (250) can store images acquired and output as preview images at least temporarily. The preview image may include an image provided by an electronic device (101) that allows the user to check the location, lighting, or composition of the object to be photographed so that the user can acquire the desired image.

[0066] The image signal processor (260) can perform one or more image processing operations on an image obtained through the image sensor (230) or an image stored in memory (250). The above one or more image processing methods may include, for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softing). Additionally or generally, the image signal processor (260) may perform control (e.g., exposure time control, or readout timing control, etc.) over at least one of the components included in the camera module (180) (e.g., image sensor (230)). The image processed by the image signal processor (260) may be stored back in 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)). According to one embodiment, the image signal processor (260) is at least part of the processor (120). It may be configured as a separate processor that operates independently of 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 additional image processing by the processor (120).

[0067] According to one embodiment, the electronic device (101) may include a plurality of camera modules (180) each having different attributes or functions. For example, among the plurality of camera modules (180), at least one may be a wide-angle camera and at least another may be a telephoto camera. Similarly, among the plurality of camera modules (180), at least one may be a front camera and at least another may be a rear camera.

[0068] FIG. 3 is a block diagram illustrating the configuration of an electronic device (101) according to one embodiment.

[0069] Referring to FIG. 3, an electronic device (101) according to one embodiment may include a camera module (380), a memory (330), and a processor (320). An electronic device (101) according to one embodiment may further include a display (360). The display (360) may be replaced by an external display connected to the electronic device (101). The electronic device (101), processor (320), memory (330), camera module (380), and display (360) may correspond to the electronic device (101), processor (120), memory (130), camera module (180), and display module (160) described above with reference to FIG. 1 and FIG. 2, respectively. However, the components of the electronic device (101) shown in FIG. 3 are for the purpose of explaining one embodiment, and the electronic device (101) may include more components than those shown in FIG. 3, or may include other components that can replace at least some of the components. For example, the memory (330) is not limited to a storage medium included in the electronic device (101) and may include a cloud storage outside the electronic device (101).

[0070] According to one embodiment, the camera module (380) may include a lens unit (381) (e.g., lens assembly (210) of FIG. 2) comprising at least one lens for collecting light, and an image sensor (383) (e.g., image sensor (230) of FIG. 2) for converting a light signal passing through the lens unit (381) into a digital signal.

[0071] The image sensor (383) may include a color filter comprising a plurality of light-receiving elements, a plurality of micro-lenses, and a plurality of color channels. The plurality of light-receiving elements may include photodiodes arranged in an array having M rows and N columns to correspond to one micro-lens. Here, M and N may each be natural numbers greater than or equal to 1.

[0072] The color filter included in the image sensor (383) may be composed of a non-Bayer pattern (e.g., a tetra pattern, a nona pattern, a hexadeca pattern). The colors of the element groups of the color filter composed of a non-Bayer pattern may be matched to correspond to the Bayer pattern.

[0073] According to one embodiment, the image sensor (383) can output an image signal (e.g., raw image data) composed of a non-Bayer pattern. For example, the image sensor (383), which includes a color filter composed of a non-Bayer pattern, can output an image signal composed of a non-Bayer pattern by determining a pixel value using the output value of a light-receiving element corresponding to an element. The image signal output from the image sensor (383) may be data in which the color pattern is maintained, as the color order of the color pattern of the image sensor (383) is not changed.

[0074] According to one embodiment, the image sensor (383) can output an image signal (e.g., raw image data) composed of a Bayer pattern. For example, the image sensor (383) including a color filter composed of a non-Bayer pattern can output an image signal composed of a Bayer pattern by binning the output values ​​of light-receiving elements corresponding to the element groups constituting the color filter.

[0075] According to one embodiment, the image sensor (383) may operate in a high-resolution mode or a crop mode. The high-resolution mode may include a mode in which each of the output values ​​of the light-receiving elements included in the image sensor (383) is used as the pixel value of a pixel corresponding to each of the light-receiving elements. In the present disclosure, the term "pixel" may mean the smallest unit constituting a digital image. The resolution of an image may be expressed as the number of pixels included in the image. For example, if an image consists of axb pixels arranged in a row and b columns, the resolution of the image may be indicated as axb. For example, an electronic device (101) may acquire high-resolution image data by using an image sensor (383) composed of 50 Mp light-receiving elements and using each of the output values ​​of the 50 Mp light-receiving elements as the pixel value of each of the pixels corresponding to the light-receiving elements. The high-resolution mode may be understood as a full pixel mode.

[0076] The crop mode may include a mode in which the output values ​​of a predetermined number of light-receiving elements (for example, a predetermined number of light-receiving elements located in the center of the image sensor) among the light-receiving elements are used as pixel values. The electronic device (101) can acquire an image with a narrowed field of view (FOV) through the crop mode and can provide the user with an experience similar to that of a zoom-in function. For example, when the electronic device (101) operates in a crop mode in which the output values ​​of 12.5 Mp light-receiving elements located in the center of an image sensor (383) composed of 50 Mp light-receiving elements are used as pixel values, the user can be provided with an experience similar to that of a 2x zoom-in function.

[0077] According to one embodiment, the image sensor (383) may operate in a low-light mode or a multi-frame composite mode. The low-light mode may include a mode in which the pixel values ​​of a first pixel corresponding to the first light-receiving elements are used based on values ​​output from first light-receiving elements corresponding to elements of a color filter matched to the same color of the light-receiving elements included in the image sensor (383). The multi-frame composite mode may include a mode in which the image sensor (383) acquires a plurality of frames in which there is a difference in exposure values.

[0078] According to one embodiment, the memory (330) can store instructions that can be executed by the processor (320). By executing the instructions stored in the memory (330), the processor (320) can perform operations or control components of the electronic device (101).

[0079] In the present disclosure, the operation of the electronic device (101) may be understood as being performed by at least one processor (320) executing instructions. According to one embodiment, the processor (320) may include at least one of an application processor (AP), a central processing unit (CPU), an image signal processor (ISP) (e.g., the image signal processor (260) of FIG. 2), a graphical processing unit (GPU), or a neural processing unit (NPU). For example, at least one processor (320) may include an application processor. At least one processor (320) may acquire image data based on an image frame containing information read out from an image sensor (383).

[0080] According to one embodiment, at least one processor (320) can control a camera module (380) by executing a camera application. For example, the processor (320) can initiate the operation of the camera module (380) through the camera application. For example, the processor (320) can provide a request to the camera module (380) through the camera application for the acquisition of at least one frame (e.g., a frame for preview, a frame for capture). For example, the processor (320) can acquire one or more frames through the camera application. For example, the processor (320) can identify user input received through the camera application (e.g., user input regarding the acquisition of a capture image). For example, the capture image may include an image in which one or more preset operations are applied to an image signal acquired by the camera module (380). For example, the captured image may include an image to which at least one operation has been applied, such as demosaicing, white balance, contrast, saturation value adjustment, gamma correction, color correction, sharpening, noise removal, tone mapping, and edge enhancement. For example, the processor (320) may acquire image data (e.g., preview image data, draft image data, captured image data, video data) through a camera application. For example, the processor (320) may display the acquired image data using a display (360).

[0081] According to one embodiment, at least one processor (320) can transmit a control signal to an image sensor (383) to perform a read operation. For example, at least one processor (320) can transmit the control signal based on a specified communication method (e.g., I2C (inter-integrated circuit), I3C (improved inter-integrated circuit)). At least one processor (320) can acquire image data output from the image sensor (383). The image data may include image frames. For example, at least one processor (320) can receive image data through an interface connected to the image sensor (383) (e.g., MIPI (mobile industry processor interface)).

[0082] According to one embodiment, at least one processor (320) can control an image sensor (383) to acquire an image corresponding to a user input. The processor (320) can control the image sensor (383) to operate based on a selected shooting mode. For example, the image sensor (383) can output an image signal (e.g., raw image data) by reading out each output of a light receiving element constituting the image sensor (383) based on a first shooting mode (e.g., high-resolution shooting mode) so that each output corresponds to a pixel corresponding to each of the light receiving elements. For example, the image sensor (383) can output an image signal (e.g., raw image data) by reading out each output of a predetermined number of first light receiving elements among a plurality of light receiving elements based on a second shooting mode (e.g., crop shooting mode) so that each output corresponds to a pixel corresponding to each of the first light receiving elements. For example, the image sensor (383) can output an image signal (e.g., raw image data) by reading out a first group of light-receiving elements based on a third shooting mode (e.g., low-light shooting mode) such that the output of the first group corresponds to a first pixel corresponding to the first group. For example, the image sensor (383) can output a short exposure image signal and a long exposure image signal by controlling the exposure time of the image sensor (383) based on a fourth shooting mode (e.g., HDR shooting mode) so that there is a preset difference in exposure.

[0083] According to one embodiment, at least one processor (320) can acquire image data by performing operations on an image signal (e.g., raw image data) output from an image sensor (383). For example, the processor (320) can perform at least one operation on the image signal (e.g., demosaicing (or Bayer interpolation), an operation to adjust white balance, contrast, and saturation values, gamma correction, brightness correction, color correction, sharpening, noise removal, tone mapping, edge enhancement).

[0084] For example, the processor (320) can generate a second image signal (for example, raw image data composed of a Bayer pattern) by performing remosaicing on a first image signal output from an image sensor (383) (for example, raw image data composed of a non-Bayer pattern). For example, the processor (320) can perform at least one operation (for example, demosaicing, operation to adjust white balance, contrast, and saturation values, gamma correction, brightness correction, color correction, sharpening, noise removal, tone mapping, edge enhancement) by inputting the image signal output from the image sensor (383) to an image signal processor (for example, the image signal processor (260) of FIG. 2). The processor (320) can store the generated image data in memory (330).

[0085] For example, the processor (320) can identify objects included in an image using an image signal. For example, the processor (320) can identify objects included in an image by performing an object recognition operation on the image signal. For example, the processor (320) can identify a main object and a sub-object among the objects included in the image. For example, the processor (320) can identify a face included in an image by performing face recognition.

[0086] According to one embodiment, at least one processor (320) can initiate the operation of a camera module (380). For example, the processor (320) can initiate the operation of the camera module (380) by providing a control signal to a hardware abstraction layer (HAL) that includes the identification of the camera and a command to initiate the operation of the camera.

[0087] According to one embodiment, at least one processor (320) can acquire one or more frames. For example, the processor (320) can acquire one or more frames by controlling the camera module (380) through a request to acquire frames. For example, the processor (320) can acquire a preview frame composed of a Bayer pattern. For example, the processor (320) can acquire a capture frame composed of a non-Bayer pattern.

[0088] According to one embodiment, at least one processor (320) can convert a first image signal composed of a first color pattern (e.g., a non-Bayer pattern) into a second image signal composed of a second color pattern (e.g., a Bayer pattern). For example, the processor (320) can convert the first image signal into a second image signal by remosaicizing the first image signal. For example, the processor (320) can convert the first image signal into a second image signal by binning the first image signal. For example, the processor (320) can control the operation unit (e.g., the operation unit (417) of FIG. 4) of the image sensor (383) to convert the first image signal into a second image signal.

[0089] According to one embodiment, at least one processor (320) can identify received user input. For example, the processor (320) can identify user input changing a shooting mode (e.g., high resolution mode, crop mode, low light mode, multi-frame composite mode, still image shooting mode, video shooting mode). For example, the processor (320) can identify user input regarding the acquisition of still images and / or videos. For example, the processor (320) can identify user input requesting the acquisition of a multi-frame composite image.

[0090] According to one embodiment, at least one processor (320) can acquire preview image data. For example, the processor (320) can generate preview image data by applying an image signal composed of a Bayer pattern output from an image sensor (383) including a Bayer pattern color filter to an image signal processor (260). For example, the processor (320) can control a processing unit (e.g., the processing unit (417) of FIG. 4) of the image sensor (383) so that an image signal composed of a Bayer pattern is output by binning the output values ​​of the light receiving elements of the image sensor (383) including a color filter of a non-Bayer pattern (e.g., tetra, nonar, hexadeca). For example, the tetra pattern may be a non-Bayer pattern in which a 2x2 array of light receiving elements corresponds to a color filter of the same color. For example, the nonar pattern may be a non-Bayer pattern in which a 3x3 array of light receiving elements corresponds to a color filter of the same color. For example, a hexadecca pattern may be a non-Bayer pattern in which a 4x4 array of light-receiving elements corresponds to a color filter of the same color.

[0091] According to one embodiment, at least one processor (320) can acquire a capture image. For example, the processor (320) can generate a capture image by performing at least one operation (e.g., demosaicing, white balance, contrast, saturation value adjustment operation, gamma correction, color correction, sharpening, noise removal, tone mapping, edge enhancement) on a first image signal composed of a non-Bayer pattern output from an image sensor (383). For example, the processor (320) can generate a capture image by performing an operation on an image signal of a frame composed of a non-Bayer pattern based on a high-resolution mode. For example, the processor (320) can generate a capture image by performing an operation on an image signal of a frame composed of a non-Bayer pattern based on a crop mode.

[0092] According to one embodiment, at least one processor (320) can display acquired image data using a display (360). For example, the processor (320) can display at least one of preview image data and captured image data in at least a part area of ​​a camera application.

[0093] According to one embodiment, the display (360) can display one or more pieces of information through the control of at least one processor (320). For example, the display (360) can display a user interface (UI) of an electronic device. For example, the display (360) can display an execution screen of an application running on an electronic device. For example, the display (360) can display preview image data and captured image data.

[0094] FIG. 4 is a drawing for explaining components for operating an electronic device (101) according to one embodiment. The electronic device (101) of FIG. 4 may correspond to the electronic device described with reference to FIG. 1 to FIG. 3 (e.g., the electronic device (101) of FIG. 1, the electronic device (101) of FIG. 2, and the electronic device (101) of FIG. 3).

[0095] According to one embodiment, a component for operating an electronic device (101) may include a plurality of modules for performing defined functions. For example, a component of the electronic device (101) may include a camera application (410), an image analysis module (420), and a rendering module (430).

[0096] According to one embodiment, the electronic device (101) may provide a user interface using a camera application (410). For example, the electronic device (101) may display a user interface for displaying at least one setting using the camera application (410) through a display module (e.g., the display module (160) of FIG. 1). For example, the electronic device (101) may display a user interface for receiving input from a user adjusting at least one setting.

[0097] According to one embodiment, an electronic device (101) can control a camera module (e.g., the camera module (180) of FIG. 1) using a camera application (410). For example, the electronic device (101) can initiate the operation of a camera module (e.g., the camera module (180) of FIG. 1) by providing a control signal including a CameraOpen command to the camera module (e.g., the camera module (180) of FIG. 1) using the camera application (410). For example, the electronic device (101) can control the camera module (e.g., the camera module (180) of FIG. 1) to generate an image stream using the camera application (410). For example, the electronic device (101) can obtain an image stream output from a camera module (e.g., the camera module (180) of FIG. 1) by providing stream information to a camera module (e.g., the camera module (180) of FIG. 1) using a camera application (410), wherein the stream information includes at least one of the stream type, stream width, stream height, stream format, buffer usage, maximum number of buffers, stream usage, metadata, or stream combination.

[0098] According to one embodiment, an electronic device (101) can acquire an image in a log format using a camera application (410). For example, the electronic device (101) can acquire an image in a log format in response to receiving input from a user to set a log format through the camera application (410). For example, the electronic device (101) can control a camera module (e.g., the camera module (180) of FIG. 1) so that an image stream in a log format is output from the camera module (e.g., the camera module (180) of FIG. 1) based on stream information including the format of the stream set to a log format. For example, the electronic device (101) can convert a raw image stream output from the camera module (e.g., the camera module (180) of FIG. 1) into a log format.

[0099] According to one embodiment, the electronic device (101) can display a preview image through a display module (e.g., the display module (160) of FIG. 1) using a camera application (410). For example, the preview image may include an image provided by the electronic device (101) that allows the user to check the location, lighting, or composition of the target to be photographed so that the user can obtain the desired image. For example, the electronic device (101) can generate a preview image using an image stream. For example, the electronic device (101) can display an image stream generated according to the stream type, stream width, stream height, and stream format included in the stream information as a preview image. For example, the electronic device (101) can display a first preview image in a log format.

[0100] According to one embodiment, the electronic device (101) can display a second preview image generated by applying adjustment data to a log format image stream using a camera application (410). For example, the electronic device (101) can identify an area of ​​the camera application (410) where the second preview image is to be displayed (e.g., a second area). For example, the electronic device (101) can provide information regarding the area where the second preview image is to be displayed (e.g., coordinates, ratio, direction) to the rendering module (430). For example, the electronic device (101) can display the second preview image generated by the rendering module (430) through the camera application (410) based on the information regarding the area where the second preview image is to be displayed. For example, when the second preview image is generated by the rendering module (430), the electronic device (101) can display the second preview image in the second area by updating the second area of ​​the camera application (410). For example, the electronic device (101) can display a first preview image and a second preview image together using a camera application (410). For example, the electronic device (101) can display a first preview image in a first area of ​​the camera application (410) and a second preview image in a second area.

[0101] According to one embodiment, an electronic device (101) can store image data using a camera application (410). For example, the electronic device (101) can store image data obtained from an image stream output from a camera module (for example, the camera module (180) of FIG. 1) in a memory (for example, the memory (130) of FIG. 1). For example, the electronic device (101) can store first image data in a log format in the memory (130). For example, the electronic device (101) can store second image data generated by applying adjustment data to an image stream in a log format. For example, the electronic device (101) can store second image data generated by a rendering module (430) using a camera application (410). For example, the electronic device (101) can store the first image data and the second image data together. For example, the electronic device (101) can store the first image data and the second image data in memory (e.g., memory (130) of FIG. 1), respectively. For example, the electronic device (101) can store the first preview image and the second preview image displayed through the camera application (410) together in memory (e.g., memory (130) of FIG. 1).

[0102] According to one embodiment, an electronic device (101) can analyze at least one frame using an image analysis module (420). For example, the electronic device (101) can obtain adjustment data by inputting at least one frame included in an image stream output from a camera module (e.g., the camera module (180) of FIG. 1) to the image analysis module (420). For example, the adjustment data may include at least one of color adjustment data or white balance adjustment data. For example, the color adjustment data may include data for adjusting each color (e.g., red, blue, green) of the pixels of the image data. For example, the white balance adjustment data may include data for adjusting at least one of the color temperature or hue of the image data. For example, the adjustment data may be generated in the form of a matrix. For example, the adjustment data may be included in a look-up table.

[0103] According to one embodiment, the image analysis module (420) may include an artificial intelligence neural network model (421). For example, the artificial intelligence neural network model (421) may be trained to output adjustment data in response to at least one frame being input. For example, the artificial intelligence neural network model (421) may output adjustment data by analyzing the pixel values ​​of at least one input frame. For example, the artificial intelligence neural network model (421) may be implemented as a neural network such as 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 thereto. For example, the artificial intelligence neural network model (421) may be implemented as a hardware structure. For example, the artificial intelligence neural network model (421) may be implemented as a software algorithm.

[0104] According to one embodiment, the electronic device (101) can obtain a color-adjusted image using a rendering module (430). For example, the electronic device (101) can obtain an image in which at least one of the color and white balance is adjusted by applying at least one adjustment data to an image stream using the rendering module (430).

[0105] According to one embodiment, the electronic device (101) can perform at least one operation on an image stream using a rendering module (430). For example, the electronic device (101) can perform a delog operation on a log format image stream using the rendering module (430). For example, the electronic device (101) can convert the color space of the image stream using the rendering module.

[0106] According to one embodiment, the electronic device (101) can determine adjustment data to be applied to an image stream using a rendering module (430). For example, the electronic device (101) can determine to apply adjustment data output from an image analysis module (420) to the image stream. For example, the electronic device (101) can determine to apply preset adjustment data to the image stream. For example, the electronic device (101) can determine to apply adjustment data selected by a user to the image stream. For example, the electronic device (101) can download adjustment data and apply it to the image stream.

[0107] According to one embodiment, the electronic device (101) can render an image stream to which adjustment data is applied using a rendering module (430). For example, the electronic device (101) can render an image stream to generate image data corresponding to a set resolution, frame rate, and format using the rendering module (430). For example, the electronic device (101) can render an image stream based on information regarding a second area of ​​a camera application (410) (e.g., coordinates, ratio, direction). For example, the electronic device (101) can render a portion of the frame of the image stream that corresponds to the second area of ​​the camera application (410). For example, the electronic device (101) can display the image data generated by the rendering module (430) in the second area of ​​the camera application (410). For example, the electronic device (101) can store the image data generated by the rendering module (430) in a memory (e.g., the memory (130) of FIG. 1).

[0108] FIG. 5 is a drawing for explaining an image analysis module (420) of an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment. The image analysis module (420) of FIG. 5 may correspond to the image analysis module (420) described with reference to FIG. 4.

[0109] According to one embodiment, the image analysis module (420) may include a plurality of modules for performing defined functions. For example, the image analysis module (420) may include, but is not limited to, a color analysis module (510), a white balance analysis module (520), and / or an adjustment data generation module (530). The image analysis module (420) may be composed of more modules or fewer modules to perform defined functions. The image analysis module (420) and the modules constituting the image analysis module (420) may be logical modules implemented in software.

[0110] According to one embodiment, when the electronic device includes a plurality of cameras, the image analysis module (420) can analyze the frames acquired by each of the plurality of cameras.

[0111] According to one embodiment, an electronic device can analyze the color of at least one frame input to an image analysis module (420) using a color analysis module (510). For example, the electronic device can analyze the color of at least one frame input to the image analysis module (420) in response to at least one frame of an image stream output from a camera module (e.g., the camera module (180) of FIG. 1). For example, the electronic device can analyze pixel values ​​by color channel from the pixels of the frame using the color analysis module (510). For example, the electronic device can analyze a color histogram obtained from the pixel values ​​of the frame using the color analysis module (510). For example, the electronic device can analyze the brightness of the frame using the color analysis module (510). For example, the electronic device can analyze the saturation of the frame by color channel using the color analysis module (510). For example, the electronic device can analyze the contrast value of the frame using the color analysis module (510). According to one embodiment, the electronic device can analyze the color of at least one frame input to the image analysis module (420) using an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4). For example, the electronic device can analyze the color of a frame by applying at least one frame input to the image analysis module (420) by the color analysis module (510) to the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4). For example, the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to analyze the color of an input image and output color adjustment data.

[0112] According to one embodiment, the electronic device can obtain the color channel values ​​of a first frame input to the image analysis module (420) using a color analysis module (510). For example, the electronic device can obtain the values ​​of the color channels of the first frame as ratio values ​​between 0 and 1 as in Equation 1 using the color analysis module (510).

[0113]

[0114] According to one embodiment, the electronic device can identify the distribution of red, green, and blue in the first frame by analyzing the color channel values ​​of the pixels of the first frame using a color analysis module (510). The electronic device can obtain color adjustment data based on the distribution of red, green, and blue in the first frame. For example, the electronic device can obtain color adjustment data in the form of a matrix using the color analysis module (510). For example, the electronic device can obtain color adjustment data such as Equation 2 output from the artificial intelligence neural network model (for example, the artificial intelligence neural network model (421) of FIG. 4) by applying the first frame to the artificial intelligence neural network model (for example, the artificial intelligence neural network model (421) of FIG. 4) through the color analysis module (510).

[0115]

[0116] In Equation 2, m11 may be data for adjusting the first red pixel value to obtain the second red pixel value. m12 may be data for adjusting the first green pixel value to obtain the second red pixel value. m13 may be data for adjusting the first blue pixel value to obtain the second red pixel value. m21 may be data for adjusting the first red pixel value to obtain the second green pixel value. m22 may be data for adjusting the first green pixel value to obtain the second green pixel value. m23 may be data for adjusting the first blue pixel value to obtain the second green pixel value. m31 may be data for adjusting the first red pixel value to obtain the second blue pixel value. m32 may be data for adjusting the first green pixel value to obtain the second blue pixel value. m33 may be data for adjusting the first blue pixel value to obtain the second blue pixel value. The first red pixel value may be the red pixel value of the frame input to the image analysis module (420). The first green pixel value may be the green pixel value of the frame input to the image analysis module (420). The first blue pixel value may be the blue pixel value of the frame input to the image analysis module (420). The second red pixel value may be the red pixel value of the frame whose color has been adjusted by the image analysis module (420). The second green pixel value may be the green pixel value of the frame whose color has been adjusted by the image analysis module (420). The second blue pixel value may be the blue pixel value of the frame whose color has been adjusted by the image analysis module (420).

[0117] For example, the electronic device can obtain color adjustment data as shown in Equation 3 to emphasize the overall color, but emphasize blue and red more than green, based on the distribution of red, green, and blue in the first frame.

[0118]

[0119] For example, if the electronic device includes multiple cameras, the electronic device can acquire color adjustment data corresponding to the frames acquired by each of the multiple cameras.

[0120] According to one embodiment, the electronic device can apply color adjustment data obtained through the color analysis module (510) to the color channel values ​​of the first frame. For example, the electronic device can obtain a color-adjusted frame by applying the color adjustment data to the color channel values ​​of the first frame as in Equation 4.

[0121]

[0122] For example, an electronic device can obtain an adjusted color channel value as in Equation 5 by applying color adjustment data obtained as in Equation 3 to a color channel value obtained as in Equation 1, as in Equation 4.

[0123]

[0124] According to one embodiment, the electronic device can obtain a first frame with adjusted color using an adjustment data generation module (530). For example, the electronic device can obtain a first frame with adjusted color by providing the color adjustment data and the first frame obtained through the color analysis module (510) to the adjustment data generation module (530).

[0125] According to one embodiment, the electronic device may provide color adjustment data obtained through the color analysis module (510) to the adjustment data generation module (530). For example, the electronic device may obtain adjustment data including at least one of color adjustment data or white balance adjustment data using the adjustment data generation module (530). For example, if the electronic device includes a plurality of cameras, the electronic device may obtain adjustment data for each of the plurality of cameras.

[0126] According to one embodiment, the electronic device can analyze the white balance of at least one frame input to the image analysis module (420) using a white balance analysis module (520). For example, the electronic device can analyze the white balance of the first frame in response to the first frame of an image stream output from a camera module (e.g., the camera module (180) of FIG. 1) being input to the image analysis module (420). For example, the electronic device can analyze the white balance of the first frame by analyzing the bright and dark parts of the first frame using the white balance analysis module (520). For example, if the electronic device includes a plurality of cameras, the electronic device can analyze the white balance of frames acquired by each of the plurality of cameras.

[0127] According to one embodiment, the electronic device can identify the gray value of a frame using a white balance analysis module (520). For example, the electronic device can identify the gray value from the average of the pixel values ​​of a first frame. For example, the electronic device can identify the gray value from the average of the pixel values ​​of an edge region included in the first frame. For example, the electronic device can identify the gray value from the average of the pixel values ​​of a gray candidate pixel region identified from the first frame. For example, the electronic device can identify the gray candidate pixel region by extracting and analyzing brightness, lighting, and object reflection color information of the first frame.

[0128] According to one embodiment, the electronic device can identify the average gray value of a frame from the pixel values ​​of a first frame using a white balance analysis module (520). For example, the electronic device can obtain the average gray value of the pixel values ​​of a first frame as in Equation 6 using the white balance analysis module (520).

[0129]

[0130] In mathematical equation 4, Gray avg may be the average gray value of the first frame. R may be the red pixel value of the first frame. G may be the green pixel value of the first frame. B may be the blue pixel value of the first frame.

[0131] For example, the electronic device can obtain an average gray value as in Equation 7 by applying the color channel value of the first frame obtained through Equation 5 to Equation 6.

[0132]

[0133] According to one embodiment, the electronic device can obtain white balance adjustment data for adjusting the white balance of a first frame based on an average gray value using a white balance analysis module (520). For example, the electronic device can obtain white balance adjustment data as in Equation 8.

[0134]

[0135] For example, the electronic device can obtain white balance adjustment data as in Equation 9 by applying the color channel value of the first frame obtained through Equation 5 and the average gray value of the first frame obtained through Equation 7 to Equation 8.

[0136]

[0137] According to one embodiment, an electronic device can obtain a first frame with adjusted white balance by applying white balance adjustment data to the color channel value of a first frame. For example, the electronic device can obtain the color channel value of a first frame with adjusted white balance by applying white balance adjustment data to the color channel value of a first frame as in Equation 10.

[0138]

[0139] For example, an electronic device can obtain an adjusted color channel value as in Equation 11 by applying white balance adjustment data obtained as in Equation 9 to Equation 10 for a color channel value obtained as in Equation 5.

[0140]

[0141] For example, if the electronic device includes multiple cameras, the electronic device can obtain adjusted color channel values ​​based on frames acquired by each of the multiple cameras.

[0142] According to one embodiment, the electronic device can obtain a first frame with adjusted white balance using an adjustment data generation module (530). For example, the electronic device can obtain a first frame with adjusted white balance by providing the white balance adjustment data and the first frame obtained through the white balance analysis module (520) to the adjustment data generation module (530).

[0143] According to one embodiment, the electronic device may provide white balance adjustment data obtained through the white balance analysis module (520) to the adjustment data generation module (530). For example, the electronic device may obtain adjustment data including at least one of color adjustment data or white balance adjustment data using the adjustment data generation module (530). For example, if the electronic device includes a plurality of cameras, the electronic device may obtain adjustment data for each of the plurality of cameras.

[0144] According to one embodiment, the electronic device can generate adjustment data to be applied to an image stream through an adjustment data generation module (530). For example, the electronic device can generate adjustment data including at least one of color adjustment data generated from a color analysis module (510) or white balance adjustment data generated from a white balance analysis module (520). For example, if the electronic device includes a plurality of cameras, the electronic device can generate adjustment data for each of the plurality of cameras.

[0145] According to one embodiment, the electronic device can generate adjustment data into a look-up table (LUT) using an adjustment data generation module (530). For example, if the electronic device includes a plurality of cameras, the electronic device can obtain adjustment data for each of the plurality of cameras as a look-up table.

[0146] For example, an electronic device can generate adjustment data as a one-dimensional lookup table as shown in Equation 12. For example, the electronic device can generate a one-dimensional lookup table by mapping one output value to each input value. For example, the electronic device can generate a one-dimensional lookup table in which 256 output values ​​are mapped to 256 input values.

[0147]

[0148] In mathematical formula 12, LUT 1d is a one-dimensional lookup table, and R_scale can be a red adjustment value, G_scale can be a green adjustment value, and B_scale can be a blue adjustment value.

[0149] For example, an electronic device can generate adjustment data as a 3D LUT as in Equation 13. For example, an electronic device can generate a 3D lookup table by mapping one output value to the input values ​​of color channels. For example, an electronic device can generate a 3D lookup table of a 16 x 16 x 16 array in which 16 input values ​​per color channel are mapped to 16 output values.

[0150]

[0151] In mathematical formula 13, LUT 3d is a 3D lookup table of an mxn array (m and n are each natural numbers greater than or equal to 1), R''mn is the red adjustment value of a pixel in m rows and n columns, G''mn is the green adjustment value of a pixel in m rows and n columns, and B''mn is the blue adjustment value of a pixel in m rows and n columns.

[0152] According to one embodiment, the electronic device can generate adjustment data by applying a first frame to an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) through an adjustment data generation module (530). For example, the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to output adjustment data for adjusting at least one of the color or white balance of the first frame by analyzing the color and white balance of the first frame input to the image analysis module (420). For example, if the electronic device includes a plurality of cameras, the electronic device can obtain adjustment data for each of the plurality of cameras by applying the frames acquired by each of the plurality of cameras to the artificial intelligence neural network model.

[0153] According to one embodiment, an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to dynamically output adjustment data. For example, the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to output adjustment data corresponding to each of the input frames. For example, the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to output adjustment data when the change is large by analyzing the change in the input frames (e.g., change in brightness, change in contrast, change in histogram, change in object).

[0154] According to one embodiment, the electronic device may provide adjustment data generated through the adjustment data generation module (530) to a rendering module (e.g., the rendering module (430) of FIG. 4). For example, the electronic device may obtain a color-adjusted image stream by applying the adjustment data to an image stream using the rendering module (e.g., the rendering module (430) of FIG. 4). For example, if the electronic device includes a plurality of cameras, the electronic device may apply the adjustment data to an image stream obtained by a first camera set as the main camera by a camera application. For example, the electronic device may apply the adjustment data to an image stream obtained by a second camera in response to receiving input from a user to change the main camera to a second camera. For example, the electronic device may apply first adjustment data obtained based on an image obtained by the second camera to an image stream obtained by the second camera. For example, the electronic device may apply second adjustment data obtained based on an image obtained by the first camera to an image stream obtained by the second camera. For example, the electronic device can acquire third adjustment data by modifying second adjustment data acquired based on an image acquired by a first camera based on an image acquired by a second camera, and apply the third adjustment data to an image stream acquired by the second camera.

[0155] FIG. 6 is a diagram illustrating an artificial intelligence model used by an image analysis module of an electronic device according to one embodiment. The artificial intelligence neural network model (610) of FIG. 6 may correspond to the artificial intelligence neural network model (421) described with reference to FIG. 4. The artificial intelligence neural network model (610) of FIG. 6 may include a plurality of artificial intelligence neural network models, each having a different function.

[0156] According to one embodiment, the artificial intelligence neural network model (610) can be built in an electronic device (e.g., the electronic device (101) of FIG. 1, the electronic device (101) of FIG. 2, and the electronic device (101) of FIG. 3). For example, the artificial intelligence neural network model (610) can be implemented as a hardware structure. For example, the artificial intelligence neural network model (610) can be implemented as a software algorithm.

[0157] According to one embodiment, the artificial intelligence neural network model (610) may be an artificial neural network model written in a specified language and comprising a plurality of layers and / or operations (or computations). For example, the artificial intelligence neural network model (610) may include a deep learning model that performs an action for a specific purpose based on the results of learning from training data. For example, the artificial intelligence neural network model (610) may include at least one of various types of neural network models such as CNN (Convolutional Neural Network), R-CNN (Region with Convolutional Neural Network), RPN (Region Proposal Network), RNN (Recurrent Neural Network), S-DNN (Stacking-based Deep Neural Network), S-SDNN (State-Space Dynamic Neural Network), Deconvolution Network, DBN (Deep Belief Network), RBM (Restricted Boltzmann Machine), Fully Convolutional Network, LSTM (Long Short-Term Memory) Network, vision transformer, diffusion, GAN (Generative Adversarial Network), or Classification Network.

[0158] According to one embodiment, the weights of the artificial intelligence neural network model (610) may be updated by performing forward propagation using training data (620). For example, the weights of the artificial intelligence neural network model (610) may be updated by using log format images taken in various lighting environments as training data (620). For example, the weights of the artificial intelligence neural network model (610) may be updated by using log format images with various color combinations as training data (620).

[0159] According to one embodiment, the artificial intelligence model (610) may have its weights updated by performing back propagation using verification data. For example, the artificial intelligence neural network model (610) may have its weights updated by using images in which at least one of color or white balance has been adjusted for images in log format as verification data.

[0160] According to one embodiment, the artificial intelligence neural network model (610) may be trained to output adjustment data as output data (640) in response to at least one frame being input as input data (630). For example, the artificial intelligence neural network model (610) may be trained to output adjustment data including at least one of color adjustment data or white balance adjustment data by analyzing the pixel values ​​of at least one input frame. For example, the artificial intelligence neural network model (610) may be trained to output color adjustment data by using a first image in log format as training data (620) and a second image in which the color of the first image is adjusted as verification data. For example, the artificial intelligence neural network model (610) may be trained to output white balance adjustment data by using a first image in log format as training data (620) and a second image in which the white balance of the first image is adjusted as verification data.

[0161] According to one embodiment, the artificial intelligence neural network model (610) can analyze the color of the input first frame. For example, the artificial intelligence neural network model (610) can identify pixel values ​​by color channel of the first frame and analyze the distribution. For example, the artificial intelligence neural network model (610) can analyze the color histogram of the first frame. For example, the artificial intelligence neural network model (610) can analyze the color histogram of the first frame. For example, the artificial intelligence neural network model (610) can analyze the saturation by color channel of the first frame.

[0162] According to one embodiment, the artificial intelligence neural network model (610) can output color adjustment data by analyzing the color of the input first frame. For example, the artificial intelligence neural network model (610) can output color adjustment data that adjusts each color (e.g., red, blue, green) of the pixels of the first frame. For example, the artificial intelligence neural network model (610) can output color adjustment data that adjusts each color (e.g., red, blue, green) of the pixels of the first frame. For example, the artificial intelligence neural network model (610) can output color adjustment data that enhances the tone of at least one color among the colors of the pixels of the first frame. For example, the artificial intelligence neural network model (610) can output color adjustment data that suppresses the tone of at least one color among the colors of the pixels of the first frame. For example, the artificial intelligence neural network model (610) can output color adjustment data generated in the form of a matrix. For example, the artificial intelligence neural network model (610) can output color adjustment data generated from a look-up table.

[0163] According to one embodiment, the artificial intelligence neural network model (610) can analyze the white balance of the input first frame. For example, the artificial intelligence neural network model (610) can analyze the color temperature of the first frame. For example, the artificial intelligence neural network model (610) can analyze the hue of the first frame. For example, the artificial intelligence neural network model (610) can analyze a histogram using the pixel values ​​of the first frame. For example, the artificial intelligence neural network model (610) can analyze the white balance of the first frame by analyzing the highlights and shadows of the first frame. For example, the artificial intelligence neural network model (610) can identify the average gray value using the pixel values ​​of the first frame.

[0164] According to one embodiment, the artificial intelligence neural network model (610) can output white balance adjustment data by analyzing the white balance of the input first frame. For example, the artificial intelligence neural network model (610) can output white balance adjustment data that adjusts the color temperature of the first frame. For example, the artificial intelligence neural network model (610) can output white balance adjustment data that adjusts the hue of the first frame. For example, the artificial intelligence neural network model (610) can output white balance adjustment data based on the average gray value of the first frame. For example, the artificial intelligence neural network model (610) can output white balance adjustment data obtained by dividing the average gray value by the color channel value of the first frame. For example, the artificial intelligence neural network model (610) can output white balance adjustment data generated in the form of a matrix. For example, the artificial intelligence neural network model (610) can output white balance adjustment data generated as a look-up table.

[0165] According to one embodiment, the artificial intelligence neural network model (610) may be trained to dynamically output adjustment data. For example, the artificial intelligence neural network model (610) may be trained to output adjustment data corresponding to each of the input frames. For example, the artificial intelligence neural network model (610) may be trained to output adjustment data when the change is large by analyzing the change in the input frames (e.g., change in brightness, change in contrast, change in histogram, change in object).

[0166] FIG. 7 is a drawing for explaining a rendering module (430) of an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment. The rendering module (430) of FIG. 7 may correspond to the rendering module (430) described with reference to FIG. 4.

[0167] According to one embodiment, the rendering module (430) may include a plurality of modules for performing defined functions. For example, the rendering module (430) may include, but is not limited to, a region identification module (710), a color space conversion module (720), an adjustment data selection module (730), and / or an image generation module (740). The rendering module (430) may be composed of more modules or fewer modules to perform defined functions. The rendering module (430) and the modules constituting the rendering module (430) may be logical modules implemented in software.

[0168] According to one embodiment, the electronic device can identify the area where the preview image will be displayed using an area identification module (710). For example, the electronic device can identify the area through a camera application (e.g., the camera application (410) of FIG. 4).

[0169] For example, the electronic device can identify the area where the camera application (e.g., the camera application (410) of FIG. 4) is to be displayed within the entire area of ​​the display module (e.g., the display module (160) of FIG. 1) based on information regarding the area where the camera application is to be displayed provided to the area identification module (710) from the camera application (e.g., the camera application (410) of FIG. 4).

[0170] For example, the electronic device can identify the area where the preview image set in the camera application will be displayed. For example, the electronic device can identify the area where the preview image will be displayed based on user input received through the camera application. For example, the electronic device can identify the area where the preview image will be displayed by providing information regarding the area where the preview image will be displayed (e.g., coordinates, ratio, direction) from the camera application to the area identification module (710).

[0171] For example, the electronic device can identify a first area of ​​a camera application (e.g., the camera application (410) of FIG. 4) to be displayed with a first preview image in log format. For example, the electronic device can identify the size and ratio of the first area among the areas where the camera application (e.g., the camera application (410) of FIG. 4) is displayed.

[0172] For example, the electronic device can identify a second area of ​​a camera application (e.g., the camera application (410) of FIG. 4) on which a color-adjusted second preview image is to be displayed. For example, the electronic device can identify the size and ratio of the second area among the areas on which the camera application (e.g., the camera application (410) of FIG. 4) is displayed. For example, the electronic device can identify the first area and / or the second area based on information regarding the first area and / or the second area (e.g., size, ratio, orientation of the electronic device, coordinates) provided from the camera application (e.g., the camera application (410) of FIG. 4) to the area identification module (710).

[0173] According to one embodiment, the electronic device can de-log a log format image stream using a color space conversion module (720). For example, the de-log may include image processing that converts the log format image data into linear data. For example, the electronic device can de-log by applying an inverse log function to the image stream. For example, the electronic device can apply an inverse log function such as Equation 14 to the image stream.

[0174]

[0175] In mathematical equation 14, L log may be the pixel value of the first pixel of the first frame in log format. L lin may be the pixel value of the first pixel of the second frame generated by de-logging the first frame. The first pixel of the first frame and the first pixel of the second frame may correspond. a and b may be parameters applied when generating the first frame in log format.

[0176] According to one embodiment, the electronic device can convert the color space of an image stream using a color space conversion module (720). For example, the electronic device can generate image data having a defined color space (e.g., sRGB, Rec 709) from an image stream to which an inverse logarithmic function has been applied using the color space conversion module (720).

[0177] According to one embodiment, the electronic device can change the color space of an image stream based on at least one characteristic among a display module (e.g., the display module (160) of FIG. 1) or a camera module (e.g., the camera module (180) of FIG. 1). For example, the electronic device can change the color space of the image stream to a color space that the display module (e.g., the display module (160) of FIG. 1) can output, in accordance with the characteristics of the display module (e.g., the display module (160) of FIG. 1) identified by using the profile of the display module (e.g., the display module (160) of FIG. 1). For example, the electronic device can change the color space of the image stream to a color space that the display module (e.g., the display module (160) of FIG. 1) can output to a color space that the user perceives as natural, by using the profile of the display module (e.g., the display module (160) of FIG. 1). For example, the electronic device can change the color space of the image stream to a color space that the camera module (e.g., the camera module (180) of FIG. 1) can acquire, in accordance with the characteristics of the camera module (e.g., the camera module (180) of FIG. 1) identified by using the profile of the camera module (e.g., the camera module (180) of FIG. 1), such that the user perceives the color as natural.

[0178] According to one embodiment, the electronic device can select adjustment data to be applied to an image stream using an adjustment data selection module (730).

[0179] For example, the electronic device can select pre-stored adjustment data using the adjustment data selection module (730). For example, the electronic device can select inverse-gamma adjustment data using the adjustment data selection module (730). For example, the inverse-gamma adjustment data may be pre-stored based on the profile of the display module (e.g., the display module (160) of FIG. 1). For example, the inverse-gamma adjustment data may be generated and stored at the time of shipment of the electronic device. For example, the electronic device can select adjustment data that has been pre-downloaded to memory (e.g., the memory (130) of FIG. 1). For example, the electronic device can select pre-stored adjustment data by setting values ​​by the user.

[0180] For example, the electronic device can select adjustment data generated by an adjustment data generation module (e.g., the adjustment data generation module (530) of FIG. 5). For example, the electronic device can select adjustment data generated by the adjustment data generation module (e.g., the adjustment data generation module (530) of FIG. 5) by analyzing at least one of the color or white balance of at least one frame applied to an image analysis module (e.g., the image analysis module (420) of FIG. 4).

[0181] For example, the electronic device can select multiple adjustment data. For example, the electronic device can select inverse-gamma adjustment data and adjustment data generated by an adjustment data generation module (e.g., the adjustment data generation module (530) of FIG. 5) together. For example, in response to receiving input from a user selecting at least one of the multiple adjustment data, the electronic device can select the adjustment data selected by the user together with the inverse-gamma adjustment data.

[0182] According to one embodiment, the electronic device can generate color-adjusted image data using an image generation module (740). For example, the electronic device can obtain image data by applying at least one adjustment data selected using an adjustment data selection module (730) to an image stream. For example, the electronic device can generate image data by rendering the image stream to which at least one adjustment data has been applied using the image generation module (740). For example, the electronic device can generate image data that corresponds to a set resolution, frame rate, and format.

[0183] For example, the electronic device can generate image data based on information regarding a second area of ​​a camera application (e.g., camera application (410) of FIG. 4) identified by the area identification module (710) (e.g., size, ratio, orientation of the electronic device, coordinates). For example, the electronic device can generate image data corresponding to the second area identified from the information regarding the second area. For example, the electronic device can generate image data corresponding to the size of the second area. For example, the electronic device can generate image data corresponding to the size of the second area by rendering an image stream at a set resolution and then resizing it to correspond to the size of the second area.

[0184] According to one embodiment, the electronic device may store image data generated by the image generation module (740). For example, the electronic device may store the image data in memory (e.g., memory (130) of FIG. 1). For example, the electronic device may store the image data temporarily and / or non-temporarily at the user's choice. For example, the electronic device may store the image data generated by the image generation module (740) in memory using a camera application (e.g., camera application (410) of FIG. 4).

[0185] According to one embodiment, the electronic device can display image data generated by the image generation module (740). For example, the electronic device can display image data in a second area of ​​a camera application (e.g., the camera application (410) of FIG. 4) identified by the area identification module (710). For example, the electronic device can display image data generated by the image generation module (740) by updating the area (e.g., the second area) where the preview image of the camera application is to be displayed.

[0186] According to one embodiment, an electronic device may store and / or display image data generated using an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (610) of FIG. 6). For example, the electronic device may acquire an image stream by a camera module (e.g., the camera module (180) of FIG. 1). For example, the electronic device may acquire an image stream in log format.

[0187] For example, an electronic device can analyze at least one frame included in an image stream using an artificial intelligence neural network model. For example, the electronic device can generate adjustment data by analyzing the frame using a color analysis module (e.g., the color analysis module (510) of FIG. 5) and a white balance analysis module (e.g., the white balance analysis module (520) of FIG. 5). For example, the electronic device can generate adjustment data to be applied to the image stream using an adjustment data generation module (e.g., the adjustment data generation module (510) of FIG. 5).

[0188] For example, the electronic device can generate image data with adjustment data applied based on the settings of a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device can set a function to automatically generate and display a color-adjusted preview image when acquiring a log format image stream based on user input. For example, the electronic device can automatically generate image data with adjustment data applied when acquiring a log format image stream based on a setting value.

[0189] For example, an electronic device can generate image data with adjustment data applied in response to user input received through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device can generate image data in response to receiving user input regarding a function to display a color-adjusted preview image through the interface of the camera application. For example, the electronic device can generate image data in response to receiving user input regarding a function to display a color-adjusted preview image through a button of the camera application (e.g., the second interface (930) of FIG. 9b). For example, the electronic device can generate image data with adjustment data applied in response to receiving a user gesture (e.g., touch, swipe) regarding the preview area of ​​the camera application (e.g., the preview area (910) of FIG. 9). For example, the electronic device can generate image data with adjustment data applied based on the time when user input regarding the shooting button of the camera application (e.g., the camera application (410) of FIG. 4) is received. For example, the electronic device may display a preview image in log format if user input to the shutter button is received for a period shorter than a defined time. For example, the electronic device may generate image data with adjustment data applied if user input to the shutter button is received for a period longer than a defined time.

[0190] For example, the electronic device can de-log the image stream in log format using a color space conversion module (720). For example, the electronic device can apply an inverse logarithmic function to the image stream in log format. For example, the electronic device can convert the color space of the image stream to which the inverse logarithmic function has been applied to a defined color space (e.g., sRGB, Rec709) using a color space conversion module (720).

[0191] For example, the electronic device can apply adjustment data to an image stream in which the color space has been converted. For example, the electronic device can apply adjustment data to the image stream by applying the adjustment data selected by the adjustment data selection module (730) to the image generation module (740). For example, the electronic device can apply adjustment data generated by the adjustment data generation module (e.g., the adjustment data generation module (510) of FIG. 5) to the image generation module (740). For example, the electronic device can generate image data by rendering the image stream to which the adjustment data has been applied using the image generation module (740). For example, the electronic device can generate image data that corresponds to a set resolution, frame rate, and format. For example, the electronic device can generate image data based on information regarding the area (e.g., a second area) to which a preview image provided to the area identification module (710) from a camera application (e.g., the camera application (410) of FIG. 4) will be displayed. For example, based on receiving user input regarding a function for an electronic device to display a color-adjusted preview image, information regarding an area (e.g., a second area) where the preview image is to be displayed may be provided from the camera application to the area identification module (710). For example, the electronic device may generate image data corresponding to the size of the second area. For example, the electronic device may generate image data corresponding to the size of the second area by rendering an image stream at a set resolution and then resizing it to correspond to the size of the second area. For example, the electronic device may provide the generated image data to the camera application through the image generation module (740).

[0192] For example, the electronic device can display image data generated by the image generation module (740). For example, the electronic device can display image data generated by the image generation module (740) by updating the area (e.g., the second area) where the preview image of the camera application is to be displayed.

[0193] For example, the electronic device can store image data generated by the image generation module (740). For example, the electronic device can store the image data generated by the image generation module (740) in memory (e.g., memory (130) of FIG. 1) through a camera application.

[0194] FIG. 8 is a flowchart of the operation of an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment. FIG. 8 may correspond to one embodiment of the operation of the electronic device (101) described with reference to FIG. 1. The operation of the electronic device (e.g., the electronic device (101) of FIG. 1) shown in FIG. 8 may be performed by at least one processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the processor (320) of FIG. 3) performing operations or by controlling components of the electronic device (e.g., the electronic device (101) of FIG. 1).

[0195] Referring to operation 810, an electronic device according to one embodiment can execute a camera application. For example, the electronic device can execute a camera application in response to receiving input from a user selecting a camera application.

[0196] According to one embodiment, an electronic device may provide a control signal to a camera module (e.g., the camera module (180) of FIG. 1) using a camera application. For example, the electronic device may provide a control signal to the camera module (e.g., the camera module (180) of FIG. 1) to initiate operation. For example, the electronic device may provide a control signal to the camera module (e.g., the camera module (180) of FIG. 1) to output an image signal.

[0197] According to one embodiment, an electronic device may provide an interface to a user using a camera application. For example, the electronic device may provide an interface for changing the settings of a camera module (e.g., the camera module (180) of FIG. 1) using a camera application. For example, the electronic device may provide an interface for receiving shutter input using a camera application. For example, the electronic device may provide a preview image using a camera application.

[0198] Referring to operation 820, the electronic device can identify a setting for capturing a log format image. For example, the electronic device can identify a setting value regarding the acquisition of a log format image. For example, the electronic device can identify a setting for capturing a log format image based on user input received through an interface for setting to acquire a log format image.

[0199] Referring to operation 830, the electronic device can acquire frames using a camera module. For example, the electronic device can acquire an image stream output from the camera module. The image stream may consist of frames. For example, the electronic device can acquire an image stream output from the camera module (e.g., the camera module (180) of FIG. 1) by providing the camera module with stream information that includes at least one of a set stream type, stream width, stream height, stream format, buffer usage, maximum number of buffers, stream usage, metadata, or stream combination. For example, if the electronic device includes multiple cameras, each of the multiple cameras can acquire an image stream.

[0200] Referring to operation 840, the electronic device can acquire a first preview image in a log format. For example, the preview image may include an image provided by the electronic device that allows the user to check the position, lighting, or composition of the target to be photographed so that the user can acquire the desired image. For example, the electronic device can acquire the first preview image from an image stream output from a camera module (e.g., the camera module (180) of FIG. 1). For example, the electronic device can acquire the first preview image in a log format by using a camera module that includes an image sensor capable of outputting an image stream in a log format. For example, the image signal processor (260) of the electronic device can acquire the first preview image in a log format by applying the raw image stream output from the camera module to a pipeline for log operation. For example, at least one processor of an electronic device (e.g., processor (120) of FIG. 1, processor (320) of FIG. 3) can obtain a first preview image in a log format by performing a log operation on a raw image stream output from a camera module. For example, if the electronic device includes a plurality of cameras, the electronic device can obtain a first preview image from an image stream obtained from each of the plurality of cameras.

[0201] Referring to operation 850, an electronic device according to one embodiment may display a first preview image in a first area. For example, the electronic device may identify an area among the screens included in a display module (e.g., the display module (160) of FIG. 1) where the execution screen of a camera application (e.g., the camera application (410) of FIG. 4) is to be displayed. For example, the electronic device may identify a first area among the execution screens of a camera application (e.g., the camera application (410) of FIG. 4) where a preview image is to be displayed. For example, the electronic device may identify the first area based on at least one of information regarding the size, ratio, or position of the first area. For example, the electronic device may display the first preview image in the identified first area. For example, the electronic device may display the first preview image in a log format.

[0202] According to one embodiment, operation 850 may be omitted depending on the type of electronic device (e.g., form factor). For example, if the electronic device is an XR (extended reality) device, the electronic device may not display a first preview image in log format, but instead display a second preview image obtained through operations 860 and 870. For example, if the electronic device is an XR (extended reality) device, the electronic device may display only the second preview image.

[0203] Referring to operation 860, an electronic device according to one embodiment can acquire a second preview image using adjustment data. For example, the electronic device can acquire a second preview image in response to receiving input from a user selecting to display a second preview image with adjusted colors.

[0204] According to one embodiment, the electronic device can obtain a second preview image (e.g., the second preview image (942) of FIG. 9) by performing at least one image processing on a first preview image in a log format (e.g., the first preview image (941) of FIG. 9). For example, the electronic device can de-log the first preview image in a log format (e.g., the first preview image (941) of FIG. 9). For example, the electronic device can convert the color space of the de-logged first preview image (e.g., the first preview image (941) of FIG. 9) to a defined color space (e.g., sRGB, Rec 709). For example, the electronic device can apply at least one adjustment data to the first preview image with the converted color space (e.g., the first preview image (941) of FIG. 9). For example, the electronic device may apply inverse-gamma adjustment data to a first preview image with a converted color space (e.g., the first preview image (941) of FIG. 9). For example, the electronic device may apply adjustment data containing at least one of color adjustment data or white balance adjustment data to the first preview image with a converted color space (e.g., the first preview image (941) of FIG. 9). For example, the electronic device may apply adjustment data that has been pre-downloaded to a memory (e.g., the memory (130) of FIG. 1) to the first preview image (e.g., the first preview image (941) of FIG. 9). For example, the electronic device may apply adjustment data that has been pre-stored by a user with a value set to the first preview image (e.g., the first preview image (941) of FIG. 9). For example, the electronic device can apply adjustment data obtained by analyzing a first frame included in an image stream to a first preview image (e.g., the first preview image (941) of FIG. 9).For example, the electronic device can obtain a second preview image (for example, a second preview image (942) of FIG. 9) by rendering a first preview image (for example, a first preview image (941) of FIG. 9) to which adjustment data is applied.

[0205] According to one embodiment, an electronic device can apply inverse-gamma adjustment data to an image stream. For example, the electronic device can apply inverse-gamma adjustment data stored in the electronic device to an image stream when there is no input from a user selecting adjustment data. For example, the inverse-gamma adjustment data may be pre-stored based on a profile of a display module (e.g., the display module (160) of FIG. 1). For example, the inverse-gamma adjustment data may be generated and stored at the time of shipment of the electronic device.

[0206] According to one embodiment, the electronic device may apply adjustment data output from an image analysis module (e.g., the image analysis module (420) of FIG. 4) to an image stream. For example, the electronic device may apply adjustment data output from the image analysis module to the image stream by applying at least one frame included in the image stream to the image analysis module. For example, the electronic device may apply adjustment data generated by an adjustment data generation module (e.g., the adjustment data generation module (530) of FIG. 5) to the image stream by analyzing at least one frame by a color analysis module (e.g., the color analysis module (510) of FIG. 5) and / or a white balance analysis module (e.g., the white balance analysis module (520) of FIG. 5). For example, the electronic device may apply inverse-gamma adjustment data and adjustment data generated by the adjustment data generation module (e.g., the adjustment data generation module (530) of FIG. 5) together to the image stream.

[0207] According to one embodiment, an electronic device can apply adjustment data selected by a user to an image stream. For example, the electronic device can apply adjustment data selected by the user from among preset adjustment data to the image stream. For example, the electronic device can apply adjustment data downloaded by the user to the image stream. For example, the electronic device can apply inverse-gamma adjustment data and adjustment data selected by the user together to the image stream.

[0208] Referring to operation 870, an electronic device according to one embodiment may display a second preview image (e.g., the second preview image (942) of FIG. 9) in a second area (e.g., the second area (912) of FIG. 9). For example, the electronic device may identify a second area (e.g., the second area (912) of FIG. 9) in which the second preview image (e.g., the second preview image (942) of FIG. 9) is to be displayed among the execution screens of a camera application (e.g., the camera application (410) of FIG. 4), and may display the second preview image (e.g., the second preview image (942) of FIG. 9) in the identified second area (e.g., the second area (912) of FIG. 9). For example, the electronic device can identify the second region (e.g., the second region (912) of FIG. 9) based on at least one of information regarding the size, ratio, or location of the second region (e.g., the second region (912) of FIG. 9).

[0209] According to one embodiment, an electronic device can identify a second area (e.g., the second area (912) of FIG. 9) based on user input. For example, the electronic device can obtain information regarding the location of the second area (e.g., the second area (912) of FIG. 9) in response to user input selecting the second area (e.g., the second area (912) of FIG. 9) (e.g., the coordinates, size, and ratio of the second area (e.g., the second area (912) of FIG. 9)). For example, the electronic device can obtain information regarding the location of the second area (e.g., the second area (912) of FIG. 9) based on user input selecting a part of the first area (e.g., the first area (911) of FIG. 9). For example, the electronic device may obtain information regarding the location of the second area (e.g., the second area (912) of FIG. 9) based on user input in which the user drags a portion of the first area (e.g., the first area (911) of FIG. 9) to select the second area (e.g., the second area (912) of FIG. 9). For example, the electronic device may obtain information regarding the location of the second area (e.g., the second area (912) of FIG. 9) based on user input in which the user moves a slide (e.g., the slide (901) of FIG. 9) placed on the first area (e.g., the first area (911) of FIG. 9) to select the second area (e.g., the second area (912) of FIG. 9).

[0210] According to one embodiment, the electronic device may display a second preview image (e.g., the second preview image (942) of FIG. 9) within an identified second area (e.g., the second area (912) of FIG. 9). For example, the electronic device may display the second preview image (e.g., the second preview image (942) of FIG. 9) within a second area (e.g., the second area (912) of FIG. 9) that is overlaid on at least a portion of a first area (e.g., the first area (911) of FIG. 9). For example, the electronic device may display the second preview image (e.g., the second preview image (942) of FIG. 9) on a first preview image (e.g., the first preview image (941) of FIG. 9) in a picture-in-picture (PIP) manner. For example, an electronic device may display a second preview image (e.g., the second preview image (942) of FIG. 9) in a second area (e.g., the second area (912) of FIG. 9) separated from a first area (e.g., the first area (911) of FIG. 9) through a slide (e.g., the slide (901) of FIG. 9). The second area (e.g., the second area (912) of FIG. 9) may be positioned near the first area (e.g., the first area (911) of FIG. 9). For example, the second area (e.g., the second area (912) of FIG. 9) may be positioned side by side with the first area (e.g., the first area (911) of FIG. 9).

[0211] FIG. 9a is a diagram illustrating the operation of receiving input from a user (1) who sets an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment to acquire a log format image. For example, the electronic device (101) of FIG. 9a may correspond to the electronic device (101) described with reference to FIG. 1.

[0212] According to one embodiment, an electronic device (101) can execute a camera application (e.g., the camera application (410) of FIG. 4). The electronic device (101) can display a preview image in a preview area (910) of the execution screen of the camera application (e.g., the camera application (410) of FIG. 4). The electronic device (101) can display a first interface (920) through the camera application (e.g., the camera application (410) of FIG. 4). The first interface (920) may include an interface for setting camera functions. For example, the first interface (920) may include an interface for setting a function for setting at least one of a flash function, a high dynamic band video capture function, or a resolution adjustment function. For example, the first interface (920) may include an interface (921) for setting a function for capturing a log format video.

[0213] According to one embodiment, the electronic device (101) can control a camera module (e.g., the camera module (180) of FIG. 1) by executing a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device (101) can control the camera module (e.g., the camera module (180) of FIG. 1) to output an image stream by initiating the operation of the camera module (e.g., the camera module (180) of FIG. 1) using the camera application (e.g., the camera application (410) of FIG. 4).

[0214] According to one embodiment, the electronic device (101) can receive input from a user (1) through a first interface (920) provided through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device (101) can receive input from a user (1) through an interface (921) that sets a function for capturing a log format image.

[0215] According to one embodiment, the electronic device (101) can acquire a first preview image in a log format in response to receiving input from a user (1) through an interface (921). For example, the electronic device (101) can control a camera module (e.g., the camera module (180) of FIG. 1) to output an image stream in a log format from an image sensor. The electronic device can acquire a first preview image using the image stream in a log format. For example, an image signal processor (260) of the electronic device (101) can acquire a first preview image in a log format by applying a raw image stream output from the camera module to a pipeline for log operation. For example, at least one processor of the electronic device (101) (e.g., the processor (120) of FIG. 1, the processor (320) of FIG. 3) can acquire a first preview image in a log format by performing a log operation on the raw image stream output from the camera module.

[0216] According to one embodiment, the electronic device (101) can display a first preview image. For example, the electronic device (101) can display the first preview image in a preview area (910) of an execution screen of a camera application (e.g., the camera application (410) of FIG. 4).

[0217] FIG. 9b is a diagram illustrating an operation in which an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment receives input from a user (1) that sets the device to display a color-adjusted preview image. For example, FIG. 9b is a diagram illustrating an embodiment in which the electronic device (101) described with reference to FIG. 9a receives input from a user (1) while displaying a first preview image in a log format. For example, the electronic device (101) of FIG. 9b may correspond to the electronic device (101) described with reference to FIG. 1.

[0218] According to one embodiment, an electronic device (101) can receive input from a user (1) through a second interface (930) provided through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device (101) can receive input from the user (1) regarding a function to display a color-adjusted preview image through the second interface (930). For example, the second interface (930) may include a button. For example, the electronic device (101) can receive input from the user (1) through the second interface (930) while a first preview image is displayed in a preview area (910).

[0219] According to one embodiment, the electronic device (101) can acquire a second preview image in response to receiving input from a user (1) to a second interface (930). For example, the electronic device (101) can receive input from a user (1) to the second interface (930) when a function for capturing a log format image is set through an interface (921) included in the first interface (920). For example, the electronic device (101) can acquire a second preview image by performing at least one image processing on a log format image stream or a first preview image in response to receiving input from a user (1). For example, the electronic device (101) can de-log the log format image stream or the first preview image. For example, the electronic device (101) can convert the color space of the de-logged image stream or the first preview image to a defined color space (e.g., sRGB, Rec 709). For example, the electronic device (101) may apply at least one adjustment data to an image stream or a first preview image in which the color space has been converted. For example, the electronic device (101) may apply at least one of color adjustment data or white balance adjustment data to an image stream or a first preview image in which the color space has been converted. For example, the electronic device (101) may obtain a second preview image by rendering the image stream or the first preview image to which the adjustment data has been applied.

[0220] FIG. 9c is a diagram illustrating the operation of an electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together, and FIG. 9d is a diagram illustrating the operation of an electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together. For example, FIG. 9c and FIG. 9d are diagrams illustrating an embodiment in which an electronic device displays a second preview image described with reference to FIG. 9b. For example, the electronic device (101) of FIG. 9c and the electronic device (101) of FIG. 9d may correspond to the electronic device (101) described with reference to FIG. 1.

[0221] According to one embodiment, the electronic device (101) may divide the preview area (910) into a first area (911) and a second area (912). For example, the electronic device (101) may divide the preview area (910) into a first area (911) and a second area (912) in response to receiving input from a user (1) to a second interface (930). For example, the electronic device (101) may receive input from a user (1) to the second interface (930) when a function for capturing a log format image is set through an interface (921) included in the first interface (920). For example, the first area (911) may display a first preview image (941) in a log format. For example, the second area (912) may display a second preview image (942) with color adjusted.

[0222] According to one embodiment, the electronic device (101) can identify a second area (912) where a second preview image (942) is to be displayed. For example, the electronic device can identify a first area (911) and a second area (912) based on a slider (901) placed in the preview area (910) in response to receiving input from a user (1) to the second interface (930).

[0223] For example, with reference to FIG. 9c, the electronic device (101) can identify a first area (911) located to the right of the slider (901). For example, the electronic device (101) can obtain information regarding the location of the first area (911) (e.g., size, ratio, coordinates) based on the position of the slider (901). For example, the electronic device (101) can identify a second area (912) located to the left of the slider (901). For example, the electronic device (101) can obtain information regarding the location of the second area (912) (e.g., size, ratio, coordinates) based on the position of the slider (901).

[0224] For example, with reference to FIG. 9d, the electronic device (101) can identify a first area (911) positioned below the slider (901). For example, the electronic device (101) can obtain information regarding the position of the first area (911) (e.g., size, ratio, coordinates) based on the position of the slider. For example, the electronic device (101) can identify a second area (912) positioned above the slider (901). For example, the electronic device (101) can obtain information regarding the position of the second area (912) (e.g., size, ratio, coordinates) based on the position of the slider (901).

[0225] According to one embodiment, the electronic device (101) can display a preview image. For example, the electronic device (101) can display a first preview image (941) in a log format within a first area (911). For example, the electronic device (101) can display a second preview image (942) with color adjusted within a second area (912).

[0226] FIG. 9e is a diagram illustrating the operation of an electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together, and FIG. 9f is a diagram illustrating the operation of an electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together. FIG. 9e and FIG. 9f are diagrams illustrating an embodiment in which an electronic device displays a second preview image described with reference to FIG. 9b. For example, the electronic device (101) of FIG. 9e and the electronic device (101) of FIG. 9f may correspond to the electronic device (101) described with reference to FIG. 1.

[0227] According to one embodiment, the electronic device (101) may divide the preview area (910) into a first area (911) and a second area (912). For example, the electronic device (101) may divide the preview area (910) into a first area (911) and a second area (912) in response to receiving input from a user (1) to a second interface (930). For example, the electronic device (101) may receive input from a user (1) to the second interface (930) when a function for capturing a log format image is set through an interface (921) included in the first interface (920). For example, the first area (911) may display a first preview image in a log format. For example, the second area (912) may display a second preview image with adjusted color.

[0228] According to one embodiment, the electronic device (101) can display a first area (911) and a second area (912) as a picture in picture (PIP). For example, with reference to FIG. 9e, the electronic device (101) may have the second area (912) placed on a portion of the first area (911). For example, the second area (912) may be overlaid on a portion of the first area (911). For example, with reference to FIG. 9f, the electronic device (101) may have the first area (911) placed on a portion of the second area (912). For example, the first area (911) may be overlaid on a portion of the second area (912).

[0229] According to one embodiment, the electronic device (101) can identify a second area where a second preview image is to be displayed. For example, the electronic device can identify a first area (911) and a second area (912) based on user input selecting a part of the preview area (910). Referring to FIG. 9e, the electronic device (101) can obtain information regarding the location of the second area (912) (e.g., size, ratio, coordinates) based on user input selecting a part of the preview area (910). Referring to FIG. 9f, the electronic device (101) can obtain information regarding the location of the first area (911) (e.g., size, ratio, coordinates) based on user input selecting a part of the preview area (910).

[0230] According to one embodiment, the electronic device (101) can display a preview image. For example, the electronic device (101) can display a first preview image in a log format within a first area (911). For example, the electronic device (101) can display a second preview image with color adjusted within a second area (912).

[0231] FIG. 9g is a diagram illustrating the operation of a foldable electronic device according to one embodiment displaying a preview image in log format and a color-adjusted preview image together. For example, the electronic device (101) of FIG. 9g may correspond to the electronic device (101) described with reference to FIG. 1.

[0232] According to one embodiment, the electronic device (101) may include a housing (901) that can be folded about a folding axis. For example, the electronic device (101) may be joined such that a first housing (901a) and a second housing (901b) are folded toward each other through at least one hinge device (e.g., a hinge module or a hinge structure). For example, the first housing (901a) including a first face and a second face facing the opposite direction of the first face, and the second housing (901b) including a third face and a fourth face facing the opposite direction of the third face, may be rotated through the hinge device so that the first face and the third face face each other or are apart. For example, when the electronic device (101) is in a fully unfolded first state (e.g., an unfolded state or a spread state), the first face and the third face may be operated so that they face substantially the same direction. For example, when the electronic device (101) is in a completely folded second state (e.g., a folded state or a folded state), the first side and the third side may be operated to face each other or face in opposite directions. For example, the electronic device (101) may be operated to maintain a third state (e.g., an intermediate state) between the first state and the second state.

[0233] According to one embodiment, an electronic device (101) may have a display (e.g., the display (160) of FIG. 1) disposed within a housing (901). For example, the display may be disposed on a first surface of a first housing (901a) and a third surface of a second housing. For example, a first portion of the display may be disposed in the first housing (901a), and a second portion of the display may be disposed in the second housing (901b). For example, the display may be folded or unfolded by rotating the first housing (901a) and / or the second housing (901b).

[0234] According to one embodiment, the electronic device (101) can display a preview image in a log format. For example, the electronic device (101) can receive input from a user (1) to set a function for capturing a log format image through an interface (921) included in the first interface (920). For example, the electronic device (101) can display a first preview image in a log format in response to the input from the user (1) to the interface (921).

[0235] According to one embodiment, the electronic device (101) may divide the preview area (910) into a first area (911) and a second area (912). For example, the electronic device (101) may receive input from the user (1) regarding the second interface (930) when input from the user (1) regarding the interface (921) is received. For example, the electronic device (101) may receive input from the user (1) regarding a function to display a color-adjusted preview image through the second interface (930). For example, the electronic device (101) may divide the preview area (910) into a first area (911) and a second area (912) in response to receiving input from the user (1) regarding the second interface (930). For example, the first area (911) may be placed in a second part of the display located in the second housing (901b). For example, the second area (912) may be placed in the first part of the display located in the first housing (901a).

[0236] According to one embodiment, the electronic device (101) can display a preview image. For example, the electronic device (101) can display a first preview image (941) in a log format in a first area (911). For example, the electronic device (101) can display a second preview image (942) with color adjusted in a second area (912).

[0237] FIG. 9h is a diagram illustrating the operation of a foldable electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together, and FIG. 9i is a diagram illustrating the operation of a foldable electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together depending on the state of the foldable electronic device. For example, the electronic device (101) of FIG. 9h and FIG. 9i may correspond to the electronic device (101) described with reference to FIG. 1.

[0238] According to one embodiment, the electronic device (101) may include a housing (902) that can be folded about a folding axis. For example, the electronic device (101) may be joined such that a first housing (902a) and a second housing (902b) are folded toward each other through at least one hinge device (e.g., a hinge module or a hinge structure). For example, the first housing (902a) including a first face and a second face facing the opposite direction of the first face, and the second housing (902b) including a third face and a fourth face facing the opposite direction of the third face, may be rotated through the hinge device so that the first face and the third face face each other or are apart. For example, when the electronic device (101) is in a fully unfolded first state (e.g., an unfolded state or a spread state), the first face and the third face may be operated so that they face substantially the same direction. For example, when the electronic device (101) is in a completely folded second state (e.g., a folded state or a folded state), the first side and the third side may be operated to face each other or face in opposite directions. For example, the electronic device (101) may be operated to maintain a third state (e.g., an intermediate state) between the first state and the second state.

[0239] According to one embodiment, an electronic device (101) may have a first display (991) disposed within a housing (902). For example, the first display (991) may be disposed on a first surface of the first housing (902a) and a third surface of the second housing. For example, a first portion of the first display (991) may be disposed in the first housing (902a), and a second portion of the first display (991) may be disposed in the second housing (902b). For example, the first display (991) may be folded or unfolded by rotating the first housing (902a) and / or the second housing (902b).

[0240] According to one embodiment, the electronic device (101) may have a second display (992) disposed in a first housing (902a). For example, the second display (992) may be disposed on a second surface of the first housing (902a).

[0241] According to one embodiment, the electronic device (101) may enable or disable a first display (991) and / or a second display (992) depending on a change in state. For example, when the electronic device (101) is in a first state (e.g., an unfolded state or an unfolded state), the first display (991) may be enabled. For example, when the electronic device (101) is in a first state (e.g., an unfolded state or an unfolded state), the second display (992) may be disabled. For example, when the electronic device (101) is in a second state (e.g., a folded state or a folded state), the second display (992) may be enabled. For example, when the electronic device (101) is in a second state (e.g., a folded state or a folded state), the first display (992) may be disabled.

[0242] Referring to FIG. 9i, an electronic device (101) according to one embodiment may change state. For example, the electronic device (101) may change state to a first state (e.g., unfolded state or unfolded state), a second state (e.g., folded state or folded state), or a third state between the first state and the second state (e.g., intermediate state).

[0243] Referring to FIG. 9h and FIG. 9i, according to one embodiment, an electronic device (101) in a first state can display a preview image in a log format through a first display (991). For example, the electronic device (101) can display a first interface (920) through the first display (991). For example, the electronic device (101) can receive input from a user (1) to set a function for capturing a log format image through an interface (921) included in the first interface (920). For example, in response to receiving input from the user (1) regarding the interface (921), the electronic device (101) can display a first preview image in a log format through a preview area (910). For example, the preview area (910) can be set on the first display (991).

[0244] According to one embodiment, the electronic device (101) in a first state can display a color-adjusted preview image through a first display (991). For example, the electronic device (101) can divide the preview area (910) into a plurality of areas and display the preview image using the divided areas. For example, the first area (911) can be placed in a first part of the first display (991) located in a first housing (902a). For example, the second area (912) can be placed in a second part of the first display (991) located in a second housing (902b). For example, the electronic device (101) can display a first preview image (941) in a log format in the second area (912). For example, the electronic device (101) can display a color-adjusted second preview image (942) in the first area (911).

[0245] According to one embodiment, the electronic device (101) in the first state may divide the preview area (910) into a first area (911) and a second area (912). For example, the electronic device (101) may receive input from the user (1) regarding the second interface (930) when input from the user (1) regarding the interface (921) is received. For example, the electronic device (101) may receive input from the user (1) regarding a function to display a color-adjusted preview image through the second interface (930). For example, the electronic device (101) may divide the preview area (910) into a first area (911) and a second area (912) in response to receiving input from the user (1) regarding the second interface (930).

[0246] According to one embodiment, the electronic device (101) in a second state can display a preview image through a second display (992). For example, the electronic device (101) can identify a first area (911) and a second area (912) corresponding to the second display (992). For example, the electronic device (101) can identify the location and size of the first area (911) and the second area (912) within the second display (992). For example, the electronic device (101) can display a first preview image (941) in the first area (911). For example, the electronic device (101) can display a first preview image (942) in the second area (912).

[0247] Referring to FIG. 9i, an electronic device (101) according to one embodiment can display a preview image as the state of the electronic device (101) changes.

[0248] For example, when an electronic device (101) in a first state (e.g., unfolded state or unfolded state) changes to a second state (e.g., folded state or folded state), the electronic device (101) can display a first preview image (941) and a second preview image (942) displayed through a first display (991) through a second display (992).

[0249] For example, the electronic device (101) may disable the first display (991) and enable the second display (992) in response to a change from a first state to a second state. For example, the electronic device (101) may identify a first area (911) and a second area (912) corresponding to the second display (992). For example, the electronic device (101) may display a preview image through the identified first area (911) and second area (912).

[0250] For example, when an electronic device (101) in a second state (e.g., a folding state or a folded state) changes to a first state (e.g., an unfolded state or an unfolded state), the electronic device (101) can display a first preview image (941) and a second preview image (942) that are displayed through the second display (992) through the first display (991).

[0251] For example, the electronic device (101) may disable the second display (992) and enable the first display (991) in response to a change from the second state to the first state. For example, the electronic device (101) may identify a first area (911) and a second area (912) corresponding to the first display (991). For example, the electronic device (101) may display a preview image through the identified first area (911) and second area (912). For example, an electronic device (101) in a first state (e.g., unfolded state or unfolded state) can display a color-adjusted second preview image (942) through a first area (911) placed in a first part of the first display (991), and display a log-format first preview image (941) through a second area (912) placed in a second part of the first display (991).

[0252] FIG. 9j is a diagram illustrating the operation of a foldable electronic device according to one embodiment displaying a log format preview image and a color-adjusted preview image together. For example, the electronic device (101) of FIG. 9j may correspond to the electronic device (101) described with reference to FIG. 1.

[0253] According to one embodiment, the electronic device (101) may include a housing (903) comprising a first housing (903a), a second housing (903b), and a third housing (903c). For example, the first housing (903a) may be rotatably coupled to the second housing (903b) by a first hinge assembly (904a). The third housing (903c) may be rotatably coupled to the second housing (903b) by a second hinge assembly (904b). For example, after the first housing (903a) is rotated to approach the second housing (903b) by the first hinge assembly (904a), the third housing (903c) may be rotated to approach the second housing (903b) by the second hinge assembly (904b). For example, after the third housing (903c) is rotated away from the second housing (903b) by the second hinge assembly (904b), the first housing (903a) can be rotated away from the second housing (903b) by the first hinge assembly (904a).

[0254] According to one embodiment, the display may be disposed within the housing (903). The display may be disposed across one side of the first housing (903a), one side of the second housing (903b), and one side of the third housing (903c). For example, the display may be disposed on the front of the first housing (903a), the second housing (903b), and the third housing (903c). For example, the display may have a first part disposed within the first housing (903a), a second part disposed within the second housing (903b), and a third part disposed within the third housing (903c).

[0255] According to one embodiment, the display may be a flexible display. The display may be folded or unfolded by at least one of a first hinge assembly (904a) and a second hinge assembly (904b).

[0256] According to one embodiment, the display can be in various states by being bent or unfolded by the first hinge assembly (904a) and the second hinge assembly (904b). For example, the display can be in a first state in which the first housing (903a) is rotated by the first hinge assembly (904a) so that it is adjacent to the second housing (903b), thereby positioning the first part adjacent to the second part, and the third housing (903c) is rotated by the second hinge assembly (904b) so that it is adjacent to the second housing (903b), thereby positioning the third part adjacent to the second part. The first state may correspond to a folded state of the display. For example, the display can be in a second state in which the first part is positioned adjacent to the second part by rotating the first housing (903a) to be adjacent to the second housing (903b) by means of the first hinge assembly (904a), and the third housing (903c) is rotated away from the second housing (903b) by means of the second hinge assembly (904b), so that the third part and the second part are unfolded. The second state may correspond to a half-folded state of the display. For example, the display can be in a third state in which the third part and the second part are unfolded by rotating the third housing (903c) away from the second housing (903b) by the second hinge assembly (904b), and the first housing (903a) away from the second housing (903b) by rotating the first hinge assembly (904a), so that the first part and the second part are unfolded. The third state may correspond to the unfolded state of the display.

[0257] According to one embodiment, the electronic device (101) can display a preview image in a log format. For example, the electronic device (101) can receive input from a user (1) to set a function for capturing a log format image through an interface (921) included in the first interface (920). For example, the electronic device (101) can display a first preview image in a log format in response to the input from the user (1) to the interface (921).

[0258] According to one embodiment, the electronic device (101) may divide the preview area (910) into a first area (911), a second area (912), and a third area (913). For example, the electronic device (101) may receive input from the user (1) regarding the second interface (930) when input from the user (1) regarding the interface (921) is received. For example, the electronic device (101) may receive input from the user (1) regarding a function to display a color-adjusted preview image through the second interface (930). For example, the electronic device (101) may divide the preview area (910) into a first area (911), a second area (912), and a third area (913) in response to receiving input from the user (1) regarding the second interface (930). For example, the first region (911) may be placed in the first part of the display located in the first housing (902a). For example, the second region (912) may be placed in the second part of the display located in the second housing (902b). For example, the third region (912) may be placed in the third part of the display located in the third housing (903b).

[0259] According to one embodiment, the electronic device (101) can display a color-adjusted preview image. For example, the electronic device (101) can display a first preview image (941) in a log format in a third area (913). For example, the electronic device (101) can display a second preview image (943) in a color-adjusted area in a second area (912). For example, the electronic device (101) can display a third preview image (942) in a color-adjusted area in a first area (911). The second preview image (943) and the third preview image (942) may be preview images generated by applying different adjustment data. For example, the second preview image (943) may be a preview image generated by applying adjustment data output from an adjustment data generation module (e.g., the adjustment data generation module (530) of FIG. 5) to a log format preview image. For example, the third preview image (942) may be a preview image generated by applying adjustment data pre-downloaded into memory to a log format preview image.

[0260] FIG. 10 is a flowchart of the operation of an electronic device according to one embodiment. FIG. 10 may correspond to one embodiment of the operation of the electronic device (101) described with reference to FIG. 1. The operation of the electronic device (e.g., the electronic device (101) of FIG. 1) shown in FIG. 10 may be performed by at least one processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the processor (320) of FIG. 3)) performing operations or controlling components of the electronic device (e.g., the electronic device (101) of FIG. 1). The operations of FIG. 10 may be operations of the electronic device performed after the operations of FIG. 8.

[0261] Referring to operation 1010, an electronic device according to one embodiment may receive user input for adjusting a second area. For example, the electronic device may provide an interface for adjusting the second area through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device may provide an interface for adjusting the size of the second area through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device may provide an interface for adjusting the position of the second area through a camera application (e.g., the camera application (410) of FIG. 4).

[0262] According to one embodiment, the electronic device may provide a slide adjustment button for adjusting a second area through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device may receive input from a user to adjust the size of the second area by adjusting the slide adjustment button. For example, the electronic device may receive input from a user to move the slide adjustment button in a first direction (e.g., left-right direction) to change the size of the first area and the second area arranged side by side left-right. For example, the electronic device may receive input from a user to move the slide adjustment button in a second direction (e.g., up-down direction) to change the size of the first area and the second area arranged side by side up-down.

[0263] According to one embodiment, the electronic device may provide an interface for adjusting the size of a second area that is picture-in-picture (PIP) through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device may receive a response to user input that drags the corner of the second area through the interface.

[0264] According to one embodiment, the electronic device may provide an interface for adjusting the position of a second area that is picture-in-picture (PIP) through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device may receive input from a user dragging the second area through the interface.

[0265] According to one embodiment, the electronic device may provide an interface (e.g., an icon) for swapping the first area and the second area through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device may receive user input for swapping the first area and the second area through the interface.

[0266] Referring to operation 1020, an electronic device according to one embodiment can identify a second adjusted area. For example, the electronic device can obtain information regarding the location of the second area (e.g., size, ratio, coordinates) in response to receiving user input. For example, the electronic device can identify a portion of a second preview image to be displayed in the second area based on the information regarding the location of the second area.

[0267] According to one embodiment, the electronic device can identify information regarding the location of the resized second area (e.g., size, ratio, coordinates) in response to receiving input to adjust the size of the second area through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device can identify information regarding the location of the resized second area in response to receiving input from a user moving a slide adjustment button in a first direction (left-right direction) to change the size of the first area and the second area arranged side by side left-right. For example, the electronic device can identify information regarding the location of the resized second area in response to receiving input from a user moving a slide adjustment button in a second direction (up-down direction) to change the size of the first area and the second area arranged side by side up-down. For example, the electronic device can identify information regarding the location of the resized second area in response to input from a user dragging a corner of the second area to adjust the size of the second area which is a picture in picture (PIP).

[0268] According to one embodiment, the electronic device can identify information regarding the position of the second area (e.g., size, ratio, coordinates) in response to receiving an input to adjust the position of the second area through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device can identify information regarding the position of the second area that has been adjusted in response to a user's input to touch the second area to adjust the position of the second area which is a picture in picture (PIP). For example, the electronic device can identify information regarding the position of the second area corresponding to the position and size of the first area in response to receiving an input to swap the first area and the second area through a camera application (e.g., the camera application (410) of FIG. 4).

[0269] Referring to operation 1030, an electronic device according to one embodiment can display a second preview image in a second adjusted area.

[0270] According to one embodiment, the electronic device can generate a second preview image based on information regarding the location of a second region. For example, the electronic device can identify a portion of the second preview image to be displayed within the second region based on information regarding the location of the second region. For example, the electronic device can obtain data regarding the portion of the second preview image to be displayed within the second region in the form of data that can be applied to an OpenGL shader. For example, the electronic device can render only the portion of the second preview image to be displayed within the second region based on information regarding the location of the second region.

[0271] According to one embodiment, the electronic device can display a second preview image within a second area. For example, the electronic device can display a second preview image generated based on information regarding the location of the second area within the second area.

[0272] According to one embodiment, the electronic device may perform operations 1010 to 1030 again after operation 1030 is terminated. For example, the electronic device may adjust the second area in response to receiving user input to change at least one of the size or position of the second area after operation 1030 is terminated, and display second preview image data to fit the adjusted second area.

[0273] FIGS. 11a to 11c are drawings illustrating an operation in which an electronic device (101) according to one embodiment receives user input to adjust an area in which a log format preview image and a color-adjusted preview image are displayed. FIGS. 11a to 11c are drawings illustrating an embodiment for adjusting a first area (911) and a second area (912) by means of a slider described with reference to FIG. 9c. For example, the electronic device (101) of FIG. 9a may correspond to the electronic device (101) described with reference to FIG. 1.

[0274] According to one embodiment, the electronic device (101) may provide an interface for receiving input from a user (1) regarding a preview area (1110) through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device (101) may provide an interface for adjusting a first area (1111a) and a second area (1112a) placed in the preview area (1110). For example, the electronic device (101) may display a slide adjustment button (1101a) in the preview area (1110) through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device (101) may receive input from a user (1) through the slide adjustment button (1101a).

[0275] According to one embodiment, the electronic device (101) may receive input from a user (1) to adjust the size of a first area (1111a) and a second area (1112a). For example, the electronic device (101) may receive input from a user to move a slide adjustment button (1101a) in a first direction (e.g., left-right direction) to change the size of the first area (1111a) and the second area (1112a) which are arranged side by side. For example, the electronic device (101) may receive input from a user to move the slide adjustment button (1101a) toward the second area (1112a) to reduce the size of the second area (1112a).

[0276] According to one embodiment, the electronic device (101) can identify a first area (1111b) and a second area (1112b) whose size is changed in response to receiving user input. For example, the electronic device (101) can obtain information regarding the location of the first area (1111b) and the second area (1112b) (e.g., size, ratio, coordinates) based on the position of the slide adjustment button (1101b) moved by user input. For example, the electronic device (101) can obtain information regarding the size and ratio of each of the first area (1111b) and the second area (1112b) with respect to the preview area (1110).

[0277] According to one embodiment, the electronic device (101) can obtain a second preview image based on information regarding the location of the second area (1112b). For example, the electronic device (101) can identify a portion of the second preview image to be displayed within the second area (1112b) based on information regarding the location of the second area (1112b). For example, the electronic device (101) can obtain data regarding the portion of the second preview image to be displayed within the second area (1112b) in the form of data that can be applied to an OpenGL shader. For example, the electronic device (101) can render only the portion of the second preview image to be displayed within the second area (1112b) based on information regarding the location of the second area (1112b).

[0278] According to one embodiment, the electronic device (101) may display a first preview image within a first area (1111b) and a second preview image within a second area (1112b). For example, the electronic device (101) may display a first preview image in a log format within the first area (1111b). For example, the electronic device (101) may display a second preview image generated based on information regarding the location of the second area (1112b) within the second area (1112b).

[0279] According to one embodiment, the electronic device (101) may provide an interface for receiving input from a user (1) to adjust the color of a second preview image through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device (101) may receive input from the user (1) through a slide adjustment button (1101c) placed in a preview area (1110) through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device (101) may receive input from a user to move the slide adjustment button (1101c) in a second direction (e.g., up and down direction) to adjust the color of a second preview image displayed in a second area (1112c). For example, the electronic device (101) may receive input from a user (1) to move the slide adjustment button (1101c) in an upward direction on the screen to display the color of the second preview image more intensely. For example, the electronic device (101) can receive input from a user (1) who moves a slide adjustment button (1101c) downward on the screen to display the color of the second preview image lightly.

[0280] According to one embodiment, the electronic device (101) can adjust the color of a second preview image in response to receiving input from a user (1) who adjusts the slide adjustment button (1101c) in a second direction. For example, the electronic device (101) can change the adjustment data applied to an image stream or a first preview image in response to input from a user regarding the slide adjustment button (1101c). For example, while displaying a second preview image generated using the first adjustment data, the electronic device (101) can change the first adjustment data to a second adjustment data that makes the color darker in response to receiving input from a user (1) who moves the slide adjustment button (1101c) in the upward direction of the screen. For example, while displaying a second preview image generated using the first adjustment data, the electronic device (101) can change the first adjustment data to a third adjustment data that makes the color lighter in response to receiving input from a user (1) who moves the slide adjustment button (1101c) in the downward direction of the screen.

[0281] According to one embodiment, the electronic device (101) can generate a second preview image using modified adjustment data. For example, the electronic device (101) can obtain a second preview image by applying second adjustment data that darkens the color to an image stream or a first preview image and rendering it. For example, the electronic device (101) can obtain a second preview image by applying third adjustment data that lightens the color to an image stream or a first preview image and rendering it.

[0282] According to one embodiment, the electronic device (101) may display a first preview image within a first area (1111c) and a second preview image within a second area (1112c). For example, the electronic device (101) may display a first preview image in a log format within the first area (1111c). For example, the electronic device (101) may display a second preview image generated based on information regarding the location of the second area (1112b) within the second area (1112b).

[0283] FIG. 12 is a flowchart of the operation of an electronic device according to one embodiment.

[0284] The operation of the electronic device illustrated in FIG. 12 (e.g., the electronic device (101) of FIG. 1) may be performed by at least one processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the processor (320) of FIG. 3) performing operations or controlling components of the electronic device (e.g., the electronic device (101) of FIG. 1). The operations of FIG. 12 may be the operations of the electronic device performed in the operation 860 of FIG. 8.

[0285] Referring to operation 1210, an electronic device according to one embodiment can acquire a first frame using a camera module. For example, the electronic device can control a camera module (e.g., the camera module (180) of FIG. 1) to output an image stream containing the first frame through a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device can acquire a first frame in a log format. For example, the electronic device can acquire a first frame in a log format output from an image sensor of a camera module (e.g., the camera module (180) of FIG. 1). For example, the electronic device can acquire a first frame in a log format by applying a raw image stream output from a camera module (e.g., the camera module (180) of FIG. 1) to a pipeline of an image signal processor (e.g., the image signal processor (260) of FIG. 2). For example, the electronic device can obtain a first frame in log format by performing image processing on a raw image stream output from a camera module (e.g., the camera module (180) of FIG. 1).

[0286] Since operation 1210 can be applied by analogy to operation 830 described with reference to FIG. 8, redundant content is omitted.

[0287] Referring to operation 1220, an electronic device according to one embodiment may apply a first frame to an artificial intelligence neural network model. For example, the electronic device may apply the first frame to an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) to analyze the first frame. For example, the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to output adjustment data in response to at least one frame being input. For example, the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may output adjustment data for adjusting the color and / or white balance of an image by analyzing the input first frame. For example, the artificial intelligence neural network model (421) may be implemented as a hardware structure. For example, the artificial intelligence neural network model (421) may be implemented as a software algorithm. For example, the adjustment data may be generated in the form of a matrix. For example, the adjustment data may be included in a look-up table.

[0288] Referring to operation 1230, an electronic device according to one embodiment may apply adjustment data output from an artificial intelligence neural network model to a first frame. For example, the electronic device may apply the adjustment data obtained in operation 1220 to an image stream containing the first frame. For example, the electronic device may de-log the image stream in a log format. For example, the electronic device may convert the color space of the de-logged image stream to a defined color space (e.g., sRGB, Rec 709). For example, the electronic device may apply at least one adjustment data to the image stream in which the color space has been converted. For example, the electronic device may apply inverse gamma adjustment data to the image stream in which the color space has been converted. For example, the electronic device may apply the adjustment data obtained in operation 1220 to the image stream in which the color space has been converted.

[0289] Referring to operation 1240, an electronic device according to one embodiment can obtain a color-adjusted preview image by rendering a first frame to which adjustment data is applied. For example, the electronic device can apply adjustment data to an image stream including a first frame and render it.

[0290] According to one embodiment, the electronic device can render based on information regarding the location of the area where the preview image is to be displayed (e.g., the second area (912) in FIG. 9c). For example, the electronic device can identify the portion of the preview image to be displayed within the area where the preview image is to be displayed (e.g., the second area (912) in FIG. 9c) based on information regarding the location of the area where the preview image is to be displayed (e.g., the second area (912) in FIG. 9c). For example, the electronic device can obtain data regarding the portion of the preview image to be displayed within the area where the preview image is to be displayed (e.g., the second area (912) in FIG. 9c) in the form of data that can be applied to an OpenGL shader. For example, the electronic device may render only the portion of the preview image to be displayed within the area to be displayed (for example, the second area (912) in FIG. 9c) based on information regarding the location of the area to be displayed (for example, the second area (912) in FIG. 9c).

[0291] Operation 1240 can be applied by analogy to Operation 860 described with reference to FIG. 8. Redundant content is omitted.

[0292] Referring to operation 1250, an electronic device according to one embodiment may display a color-adjusted preview image. For example, the electronic device may display a preview image obtained by rendering an image stream in operation 1240. For example, the electronic device may identify an area where the preview image is to be displayed within the execution screen of a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device may display a color-adjusted preview image in the identified area.

[0293] Operation 1250 can be applied by analogy to Operation 870 described with reference to FIG. 8. Redundant content is omitted.

[0294] FIG. 13 is a flowchart of the operation of an electronic device according to one embodiment.

[0295] The operation of the electronic device illustrated in FIG. 13 (e.g., the electronic device (101) of FIG. 1) may be performed by at least one processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the processor (320) of FIG. 3) performing operations or controlling components of the electronic device (e.g., the electronic device (101) of FIG. 1).

[0296] According to one embodiment, the electronic device may include a plurality of cameras. For example, the electronic device may include a first camera having a first focal length and a second camera having a second focal length.

[0297] Referring to operation 1310, the electronic device can execute a camera application. For example, the electronic device can execute a camera application in response to receiving input from a user selecting a camera application.

[0298] According to one embodiment, an electronic device may provide a control signal to a camera module (e.g., the camera module (180) of FIG. 1) using a camera application. For example, the electronic device may provide a control signal to the camera module (e.g., the camera module (180) of FIG. 1) to initiate operation. For example, the electronic device may provide a control signal to the camera module (e.g., the camera module (180) of FIG. 1) to output an image signal. For example, the electronic device may provide a control signal to each of a plurality of cameras.

[0299] Operation 1310 can be applied by analogy to Operation 810. Redundant content is omitted.

[0300] Referring to operation 1320, an electronic device according to one embodiment can acquire frames using a first camera, which is a main camera (a camera operating for image recording). For example, the first camera can acquire frames based on a control signal received through a camera application. For example, the first camera can generate an image stream by receiving stream information through a camera application that includes at least one of a stream type, stream width, stream height, stream format, buffer usage, maximum number of buffers, stream usage, metadata, or stream combination. For example, the first camera can acquire frames for generating a log format image based on a setting to capture a log format image set through a camera application.

[0301] According to one embodiment, an electronic device can control a plurality of cameras to each acquire a frame. For example, the electronic device can acquire a first frame using a first camera and acquire a second frame using a second camera. For example, the electronic device can acquire a first frame at a first time interval (e.g., 1 / 60 second) using the first camera, which is a main camera (a camera operating for video recording), and acquire a second frame at a second time interval (e.g., 1 second) using the second camera, which is a sub camera (a camera waiting for video recording).

[0302] Referring to operation 1330, an electronic device according to one embodiment may display a preview image acquired using a first camera. For example, the electronic device may display a first preview image in log format from a frame acquired using the first camera. For example, the electronic device may display a second preview image to which adjustment data is applied to the first preview image in log format.

[0303] According to one embodiment, an electronic device can acquire a first preview image in a log format. For example, the electronic device can acquire and display a first preview image in a log format by using a first camera module that includes an image sensor capable of outputting an image stream in a log format. For example, the electronic device can acquire a first preview image in a log format by applying a raw image stream output from the camera module to a pipeline for log operation of an image signal processor (e.g., the image signal processor (260) of FIG. 2). For example, at least one processor of the electronic device (e.g., the processor (120) of FIG. 1, the processor (320) of FIG. 3) can acquire a first preview image in a log format by performing a log operation on the raw image stream output from the camera module.

[0304] According to one embodiment, the electronic device may display a first preview image in a log format. For example, the electronic device may identify an area among the screens included in a display module (e.g., the display module (160) of FIG. 1) where the execution screen of a camera application (e.g., the camera application (410) of FIG. 4) is to be displayed. For example, the electronic device may identify a first area among the execution screens of the camera application (e.g., the camera application (410) of FIG. 4) where the first preview image is to be displayed. For example, the electronic device may identify the first area based on at least one of information regarding the size, ratio, or position of the first area. For example, the electronic device may display the first preview image in the identified first area. For example, the electronic device may display a first preview image in a log format.

[0305] According to one embodiment, an electronic device can acquire adjustment data. For example, the electronic device can acquire first adjustment data by applying a first frame to an image analysis module (e.g., image analysis module (420) of FIG. 4). For example, the electronic device can acquire second adjustment data by applying a second frame acquired from a second camera to an image analysis module (e.g., image analysis module (420) of FIG. 4). For example, the electronic device can acquire first adjustment data and / or second adjustment data output from an adjustment data generation module (e.g., adjustment data generation module (530) of FIG. 5) by having the first frame and / or second frame analyzed by a color analysis module (e.g., color analysis module (510) of FIG. 5) and / or a white balance analysis module (e.g., white balance analysis module (520) of FIG. 5).

[0306] According to one embodiment, the electronic device can obtain a second preview image to which adjustment data is applied. For example, the electronic device can obtain the second preview image by performing at least one image processing on a first preview image in a log format. For example, the electronic device can de-log the first preview image. For example, the electronic device can convert the color space of the de-logged first preview image to a defined color space (e.g., sRGB, Rec 709). For example, the electronic device can apply at least one adjustment data to the first preview image with the converted color space. For example, the electronic device can apply inverse gamma adjustment data to the first preview image with the converted color space. For example, the electronic device can apply adjustment data containing at least one of color adjustment data or white balance adjustment data to the first preview image with the converted color space. For example, the electronic device can apply adjustment data that has been pre-downloaded to a memory (e.g., memory (130) of FIG. 1) to the first preview image. For example, the electronic device can apply adjustment data that has been saved in advance by the user setting a value to the first preview image. For example, the electronic device can apply adjustment data obtained by applying the first frame to the image analysis module (e.g., the image analysis module (420) of FIG. 4) to the first preview image.

[0307] According to one embodiment, the electronic device can display a second preview image to which adjustment data is applied. For example, the electronic device can identify a second area to which the second preview image is to be displayed among the execution screens of a camera application (e.g., the camera application (410) of FIG. 4). For example, the electronic device can identify the second area based on at least one of information regarding the size, ratio, or position of the second area. For example, the electronic device can display a second preview image to which adjustment data is applied to the identified second area.

[0308] Referring to operation 1340, an electronic device according to one embodiment can change the main camera from the first camera to the second camera. For example, the electronic device may receive an input to change the main camera through a camera application. For example, the electronic device may change the main camera from the first camera to the second camera in response to receiving a user input to select a defined magnification ratio (e.g., 0.5x, 1x, 3x, 5x, 10x).

[0309] According to one embodiment, the electronic device can acquire frames using a second camera, which is a main camera. For example, the second camera can acquire frames based on a control signal received through a camera application. For example, the second camera can generate an image stream by receiving stream information through a camera application that includes at least one of a stream type, stream width, stream height, stream format, buffer usage, maximum number of buffers, stream usage, metadata, or stream combination. For example, the second camera can acquire frames for generating a log format image based on a setting to capture a log format image set through a camera application.

[0310] According to one embodiment, the electronic device can control a plurality of cameras to each acquire a frame. For example, the electronic device can have the second camera, which is the main camera, acquire a second frame every first time (e.g., 1 / 60 second), and the first camera, which is the sub camera, acquire a first frame every second time (e.g., 1 second).

[0311] Referring to operation 1350, an electronic device according to one embodiment may display a preview image acquired using a second camera. For example, the electronic device may display a first preview image in log format from a frame acquired using the second camera. For example, the electronic device may display a second preview image to which adjustment data is applied to the first preview image in log format.

[0312] According to one embodiment, an electronic device can acquire a first preview image in a log format. For example, the electronic device can acquire and display the first preview image in a log format by using a second camera module that includes an image sensor capable of outputting an image stream in a log format. For example, the electronic device can acquire the first preview image in a log format by applying a raw image stream output from the camera module to a pipeline for log operation of an image signal processor (e.g., the image signal processor (260) of FIG. 2). For example, at least one processor of the electronic device (e.g., the processor (120) of FIG. 1, the processor (320) of FIG. 3) can acquire the first preview image in a log format by performing a log operation on the raw image stream output from the camera module.

[0313] According to one embodiment, the electronic device can display a first preview image in a log format. For example, the electronic device can display the first preview image in a first area identified in operation 1330.

[0314] According to one embodiment, the electronic device can obtain a second preview image by performing at least one image processing on a first preview image in a log format. For example, the electronic device can de-log the first preview image. For example, the electronic device can convert the color space of the de-logged first preview image to a defined color space (e.g., sRGB, Rec 709). For example, the electronic device can apply at least one adjustment data to the first preview image with the converted color space. For example, the electronic device can apply inverse gamma adjustment data to the first preview image with the converted color space. For example, the electronic device can apply adjustment data containing at least one of color adjustment data or white balance adjustment data to the first preview image with the converted color space. For example, the electronic device can apply adjustment data that has been pre-downloaded to a memory (e.g., memory (130) of FIG. 1) to the first preview image. For example, the electronic device can apply adjustment data that has been pre-stored by a user with a value set to the first preview image.

[0315] According to one embodiment, the electronic device may apply second adjustment data obtained by applying a second frame to a video analysis module (e.g., the video analysis module (420) of FIG. 4) to a first preview image. For example, the electronic device may obtain second adjustment data by applying a second frame obtained by the second camera to the video analysis module after receiving user input to change the main camera from the first camera to the second camera. For example, the electronic device may obtain second adjustment data by applying a second frame obtained through the second camera to the video analysis module while the second camera is a sub-camera. For example, the electronic device may obtain second adjustment data by applying the first adjustment data and the second frame obtained from the second camera, which is the main camera, to an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (610) of FIG. 6). For example, the electronic device may obtain a second preview image by applying second adjustment data output from the video analysis module to the first preview image.

[0316] According to one embodiment, the electronic device may display a second preview image to which adjustment data is applied. For example, the electronic device may display the second preview image in a second area identified in operation 1330.

[0317] According to the disclosed embodiments, the electronic device can acquire an image having a wide dynamic range by shooting in a log format. The electronic device according to one embodiment can provide convenience to the user during shooting by displaying a preview image in a log format and a color-adjusted preview image together. The electronic device according to one embodiment can reduce the user's time and effort required to perform post-processing on the log format image by generating adjustment data using an artificial intelligence neural network model.

[0318] A method of operation of an electronic device (e.g., the electronic device (101) of FIG. 1) according to one disclosed embodiment may include an operation of identifying a setting for capturing a log format image. The method of operation may include an operation of acquiring an image stream using a camera (e.g., the camera module (180) of FIG. 1). The method of operation may include an operation of acquiring a first preview image in a log format based on the acquired image stream. The method of operation may include an operation of displaying the first preview image in a first area (e.g., the first area (911) of FIG. 9c) of a display (e.g., the display module (160) of FIG. 1). The method of operation may include an operation of receiving input from a user (e.g., the user (1) of FIG. 9a) for displaying a second preview image. The operation method may include an operation of identifying a second area (e.g., a second area (912) in FIG. 9c) of a display (e.g., a display module (160) in FIG. 1) where a second preview image is to be displayed based on input from a user (e.g., user (1) in FIG. 9a). The operation method may include an operation of acquiring a second preview image by applying adjustment data to an acquired image stream. The operation method may include an operation of displaying the second preview image in the second area (e.g., a second area (912) in FIG. 9c).

[0319] According to one embodiment, the operation of acquiring a second preview image may include converting the color space of an image stream to a defined first color space. The operation of acquiring a second preview image may include applying adjustment data to an image stream having the first color space. The operation of acquiring a second preview image may include acquiring a second preview image by rendering the image stream to which the adjustment data has been applied.

[0320] According to one embodiment, the adjustment data may be generated based on the profile of the display (e.g., the display module (160) of FIG. 1) and the profile of the sensor of the camera (e.g., the camera module (180) of FIG. 1).

[0321] According to one embodiment, the adjustment data may be data output from an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) in response to the first frame included in the image stream being applied to the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4). The artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to output adjustment data that adjusts the color of the image stream by analyzing the color of the first frame from the first frame applied to the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4).

[0322] According to one embodiment, an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to output adjustment data that adjusts the white balance of an image stream by analyzing the highlight area and shadow area of ​​the first frame.

[0323] According to one embodiment, the operation of receiving input from a user (e.g., user (1) in FIG. 9a) may include the operation of receiving input from a user (e.g., user (1) in FIG. 9a) who selects a second area (e.g., second area (912) in FIG. 9c) that overlaps with at least a portion of a first area (e.g., first area (911) in FIG. 9c). The operation of receiving input from a user (e.g., user (1) in FIG. 9a) may include the operation of identifying information regarding the location of the second area (e.g., second area (912) in FIG. 9c) based on the input from the user (e.g., user (1) in FIG. 9a).

[0324] According to one embodiment, the operation of identifying a second area (e.g., the second area (912) of FIG. 9c) may include the operation of identifying information regarding the position of a third area (e.g., the second area (1112b) of FIG. 11) in which at least one of the position and size of the second area (e.g., the second area (1112a) of FIG. 11) is adjusted, based on input from a user (e.g., user (1) of FIG. 9a) who adjusts at least one of the position and size of the second area (e.g., the second area (1112a) of FIG. 11). The operation of displaying a second preview image may include the operation of displaying a second preview image in the third area (e.g., the second area (1112b) of FIG. 11).

[0325] According to one embodiment, the operation of receiving input from a user (e.g., user (1) of FIG. 9a) may include the operation of selecting a first adjustment data from a list of multiple adjustment data stored in an electronic device (e.g., electronic device (101) of FIG. 1). The operation of obtaining a second preview image may include the operation of obtaining a second preview image by applying the first adjustment data to an image stream.

[0326] According to one embodiment, the operation method may include, in response to receiving input from a user (e.g., user (1) of FIG. 9a) who ends shooting, the operation of storing at least one of a first image stream in a log format or a second image stream obtained by applying adjustment data to the first image stream.

[0327] A computer-readable, non-transient recording medium having recorded commands for controlling an electronic device (e.g., the electronic device (101) of FIG. 1) according to one disclosed embodiment may include a command for identifying a setting for capturing a log format image. The recording medium may include a command for acquiring an image stream using a camera (e.g., the camera module (180) of FIG. 1). The recording medium may include a command for acquiring a first preview image in a log format based on the acquired image stream. The recording medium may include a command for displaying the first preview image in a first area (e.g., the first area (911) of FIG. 9c) of a display (e.g., the display module (160) of FIG. 1). The recording medium may include a command for receiving input from a user (e.g., the user (1) of FIG. 9a) for displaying a second preview image. The recording medium may include a command for identifying a second area (e.g., the second area (912) in FIG. 9c) of a display (e.g., the display module (160) in FIG. 1) where a second preview image is to be displayed based on input from a user (e.g., the user (1) in FIG. 9a). The recording medium may include a command for acquiring a second preview image by applying adjustment data to an acquired image stream. The recording medium may include a command for displaying the second preview image in the second area (e.g., the second area (912) in FIG. 9c).

[0328] An electronic device according to one disclosed embodiment (e.g., the electronic device (101) of FIG. 1) may include a camera (e.g., the camera module (180) of FIG. 1), a display (e.g., the display module (160) of FIG. 1), at least one processor (e.g., the processor (120) of FIG. 1), and a memory for storing instructions (e.g., (130) of FIG. 1). The electronic device (e.g., the electronic device (101) of FIG. 1) may identify a setting for capturing a log format image. The electronic device (e.g., the electronic device (101) of FIG. 1) may acquire an image stream using a camera (e.g., the camera module (180) of FIG. 1). The electronic device (e.g., the electronic device (101) of FIG. 1) may acquire a first preview image in a log format based on the acquired image stream. An electronic device (e.g., the electronic device (101) of FIG. 1) can display a first preview image in a first area (e.g., the first area (911) of FIG. 9c) of a display (e.g., the display module (160) of FIG. 1). The electronic device (e.g., the electronic device (101) of FIG. 1) can receive input from a user (e.g., the user (1) of FIG. 9a) for displaying a second preview image. Based on the input from the user (e.g., the user (1) of FIG. 1), the electronic device (e.g., the electronic device (101) of FIG. 1) can identify a second area (e.g., the second area (912) of FIG. 9c) of a display (e.g., the display module (160) of FIG. 1) where the second preview image is to be displayed. An electronic device (e.g., the electronic device (101) of FIG. 1) can acquire a second preview image by applying adjustment data to an acquired image stream. The electronic device (e.g., the electronic device (101) of FIG. 1) can display the second preview image in a second area (e.g., the second area (912) of FIG. 9c).

[0329] According to one embodiment, an electronic device (e.g., the electronic device (101) of FIG. 1) can convert the color space of an image stream to a defined first color space. The electronic device (e.g., the electronic device (101) of FIG. 1) can apply adjustment data to an image stream having the first color space. The electronic device (e.g., the electronic device (101) of FIG. 1) can obtain a second preview image by rendering the image stream to which the adjustment data has been applied.

[0330] According to one embodiment, the adjustment data may be generated based on the profile of the display (e.g., the display module (160) of FIG. 1) and the profile of the sensor of the camera (e.g., the camera module (180) of FIG. 1).

[0331] According to one embodiment, the adjustment data may be data output from an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) in response to the first frame included in the image stream being applied to the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4). The artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to output adjustment data that adjusts the color of the image stream by analyzing the color of the first frame from the first frame applied to the artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4).

[0332] According to one embodiment, an artificial intelligence neural network model (e.g., the artificial intelligence neural network model (421) of FIG. 4) may be trained to output adjustment data that adjusts the white balance of an image stream by analyzing the highlight area and shadow area of ​​the first frame.

[0333] According to one embodiment, input from a user (e.g., user (1) in FIG. 9a) can be received for selecting a second area (e.g., second area (912) in FIG. 9c) that overlaps with at least a portion of a first area (e.g., first area (911) in FIG. 9c). Based on the input from the user (e.g., user (1) in FIG. 9a), information regarding the location of the second area (e.g., second area (912) in FIG. 9c) can be identified.

[0334] According to one embodiment, an electronic device (e.g., the electronic device (101) of FIG. 1) can identify information regarding the position of a third area (e.g., the second area (1112b) of FIG. 11) in which at least one of the position and size of the second area (e.g., the second area (1112a) of FIG. 11) is adjusted, based on input from a user (e.g., the user (1) of FIG. 9a) who adjusts at least one of the position and size of the second area (e.g., the second area (1112a) of FIG. 11). The electronic device (e.g., the electronic device (101) of FIG. 1) can display a second preview image in the third area (e.g., the second area (1112b) of FIG. 11).

[0335] According to one embodiment, an electronic device (e.g., the electronic device (101) of FIG. 1) may select a first adjustment data from a list of multiple adjustment data stored in the electronic device (e.g., the electronic device (101) of FIG. 1). By applying the first adjustment data to an image stream, the electronic device (e.g., the electronic device (101) of FIG. 1) may obtain a second preview image.

[0336] According to one embodiment, an electronic device (e.g., the electronic device (101) of FIG. 1) may store at least one of a first image stream in a log format or a second image stream obtained by applying adjustment data to the first image stream in response to receiving input from a user (e.g., the user (1) of FIG. 9a) who ends shooting.

[0337] The effects obtainable from the present disclosure are not limited to those mentioned above, and other unmentioned effects will be clearly understood by those skilled in the art to which the present disclosure belongs from the description below.

[0338] The electronic device according to the various embodiments disclosed in this document may be of various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a consumer electronics device. The electronic device according to the embodiments of this document is not limited to the devices described above.

[0339] The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of said items unless the relevant context clearly indicates otherwise. In this document, phrases such as “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B or C,” “at least one of A, B and C,” and “at least one of A, B, or C” may each include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as “first,” “second,” or “first” or “second” may be used simply to distinguish said components from other said components and do not limit said components in any other aspect (e.g., importance or order). Where any (e.g., 1st) component is referred to as “coupled” or “connected” to another (e.g., 2nd) component, with or without the terms “functionally” or “communicationly,” it means that said any component may be connected to said other component directly (e.g., via a wire), wirelessly, or through a third component.

[0340] As used in this document, the term "module" 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 a component formed as a whole, or a minimum unit of said component or a part thereof that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0341] Various embodiments of the present document may be implemented as software (e.g., program (140)) comprising one or more instructions stored in a storage medium (e.g., internal memory (136) or external memory (138)) readable by a machine (e.g., electronic device (101)). For example, a processor (e.g., processor (120)) of the machine (e.g., electronic device (101)) may call at least one of the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The storage medium readable by the machine may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' merely means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and this term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily.

[0342] According to one embodiment, the method according to the various embodiments disclosed herein may be provided by being included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or distributed online (e.g., download or upload) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

[0343] According to various embodiments, each component (e.g., module or program) of the components described above may include a singular or multiple entities. According to various embodiments, one or more of the components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Generally or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the components of the multiple components in the same or similar manner as those performed by the corresponding component among the multiple components prior to the integration. According to various embodiments, operations performed by the module, program, or other components may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

Claims

1. In the method of operating the electronic device (101), An action to identify settings for capturing log format video; The operation of acquiring an image stream using a camera (180); The operation of acquiring a first preview image in log format based on the above-mentioned acquired image stream; The operation of displaying the above first preview image in the first area (911) of the display (160); The operation of receiving input from a user (1) to display a second preview image; An operation to identify a second area (912) of the display (160) where the second preview image will be displayed based on the input of the user (1); The operation of acquiring the second preview image by applying adjustment data to the acquired image stream; and The operation of displaying the second preview image in the second area (912); Method of operation.

2. In Claim 1, The operation of acquiring the second preview image above is, An operation to convert the color space of the above image stream to a defined first color space; The operation of applying the adjustment data to an image stream having the first color space; and The operation of obtaining the second preview image by rendering the image stream to which the adjustment data is applied, Method of operation.

3. In Claim 1, The above adjustment data A profile generated based on the profile of the display (160) and the profile of the sensor of the camera (180), Method of operation.

4. In Claim 1, The above adjustment data is, Data output from the artificial intelligence neural network model (421) in response to the first frame included in the image stream being applied to the artificial intelligence neural network model (421), and The above artificial intelligence neural network model (421) is, The artificial intelligence neural network model (421) is trained to output adjustment data that adjusts the color of the image stream by analyzing the color of the first frame from the first frame applied to the above artificial intelligence neural network model (421). Method of operation.

5. In Claim 4, The above artificial intelligence neural network model (421) A method trained to output adjustment data for adjusting the white balance of the image stream by analyzing the highlight and shadow regions of the first frame. Method of operation.

6. In Claim 1, The operation of receiving input from the above user (1) is, The operation of receiving input from a user (1) selecting the second area (912) that overlaps with at least a portion of the first area (911); and Based on the input of the user (1), the operation of identifying information regarding the location of the second area (912) Method of operation.

7. In Claim 6, The operation of identifying the second area (912) is, Based on the input of the user (1) adjusting at least one of the position and size of the second area (1112a), the method includes an operation of identifying information regarding the position of the third area (1112b) in which at least one of the position and size of the second area (1112a) has been adjusted. The operation of displaying the second preview image above is, The operation of displaying the second preview image in the third area (1112b) Method of operation.

8. In Claim 1, The operation of receiving input from the above user (1) is, The operation includes selecting a first adjustment data from a list of multiple adjustment data stored in the electronic device (101), and The operation of acquiring the second preview image above is, The operation of obtaining the second preview image by applying the first adjustment data to the image stream, Method of operation.

9. In Claim 1, The above method of operation is, In response to receiving input from a user (1) ending shooting, the method includes the operation of storing at least one of a first image stream in a log format or a second image stream obtained by applying the adjustment data to the first image stream. Method of operation.

10. A computer-readable, non-transient recording medium having instructions for controlling an electronic device (101) recorded thereon, wherein the instructions are configured to cause the electronic device (101) to perform at least one operation when executed by at least one processor (120), and the recording medium, A command to identify settings for capturing log format video; A command to acquire an image stream using a camera (180); A command to acquire a first preview image in log format based on the above-mentioned acquired image stream; A command to display the above first preview image in the first area (911) of the display (160); A command to receive input from a user (1) for displaying a second preview image; A command to identify a second area (912) of the display (160) where the second preview image will be displayed, based on the input of the user (1); A command to acquire the second preview image by applying adjustment data to the acquired image stream; and A command to display the second preview image in the second area (912); comprising Recording media.

11. In an electronic device (101), Camera (180); Display (160); At least one processor (120); and Includes memory (130) for storing instructions, The above at least one processor (120) executes the instructions individually or collectively, thereby causing the electronic device (101): Identify the settings for capturing log format video, and An image stream is obtained using the above camera (180), and Based on the above-mentioned acquired image stream, a first preview image in log format is acquired, and The first preview image is displayed in the first area (911) of the display (160), and Receiving input from a user (1) to display a second preview image, Based on the input of the user (1), the second area (912) of the display (160) to be displayed is identified, and By applying adjustment data to the above-mentioned acquired image stream, the second preview image is acquired, and Displaying the second preview image in the second area (912), Electronic device.

12. In claim 11, The above at least one processor (120) executes the instructions individually or collectively, thereby causing the electronic device (101): The color space of the above image stream is converted to a defined first color space, and Applying the adjustment data to an image stream having the first color space, By rendering the image stream to which the above adjustment data is applied, the second preview image is obtained. Electronic device.

13. In Claim 11, The above adjustment data A profile generated based on the profile of the display (160) and the profile of the sensor of the camera (180), Electronic device.

14. In Claim 11, The above adjustment data is, Data output from the artificial intelligence neural network model (421) in response to the first frame included in the image stream being applied to the artificial intelligence neural network model (421), and The above artificial intelligence neural network model (421) is, The artificial intelligence neural network model (421) is trained to output adjustment data that adjusts the color of the image stream by analyzing the color of the first frame from the first frame applied to the above artificial intelligence neural network model (421). Electronic device.

15. In Claim 14, The above artificial intelligence neural network model (421) A method trained to output adjustment data for adjusting the white balance of the image stream by analyzing the highlight and shadow regions of the first frame. Electronic device.