Method for providing image and electronic device supporting the same

By determining the size of the HDR image area and the maximum size area of ​​the display module in the electronic device, and setting the brightness range according to these sizes, the problem of quality deterioration of HDR images and over-brightness of non-HDR images on the target display is solved, achieving better image display effect.

CN118541982APending Publication Date: 2024-08-23SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380017122.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-01-27
Filing Date
2023-01-03
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When displaying HDR images, insufficient brightness settings of the target display cause image quality to deteriorate, and non-HDR images may be displayed too bright, especially when the electronic device increases the brightness when certain conditions are met.

Method used

By determining the size of the first area and the second area of ​​the display module and setting the brightness range based on these sizes to gradually increase the brightness of the display, ensure that HDR image quality does not decrease and prevent non-HDR images from being overly bright.

Benefits of technology

It effectively reduces the quality degradation of HDR images and prevents non-HDR images from being displayed too bright, improving the overall quality of image display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118541982A_ABST
    Figure CN118541982A_ABST
Patent Text Reader

Abstract

An electronic device according to various embodiments may include: a display module; and at least one processor operably connected to the display module, wherein the at least one processor is configured to: acquire an HDR image; determining a size of a first region in the display module on which the HDR image is to be displayed; determining a size of a second region in the display module on which the HDR image can be displayed at a maximum size while maintaining an aspect ratio of the HDR image; and configuring a brightness range of the display module based on the size of the first area and the size of the second area. Various other embodiments are possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Various embodiments of the present disclosure relate to a method for providing an image and an electronic device supporting the method. Background Art

[0002] Electronic devices for generating an image to which high dynamic range (HDR) is applied (hereinafter referred to as an "HDR image") and displaying the generated HDR image are being developed. HDR is a technology for displaying an image similar to an image of an object recognized by a user with their eyes by dividing contrast more finely.

[0003] The HDR image may have a brightness of up to about 10,000 nits, and the brightness of the HDR image may be mapped from the primary display to the target display by tone mapping.

[0004] In the case where the HDR image is displayed on the target display, the quality of the HDR image may deteriorate. For example, in the case where the maximum brightness of the main display is 4000 nits and the user sets the brightness of the target display with a maximum brightness of 1000 nits to 500 nits, the HDR image that can be displayed at a brightness of 4000 nits on the main display may be displayed at a brightness of 500 nits or less on the target display. In this case, the quality of the HDR image may deteriorate.

[0005] The target display may reduce quality degradation of the HDR image by up-adjusting (eg, increasing) the brightness of the target display configured by the user for images including the HDR image. Summary of the invention

[0006] Technical issues

[0007] In order to display an HDR image, if a specified condition is met, the electronic device (e.g., a target display) can increase the brightness of a display included in the electronic device. For example, in addition to the case where an HDR image is displayed using a multi-window that displays a screen through multiple windows or a pop-up window that pops up one or more windows, if the condition for displaying an HDR image through a display (hereinafter referred to as the "first condition") is met, the electronic device can increase the brightness of the display configured by the user. As another example, if the condition that the ratio of the size of the area in the display where the HDR image is to be displayed to the entire display area is equal to or greater than a specified ratio (e.g., approximately 50%) is met (hereinafter referred to as the "second condition"), the electronic device can increase the brightness of the display configured by the user.

[0008] In a case where the electronic device increases the brightness of the display when the first condition is met, if the brightness of the display is increased regardless of the size of the area on the display where the HDR image is displayed, a non-HDR image (e.g., a standard dynamic range (SDR) image) to be displayed together with the HDR image may be displayed too brightly.

[0009] In addition, in the case where the electronic device increases the brightness of the display when the second condition is met, for example, when the HDR image is displayed at the maximum size on the display while maintaining the aspect ratio of the HDR image (for example, when the HDR image is displayed in full screen while maintaining the aspect ratio of the HDR image), the ratio of the size of the area on the display where the HDR image is to be displayed to the entire display area may vary depending on the aspect ratio of the HDR image and / or the aspect ratio of the display. In this case, even if the size of the area on the display where the HDR image is displayed is maintained, the operation of increasing the brightness of the display may be performed or not performed depending on the aspect ratio of the HDR image and / or the aspect ratio of the display. In addition, if the ratio of the size of the area on the display where the HDR image is to be displayed to the entire display area changes from a ratio (for example, about 49%) less than a specified ratio (for example, about 50%) configured as a value to a ratio (for example, about 51%) greater than the specified ratio, the electronic device may increase the brightness of the display so that the brightness of the display may change suddenly.

[0010] According to various embodiments of the present disclosure, if an image to be displayed through a display includes an HDR image and a non-HDR image, quality degradation of the HDR image may be reduced and / or the non-HDR image may be prevented from being displayed too brightly.

[0011] The technical problems to be solved by the present disclosure are not limited to the above-mentioned technical problems, and other technical problems not mentioned can be clearly understood from the following description by ordinary technicians in the relevant fields of this document.

[0012] Technical Solution

[0013] An electronic device according to various embodiments may include a display module and at least one processor operably connected to the display module, wherein the at least one processor may be configured to: obtain an HDR image; determine a size of a first area of ​​the display module, the first area being an area in which the HDR image is to be displayed; determine a size of a second area of ​​the display module, the size of the second area corresponding to a maximum size of the HDR image that can be displayed while maintaining an aspect ratio of the HDR image; and set a brightness range of the display module based on the size of the first area and the size of the second area.

[0014] A method for providing an image in an electronic device according to various embodiments may include: obtaining an HDR image; determining a size of a first area of ​​a display module of the electronic device, the first area being an area in which the HDR image is to be displayed; determining a size of a second area of ​​the display module, the size of the second area corresponding to a maximum size of the HDR image that can be displayed while maintaining an aspect ratio of the HDR image; and setting a brightness range of the display module based on the size of the first area and the size of the second area.

[0015] Beneficial Effects

[0016] When an image to be displayed through a display includes an HDR image and a non-HDR image, a method for providing an image according to various embodiments and an electronic device supporting the method can gradually increase the brightness of the display configured by a user, thereby reducing quality degradation of the HDR image and / or preventing the non-HDR image from being displayed too brightly. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a block diagram of an electronic device in a network environment according to various embodiments.

[0018] Figure 2 is a block diagram of an electronic device according to various embodiments.

[0019] Figure 3 is a flowchart illustrating a method of providing an image according to various embodiments.

[0020] Figure 4 is an exemplary diagram illustrating a method of determining a size of a second region according to various embodiments.

[0021] Figure 5 is a flow chart illustrating a method of setting a brightness range of a display according to various embodiments.

[0022] Figure 6 is an exemplary diagram illustrating a method of setting a brightness range of a display according to various embodiments.

[0023] Figure 7 is an exemplary diagram illustrating a method of setting a brightness range of a display according to various embodiments.

[0024] Figure 8 is a flowchart illustrating a method of providing an image using a multi-window function according to various embodiments.

[0025] Fig. 9 is an exemplary diagram illustrating a method of providing an image using a multi-window function according to various embodiments.

[0026] Fig.10 is an exemplary diagram illustrating a method of providing an image using a pop-up window function according to various embodiments.

[0027] Fig.11a and Fig.11b is a diagram illustrating an electronic device including a slidable display according to various embodiments.

[0028] Fig.12 is a flowchart illustrating a method of providing an image in an electronic device including a slidable display according to various embodiments.

[0029] Fig.13 is an exemplary diagram illustrating a method of providing an image in an electronic device including a slidable display according to various embodiments.

[0030] Fig.14 is an example diagram illustrating an area ratio determined when a display area in an electronic device including a slidable display is changed according to various embodiments.

[0031] Fig.15 is an example diagram illustrating a scale factor determined when a display area in an electronic device including a slidable display is changed according to various embodiments.

[0032] Fig.16 is an exemplary diagram illustrating a method of providing an image in an electronic device including a slidable display according to various embodiments. DETAILED DESCRIPTION

[0033] Figure 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments.

[0034] refer to Figure 1, the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with at least one of the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identification module (Subscriber Identification Module, SIM) 196, or an antenna module 197. In some embodiments, at least one of the above components (e.g., the connection terminal 178) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the above-described components (eg, sensor module 176, camera module 180, or antenna module 197) may be implemented as a single component (eg, display module 160).

[0035] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 coupled to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may store a command or data received from another component (e.g., sensor module 176 or communication module 190) in the volatile memory 132, process the command or data stored in the volatile memory 132, and store the resultant data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) or an auxiliary processor 123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor or a communication processor (CP)) that is operationally independent or combined with the main processor 121. For example, when the electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or may be adapted to be dedicated to a specific function. The auxiliary processor 123 may be implemented to be separate from the main processor 121, or may be implemented as a part of the main processor 121.

[0036] For example, while the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 (rather than the main processor 121) may control at least some of the functions or states related to at least one component (e.g., display module 160, sensor module 176, or communication module 190) among the components of the electronic device 101, or while the main processor 121 is in an active (e.g., running an application) state, the auxiliary processor 123 may control at least some of the functions or states related to at least one component (e.g., display module 160, sensor module 176, or communication module 190) among the components of the electronic device 101 together with the main processor 121. According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., a camera module 180 or a communication module 190) that is functionally related to the auxiliary processor 123. According to an embodiment, the auxiliary processor 123 (e.g., a neural processing unit) may include a hardware structure dedicated to artificial intelligence model processing. The artificial intelligence model may be generated by machine learning. For example, such learning can be performed by the electronic device 101 where the artificial intelligence model is executed or via a separate server (e.g., server 108). The learning algorithm may include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, for example. The artificial intelligence model may include multiple artificial neural network layers. The 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) or a deep Q network, or a combination of two or more thereof, but is not limited thereto. Additionally or alternatively, the artificial intelligence model may include a software structure in addition to a hardware structure.

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

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

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

[0040] The sound output module 155 can output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records. The receiver can be used to receive incoming calls. Depending on the embodiment, the receiver can be implemented as a part of the speaker or as a part of the speaker.

[0041] The display module 160 may 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 to control a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display module 160 may include a touch sensor adapted to detect a touch or a pressure sensor adapted to measure the strength of a force caused by a touch.

[0042] The audio module 170 can convert sound into an electrical signal, and vice versa. According to an embodiment, the audio module 170 can obtain sound via the input module 150, or output sound via the sound output module 155 or an external electronic device (e.g., electronic device 102 (e.g., speaker or earphone)) directly or wirelessly coupled to the electronic device 101.

[0043] The sensor module 176 can detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a user's state) outside the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a posture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.

[0044] The interface 177 may support one or more specific protocols for directly or wirelessly coupling the electronic device 101 with an external electronic device (e.g., the electronic device 102). According to an embodiment, the interface 177 may include, for example, a High Definition Multimedia Interface (HDMI), a Universal Serial Bus (USB) interface, a Secure Digital (SD) card interface, or an audio interface.

[0045] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0046] The haptic module 179 may convert the electric signal into mechanical stimulation (eg, vibration or motion) or electric stimulation that can be recognized by the user via his tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.

[0047] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

[0048] The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a portion of a power management integrated circuit (PMIC).

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

[0050] The communication module 190 can support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors that can operate independently of the processor 120 (e.g., an application processor (AP)) and support direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a Global Navigation Satellite System (GNSS) communication module) or a wired communication module 194 (e.g., a Local Area Network (LAN) communication module or a Power Line Communication (PLC) module). A corresponding one of these communication modules can communicate via a first network 198 (e.g., a short-range communication network such as Bluetooth). TM The wireless communication module 192 may communicate with the external electronic device 104 through a wireless communication network 198 (e.g., a wireless Fidelity (Wi-Fi) direct connection or an infrared data association (IrDA)) or a second network 199 (e.g., a long-distance communication network such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multiple components (e.g., multiple chips) separated from each other. The wireless communication module 192 may identify or authenticate the electronic device 101 in a communication network (such as a first network 198 or a second network 199) using subscriber information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the subscriber identification module 196.

[0051] The wireless communication module 192 can support 5G networks after 4G networks and next-generation communication technologies (e.g., New Radio (NR) access technology). NR access technology can support enhanced mobile broadband (eMBB), massive machine type communication (mMTC), or ultra-reliable low-latency communication (URLLC). The wireless communication module 192 can support high-frequency bands (e.g., millimeter wave bands) to achieve, for example, high data transmission rates. The wireless communication module 192 can support various technologies for ensuring performance on high-frequency bands, such as, for example, beamforming, massive multiple-input multiple-output (massive MIMO), full-dimensional MIMO (Full Dimentional-MIMO, FD-MIMO), array antennas, analog beamforming, or massive antennas. The wireless communication module 192 can support various requirements specified in the electronic device 101, an external electronic device (e.g., an electronic device 104), or a network system (e.g., a second network 199). According to an embodiment, the wireless communication module 192 can support a peak data rate for implementing eMBB (e.g., 20 Gbps or greater), loss coverage for implementing mMTC (e.g., 164 dB or less), or U-plane latency for implementing URLLC (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less round trip).

[0052] The antenna module 197 may send a signal or power to the outside of the electronic device 101 (e.g., an external electronic device) or receive a signal or power from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiating element, and the radiating element is formed of a conductive material or a conductive pattern formed in a substrate (e.g., a printed circuit board (PCB)) or formed on a substrate. According to an embodiment, the antenna module 197 may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 198 or the second network 199) may be selected from the plurality of antennas by, for example, the communication module 190. Then, a signal or power may be sent or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 197.

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

[0054] At least some of the above components can be connected to each other via an inter-peripheral communication scheme (e.g., a bus, a general purpose input / output (GPIO), a serial peripheral interface (SPI), or a mobile industrial processor interface (MIPI)) and transmit signals (e.g., commands or data) therebetween.

[0055] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via a server 108 coupled to the second network 199. Each of the external electronic devices 102 or 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be executed by the electronic device 101 may be executed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should automatically perform a function or service or perform a function or service 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 a portion of the function or service instead of running the function or service, or the electronic device 101 may request one or more external electronic devices to perform at least a portion of the function or service in addition to running the function or service. The one or more external electronic devices that receive the request may perform at least a portion of the requested function or service, or an additional function or additional service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 can provide the result as at least a part of the reply to the request when the result is further processed or when the result is not further processed. To this end, cloud computing technology, distributed computing technology, mobile edge computing (MEC) technology or client-server computing technology, for example, can be used. The electronic device 101 can use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another 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 an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199. The electronic device 101 can be applied to intelligent services (e.g., smart homes, smart cities, smart cars or health care) based on 5G communication technology or IoT related technologies.

[0056] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those electronic devices described above.

[0057] It should be understood that the various exemplary embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalents or replacements for the corresponding embodiments. With regard to the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things, unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include any one of the items listed together with the corresponding phrase in the phrase or all possible combinations thereof. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “coupled with another element (e.g., a second element)”, “coupled to another element (e.g., the second element)”, “connected with another element (e.g., the second element)” or “connected to another element (e.g., the second element)” with or without the terms “operably” or “communicatively” being used, it means that one element can be directly (e.g., wired) coupled with another element, wirelessly coupled with another element, or connected with another element via a third element.

[0058] As used in connection with various embodiments of the present disclosure, the term "module" may include units implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or the smallest unit or portion of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an Application-Specific Integrated Circuit (ASIC).

[0059] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read 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 in the storage medium and execute the at least one instruction. This allows the machine to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" simply means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.

[0060] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided 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 machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be distributed via an application store (e.g., Play Store TM ) The computer program product may be distributed (e.g., downloaded or uploaded) online, or may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smart phones). If distributed online, at least a portion of the computer program product may be temporarily generated, or at least a portion of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, an application store's server, or a relay server).

[0061] According to various embodiments, each component (e.g., module or program) in the above-mentioned components may include a single entity or multiple entities, and some of the multiple entities may be separately arranged in different components. According to various embodiments, one or more of the above-mentioned components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, the integrated component may still perform one or more functions of each component in the multiple components in the same or similar manner as a corresponding one of the multiple components performing one or more functions before integration. According to various embodiments, the operations performed by a module, a program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more of the operations may be run or omitted in a different order, or one or more other operations may be added.

[0062] Figure 2 is a block diagram of an electronic device 101 according to various embodiments.

[0063] refer to Figure 2 In an embodiment, the electronic device 101 may include a display module 210 , a memory 220 and / or a processor 230 .

[0064] In an embodiment, the display module 210 may be included in Figure 1 In the display module 160.

[0065] In an embodiment, the display module 210 may display an image including an HDR image. For example, the display module 210 may display an image including one or more HDR images and a non-HDR image (e.g., an SDR image). However, the present disclosure is not limited thereto, and the display module 210 may only display one or more HDR images or only display non-HDR images.

[0066] In an embodiment, the display module 210 may display an image including an HDR image using a multi-window function of displaying a screen through a plurality of windows or a pop-up window function of displaying a screen in a manner of popping up one or more windows.

[0067] In an embodiment, the display module 210 may include a flexible display in which an area visually exposed to the outside can be varied. Fig.11a An example in which an electronic device including a flexible display performs an operation of providing an image is described in detail.

[0068] In an embodiment, the memory 220 may be included in Figure 1 in the memory 130.

[0069] In an embodiment, the memory 220 may store information for performing at least a portion of the operation of providing an image. For example, the memory 220 may include instructions for causing the processor 230 to perform the operation of providing an image.

[0070] In an embodiment, the processor 230 may be included in Figure 1 In the processor 120.

[0071] In an embodiment, the processor 230 may control the overall operation of providing an image. In an embodiment, the processor 230 may include one or more processors for performing the operation of providing an image.

[0072] In the embodiment, although Figure 2 1 shows that the electronic device 101 includes a display module 210, a memory 220 and / or a processor 230, but the present disclosure is not limited thereto. Figure 2 In addition to the components shown, the electronic device 101 may also include Figure 1 At least one element shown (eg, camera module 180 or communication module 190).

[0073] According to various embodiments, the electronic device 101 may include a display module 210 and at least one processor (e.g., processor 230) operably connected to the display module 210, and the at least one processor (e.g., processor 230) may be configured to: obtain an HDR image; determine the size of a first area in the display module 210 in which the HDR image is to be displayed; determine the size of a second area in the display module 210 in which the HDR image can be displayed at a maximum size while maintaining the aspect ratio of the HDR image; and configure the brightness range of the display module 210 based on the size of the first area and the size of the second area.

[0074] In various embodiments, the aspect ratio of the HDR image may be a ratio of a vertical value of a resolution of the HDR image to a horizontal value of a resolution of the HDR image, and the second area may be an area having a maximum size among areas in the display module 210 that can display the HDR image while maintaining the aspect ratio of the HDR image.

[0075] In various embodiments, at least one processor (e.g., processor 230) may be configured to: determine an area ratio, which is a ratio of a size of a first area to a size of a second area; determine a scaling factor based on the area ratio; and set a brightness range of the display module 210 based on the scaling factor.

[0076] In various embodiments, the scaling factor may increase as the area ratio increases within a specified interval of area ratios.

[0077] In various embodiments, at least one processor (e.g., processor 230) may be configured to set the brightness range of the display module 210 based on the first brightness set by the user of the display module 210 if the area ratio is less than the minimum value of the specified interval. In one embodiment, at least one processor (e.g., processor 230) may be configured to set the brightness range of the display module 210 based on a scaling factor and the first brightness if the area ratio is greater than or equal to the minimum value of the specified interval and less than the maximum value of the specified interval, the scaling factor increases as the area ratio increases in the specified interval. In one embodiment, at least one processor (e.g., processor 230) may be configured to set the brightness range of the display module 210 based on a scaling factor and the first brightness if the area ratio is greater than or equal to the maximum value of the specified interval, the scaling factor being determined as the ratio of the maximum brightness at which the display module 210 is set to display the HDR image to the maximum brightness that the display module 210 can be set by the user.

[0078] In various embodiments, based on the HDR image including multiple HDR images, at least one processor (e.g., processor 230) may be configured to: determine sizes of multiple first areas in the display module 210 in which the multiple HDR images are to be displayed; determine sizes of multiple second areas in the display module 210 in which the HDR images can be displayed at a maximum size while maintaining the aspect ratio of the HDR images; determine multiple area ratios based on the sizes of the multiple first areas and the sizes of the multiple second areas; and determine the area ratios based on the multiple area ratios and multiple weights assigned to the respective area ratios.

[0079] In various embodiments, based on multiple HDR images included in the HDR image being respectively displayed in multiple windows generated by a multi-window function, at least one processor (e.g., processor 230) may be configured to: determine sizes of multiple first areas in the multiple windows in which the multiple HDR images are to be displayed; determine sizes of multiple second areas in the multiple windows in which the HDR images can be displayed at a maximum size while maintaining an aspect ratio of the HDR images; and set a brightness range of the display module 210 based on the sizes of the multiple first areas and the sizes of the multiple second areas.

[0080] In various embodiments, based on one or more HDR images included in the HDR image being generated by a pop-up window function and being respectively displayed in one or more windows that at least partially overlap with each other, at least one processor (e.g., processor 230) may be configured to: identify a window set on top of the display module 210 among the one or more windows; and determine the HDR image displayed in the window as an HDR image for determining the first area and the second area.

[0081] Figure 3is a flow chart 300 illustrating a method of providing an image according to various embodiments.

[0082] refer to Figure 3 , in operation 301, in an embodiment, the processor 230 may obtain (or receive) an HDR image.

[0083] In an embodiment, the processor 230 may receive an HDR image signal including an encoded HDR image and metadata (e.g., metadata of the HDR image) from an external electronic device (e.g., server 108, electronic device 102, and / or electronic device 104). The HDR image signal may be obtained (or received) from an external electronic device through a real-time streaming method or a downloading method. The processor 230 may decode the encoded HDR image (e.g., decode the HDR image using a decoding method corresponding to its encoding method) to obtain an HDR image, and parse the HDR image signal to obtain metadata.

[0084] In an embodiment, the processor 230 may obtain the HDR image (and / or metadata) through the camera module 180. In an embodiment, the processor 230 may obtain the HDR image from the memory 220.

[0085] In an embodiment, the metadata may include dynamic metadata. In an embodiment, the metadata may include at least one of a color gamut, a color depth (or bit depth), a gamma value, or data for tone mapping. The data for tone mapping may include a tone mapping coefficient. The tone mapping coefficient may include data necessary to obtain a tone mapping function in the electronic device 101. For example, the tone mapping coefficient may include the maximum brightness of the main display, the maximum brightness of the target display, or the coordinates of at least one point necessary to obtain (e.g., generate) a tone mapping function (e.g., at least one of an inflection point coordinate or an anchor point coordinate). However, the information included in the metadata is not limited to the above examples. For example, the metadata may also include information specified in a standard related to HDR (e.g., CTA-861, ST 2086, or ST 2094-40).

[0086] In an embodiment, the processor 230 may obtain an HDR image and a non-HDR image to be displayed together with the HDR image through the display module 210. The non-HDR image may include an image other than the HDR image (eg, an SDR image).

[0087] In embodiments, HDR images may include still images and / or dynamic images (videos) that can be displayed in HDR.

[0088] In operation 303 , in an embodiment, the processor 230 may determine a size of a first area in the display module 210 in which an HDR image is to be displayed.

[0089] In an embodiment, the processor 230 may determine the size of an area in the display module 210 (hereinafter referred to as the “first area”) in which the HDR image is to be displayed based on the resolution of the HDR image, the size of the display module 210, and / or the setting of an application (e.g., a video application or a gallery application) used to display the HDR image.

[0090] In an embodiment, the resolution of the HDR image may include the number of horizontal pixels and the number of vertical pixels constituting the HDR image.

[0091] In an embodiment, the size of the display module 210 may include the total number of pixels included in the display module 210 (or the area occupied by all pixels).

[0092] In an embodiment, the settings for the application to display the HDR image may include settings related to the position and / or size of the first area (or window) in which the HDR image is to be displayed in the screen to be displayed by the display module 210.

[0093] In an embodiment, the size of the first region may include the number of pixels (or the area occupied by the pixels) disposed in the first region in the display module 210 .

[0094] In an embodiment, the HDR image to be displayed by the display module 210 may be an original HDR image generated during mastering. However, the present disclosure is not limited thereto, and the HDR image to be displayed by the display module 210 may include an image obtained by cropping the original HDR image and / or an image obtained by enlarging / reducing the original HDR image based on a zoom factor. For example, the HDR image to be displayed by the display module 210 may include an image obtained by editing (or modifying) the original HDR image and then displaying it via the display module 210.

[0095] In operation 305 , in an embodiment, the processor 230 may determine a size of a second area in the display module 210 in which the HDR image can be displayed in a maximum size while maintaining an aspect ratio of the HDR image.

[0096] In an embodiment, the aspect ratio of the HDR image may indicate a ratio of a vertical value to a horizontal value of a resolution of the HDR image. For example, if the resolution of the HDR image is 1920*1080 (the horizontal value of the resolution of the HDR image is 1920, and the vertical value of the resolution of the HDR image is 1080), the aspect ratio of the HDR image may be 1080 / 1920.

[0097] In an embodiment, the second area in the display module 210 in which the HDR image can be displayed in a maximum size while maintaining the aspect ratio of the HDR image (hereinafter referred to as the "second area") may be an area having a maximum size among the areas in the display module 210 in which the HDR image can be displayed while maintaining the aspect ratio of the HDR image.

[0098] In an embodiment, the size of the second region may include the number of pixels (or the area occupied by the pixels) disposed in the second region in the display module 210 .

[0099] In the following, reference will be made to Figure 4 The method of determining the size of the second region is described in more detail.

[0100] Figure 4 is an example diagram 400 illustrating a method of determining a size of a second region according to various embodiments.

[0101] refer to Figure 4 In an embodiment, the processor 230 may determine (e.g., calculate) the size of the second region based on the horizontal length and vertical length of the first region (or the horizontal value and vertical value of the resolution of the HDR image) and the horizontal length and vertical length of the display module 210. For example, the processor 230 may determine the size of the second region based on the following equations 1 to 4.

[0102] [Equation 1]

[0103]

[0104] In Equation 1, W display It can represent the horizontal length of the display module 210, H display It can represent the vertical length of the display module 210, Max(W display ,H display ) may represent the longer one of the horizontal length of the display module 210 and the vertical length of the display module 210, and Min(W display ,H display ) may represent the shorter of a horizontal length of the display module 210 and a vertical length of the display module 210 .

[0105] [Equation 2]

[0106]

[0107] In Equation 2, W video H may represent the horizontal length of the first region (or the horizontal value of the resolution of the HDR image), video It can represent the vertical length of the first area (or the vertical value of the resolution of the HDR image), Max(W video,H video ) may represent the longer one of the horizontal length of the first region and the vertical length of the display module 210, and Min(W video ,H video ) may represent the shorter of a horizontal length of the first region and a vertical length of the display module 210.

[0108] [Equation 3]

[0109] If the first ratio is greater than or equal to the second ratio,

[0110] Then the size of the second area =

[0111] Min(W device ,H device )x{Min(W device ,H device )x(second ratio)}

[0112] [Equation 4]

[0113] If the first ratio is less than the second ratio,

[0114] Then the size of the second area =

[0115] Max(W device ,H device )x{Max(W device ,H device ) / (second ratio)}

[0116] Referring to Equation 3 and Equation 4, if the first ratio calculated using Equation 1 is greater than or equal to the second ratio calculated using Equation 2, the processor 230 may calculate the size of the second region using Equation 3. If the first ratio calculated using Equation 1 is less than the second ratio calculated using Equation 2, the processor 230 may calculate the size of the second region using Equation 4.

[0117] In an embodiment, Figure 4In the reference numeral 401 of FIG. 1 , the horizontal length and vertical length of the display module 210 in the horizontal mode (also referred to as the "landscape mode") may be a and b (a>b), respectively, and the horizontal length and vertical length of the first area 411 displaying the HDR image may be m1 and n1 (m1>n1), respectively. Based on Equations 1 and 2, the processor 230 may calculate a / b as the first ratio and calculate m1 / n1 as the second ratio. Based on identifying in the reference numeral 401 that the first ratio is greater than the second ratio, the processor 230 may determine the size of the second area 412 as b*{b*(m1 / n1)} based on Equation 3. In the reference numeral 401, the horizontal length c1 of the second area 412 may be b*(m1 / n1), and the vertical length d1 of the second area 412 may be b.

[0118] In an embodiment, Figure 4 In the reference numeral 402 of FIG. 1 , the horizontal length and the vertical length of the display module 210 in the landscape mode may be a and b (a>b), respectively, and the horizontal length and the vertical length of the first area 421 displaying the HDR image may be m2 and n2 (m2>n2), respectively. Based on Equations 1 and 2, the processor 230 may calculate a / b as the first ratio and calculate m2 / n2 as the second ratio. Based on identifying that the first ratio is greater than the second ratio in the reference numeral 401, the processor 230 may determine the size of the second area as b*{b*(m2 / n2)} based on Equation 3. In the reference numeral 402, the horizontal length of the second area may be b*(m2 / n2), and the vertical length of the second area 412 may be b. Since the reference numeral 402 shows the case where the HDR image is displayed in the display module 210 at the maximum size while maintaining the aspect ratio of the HDR image, the size of the first area 421 may be the same as the size of the second area.

[0119] In an embodiment, Figure 4 In the reference numeral 403 of FIG. 1 , the horizontal length and vertical length of the display module 210 in the vertical mode (also referred to as the "portrait mode") may be b and a (a>b), respectively, and the horizontal length and vertical length of the first area 431 displaying the HDR image may be m3 and n3 (m3>n3), respectively. Based on Equations 1 and 2, the processor 230 may calculate a / b as the first ratio and calculate m3 / n3 as the second ratio. Based on identifying in the reference numeral 403 that the first ratio is greater than the second ratio, the processor 230 may determine the size of the second area 432 as b*{b*(m3 / n3)} based on Equation 3. In the reference numeral 403, the horizontal length c3 of the second area 432 may be b, and the vertical length d3 of the second area 432 may be b*(m3 / n3).

[0120] Return to reference Figure 3 , in operation 307, in an embodiment, the processor 230 may set a brightness range of the display module 210 based on the size of the first area and the size of the second area.

[0121] In an embodiment, the brightness range of the display module 210 may be a brightness range (also referred to as "brightness") at which the display module 210 displays an HDR image. For example, if the brightness range of the display module 210 is set to 0 nits to 400 nits, the HDR image may be displayed within a brightness range of 0 nits to 400 nits. As another example, if the brightness range of the display module 210 is set to 0 nits to 400 nits, and if the grayscale of the HDR image is within a range of 0 to 255, the pixels of the HDR image with a maximum grayscale of 255 may be displayed by the display module 210 at a brightness of 400 nits. Hereinafter, for ease of description, the maximum value of the brightness range of the display module 210 will be referred to as "the brightness of the display module 210". In addition, the maximum brightness of the display module 210 (e.g., the maximum brightness that the display module 210 can provide in hardware) will be referred to as "the maximum brightness of the display module 210". Furthermore, the brightness of the display module 210 set by the user (eg, set based on user input) (eg, the maximum value of the brightness range of the display module 210 set by the user) will be referred to as "user-specified brightness".

[0122] In an embodiment, the maximum brightness of the display module 210 that can be set by the user may be less than the maximum brightness of the display module 210. For example, when manufacturing the electronic device 101, if the maximum brightness of the display module 210 is 500 nits, the maximum brightness of the display module 210 that can be set by the user may be set to 400 nits in consideration of battery power consumption and / or battery life. However, the present disclosure is not limited thereto, and the maximum brightness of the display module 210 that can be set by the user may be the same as the maximum brightness of the display module 210.

[0123] In the following, reference will be made to Figures 5 to 7 An embodiment of an operation in which the processor 230 sets the brightness range of the display module 210 based on the size of the first area and the size of the second area is described in detail.

[0124] Figure 5 is a flow chart 500 illustrating a method of setting a brightness range of a display according to various embodiments.

[0125] Figure 6 is an example diagram 600 illustrating a method of setting a brightness range of a display according to various embodiments.

[0126] Figure 7 is an example diagram 700 illustrating a method of setting a brightness range of a display according to various embodiments.

[0127] refer to Figures 5 to 7 , in operation 501, in an embodiment, the processor 230 may determine an area ratio based on a size of the first area and a size of the second area.

[0128] In an embodiment, an area ratio (hereinafter referred to as “area ratio”) may be defined as a ratio of a size of a first area to a size of a second area. In an embodiment, the area ratio may be a value for determining a scale factor to be described in operation 503 .

[0129] In operation 503 , in an embodiment, the processor 230 may determine a scaling factor based on the area ratio.

[0130] In an embodiment, the scaling factor may be a ratio of the brightness of the display module 210 to the user-specified brightness. For example, the processor 230 may determine the brightness of the display module 210 (e.g., the brightness range of the display module 210) by multiplying the scaling factor by the user-specified brightness. In an embodiment, the scaling factor may be a coefficient for increasing (e.g., increasing) the brightness set by the user. In an embodiment, the scaling factor may be referred to as a "brightness increase coefficient."

[0131] In an embodiment, the processor 230 may set a function of the scale factor for the area ratio so that the scale factor increases as the area ratio increases in a specified interval of the area ratio. For example, the processor 230 may determine the scale factor using the following equation 5.

[0132] [Equation 5]

[0133]

[0134] Referring to Equation 5, if the area ratio is less than a first threshold area ratio r1 (e.g., about 0.4) that is a minimum value of a specified interval, the processor 230 may determine the scale factor to be "1." If the scale factor is "1," the processor 230 may determine the user-specified brightness as the brightness of the display module 210.

[0135] In an embodiment, if the area ratio is greater than or equal to the first threshold area ratio r1 and less than the second threshold area ratio r2 (e.g., about 0.9) which is the maximum value of the specified interval, the processor 230 may determine the scaling factor based on the function f(x). In an embodiment, the function f(x) may be a function that gradually increases the scaling factor as the area ratio increases within the range where the area ratio is greater than or equal to the first threshold area ratio r1 and less than the second threshold area ratio r2. For example, Figure 6As shown in the graph shown by reference numeral 602 in FIG. 1 , the function f(x) may be a linear function that increases the proportional factor as the area ratio increases within a range where the area ratio is equal to or greater than a first threshold area ratio r1 and less than a second threshold area ratio r2. As another example, Figure 6 As shown in the graph shown by reference numeral 603 in FIG. 1 , the function f(x) may be a function that increases the proportional factor in a stepwise manner as the area ratio increases within a range where the area ratio is greater than or equal to a first threshold area ratio r1 and less than a second threshold area ratio r2. As another example, Figure 6 As shown in the graph shown by reference numeral 604 in FIG. 1 , the function f(x) may be a multi-order function that increases the proportional factor as the area ratio increases within the range where the area ratio is greater than or equal to the first threshold area ratio r1 and less than the second threshold area ratio r2 (or a monotonically increasing function in which the proportional factor does not decrease as the area ratio increases). However, the form of the function f(x) is not limited to the graphs shown by reference numerals 602 to 604.

[0136] In an embodiment, if the area ratio is greater than or equal to the second threshold area ratio r2, the processor 230 may determine the scale factor to be max. Max may be a ratio of the maximum brightness at which the display module 210 is set to display the HDR image (e.g., the maximum brightness of the display module 210 set when the HDR image is displayed) to the maximum brightness that the display module 210 can be set by the user. In an embodiment, the maximum brightness at which the display module 210 is set to display the HDR image may be set to be greater than the maximum brightness that the display module 210 can be set by the user, and equal to or less than the maximum brightness of the display module 210 (the maximum brightness that the display module 210 can provide in hardware).

[0137] Although the processor 230 is shown in operation 503 as the area ratio increases in the specified interval of the area ratio, the present disclosure is not limited thereto. For example, the processor 230 may increase the scale factor as the area ratio increases in the entire interval of the area ratio (e.g., when the interval of the area ratio is 0 to 1).

[0138] In operation 505, in an embodiment, the processor 230 may set the brightness range of the display module 210 based on the scale factor. For example, the processor 230 may determine the brightness of the display module 210 by multiplying the scale factor determined in operation 503 by the user-specified brightness, and set the brightness range of the display module 210 based on the determined brightness of the display module 210.

[0139] In an embodiment, the processor 230 may set a function of the scaling factor for the area ratio such that the scaling factor increases as the area ratio increases in a specified interval of the area ratio, thereby reducing quality degradation of the HDR image and preventing the non-HDR image from being displayed too brightly when the image to be displayed by the display includes an HDR image and a non-HDR image.

[0140] In an embodiment, Figure 6 Reference numeral 601 in FIG. 6 may represent a graph of the brightness of the display module 210 depending on the area ratio according to the comparative example. In the comparative example, if the ratio of the size of the area in the display module 210 displaying the HDR image to the entire area of ​​the display module 210 is less than a specified ratio r (e.g., about 0.5), the brightness of the display module 210 may be set to a user-specified brightness (e.g., a1). In the comparative example, if the ratio of the size of the area in the display module 210 displaying the HDR image to the entire area of ​​the display module 210 is greater than or equal to the specified ratio r, the brightness of the display module 210 may be set to a brightness obtained by multiplying the ratio of the maximum brightness at which the display module 210 is set to display the HDR image to the maximum brightness that the display module 210 can be set by the user of the display module 210 by the user-specified brightness (e.g., a2). In a comparative example, when the ratio of the size of the area on the display where the HDR image is to be displayed to the entire area of ​​the display changes from a ratio (e.g., approximately 0.49) that is less than a specified ratio r (e.g., approximately 0.5) to a ratio (e.g., approximately 0.51) that is greater than the specified ratio r, the brightness of the display module 210 may suddenly change.

[0141] In an embodiment, reference numeral 602 may show a graph representing the brightness of the display module 210 depending on the area ratio, in the case where the function f(x) in Equation 5 is a linear function that increases the scale factor as the area ratio increases within a range where the area ratio is greater than or equal to the first threshold area ratio r1 and less than the second threshold area ratio r2. In reference numeral 602, if the area ratio is less than the first threshold area ratio r1, the processor 230 may determine the brightness of the display module 210 as the user-specified brightness (e.g., a1) (e.g., when the scale factor is determined to be "1"). If the area ratio is greater than or equal to the first threshold area ratio r1 and less than the second threshold area ratio r2, the processor 230 may determine the brightness of the display module 210 using a linear function that increases the scale factor as the area ratio increases. If the area ratio is greater than or equal to the second threshold area ratio r2, the processor 230 may determine the brightness of the display module 210 as the brightness obtained by multiplying the user-specified brightness by the max in Equation 5 (for example, when the scaling factor is determined as the ratio of the maximum brightness at which the display module 210 is set to display the HDR image to the maximum brightness that the display module 210 can be set by the user).

[0142] In an embodiment, reference numeral 603 may show that, in the case where the function f(x) in equation 5 is a function that increases the scale factor stepwise as the area ratio increases within a range where the area ratio is greater than or equal to the first threshold area ratio r1 and less than the second threshold area ratio r2, a graph representing the brightness of the display module 210 depending on the area ratio. In reference numeral 603, if the area ratio is less than the first threshold area ratio r1, the processor 230 may determine the brightness of the display module 210 as the user-specified brightness (e.g., a1) (e.g., when the scale factor is determined to be "1"). If the area ratio is greater than or equal to the first threshold area ratio r1 and less than the second threshold area ratio r2, the processor 230 may determine the brightness of the display module 210 using a function that increases the scale factor stepwise as the area ratio increases. If the area ratio is greater than or equal to the second threshold area ratio r2, the processor 230 may determine the brightness of the display module 210 as the brightness obtained by multiplying the user-specified brightness by the max in equation 5 (e.g., a2).

[0143] In an embodiment, reference numeral 604 may show that, in the case where the function f(x) in equation 5 is a multi-order function that increases the scale factor as the area ratio increases within a range where the area ratio is greater than or equal to the first threshold area ratio r1 and less than the second threshold area ratio r2 (or a monotonically increasing function in which the scale factor does not decrease as the area ratio increases), a graph representing the brightness of the display module 210 depending on the area ratio. In reference numeral 604, if the area ratio is less than the first threshold area ratio r1, the processor 230 may determine the brightness of the display module 210 as the user-specified brightness (e.g., a1) (e.g., when the scale factor is determined to be "1"). If the area ratio is greater than or equal to the first threshold area ratio r1 and less than the second threshold area ratio r2, the processor 230 may determine the brightness of the display module 210 using a multi-order function that increases the scale factor as the area ratio increases. If the area ratio is greater than or equal to the second threshold area ratio r2, the processor 230 may determine the brightness of the display module 210 as the brightness obtained by multiplying the user-specified brightness by the max in equation 5 (e.g., a2).

[0144] In an embodiment, Figure 7It may be a diagram showing the brightness range of the display module 210 set by the processor 230 when the size of the first area in the display module 210 increases. For example, in reference numeral 701, if the area ratio 710 of the second area to the first area is 0.4, the processor 230 may set the brightness of the display module 210 to 400 nits (e.g., the brightness range of the display module 210 is set to 0 to 400 nits). In reference numeral 702, if the area ratio 720 of the second area to the first area is 0.6, the processor 230 may set the brightness of the display module 210 to 600 nits. In reference numeral 703, if the area ratio 730 of the second area to the first area is 0.8, the processor 230 may set the brightness of the display module 210 to 800 nits. The processor 230 may perform settings so that the brightness of the display module 210 gradually increases with the increase of the area ratio, as shown in reference numerals 702 to 703.

[0145] On the other hand, in the comparative example, if the ratio of the size of the area in the display module 210 where the HDR image is to be displayed to the entire area of ​​the display module 210 is 0.6, the brightness of the display module 210 may be set to 400 nits. In the comparative example, if the ratio of the size of the area in the display module 210 where the HDR image is to be displayed to the entire area of ​​the display module 210 is 0.6, the brightness of the display module 210 may be set to 1000 nits. In the comparative example, if the ratio of the size of the area in the display module 210 where the HDR image is to be displayed to the entire area of ​​the display module 210 is 0.8, the brightness of the display module 210 may be set to 1000 nits. In the comparative example, if the ratio of the size of the area in the display where the HDR image is to be displayed to the entire area of ​​the display is changed from a ratio (e.g., about 0.49) less than a specified ratio (e.g., about 0.5) to a ratio (e.g., about 0.51) greater than the specified ratio, the brightness of the display module 210 may change suddenly.

[0146] Return to reference Figure 3 In an embodiment, the processor 230 may display an HDR image (or an HDR image and a non-HDR image) through the display module 210 using the brightness range of the display module 210 set in operation 307. For example, the processor 230 may display an HDR image through the display module 210 in the first region using the brightness range of the display module 210 set.

[0147] In an embodiment, when the display of the HDR image is completed, the processor 230 may change the brightness of the display module 210 to the user-specified brightness. For example, after the HDR image is displayed by the display module 210 using the brightness range of the display module 210 set in operation 307, if the display of the HDR image ends due to the termination of the reproduction of the HDR image, the processor 230 may restore the brightness range of the display module 210 to the brightness range set by the user.

[0148] In an embodiment, if the display of the HDR image is completed, the processor 230 may gradually change the brightness of the display module 210 to the user-specified brightness. For example, the processor 230 may reduce the brightness of the display module 210 from the brightness of the display module 210 set in operation 307 to the user-specified brightness at a specified time interval. When the display of the HDR image is completed, the processor 230 may gradually change the brightness of the display module 210 to the user-specified brightness, thereby preventing the brightness of the display module 210 from changing suddenly.

[0149] Despite Figures 3 to 7 Although not shown in the figure, in an embodiment, when a plurality of HDR images are displayed using a multi-window function or an HDR image is displayed using a pop-up window function, the processor 230 may also increase the brightness of the display module 210. Figures 8 to 10 A method in which the processor 230 increases the brightness of the display module 210 when an HDR image is displayed using a multi-window function or a pop-up window function is described in detail.

[0150] Despite Figures 3 to 7 Although not shown in the figure, in an embodiment, in the case where the electronic device includes a flexible display module in which the area visually exposed to the outside is enlarged or reduced and an HDR image is displayed through the flexible display module, the processor 230 may increase the brightness of the display module 210. Figures 11a to 16 A method in which the processor 230 increases the brightness of the display module 210 when an HDR image is displayed through the flexible display module is described in detail.

[0151] Figure 8 800 is a flowchart illustrating a method of providing an image using a multi-window function according to various embodiments.

[0152] Fig. 9 is an example diagram 900 illustrating a method of providing an image using a multi-window function according to various embodiments.

[0153] refer to Figure 8 and Fig. 9In operation 801, in an embodiment, the processor 230 may obtain a plurality of HDR images to be displayed in a plurality of windows generated using a multi-window function. For example, the processor 230 may execute the multi-window function and obtain a plurality of HDR images to be displayed in a plurality of windows based on a user input for selecting a plurality of HDR images to be respectively displayed in a plurality of windows generated using the multi-window function.

[0154] In operation 803 , in an embodiment, the processor 230 may determine sizes of a plurality of first areas in a plurality of windows in which a plurality of HDR images are to be displayed, respectively.

[0155] In an embodiment, the processor 230 may respectively determine the sizes of the plurality of first regions based on the resolutions of the plurality of HDR images, the size of the first window and the size of the second window, and / or settings of an application for displaying the plurality of HDR images.

[0156] In operation 805, in an embodiment, the processor 230 may determine the size of a plurality of second regions in which the HDR image can be displayed at a maximum size while maintaining the aspect ratio of the HDR image in the plurality of windows. For example, the processor 230 may determine the size of each of the plurality of second regions based on equations 6 to 9 below.

[0157] [Equation 6]

[0158]

[0159] In Equation 6, W window It can represent the horizontal length of the window, H window Can represent the vertical length of the window, Max(W window ,H window ) may represent the longer one of the horizontal length of the window and the vertical length of the display module 210, and Min(W window ,H window ) may represent the shorter of the horizontal length of the window and the vertical length of the display module 210.

[0160] [Equation 7]

[0161]

[0162] In Equation 7, W video It can represent the horizontal length of the area in the window where the HDR image is to be displayed (or the horizontal value of the resolution of the HDR image). video It can represent the vertical length of the area in the window where the HDR image is to be displayed (or the vertical value of the resolution of the HDR image). video ,H video) may represent the longer of the horizontal length and the vertical length of the area in the window where the HDR image is to be displayed, and Min(W video ,H video ) can represent the shorter of the horizontal length and vertical length of the area within the window where the HDR image is to be displayed.

[0163] [Equation 8]

[0164] If the third ratio is greater than or equal to the fourth ratio, the size of the second region =

[0165] Min(W window ,H window )x{Min(W window ,H window )x(fourth ratio)}

[0166] [Equation 9]

[0167] If the third ratio is smaller than the fourth ratio, the size of the second region =

[0168] Max(W window ,H window )x{Max(W window ,H window ) / (the fourth ratio)}

[0169] Referring to Equations 6 to 9, if the third ratio calculated using Equation 6 is greater than or equal to the fourth ratio calculated using Equation 7, the processor 230 may calculate the size of the second region using Equation 8. If the third ratio calculated using Equation 6 is less than the fourth ratio calculated using Equation 7, the processor 230 may calculate the size of the second region using Equation 9.

[0170] In an embodiment, the processor 230 may use Equations 6 to 9 to determine the size of the second regions of each window in the plurality of windows. Fig. 9, the horizontal length and vertical length of the display module 210 may be e1 and f1 (f1>e1), respectively. The horizontal length and vertical length of window 1 (910) may be e1 and f2, respectively, and the horizontal length and vertical length of window 2 (920) may be e1 and f3, respectively. The horizontal length and vertical length of the 1-1 region 911 to display the HDR image 1 through window 1 (910) may be g1 (=e1) and h1, respectively, and the horizontal length and vertical length of the 1-2 region 921 to display the HDR image 2 through window 2 (920) may be g2 and h2 (=f3), respectively. Based on the horizontal length and vertical length of window 1 (910) and the horizontal length and vertical length of the 1-1 region 911, the processor 230 may determine the size of the 2-1 region as the second region of the HDR image 1 using Equations 6 to 9. The processor 230 may determine a size of the 2-2 th region as the second region of the HDR image 2 using Equations 6 to 9 based on the horizontal and vertical lengths of the window 2 and the horizontal and vertical lengths of the 1-2 th region 921 .

[0171] In operation 807 , in an embodiment, the processor 230 may set a brightness range of the display module 210 based on the sizes of the plurality of first regions and the sizes of the plurality of second regions.

[0172] In an embodiment, the processor 230 may determine the area ratio based on the sizes of the plurality of first areas and the sizes of the plurality of second areas. For example, the area ratio may be defined as the ratio of the sizes of the plurality of second areas to the sum of the sizes of the plurality of first areas.

[0173] In an embodiment, the processor 230 may determine a scaling factor based on the area ratio. In an embodiment, the processor 230 may set the brightness range of the display module 210 based on the determined scaling factor. The operation of the processor 230 determining the scaling factor based on the area ratio and the operation of the processor 230 setting the brightness range of the display module 210 based on the scaling factor are similar to Figure 5 The processor 230 determines the scale factor based on the area ratio in operation 503 and Figure 5 Operation 505 in which the processor 230 sets the brightness range of the display module 210 based on the scale factor is at least partially the same or similar, and thus a detailed description thereof will be omitted.

[0174] Fig.10 is an example diagram 1000 illustrating a method of providing an image using a pop-up window function according to various embodiments.

[0175] refer to Fig.10In an embodiment, the processor 230 may obtain one or more HDR images to be displayed in one or more windows generated using the pop-up window function. For example, the processor 230 may execute the pop-up window function and obtain one or more HDR images to be displayed in one or more windows based on a user input for selecting one or more HDR images to be displayed in one or more windows generated using the pop-up window function, respectively.

[0176] In an embodiment, the processor 230 may display multiple HDR images through multiple windows generated using a pop-up window function. For example, as shown in reference numeral 1001, the processor 230 may display a first window 1011 and a second window 1012 generated using a pop-up window function through the display module 210, so that the first window 1011 and the second window 1012 overlap each other. As another example, as shown in reference numeral 1002, the processor 230 may display a third window 1021 and a fourth window 1022 generated using a pop-up window function through the display module 210, so that the third window 1021 and the fourth window 1022 do not overlap each other.

[0177] In an embodiment, in a case where a plurality of windows generated using a pop-up window function are displayed to overlap each other, the processor 230 may set the brightness range of the display module 210 based on an HDR image displayed by a window (hereinafter referred to as a "first window") arranged at the top of the display module 210 (e.g., the topmost layer among the plurality of layers corresponding to the plurality of windows) among the plurality of windows (e.g., the plurality of layers corresponding to the plurality of windows) (e.g., determining the HDR image displayed in the first window as the HDR image used to determine the first area in operation 303 and the second area in operation 305). For example, the processor 230 may determine the size of the first area in the first window in which the HDR image is to be displayed. The processor 230 may determine the size of the second area using Equations 1 to 4. The processor 230 may set the brightness range of the display module 210 based on the size of the first area and the size of the second area. Since the operation of the processor 230 setting the brightness range of the display module 210 based on the size of the first area and the size of the second area is similar to Figure 3 Operation 307 in which the processor 230 sets the brightness range of the display module 210 based on the size of the first area and the size of the second area is at least partially the same or similar, and thus a detailed description thereof will be omitted.

[0178] In an embodiment, in the case where a plurality of windows generated using a pop-up window function are displayed as non-overlapping, the processor 230 may determine a plurality of first regions (and the sizes of the plurality of first regions) of a plurality of HDR images to be displayed on respective windows in the plurality of windows. The processor 230 may determine the sizes of the plurality of second regions using equations 1 to 4 for each of the plurality of HDR images. For example, in the case where HDR image 1 is displayed on the third window 1021 and HDR image 2 is displayed on the fourth window 1022, the processor 230 may determine the size of the 2-1 region (e.g., the size of the second region determined based on the 1-1 region of HDR image 1 and the horizontal length and vertical length of the display module 210) and the size of the 2-2 region (e.g., the size of the second region determined based on the 1-2 region of HDR image 2 and the horizontal length and vertical length of the display module 210) based on the horizontal length and vertical length of the 1-1 region of HDR image 1 (e.g., the first region to display HDR image 1), the horizontal length and vertical length of the 1-2 region of HDR image 2 (e.g., the first region to display HDR image 2), and the horizontal length and vertical length of the display module 210.

[0179] In an embodiment, the processor 230 may determine a plurality of area ratios based on the sizes of the plurality of first areas and the sizes of the plurality of second areas. For example, when the HDR image 1 is displayed on the third window 1021 and the HDR image 2 is displayed on the fourth window 1022, the processor 230 may determine the first area ratio as the ratio of the 1-1 area to the 2-1 area, and determine the second area ratio as the ratio of the 1-2 area to the 2-2 area.

[0180] In an embodiment, the processor 230 may determine the area ratio for setting the brightness range of the display module 210 based on the plurality of area ratios and the weights assigned to (e.g., given to) the plurality of area ratios. For example, the processor 230 may determine the area ratio based on the plurality of area ratios and the weights assigned to (e.g., given to) the plurality of area ratios using the following Equations 10 and 11.

[0181] [Equation 10]

[0182] Area ratio = ∑ k∈N r k W k

[0183] [Equation 11]

[0184] ∑ k∈N W k =1

[0185] In Equation 10, r kEach of the plurality of area ratios may be represented by W k The weight assigned to each of the plurality of region ratios may be represented. In Equation 11, the sum of the weights assigned to the respective region ratios in the plurality of region ratios may be 1. In Equations 10 and 11, N may be the number of the plurality of windows (or the number of the plurality of HDR images displayed on the respective windows).

[0186] In an embodiment, the processor 230 may set weights of the same value for the plurality of region ratios. For example, when the number of the plurality of region ratios is 2, the processor 230 may set a weight of 0.5 for each of the plurality of region ratios.

[0187] In an embodiment, the processor 230 may set a higher weight for the area ratio of the first area having a large size than the area ratio of the first area having a small size. For example, in reference numeral 1002, if the size of the 1-1th area of ​​the HDR image 1 through the third window 1021 is larger than the size of the 1-2th area of ​​the HDR image 2 through the fourth window 1022, the processor 230 may set a higher weight for the first area determined based on the size of the 1-1th area than the weight of the second area ratio determined based on the size of the 1-2th area.

[0188] In an embodiment, when the area ratio is determined (for example, the area ratio determined by Equation 10), the processor 230 may determine the scale factor based on the area ratio. The processor 230 may set the brightness range of the display module 210 based on the determined scale factor. Since the operation of the processor 230 determining the scale factor based on the area ratio and the operation of the processor 230 setting the brightness range of the display module 210 based on the scale factor are similar to Figure 5 The processor 230 determines the scale factor based on the area ratio in operation 503 and Figure 5 Operation 505 in which the processor 230 sets the brightness range of the display module 210 based on the scale factor is at least partially the same or similar, and thus a detailed description thereof will be omitted.

[0189] In the above example, although it has been described that the brightness range of the display module 210 is set based on the HDR image displayed by the first window in the case where the multiple windows generated using the pop-up window function are displayed as overlapping, the present disclosure is not limited thereto. For example, the example of setting the brightness range of the display module 210 described in the case where the multiple windows generated using the pop-up window function are displayed as non-overlapping (e.g., an example of determining the area ratio for setting the brightness range of the display module 210 based on multiple area ratios and weights assigned to the multiple area ratios) can also be applied in the same or similar manner to the case where the multiple windows generated using the pop-up window function are displayed as overlapping.

[0190] According to various embodiments, a method for providing an image in an electronic device 101 may include: obtaining an HDR image; determining a size of a first area in a display module 210 of the electronic device 101 in which the HDR image is to be displayed; determining a size of a second area in the display module 210 in which the HDR image can be displayed at a maximum size while maintaining an aspect ratio of the HDR image; and setting a brightness range of the display module 210 based on the size of the first area and the size of the second area.

[0191] In various embodiments, the aspect ratio of the HDR image may be a ratio of a vertical value of a resolution of the HDR image to a horizontal value of a resolution of the HDR image, and the second area may be an area having a maximum size among areas in the display module 210 that can display the HDR image while maintaining the aspect ratio of the HDR image.

[0192] In various embodiments, setting the brightness range of the display module 210 may include: determining an area ratio, which is a ratio of a size of a first area to a size of a second area; determining a scaling factor based on the area ratio; and setting the brightness range of the display module 210 based on the scaling factor.

[0193] In various embodiments, the scaling factor may increase as the area ratio increases within a specified interval of area ratios.

[0194] In various embodiments, setting the brightness range of the display module 210 based on the scaling factor may include: if the area ratio is less than a minimum value of a specified interval, setting the brightness range of the display module 210 based on a first brightness set by the user of the display module 210; if the area ratio is greater than or equal to the minimum value of the specified interval and less than the maximum value of the specified interval, setting the brightness range of the display module 210 based on the scaling factor and the first brightness, wherein the scaling factor increases as the area ratio increases in the specified interval; and if the area ratio is greater than or equal to the maximum value of the specified interval, setting the brightness range of the display module 210 based on the scaling factor and the first brightness, wherein the scaling factor is determined as a ratio of the maximum brightness at which the display module 210 is set to display the HDR image to the maximum brightness that the display module 210 can be set by the user.

[0195] In various embodiments, if the HDR image includes multiple HDR images, determining multiple area ratios may include: determining sizes of multiple first areas in the display module 210 in which the multiple HDR images are to be displayed; determining sizes of multiple second areas in the display module 210 in which the HDR images can be displayed at a maximum size while maintaining the aspect ratio of the HDR images; determining multiple area ratios based on the sizes of the multiple first areas and the sizes of the multiple second areas; and determining the area ratios based on the multiple area ratios and multiple weights assigned to each of the multiple area ratios.

[0196] In various embodiments, the method may further include: if the HDR image includes multiple HDR images, and if the multiple HDR images are respectively displayed in multiple windows generated by a multi-window function, determining sizes of multiple first areas in the multiple windows in which the multiple HDR images are to be displayed; determining sizes of multiple second areas in the multiple windows in which the HDR images can be displayed in a maximum size while maintaining the aspect ratio of the HDR images; and setting the brightness range of the display module 210 based on the sizes of the multiple first areas and the sizes of the multiple second areas.

[0197] In various embodiments, the method may further include: if the HDR image includes one or more HDR images, and if the one or more HDR images are generated by a pop-up window function and are respectively displayed in one or more windows that at least partially overlap with each other, identifying a window set on top of the display module 210 among the one or more windows; and determining the HDR image displayed in the window as an HDR image for determining the first area and the second area.

[0198] Fig.11a and Fig.11b is a diagram illustrating an electronic device including a slidable display according to various embodiments.

[0199] In an embodiment, Fig.11a It may be a diagram showing a state in which a portion (eg, the second area A2) of the slidable display (eg, the display 1103 or the display module 210) is accommodated inside the second structure 1102. In an embodiment, Fig.11b It may be a diagram showing a state in which most of the slidable display (eg, display 1103 ) is exposed outside the second structure 1102 .

[0200] Fig.11a The state shown can be defined as a state in which the first structure 1101 is closed relative to the second structure 1102, and Fig.11b The illustrated state may be defined as a state in which the first structure 1101 is open relative to the second structure 1102. According to an embodiment, a "closed state" or an "open state" may be defined as a state in which the electronic device is closed or opened.

[0201] refer to Fig.11a and Fig.11b, the electronic device 101 may include a first structure 1101 and a second structure 1102 movably disposed in the first structure 1101. In some embodiments, this may be interpreted as a structure in which the first structure 1101 in the electronic device 101 is disposed to slide on the second structure 1102. According to an embodiment, the first structure 1101 may be disposed to reciprocate a predetermined distance in a direction shown relative to the second structure 1102 (e.g., the direction shown by arrow ①).

[0202] According to various embodiments, the first structure 1101 may be referred to as, for example, a first housing, a sliding component, or a sliding housing, and may be configured to reciprocate on the second structure 1102. In an embodiment, the second structure 1102 may be referred to as, for example, a second housing, a main component, or a main housing, and may accommodate various types of electrical and electronic components, such as a main circuit board or a battery. A portion (e.g., the first area A1) of the display 1103 (e.g., the display module 210) may be mounted on the first structure 1101. In some embodiments, when the first structure 1101 moves (e.g., slides) relative to the second structure 1102, another portion (e.g., the second area A2) of the display 1103 may be accommodated inside the second structure 1102 (e.g., a slide-in operation) or may be exposed to the outside of the second structure 1102 (e.g., a slide-out operation).

[0203] According to various embodiments, the first structure 1101 may include a first plate 1111a (e.g., a sliding plate), and may include a first surface formed to include at least a portion of the first plate 1111a and a second surface facing the opposite direction of the first surface. According to an embodiment, the second structure 1102 may include a second plate 1121a (e.g., a rear case), a first side wall 1123a extending from the second plate 1121a, a second side wall 1123b extending from the first side wall 1123a and the second plate 1121a, a third side wall 1123c extending from the first side wall 1123a and the second plate 1121a and parallel to the second side wall 1123b, and / or a rear plate 1121b (e.g., a rear window). In some embodiments, the second side wall 1123b and the third side wall 1123c may be formed perpendicular to the first side wall 1123a. According to an embodiment, the second plate 1121a, the first side wall 1123a, the second side wall 1123b, and the third side wall 1123c may be formed to be open on one side (e.g., the front side) thereof to accommodate (or surround) at least a portion of the first structure 1101. For example, the first structure 1101 may be coupled to the second structure 1102 so as to be at least partially wrapped therewith, and slide in a direction parallel to the first surface or the second surface (e.g., the direction of arrow ①) by being guided by the second structure 1102.

[0204] According to various embodiments, the second side wall 1123b or the third side wall 1123c may be omitted. According to an embodiment, the second plate 1121a, the first side wall 1123a, the second side wall 1123b and / or the third side wall 1123c may be formed as separate structures and then combined or assembled. The rear plate 1121b may be coupled to surround at least a portion of the second plate 1121a. In some embodiments, the rear plate 1121b may be formed to be substantially integral with the second plate 1121a. According to an embodiment, the second plate 1121a or the rear plate 1121b may cover at least a portion of the display 1103. For example, the display 1103 may be at least partially accommodated inside the second structure 1102, and the second plate 1121a or the rear plate 1121b may cover a portion of the display 1103 accommodated inside the second structure 1102.

[0205] According to various embodiments, the first structure 1101 can be moved to an open state and a closed state relative to the second structure 1102 in a first direction (e.g., direction ①) parallel to the second plate 1121a (e.g., rear shell) and the second side wall 1123b, and can be moved so that the first structure 1101 is placed at a first distance from the first side wall 1123a in the closed state, and is placed at a second distance from the first side wall 1123a greater than the first distance in the open state. In some embodiments, in the closed state, the first structure 1101 can be positioned to surround a portion of the first side wall 1123a.

[0206] According to various embodiments, the second structure 1102 may include at least a portion of a non-conductive material (eg, a polymer material (eg, plastic), glass, or ceramic). For example, the second structure 1102 may be formed by combining a conductive housing and a plate formed of a polymer material.

[0207] According to various embodiments, the electronic device 101 may include a display 1103, a key input device 1141, a connector hole 1143, audio modules 1145a, 1145b, 1147a and 1147b, or a camera module 1149. Although not shown, the electronic device 101 may further include an indicator (e.g., an LED device) or various sensor modules.

[0208] According to various embodiments, the display 1103 may include a first area A1 and a second area A2. In an embodiment, the first area A1 may extend to substantially span at least a portion of the first surface to be disposed on the first surface. The second area A2 may extend from the first area A1 and may be inserted or accommodated inside the second structure 1102 (e.g., a housing) or exposed to the outside of the second structure 1102 according to the sliding of the first structure 1101. As will be described later, the second area A2 may be substantially moved while being guided by a roller (not shown) mounted to the second structure 1102 to be accommodated inside the second structure 1102 or exposed to the outside. For example, when the first structure 1101 slides, a portion of the second area A2 may be deformed into a curved shape at a position corresponding to the roller.

[0209] According to various embodiments, when viewed from the top of the first plate 1111a (e.g., a sliding plate), if the first structure 1101 moves from a closed state to an open state, the second area A2 may be gradually exposed to the outside of the second structure 1102, thereby forming a plane with the first area A1. The display 1103 may be coupled to a touch detection circuit, a pressure sensor capable of measuring the intensity (pressure) of a touch, and / or a digitizer that detects a magnetic field type stylus, or may be disposed adjacent to a touch detection circuit, a pressure sensor capable of measuring the intensity (pressure) of a touch, and / or a digitizer that detects a magnetic field type stylus. In an embodiment, the second area A2 may be at least partially accommodated inside the second structure 1102, and even in Fig.11a In the state shown (e.g., closed state), a portion of the second area A2 may also be visually exposed outside the second area A2. In some embodiments, regardless of the closed state or the open state, the exposed portion of the second area A2 may be located on the roller, and the portion of the second area A2 maintains a curved shape at a position corresponding to the roller.

[0210] The key input device 1141 may be disposed on the second side wall 1123b or the third side wall 1123c of the second structure 1102. Depending on the appearance and the usage state, the electronic device 101 may be designed to not include the key input device 1141 shown or to include an additional key input device. In some embodiments, the electronic device 101 may include a key input device not shown, such as a home key button or a touch pad disposed around the home key button. According to another embodiment, at least a portion of the key input device 1141 may be located in an area of ​​the first structure 1101.

[0211] According to various embodiments, the connector hole 1143 may be omitted according to the embodiment and accommodate a connector (e.g., a USB connector) for sending power and / or data to an external electronic device and receiving power and / or data from an external electronic device. Although not shown, the electronic device 101 may include a plurality of connector holes 1143, and some of the plurality of connector holes 1143 may serve as connector holes for sending audio signals to an external electronic device and receiving audio signals from an external electronic device. Although the connector hole 1143 is disposed on the third side wall 1123c in the illustrated embodiment, the present disclosure is not limited thereto, and the connector hole 1143 or a connector hole not shown may be disposed on the first side wall 1123a or the second side wall 1123b.

[0212] According to various embodiments, the audio modules 1145a, 1145b, 1147a, and 1147b may include speaker holes 1145a and 1145b or microphone holes 1147a and 1147b. One of the speaker holes 1145a and 1145b may be provided as a receiver hole for voice calls, and the remaining one may be provided as an external speaker hole. A microphone for acquiring external sound may be provided in the microphone holes 1147a and 1147b, and in some embodiments, a plurality of microphones may be provided to detect the direction of the sound. In some embodiments, the speaker holes 1145a and 1145b and the microphone holes 1147a and 1147b may be implemented as a single hole, or may include a speaker (e.g., a piezoelectric speaker) without the speaker holes 1145a and 1145b. According to an embodiment, the speaker hole indicated by reference numeral “1145b” may be provided in the first structure 1101 and may be used as a receiver hole for a voice call, and the speaker hole indicated by reference numeral “1145a” (e.g., an external speaker hole) or microphone holes 1147a and 1147b may be provided in the second structure 1102 (e.g., one of the side walls 1123a, 1123b, and 1123c).

[0213] The camera module 1149 may be provided in the second structure 1102, and may shoot an object in a direction opposite to the first area A1 of the display 1103. The electronic device 101 may include a plurality of camera modules 1149. For example, depending on the embodiment, the electronic device 101 may include a wide-angle camera, a telephoto camera, or a close-up camera, and include an infrared projector and / or an infrared receiver to measure the distance to the object. The camera module 1149 may include one or more lenses, an image sensor, and / or an image signal processor 230. Although not shown, the electronic device 101 may also include a camera module (e.g., a front camera) for shooting an object in a direction opposite to the first area A1 of the display 1103. For example, the front camera may be set around the first area A1 or in an area overlapping with the display 1103, and in the case of being set in an area overlapping with the display 1103, the front camera may shoot an object by passing through the display 1103.

[0214] According to various embodiments, an indicator (not shown) of the electronic device 101 may be provided in the first structure 1101 or the second structure 1102, and include a light emitting diode to provide status information of the electronic device 101 as a visual signal. A sensor module (not shown) of the electronic device 101 may generate an electrical signal or data value corresponding to an internal operating state or an external environmental state of the electronic device 101. The sensor module may include, for example, a proximity sensor, a fingerprint sensor, or a biometric sensor (e.g., an iris / face recognition sensor or an HRM sensor). In another embodiment, a sensor module may be included, for example, at least one of a posture sensor, a gyroscope sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a color sensor, an infrared (IR) sensor, a temperature sensor, a humidity sensor, or an illumination sensor.

[0215] Fig.12 12 is a flowchart 1200 illustrating a method of providing an image in an electronic device 101 including a slidable display according to various embodiments.

[0216] refer to Fig.12 , in operation 1201, in an embodiment, the processor 230 may obtain an HDR image.

[0217] Since the operation of the processor 230 for obtaining the HDR image is similar to Figure 3 The operation of the processor 230 for obtaining the HDR image in operation 301 is at least partially the same or similar, and thus a detailed description thereof will be omitted.

[0218] In operation 1203 , in an embodiment, an area in which the display module 210 (eg, the display 1103 ) is visually exposed to the outside (hereinafter referred to as “display area” or “display area of ​​the display module 210 ”) may be identified.

[0219] In an embodiment, the processor 230 may identify the display area of ​​the display module 210 through a sensor. For example, when the first structure 1101 slides in the horizontal direction on the second structure 1102, the processor 230 may identify the horizontal length of the display area of ​​the display 1103 that changes with the sliding of the first structure 1101 through a sensor, thereby identifying the display area of ​​the display 1103. In an embodiment, the sensor for identifying the display area of ​​the display module 210 may include at least one of a Hall sensor, an optical sensor, an inertial sensor, a pressure sensor, an illumination sensor, or a rotation angle sensor. However, the sensor for identifying the display area of ​​the display module 210 is not limited to the above sensors.

[0220] In operation 1205 , in an embodiment, the processor 230 may determine a size of a first area in a display area of ​​the display module 210 in which an HDR image is to be displayed.

[0221] In an embodiment, the processor 230 may determine the size of a first area in the display area of ​​the display module 210 in which an HDR image is to be displayed based on a resolution of the HDR image, a size of the display area of ​​the display module 210 (e.g., a horizontal length and a vertical length of the display area of ​​the display module 210), and / or settings of an application for displaying the HDR image.

[0222] In operation 1207, in an embodiment, the processor 230 may determine the size of a second area in the display area of ​​the display module 210 in which the HDR image can be displayed in a maximum size while maintaining the aspect ratio of the HDR image. For example, the processor 230 may replace the horizontal length (W ) of the display module 210 with the horizontal length and the vertical length of the display area of ​​the display module 210 in Equations 1, 3, and 4, respectively. display ) and vertical length (H display ), and use the replaced Equations 1, 3, and 4 as well as Equation 2 to determine the size of the second region.

[0223] In operation 1209 , in an embodiment, the processor 230 may set a brightness range of the display module 210 based on the size of the first area and the size of the second area.

[0224] Method for the processor 230 to set the brightness range of the display module 210 based on the size of the first area and the size of the second area Figure 3 Operation 505 and Figure 5 The methods described in operations 501 to 505 in are at least partially the same or similar, so their detailed description will be omitted.

[0225] Fig.13 is an example diagram 1300 illustrating a method of providing an image in an electronic device 101 including a slidable display according to various embodiments.

[0226] Fig.14 1400 is an example diagram illustrating an area ratio determined when a display area is changed in an electronic device 101 including a slidable display according to various embodiments.

[0227] Fig.15 1500 is an example diagram illustrating a scale factor determined when a display area is changed in an electronic device 101 including a slidable display according to various embodiments.

[0228] refer to Figures 13 to 15 In an embodiment, based on the area ratio determined when the display area of ​​the slidable display is enlarged (or reduced) in the electronic device 101 including the slidable display, the processor 230 may set the brightness range of the display module 210. For example, as shown in reference numerals 1301, 1302, and 1303, when the display area of ​​the slidable display is enlarged (or reduced) in the electronic device 101 including the slidable display, the processor 230 may set the brightness range of the display module 210 based on the area ratio.

[0229] In an embodiment, in reference numeral 1301, the processor 230 may display an HDR image through a display area of ​​the display module 210. The processor 230 may determine an area ratio based on a size of a first area 1311 and a size of a second area 1312 displaying the HDR image.

[0230] In an embodiment, in reference numeral 1302, when the display area of ​​the display module 210 is expanded, the processor 230 may display the HDR image through the expanded display area. The processor 230 may determine the area ratio based on the size of the first area 1321 displaying the HDR image and the size of the second area. In reference numeral 1302, the horizontal length and the vertical length of the display area of ​​the display module 210 may be the same. If the horizontal length and the vertical length of the display area of ​​the display module 210 are the same, the size of the first area 1321 displaying the HDR image and the size of the second area may be the same, and the area ratio may be 1.

[0231] In an embodiment, in reference numeral 1303, when the display area of ​​the display module 210 is expanded, the processor 230 can display the HDR image through the expanded display area. The processor 230 can determine the area ratio based on the size of the first area 1331 displaying the HDR image and the size of the second area. In reference numeral 1303, the size of the first area and the size of the second area can be the same, and the area ratio can be 1.

[0232] In an embodiment, Fig.14 It may be shown that in the case where the display area of ​​the display module 210 is changed in the comparative example (for example, reference Figure 6 A graph showing a comparison between the area ratio determined in the comparison example described in 601 in FIG. 6 and the area ratio determined by the processor 230.

[0233] In an embodiment, Table 1 below may illustrate an area ratio (hereinafter referred to as a "third area ratio") determined in a comparison example (e.g., a ratio of the size of the first area to the size of the display area of ​​the display module 210) and an area ratio (hereinafter referred to as a "fourth area ratio") determined by the processor 230 (e.g., a ratio of the size of the first area to the second area) when the display area of ​​the display module 210 is enlarged (e.g., when the horizontal length of the display area of ​​the display module 210 is increased and the vertical length of the display area of ​​the display module 210 is fixed).

[0234] [Table 1]

[0235]

[0236] In Table 1, the display area may represent the display area of ​​the display module 210, and the horizontal length and the vertical length of the display area may represent the number of horizontal pixels and the number of vertical pixels included in the display area, respectively. Although not shown in Table 1, Table 1 may correspond to a case where the resolution of the HDR image is 1920*1080 (the horizontal value of the resolution of the HDR image is 1920, and the vertical value of the resolution of the HDR image is 1080). As shown in Table 1, the third area ratio determined in the comparative example may increase to 0.9 (approximately 1), and then decrease as the display area of ​​the display module 210 is enlarged. On the other hand, the fourth area ratio determined by the processor 230 may be maintained at 1 after increasing as the display area of ​​the display module 210 is enlarged.

[0237] In an embodiment, Fig.14 In the graph of , in the case where the display area of ​​the display module 210 is changed, the first line 1410 may represent the fourth area ratio determined by the processor 230, and the second line 1420 may represent the third area ratio determined in the comparative example. Fig.14In the curve graph, the X-axis may represent the inverse of the aspect ratio (the ratio of the horizontal length of the display area of ​​the display module 210 to its vertical length) of the display area of ​​the display module 210 (for example, the display 1103 in the case where the electronic device is implemented so that the first structure 1101 slides in the horizontal direction on the second structure 1102), and the Y-axis may represent the area ratio.

[0238] In an embodiment, Fig.14 As shown in the first line 1410 in FIG. 14 , when the size of the display area of ​​the display module 210 increases (for example, the ratio of the horizontal length of the display area of ​​the display module 210 to its vertical length increases), the fourth area ratio may be maintained at a certain value (for example, b3), increase within a certain range of the inverse of the aspect ratio of the display area (for example, b1 to 1), and then maintained at 1. In an embodiment, Fig.14 In the graph of , b1 may be the same value as the aspect ratio of the first region, and b3 may be a certain value obtained by squaring the aspect ratio of the first region.

[0239] In an embodiment, Fig.14 As shown in the second line 1420 in FIG. 14 , when the size of the display area of ​​the display module 210 increases (for example, the ratio of the horizontal length of the display area of ​​the display module 210 to its vertical length increases), the third area ratio may increase to 0.9 (approximately 1) and then decrease as the display area of ​​the display module 210 is enlarged. Fig.14 , b2 may be the same value as the inverse of the aspect ratio of the first region.

[0240] In an embodiment, Fig.15 In the graph of FIG. 1 , in the case where the display area of ​​the display module 210 is changed, the third line 1510 may represent the first scale factor determined by the processor 230 based on the area ratio (e.g., the fourth area ratio), and the fourth line 1520 may represent the first scale factor determined based on the comparison example (e.g., the reference example). Figure 6 The second scale factor is determined based on the area ratio (eg, the third area ratio) determined in the comparative example described with reference numeral 601 in FIG. Fig.15 In the curve graph, the X-axis may represent the inverse of the aspect ratio (the ratio of the horizontal length of the display area of ​​the display module 210 to its vertical length) of the display area of ​​the display module 210 (for example, the display 1103 in the case where the electronic device is implemented so that the first structure 1101 slides in the horizontal direction on the second structure 1102), and the Y-axis may represent the scale factor.

[0241] In an embodiment, Fig.15As shown in the fourth line 1520 in FIG. 5 , when the size of the display area of ​​the display module 210 increases, the second scale factor may be maintained at a certain value (e.g., 1), then increase to the max of Equation 5 and remain unchanged, and then decrease to a certain value (e.g., 1) and remain unchanged. In the case where the brightness range of the display module 210 is set according to the second scale factor of the comparative example, since the second scale factor increases to the max of Equation 5 and remains unchanged, and then decreases to a certain value (e.g., 1) and remains unchanged, if the size of the display area of ​​the display module 210 (e.g., the horizontal length of the display module 210) is greater than or equal to a certain value (e.g., a certain horizontal length of the display module 210) when HDR is displayed through the display area of ​​the display module 210, the brightness of the display module 210 may not increase. In addition, since the second scale factor of the comparative example is maintained at a certain value (e.g., 1) and then suddenly increases to the max of Equation 5, the brightness of the display module 210 can be quickly increased.

[0242] In an embodiment, Fig.15 As shown in the third line 1510 in FIG. 5 , when the size of the display area of ​​the display module 210 increases, the first scale factor may be maintained at a certain value (e.g., 1), then increase based on the function f(x) of Equation 5 within a certain range of the inverse of the aspect ratio of the display area (e.g., b1 to 1), and then maintained at the maximum of Equation 5 (e.g., when Fig.15 When the first scale factor increases gradually, such as Fig.15 As shown in the third line 1510 in FIG, the brightness of the display module 210 may also gradually increase, and after the brightness of the display module 210 increases to max, even if the display area of ​​the display module 210 is expanded, the brightness of the display module 210 may also be maintained at max, so even if the size of the display area of ​​the display module 210 (for example, the horizontal length of the display module 210) is greater than or equal to a certain value (for example, a certain horizontal length of the display module 210), the brightness of the display module 210 may also increase.

[0243] In an embodiment, in a case where an SDR image is displayed together with an HDR image through the display module 210 and the scale factor is determined to be max (e.g., max of Equation 5), based on the on-pixel ratio, the processor 230 may reduce the brightness of the display module 210 based on the brightness of the display module 210 adjusted to the maximum (e.g., the brightness obtained by multiplying the scale factor max by the user-specified brightness). For example, if the SDR image displayed together with the HDR image is not a black image (e.g., if an SDR image other than a black image is displayed in an area other than the first area where the HDR image is to be displayed), based on the on-pixel ratio, the processor 230 may reduce the brightness of the display module 210 based on the brightness of the display module 210 adjusted to the maximum. For example, if the SDR image displayed together with the HDR image is not a black image, such as Fig.15 As shown in the fifth line 1530 in the range where the inverse of the aspect ratio of the display module 210 is b4, the processor 230 can gradually reduce the brightness of the display module 210 from the brightness of the display module 210 determined as max based on the scaling factor 2 (for example, gradually reduce the brightness of the display). In an embodiment, the turn-on pixel ratio can be the ratio of white pixels to all pixels of the display module 210. In the case where the screen displayed on the display module 210 includes n pixels, the processor 230 can calculate the average value of the pixel values ​​in each of the n pixels (for example, when the screen is expressed as RGB data, the average of the R value, G value and B value of each pixel), and determine the average of the calculated average values ​​as the turn-on pixel ratio. However, the method of determining the turn-on pixel ratio is not limited to the above example.

[0244] In an embodiment, when the SDR image displayed together with the HDR image is not a black image, based on the turn-on pixel ratio, the processor 230 can reduce the brightness of the display module 210 based on the brightness of the display module 210 adjusted to the maximum, thereby preventing the brightness in the area displaying the SDR image from excessively increasing from the user-specified brightness and reducing battery power consumption.

[0245] Fig.16 is an example diagram 1600 illustrating a method of providing an image in an electronic device 101 including a slidable display according to various embodiments.

[0246] refer to Fig.16In an embodiment, based on the area ratio determined when the display area of ​​the slidable display is expanded (or reduced) in the electronic device 101 including the slidable display, the processor 230 may set the brightness range. For example, as shown in reference numerals 1601, 1602, and 1603, when the display area of ​​the slidable display is expanded in the electronic device 101 including the slidable display, the processor 230 may set the brightness range of the display module 210 based on the area ratio.

[0247] In an embodiment, reference numeral 1601 may indicate that the electronic device is in a Fig.11a In the case of the state shown (the state in which the first structure 1101 is closed relative to the second structure 1102), reference numeral 1603 may indicate that the electronic device is in Fig.11b The electronic device is in the state shown (the state where the first structure 1101 is opened relative to the second structure 1102), and the reference numeral 1602 may indicate that the electronic device is in the state Fig.11a The status shown is Fig.11b The intermediate states between the states shown.

[0248] In an embodiment, as shown in reference numerals 1601, 1602, and 1603, the processor 230 may display an HDR image having an aspect ratio (or an aspect ratio of the first region) greater than or equal to the aspect ratio of the display module 210 through the display area of ​​the display module 210. If the aspect ratio of the image (or the aspect ratio of the first region) is greater than or equal to the aspect ratio of the display module 210 (for example, in common in reference numerals 1601, 1602, and 1603), the processor 230 may determine the area ratio as 1 and the scale factor as the max of Equation 5. The processor 230 may determine the brightness of the display module 210 by multiplying the scale factor max by the user-specified brightness. In an embodiment, as shown in reference numerals 1601, 1602, and 1603, the case where the aspect ratio of the image (or the aspect ratio of the first region) is greater than or equal to the aspect ratio of the display module 210 may be Fig.14 The inverse of the aspect ratio of the display area of ​​the display module 210 is greater than b2 (for example, the inverse of the aspect ratio of the first area).

[0249] In the embodiment, although Figures 11a to 16 A method of providing an image in an electronic device 101 including a slidable display is shown, but the present disclosure is not limited thereto. For example, the method of providing an image can be applied to all electronic devices including a display whose display area is variable (e.g., expanded or reduced), such as an electronic device 101 including a scrollable display, wherein the display area is expanded or reduced when the scrollable display is pulled out of or inserted into a housing.

[0250] In various embodiments of the present disclosure, the electronic device 101 may include: a display module 210, configured so that an area exposed to the outside is reduced when it is inserted into the electronic device 101, and an area exposed to the outside is expanded when it is pulled out of the electronic device 101; at least one sensor; and at least one processor (e.g., processor 230), operably connected to the display module 210 and the at least one sensor, wherein the at least one processor (e.g., processor 230) may be configured to: obtain an HDR image; identify an area in which the display module 210 is exposed to the outside; determine a size of a first area in the identified area in which the HDR image is to be displayed; determine a size of a second area in the identified area in which the HDR image can be displayed at a maximum size while maintaining the aspect ratio of the HDR image; and set a brightness range of the display module 210 based on the size of the first area and the size of the second area.

[0251] In various embodiments, the aspect ratio of the HDR image may be a ratio of a vertical value of a resolution of the HDR image to a horizontal value of a resolution of the HDR image, and the second region may be a region having a maximum size among the regions in the region that can display the HDR image while maintaining the aspect ratio of the HDR image.

[0252] In various embodiments, at least one processor (e.g., processor 230) may be configured to: determine an area ratio, which is a ratio of a size of a first area to a size of a second area; determine a scaling factor based on the area ratio; and set a brightness range of the display module 210 based on the scaling factor.

[0253] In various embodiments, if the electronic device 101 is implemented such that the ratio of the horizontal length to the vertical length of the area increases as the size of the area increases, then as the size of the area increases, the area ratio may remain at a certain value, then increase within a certain range of ratio values, and remain at 1 after increasing within a certain range of ratio values.

[0254] In addition, the data structures used in the above embodiments of this document can be recorded in a computer-readable recording medium by various means. Computer-readable recording media include storage media such as magnetic storage media (e.g., ROM, floppy disk, hard disk, etc.) and optically readable media (e.g., CD-ROM, DVD, etc.).

Claims

1. An electronic device, include: Display module; as well as at least one processor operably connected to the display module, wherein the at least one processor is configured to: Get HDR image, determining a size of a first area of ​​the display module, the first area being an area in which the HDR image is to be displayed, determining a size of a second area of ​​the display module, the size of the second area corresponding to a maximum size of the HDR image that can be displayed while maintaining an aspect ratio of the HDR image, and A brightness range of the display module is set based on a size of the first area and a size of the second area.

2. The electronic device according to claim 1, in, The aspect ratio of the HDR image is the ratio of the vertical value of the resolution of the HDR image to the horizontal value of the resolution of the HDR image, and The second area is an area having a maximum size among areas in the display module that can display the HDR image while maintaining an aspect ratio of the HDR image.

3. The electronic device according to claim 1, in, The at least one processor is configured to: determining an area ratio, the area ratio being a ratio of a size of the first area to a size of the second area, determining a scaling factor based on the area ratio, and A brightness range of the display module is set based on the scale factor.

4. The electronic device according to claim 3, in, The scale factor increases as the area ratio increases in a specified interval of the area ratio.

5. The electronic device according to claim 4, in, The at least one processor is configured to: Based on the area ratio being smaller than the minimum value of the specified interval, the brightness range of the display module is set based on a first brightness of the display module set by a user, Based on the area ratio being greater than or equal to a minimum value of the specified interval and less than a maximum value of the specified interval, setting a brightness range of the display module based on the scale factor and a first brightness, the scale factor increasing as the area ratio increases in the specified interval, and Based on the area ratio being greater than or equal to the maximum value of the specified interval, the brightness range of the display module is set based on the scaling factor and the first brightness, and the scaling factor is determined as the ratio of the maximum brightness at which the display module is set to display the HDR image to the maximum brightness that the display module can be set by the user.

6. The electronic device according to claim 3, in, Based on the HDR image comprising a plurality of HDR images, the at least one processor is configured to: determining sizes of a plurality of first areas in the display module in which the plurality of HDR images are to be displayed, determining sizes of a plurality of second areas in the display module in which the HDR image can be displayed in the maximum size while maintaining the aspect ratio of the HDR image, determining a plurality of area ratios based on the sizes of the plurality of first areas and the sizes of the plurality of second areas, and The area ratio is determined based on the plurality of area ratios and a plurality of weights assigned to respective ones of the plurality of area ratios.

7. The electronic device according to claim 1, in, Based on the fact that a plurality of HDR images included in the HDR image are respectively displayed in a plurality of windows generated by a multi-window function, the at least one processor is configured to: determining sizes of a plurality of first areas in the plurality of windows in which the plurality of HDR images are to be displayed, determining sizes of a plurality of second areas in the plurality of windows in which the HDR image can be displayed at the maximum size while maintaining an aspect ratio of the HDR image, and A brightness range of the display module is set based on the sizes of the plurality of first areas and the sizes of the plurality of second areas.

8. The electronic device according to claim 1, in, Based on the fact that one or more HDR images included in the HDR images are generated by a pop-up window function and are respectively displayed in one or more windows that at least partially overlap each other, the at least one processor is configured to: identifying a window disposed on top of the display module among the one or more windows, and The HDR image displayed in the window is determined as the HDR image for determining the first area and the second area.

9. A method for providing an image in an electronic device, the method include: Obtain HDR image; Determining a size of a first area of ​​a display module of the electronic device, the first area being an area in which the HDR image is to be displayed; determining a size of a second area of ​​the display module, the second area being an area corresponding to a maximum size of the HDR image that can be displayed while maintaining an aspect ratio of the HDR image; as well as A brightness range of the display module is set based on a size of the first area and a size of the second area.

10. The method according to claim 9, in, The aspect ratio of the HDR image is the ratio of the vertical value of the resolution of the HDR image to the horizontal value of the resolution of the HDR image, and The second area is an area having a largest size among areas capable of displaying the HDR image while maintaining an aspect ratio of the HDR image in the display module.

11. The method according to claim 9, in, The step of setting the brightness range of the display module includes: determining an area ratio, the area ratio being a ratio of a size of the first area to a size of the second area; determining a scaling factor based on the area ratio; and A brightness range of the display module is set based on the scale factor.

12. The method according to claim 11, in, The scale factor increases as the area ratio increases in a specified interval of the area ratio.

13. The method according to claim 12, in, Setting the brightness range of the display module based on the scale factor includes: Based on the area ratio being less than a minimum value of the specified interval, setting a brightness range of the display module based on a first brightness of the display module set by a user; Based on the area ratio being greater than or equal to a minimum value of the specified interval and less than a maximum value of the specified interval, setting a brightness range of the display module based on the scale factor and a first brightness, the scale factor increasing as the area ratio increases in the specified interval; and Based on the area ratio being greater than or equal to the maximum value of the specified interval, the brightness range of the display module is set based on the scaling factor and the first brightness, and the scaling factor is determined as the ratio of the maximum brightness at which the display module is set to display the HDR image to the maximum brightness that the display module can be set by the user.

14. The method according to claim 11, in, Determining the area ratio comprises: Based on that the HDR image includes a plurality of HDR images: determining sizes of a plurality of first areas in the display module in which the plurality of HDR images are to be displayed; determining sizes of a plurality of second areas in the display module in which the HDR image can be displayed at the maximum size while maintaining an aspect ratio of the HDR image; determining a plurality of area ratios based on the sizes of the plurality of first areas and the sizes of the plurality of second areas; and The area ratio is determined based on the plurality of area ratios and a plurality of weights assigned to the respective area ratios.

15. The method according to claim 9, further comprising: include: Based on the fact that a plurality of HDR images included in the HDR image are respectively displayed in a plurality of windows generated by a multi-window function: determining sizes of a plurality of first areas in the plurality of windows in which the plurality of HDR images are to be displayed; determining sizes of a plurality of second areas in the plurality of windows in which the HDR image can be displayed at a maximum size while maintaining an aspect ratio of the HDR image; as well as A brightness range of the display module is set based on the sizes of the plurality of first areas and the sizes of the plurality of second areas.