Image display method and device, electronic equipment and storage medium
By determining the pixel to be adjusted according to the tone parameter of the image pixel and reducing its first brightness parameter to a second brightness parameter, new equipment, materials, processes or combinations are used to reduce the energy consumption of the display.
Patent Information
- Application Number
- CN202510838695.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2025-09-26
AI Technical Summary
In the prior art, when displaying specific colors, the display has insufficient brightness and spatial details, and has high power consumption, and the display effect is deteriorated through overall adjustment.
The brightness adjustment is performed by determining the pixel to be adjusted according to the hue parameter of the pixel in the image, reducing its first brightness parameter to a second brightness parameter, and controlling the brightness retention ratio using the first adjustment parameter and the second adjustment parameter.
Without affecting the overall display effect of the image, the energy consumption of displaying the image is reduced, the display effect of the pixels to be adjusted is optimized, and the power consumption of blue light is reduced.
Smart Images

Figure CN120708533A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an image display method, device, electronic device and storage medium. Background Art
[0002] The specific colors displayed on the display provide less brightness and spatial details, have little impact on the displayed image quality, and the power consumption of displaying this color is high. In related technologies, the components of specific colors are reduced by making overall adjustments to the display of the display, but this will result in a worse display effect. Summary of the Invention
[0003] The present application aims to solve one of the technical problems in the related art at least to a certain extent.
[0004] To this end, the present application proposes a method, an apparatus, an electronic device, and a storage medium.
[0005] In one aspect, an embodiment of the present application provides an image display method, including:
[0006] Determine the pixels to be adjusted according to the tone parameters of the pixels in the image;
[0007] reducing the first brightness parameter of the pixel to be adjusted to a second brightness parameter;
[0008] The image is displayed according to the adjusted second brightness parameter.
[0009] Optionally, the adjustment parameter includes a first adjustment parameter and a second adjustment parameter, and reducing the first brightness parameter of the pixel to be adjusted to the second brightness parameter includes:
[0010] determining a brightness retention ratio according to the first adjustment parameter and the second adjustment parameter; the first adjustment parameter is used to control an upper limit of an adjustment degree, and the second adjustment parameter is used to control a lower limit of an adjustment degree; the brightness retention ratio is used to control a retention degree of the first brightness parameter;
[0011] The first brightness parameter is adjusted according to the brightness retention ratio to obtain the second brightness parameter.
[0012] Optionally, the first adjustment parameter is greater than the second adjustment parameter, and determining the brightness retention ratio according to the first adjustment parameter and the second adjustment parameter includes:
[0013] Calculating a first difference between the first adjustment parameter and the second adjustment parameter, and calculating a second difference between the upper limit of brightness and the second adjustment parameter, and determining the adjustment coefficient according to a ratio of the first difference to the second difference;
[0014] The brightness retention ratio is determined according to the adjustment coefficient, the first brightness parameter of the pixel to be adjusted, and the second adjustment parameter.
[0015] Optionally, determining the brightness retention ratio according to the adjustment coefficient, the first brightness parameter of the pixel to be adjusted, and the second adjustment parameter includes:
[0016] performing normalization processing on the first brightness parameter, and obtaining a third difference between the first brightness parameter after normalization processing and the second adjustment parameter;
[0017] The third difference is weighted according to the adjustment coefficient, and the weighted third difference is added to the second adjustment parameter to obtain the brightness retention ratio.
[0018] Optionally, the adjusting the first brightness parameter according to the brightness retention ratio to obtain the second brightness parameter includes:
[0019] Obtaining a fourth difference between the first brightness parameter and the brightness retention ratio after normalization;
[0020] weighting the fourth difference according to the saturation parameter of the pixel to be adjusted to obtain a brightness reduction ratio;
[0021] The first brightness parameter is reduced according to the brightness reduction ratio to obtain the second brightness parameter.
[0022] Optionally, determining the pixel to be adjusted based on the color parameters of the pixel in the image includes:
[0023] In response to the tone parameter of the pixel being within a preset parameter range, the pixel is determined to be the pixel to be adjusted.
[0024] Optionally, the method further includes:
[0025] Converting pixels in the image from a first color space to a second color space, wherein the second color space includes a first brightness parameter, a hue parameter, and a saturation parameter of the pixels;
[0026] The adjusted second brightness parameter of the pixel is converted from the second color space to the first color space, and the image is displayed according to the parameter of the pixel in the first color space.
[0027] Another embodiment of the present application provides an image display device, including:
[0028] A pixel determination module is used to determine the pixels to be adjusted based on the tone parameters of the pixels in the image;
[0029] a brightness adjustment module, configured to reduce the first brightness parameter of the pixel to be adjusted to a second brightness parameter;
[0030] An image display module, configured to display the image according to the adjusted second brightness parameter
[0031] Optionally, the adjustment parameter includes a first adjustment parameter and a second adjustment parameter, and the brightness adjustment module includes:
[0032] a retention ratio determination module, configured to determine a brightness retention ratio based on the first adjustment parameter and the second adjustment parameter; the first adjustment parameter is used to control an upper limit of the adjustment degree, and the second adjustment parameter is used to control a lower limit of the adjustment degree;
[0033] The brightness adjustment submodule is configured to adjust the first brightness parameter according to the brightness retention ratio to obtain the second brightness parameter.
[0034] Another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method described in the above aspect is implemented.
[0035] Another aspect of the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described in the aforementioned aspect is implemented.
[0036] Another embodiment of the present application provides a chip, which includes a processing circuit configured to execute the method described in the above aspect.
[0037] Another embodiment of the present application provides a computer program product, which implements the method described in the above aspect when the program is executed by a processor.
[0038] The image display method, device, electronic device, chip and storage medium proposed in this application adjust the brightness parameters of the pixels to be adjusted, reduce the first brightness parameter of the pixels to be adjusted to the second brightness parameter, thereby reducing the display brightness of the pixels to be adjusted, and reducing the energy consumption of displaying the image without affecting the overall display effect of the image.
[0039] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0041] Figure 1 A schematic diagram of a flow chart of an image display method provided in an embodiment of the present application;
[0042] Figure 2 A schematic structural diagram of an image display device provided in an embodiment of the present application;
[0043] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0044] Figure 4 This is a schematic diagram of the structure of a chip proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0046] The image display method, device, electronic device, chip, and storage medium according to embodiments of the present application are described below with reference to the accompanying drawings.
[0047] Figure 1 A schematic diagram of an image display process provided in an embodiment of the present application.
[0048] As an implementation manner, the image display method of the embodiment of the present application can be configured in an image display device, and the image display device can be applied to any electronic device so that the electronic device can perform an image display function.
[0049] Among them, the electronic device can be any device with computing capabilities, such as a mobile terminal. The mobile terminal can be, for example, a mobile phone, tablet computer, personal digital assistant, wearable device, or other hardware device with various operating systems, touch screens and / or display screens.
[0050] As another implementation method, the image display method of the embodiment of the present application can also be executed by a chip with processing capabilities, including an image signal processing chip (Image Signal Processor, ISP), a central processing unit (Central Processing Unit, CPU), an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), a microprocessor (Digital Signal Processor, DSP), a field programmable gate array (Field-Programmable Gate Array, FPGA), a system on chip (System On AChip, SOC), a reduced instruction set computer RISC (Reduced Instruction Set Computer, reduced instruction set computer), etc., which are not listed one by one here.
[0051] It should be noted that the collection of user-related data in this application is carried out with the user's authorization and strictly abides by relevant laws and regulations such as privacy and security.
[0052] like Figure 1 As shown, the method may include the following steps:
[0053] Step 101, determining pixels to be adjusted based on the tone parameters of pixels in the image;
[0054] Step 102: reducing the first brightness parameter of the pixel to be adjusted to a second brightness parameter;
[0055] Step 103: Display the image according to the adjusted second brightness parameter.
[0056] In this embodiment, the method disclosed herein is used in an electronic device including an organic light-emitting display panel, or in a semiconductor chip that drives the display of the organic light-emitting display panel.
[0057] In this embodiment, based on the hue parameters of each pixel in the image, specific judgment rules and algorithms are first used to accurately screen and determine the pixels that need to be adjusted for brightness adjustment. This process involves a detailed analysis of the color composition of the image, and by interpreting the hue information of the pixels, the pixels that have a key impact on the overall visual experience of the image are identified.
[0058] Next, for each pixel identified for adjustment, its initial first brightness parameter is reduced according to a pre-set adjustment strategy, transforming it into a second brightness parameter. This reduction process is an optimization adjustment based on a comprehensive consideration of multiple factors, including image display requirements and color balance, ensuring that the brightness reduction does not adversely affect the overall image display quality.
[0059] Finally, the image is displayed based on the adjusted second brightness parameter. At this time, the image will be more in line with the expected display effect in terms of visual presentation because the brightness of the pixels to be adjusted has been reasonably optimized.
[0060] In one possible embodiment, the pixel to be adjusted emits blue light. During display operation, for a given current density, blue luminescent materials have a shorter lifetime than red or green luminescent materials. Based on the human eye's visual perception, blue sub-pixels provide the least brightness and spatial detail compared to red and green light. Reducing blue brightness can reduce power consumption without significantly degrading perceived display quality. Reducing blue light can effectively minimize eye damage when viewing the screen.
[0061] Optionally, the hue parameters of the pixels in the image are parameters in the HSV color space. The parameters in the HSV color space include hue (H), saturation (S), and brightness (V). The hue H represents color information, that is, the position of the spectral color. Based on the hue H, it can be determined whether the color of the pixel is blue.
[0062] This embodiment adjusts the brightness parameter of the pixel to be adjusted, reducing the first brightness parameter of the pixel to be adjusted to the second brightness parameter to reduce the display brightness of the pixel to be adjusted, thereby reducing the energy consumption of displaying the image without affecting the overall display effect of the image.
[0063] In one embodiment of the present disclosure, the adjustment parameter includes a first adjustment parameter and a second adjustment parameter, and reducing the first brightness parameter of the pixel to be adjusted to the second brightness parameter includes:
[0064] determining a brightness retention ratio according to the first adjustment parameter and the second adjustment parameter; the first adjustment parameter is used to control an upper limit of an adjustment degree, and the second adjustment parameter is used to control a lower limit of an adjustment degree; the brightness retention ratio is used to control a retention degree of the first brightness parameter;
[0065] The first brightness parameter is adjusted according to the brightness retention ratio to obtain the second brightness parameter.
[0066] In this embodiment, the clear adjustment parameters include a first adjustment parameter K and a second adjustment parameter L. These two parameters play a core control role in the brightness adjustment process and are used to limit the upper and lower limits of the adjustment degree respectively, ensuring that the brightness adjustment is carried out within a reasonable and controllable range.
[0067] In the crucial step of reducing the first luminance parameter of the pixel to be adjusted to the second luminance parameter, the luminance retention ratio D must first be determined based on the first adjustment parameter K and the second adjustment parameter L. Specifically, this determination involves in-depth analysis and calculation of the numerical relationship between the two adjustment parameters and their functional positioning in the luminance adjustment system. Using a specific mathematical model or algorithm, the luminance retention ratio D is accurately calculated based on the values of K and L. This ratio directly determines the degree of luminance retention of the pixel to be adjusted after the luminance is reduced, thereby affecting the final image display effect.
[0068] Then, the first luminance parameter V1 of the pixel to be adjusted is adjusted based on the determined luminance retention ratio D, thereby obtaining a second luminance parameter V2 that meets the desired display effect. This adjustment process is a targeted numerical transformation of the original luminance parameter based on the luminance retention ratio to achieve fine-tuning of the pixel luminance, resulting in a more ideal light-dark contrast and color gradation when the image is displayed.
[0069] Optionally, the first adjustment parameter is greater than the second adjustment parameter, and determining the brightness retention ratio according to the first adjustment parameter and the second adjustment parameter includes:
[0070] Calculating a first difference between the first adjustment parameter and the second adjustment parameter, and calculating a second difference between the upper limit of brightness and the second adjustment parameter, and determining the adjustment coefficient according to a ratio of the first difference to the second difference;
[0071] The brightness retention ratio is determined according to the adjustment coefficient, the first brightness parameter of the pixel to be adjusted, and the second adjustment parameter.
[0072] In this embodiment, the numerical relationship between the first adjustment parameter K and the second adjustment parameter L is clarified, that is, the first adjustment parameter K is greater than the second adjustment parameter L. This setting provides a basic numerical premise for the subsequent brightness retention ratio calculation, ensuring the rationality and feasibility of the brightness adjustment process.
[0073] In the step of determining the brightness retention ratio according to the first adjustment parameter and the second adjustment parameter, the specific steps are as follows:
[0074] First, a first difference between the first adjustment parameter and the second adjustment parameter is calculated, that is, K minus L to obtain (KL). The difference reflects the numerical span between the two adjustment parameters and embodies the adjustable range of the adjustment degree.
[0075] At the same time, the second difference between the upper limit of brightness (usually 1, representing the highest brightness level) and the second adjustment parameter L is calculated, that is, 1 minus L to obtain (1-L). This difference is related to the potential variable space of the brightness parameter during the adjustment process.
[0076] Next, the adjustment coefficient M = (KL) / (1-L) is determined based on the ratio of the first difference (KL) to the second difference (1-L). The adjustment coefficient M, as a key intermediate parameter, directly affects the subsequent calculation of the brightness retention ratio. By calculating the ratio of the two differences, the adjustment parameter and the brightness upper limit are organically combined, allowing the adjustment coefficient to fully reflect the adjustment parameter's impact on brightness adjustment and the relative degree of brightness change.
[0077] Finally, the brightness retention ratio is comprehensively determined based on the determined adjustment coefficient M, the first brightness parameter of the pixel to be adjusted, and the second adjustment parameter L.
[0078] In a possible embodiment, the value range of K and L is [0, 1], and K> L. It should be noted that when implementing the solution in this application, the values of K and L can be adjusted according to needs.
[0079] This comprehensive calculation process fully integrates all relevant factors, fully considering the original brightness characteristics of the pixel itself, the control intention of the adjustment parameters, and the extreme range of brightness change, so as to obtain an accurate and reasonable brightness retention ratio, providing a key basis for subsequent brightness adjustments, ensuring that the image display effect can achieve the expected optimization goals and realize high-quality visual presentation.
[0080] Optionally, determining the brightness retention ratio according to the adjustment coefficient, the first brightness parameter of the pixel to be adjusted, and the second adjustment parameter includes:
[0081] performing normalization processing on the first brightness parameter, and obtaining a third difference between the first brightness parameter after normalization processing and the second adjustment parameter;
[0082] The third difference is weighted according to the adjustment coefficient, and the weighted third difference is added to the second adjustment parameter to obtain the brightness retention ratio.
[0083] In this embodiment, the first luminance parameter is first normalized, i.e., the first luminance parameter V1 is divided by 255 to obtain the normalized first luminance parameter (V1 / 255). The purpose of this normalization operation is to standardize the value range of the luminance parameter to the interval [0,1], facilitating subsequent mathematical operations and ratio calculations. It also enables the luminance parameters of different pixels to be compared and processed at the same scale, thereby improving the accuracy and reliability of the calculation.
[0084] Next, a third difference between the normalized first brightness parameter and the second adjustment parameter L is calculated, i.e., (V1 / 255-L). This difference reflects the difference between the original brightness of the pixel to be adjusted and the lower limit adjustment parameter L under the normalized brightness scale. It provides a basic value for subsequent weighting operations and reflects the relative position of the pixel brightness within the adjustment range.
[0085] Next, the third difference (V1 / 255-L) is weighted according to the adjustment coefficient M. This weighted calculation multiplies the third difference by the adjustment coefficient M to obtain the weighted third difference. This weighting step fully accounts for the influence of the adjustment coefficient M on the brightness adjustment. By combining the difference with the adjustment coefficient, the subsequently calculated brightness retention ratio reflects the differential control of the adjustment parameter on the brightness adjustment of different pixels, further improving the accuracy and adaptability of brightness adjustment.
[0086] Finally, the weighted third difference is added to the second adjustment parameter L to obtain the final brightness retention ratio D = M * (V1 / 255 - L) + L. This step integrates the influence of the adjustment coefficient on the brightness difference by adding the weighted difference to the lower limit adjustment parameter. Combined with the lower limit adjustment parameter, this ensures that the value of the brightness retention ratio D not only meets the control requirements of the adjustment parameter but also reasonably reflects the original brightness characteristics of the pixel. This provides a scientific, accurate, and practical reference value for subsequent brightness adjustments, allowing the image to retain a certain amount of blue light during display without affecting the overall display effect.
[0087] Optionally, the adjusting the first brightness parameter according to the brightness retention ratio to obtain the second brightness parameter includes:
[0088] Obtaining a fourth difference between the first brightness parameter and the brightness retention ratio after normalization;
[0089] weighting the fourth difference according to the saturation parameter of the pixel to be adjusted to obtain a brightness reduction ratio;
[0090] The first brightness parameter is reduced according to the brightness reduction ratio to obtain the second brightness parameter.
[0091] In this embodiment, first, a fourth difference between the normalized first luminance parameter (V / 255) and the luminance retention ratio D is obtained, i.e., (V / 255-D) is calculated. This difference reflects the difference between the original luminance of the pixel to be adjusted and the ideal luminance determined by the retention ratio under the normalized scale. It provides a specific numerical basis for the subsequent luminance reduction operation and clarifies the magnitude of the luminance reduction to be performed.
[0092] Next, the fourth difference (V / 255-D) is weighted according to the saturation parameter of the pixel to be adjusted to obtain the brightness reduction ratio S*(V / 255-D). The introduction of the saturation parameter S as a weighting factor fully takes into account the correlation between saturation and brightness in color perception. Generally speaking, when the brightness of a highly saturated color changes, the sensitivity of the human eye to its brightness changes will be different. Therefore, weighting the brightness reduction ratio by the saturation parameter can make the brightness adjustment more in line with the visual characteristics of the human eye and achieve a more natural and realistic color display effect. Specifically, according to the saturation value S of the pixel to be adjusted, it is multiplied by the fourth difference to obtain a brightness reduction ratio after saturation adjustment. This ratio can comprehensively reflect the influence of the saturation characteristics of the pixel on the degree of brightness reduction, making the brightness adjustment more targeted and adaptable.
[0093] Finally, the first brightness parameter is reduced according to the obtained brightness reduction ratio, thereby obtaining a second brightness parameter V2 = V1-S*(V / 255-D)*255. This final brightness adjustment calculation process converts the normalized value back to the actual brightness value range (usually 0-255). By subtracting the weighted brightness reduction value from the original brightness parameter V1, a second brightness parameter V2 that meets the requirements is obtained. This parameter will directly determine the brightness presentation of the pixel to be adjusted in the image display. After this fine adjustment, the pixel brightness not only takes into account the control intention of the adjustment parameter and the brightness and saturation characteristics of the pixel itself, but also fully considers the overall color balance and visual coordination of the image, so that the final displayed image retains a good display effect while reducing the blue brightness.
[0094] Optionally, determining the pixel to be adjusted based on the color parameters of the pixel in the image includes:
[0095] In response to the tone parameter of the pixel being within a preset parameter range, the pixel is determined to be the pixel to be adjusted.
[0096] In this embodiment, a responsive determination mechanism is employed. When the hue parameter of a pixel in an image falls within a specific preset parameter range, the system or algorithm automatically responds and identifies the pixel as a target pixel for adjustment. This determination method relies on precise monitoring and comparison of hue parameters. By scanning and analyzing the hue of each pixel in the image, the system determines whether it falls within a pre-set hue range. The preset parameter range can be flexibly set based on different image types, display requirements, and color adjustment goals. For example, to enhance the display effect of a specific hue region in an image (such as the blue sky hue range), the parameter range corresponding to that hue can be set as a preset range. When the pixel hue falls within this range, the pixel for adjustment is triggered. This responsive determination method based on hue parameter ranges can quickly and accurately screen pixels that meet specific color adjustment requirements, providing a clear target set for subsequent brightness adjustment steps. This ensures that the image display method can optimize the target hue region in a targeted manner, thereby achieving refined control over the image's color composition, improving the quality and effect of the image's specific hue representation, and meeting the display requirements for harmonious hue and brightness in different scenarios.
[0097] Optionally, the method further includes:
[0098] Converting pixels in the image from a first color space to a second color space, wherein the second color space includes a first brightness parameter, a hue parameter, and a saturation parameter of the pixels;
[0099] The adjusted second brightness parameter of the pixel is converted from the second color space to the first color space, and the image is displayed according to the parameter of the pixel in the first color space.
[0100] In this embodiment, before the pixels in the image are conditioned, the pixels in the image are converted from the first color space to the second color space. This conversion process is an important prerequisite for achieving accurate adjustment of the pixel brightness parameters, because different color spaces have different color representation methods and parameter definitions. The selection of the second color space should be able to better support the independent adjustment of the brightness parameter and the coordinated processing with other color parameters such as hue and saturation. By converting the pixels from the original first color space (such as RGB color space) to a suitable second color space, the brightness parameter can be effectively decoupled or optimized with other color parameters, making subsequent brightness adjustment operations more convenient, efficient and accurate. At the same time, it also provides a controllable environment for the mutual influence between color parameters, which is conducive to achieving overall color balance and optimization. In a possible embodiment, the first color space is RGB space, and the second color space is HSV space.
[0101] After the brightness parameter adjustment of the pixel to be adjusted is completed, the second brightness parameter of the adjusted pixel is converted from the second color space back to the first color space. This inverse conversion process ensures that the final displayed image can be correctly presented in the original color space system, because the image display device usually interprets and displays image data based on a specific color space (such as RGB color space). By accurately converting the pixel parameters after brightness adjustment back to the first color space, the display result of the image can match the color requirements of the display device, thereby ensuring that the audience can see an image that meets expectations, is color-accurate, and has appropriate brightness and darkness. This color space conversion process provides a favorable operating environment for brightness adjustment, and also ensures the correct transmission and presentation of image data in different color space systems, greatly improving the quality and reliability of image display effects, and meeting the high standards for color accuracy and visual effects in the field of modern image processing and display. In a possible embodiment, the process of converting RGB to HSV is as follows: V = max(R, max(G, B))
[0102] a) If V is equal to 0, then S = 0; if V is not equal to 0, then
[0103]
[0104] b) If V equals min(R,min(G,B)), then H equals 0.
[0105] c) If V is equal to R and G is greater than or equal to B, then
[0106]
[0107] d) If V is equal to R and G is less than B, then
[0108]
[0109] e) If V is equal to G, then
[0110]
[0111] f) If none of the above is true,
[0112]
[0113] In one possible embodiment, the process of converting HSV to RGB color space is as follows:
[0114]
[0115] C=V*S
[0116]
[0117] M=VC
[0118] a) If H is greater than or equal to 0 and less than 60, then
[0119] R0=C,G0=X,B0=0
[0120] b) If H is greater than or equal to 60 and less than 120, then
[0121] R0=X,G0=C,B0=0
[0122] c) If H is greater than or equal to 120 and less than 180, then
[0123] R0=0,G0=C,B0=X
[0124] d) If H is greater than or equal to 180 and less than 240, then
[0125] R0=0,G0=X,B0=C
[0126] e) If H is greater than or equal to 240 and less than 300, then
[0127] R0=X,G0=0,B0=C
[0128] d) If H is other, then
[0129] R0=C,G0=0,B0=X
[0130] The power calculation formula for displaying a single pixel on a monitor is as follows:
[0131] Power=a*R 2 +b*G 2 +c*B 2 +d*(R+G+B)
[0132] As the brightness decreases, the values of R, B, and G converted to RGB are all reduced, so the power of the display to display the image is reduced.
[0133] In order to implement the above embodiment, the present application also provides an image display device.
[0134] Figure 2 A schematic structural diagram of an image display device provided in an embodiment of the present application.
[0135] like Figure 2 As shown, the device may include:
[0136] The pixel determination module 210 is used to determine the pixels to be adjusted based on the tone parameters of the pixels in the image;
[0137] a brightness adjustment module 220, configured to reduce the first brightness parameter of the pixel to be adjusted to a second brightness parameter;
[0138] The image display module 230 is configured to display the image according to the adjusted second brightness parameter.
[0139] Optionally, the adjustment parameter includes a first adjustment parameter and a second adjustment parameter, and the brightness adjustment module includes:
[0140] a retention ratio determination module, configured to determine a brightness retention ratio based on the first adjustment parameter and the second adjustment parameter; the first adjustment parameter is used to control an upper limit of the adjustment degree, and the second adjustment parameter is used to control a lower limit of the adjustment degree;
[0141] The brightness adjustment submodule is configured to adjust the first brightness parameter according to the brightness retention ratio to obtain the second brightness parameter.
[0142] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment and will not be repeated here.
[0143] In order to implement the above embodiments, the present application also proposes a non-transitory computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in the above method embodiments is implemented.
[0144] In order to implement the above embodiments, the present application further proposes a computer program product on which a computer program is stored. When the computer program is executed by a processor, the method described in the above method embodiments is implemented.
[0145] In order to implement the above embodiments, the present application also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method described in the above method embodiments is implemented.
[0146] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. For example, the electronic device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0147] Reference Figure 3 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0148] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
[0149] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0150] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.
[0151] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0152] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0153] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0154] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of components, such as the display and keypad of the electronic device 800. The sensor assembly 814 can also detect changes in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and temperature changes of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0155] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0156] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0157] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0158] In order to implement the above embodiments, the present application further proposes a chip, including: the chip includes a processing circuit, and the processing circuit is configured to execute the method provided in the above embodiments.
[0159] Figure 4 This is a schematic diagram of the structure of a chip proposed in the embodiment of this application. Figure 4 The structure of the chip 1100 is shown, but is not limited thereto.
[0160] The chip 1100 includes a processing circuit 1101 , which is configured to execute any of the above methods.
[0161] In some embodiments, chip 1100 further includes one or more interface circuits 1102. Optionally, interface circuit 1102 is connected to memory 1103. Interface circuit 1102 can be used to receive signals from memory 1103 or other devices, and can be used to send signals to memory 1103 or other devices. For example, interface circuit 1102 can read instructions stored in memory 1103 and send the instructions to processing circuit 1101.
[0162] In some embodiments, the interface circuit 1102 performs at least one of the communication steps such as sending and / or receiving in the above method, and the processing circuit 1101 performs the other steps.
[0163] In some embodiments, terms such as interface circuit, interface, transceiver pin, and transceiver may be used interchangeably.
[0164] In some embodiments, the chip 1100 further includes one or more memories 1103 for storing instructions. Alternatively, all or part of the memories 1103 may be located outside the chip 1100 .
[0165] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0166] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of such features. Throughout the description of this application, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined.
[0167] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application belong.
[0168] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and a portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.
[0169] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0170] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0171] In addition, the functional units in the various embodiments of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into a module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0172] The storage medium mentioned above may be a read-only memory, a magnetic disk, or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application. Persons skilled in the art may make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.
Claims
1. An image display method, characterized in that: include: Determine the pixels to be adjusted according to the tone parameters of the pixels in the image; reducing the first brightness parameter of the pixel to be adjusted to a second brightness parameter; The image is displayed according to the adjusted second brightness parameter.
2. The method according to claim 1, characterized in that The adjustment parameters include a first adjustment parameter and a second adjustment parameter, and reducing the first brightness parameter of the pixel to be adjusted to the second brightness parameter includes: determining a brightness retention ratio according to the first adjustment parameter and the second adjustment parameter; the first adjustment parameter is used to control an upper limit of an adjustment degree, and the second adjustment parameter is used to control a lower limit of an adjustment degree; the brightness retention ratio is used to control a retention degree of the first brightness parameter; The first brightness parameter is adjusted according to the brightness retention ratio to obtain the second brightness parameter.
3. The method according to claim 2, characterized in that The first adjustment parameter is greater than the second adjustment parameter, and determining the brightness retention ratio according to the first adjustment parameter and the second adjustment parameter includes: Calculating a first difference between the first adjustment parameter and the second adjustment parameter, and calculating a second difference between the upper limit of brightness and the second adjustment parameter, and determining the adjustment coefficient according to a ratio of the first difference to the second difference; The brightness retention ratio is determined according to the adjustment coefficient, the first brightness parameter of the pixel to be adjusted, and the second adjustment parameter.
4. The method according to claim 3, characterized in that The determining the brightness retention ratio according to the adjustment coefficient, the first brightness parameter of the pixel to be adjusted, and the second adjustment parameter includes: performing normalization processing on the first brightness parameter, and obtaining a third difference between the first brightness parameter after normalization processing and the second adjustment parameter; The third difference is weighted according to the adjustment coefficient, and the weighted third difference is added to the second adjustment parameter to obtain the brightness retention ratio.
5. The method according to claim 4, characterized in that The adjusting the first brightness parameter according to the brightness retention ratio to obtain the second brightness parameter includes: Obtaining a fourth difference between the first brightness parameter and the brightness retention ratio after normalization; weighting the fourth difference according to the saturation parameter of the pixel to be adjusted to obtain a brightness reduction ratio; The first brightness parameter is reduced according to the brightness reduction ratio to obtain the second brightness parameter.
6. The method according to claim 1, characterized in that Determining the pixels to be adjusted based on the color parameters of the pixels in the image includes: In response to the tone parameter of the pixel being within a preset parameter range, the pixel is determined to be the pixel to be adjusted.
7. The method according to claim 1, characterized in that The method further comprises: Converting pixels in the image from a first color space to a second color space, wherein the second color space includes a first brightness parameter, a hue parameter, and a saturation parameter of the pixels; The adjusted second brightness parameter of the pixel is converted from the second color space to the first color space, and the image is displayed according to the parameter of the pixel in the first color space.
8. An image display device, characterized in that: include: A pixel determination module is used to determine the pixels to be adjusted based on the tone parameters of the pixels in the image; a brightness adjustment module, configured to reduce the first brightness parameter of the pixel to be adjusted to a second brightness parameter; An image display module is configured to display the image according to the adjusted second brightness parameter.
9. The device according to claim 8, characterized in that The adjustment parameters include a first adjustment parameter and a second adjustment parameter, and the brightness adjustment module includes: a retention ratio determination module, configured to determine a brightness retention ratio based on the first adjustment parameter and the second adjustment parameter; the first adjustment parameter is used to control an upper limit of the adjustment degree, and the second adjustment parameter is used to control a lower limit of the adjustment degree; The brightness adjustment submodule is configured to adjust the first brightness parameter according to the brightness retention ratio to obtain the second brightness parameter.
10. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
12. A chip, characterized in that: The chip comprises a processing circuit configured to execute the method according to any one of claims 1 to 7.
13. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.