CN117373397B - Screen brightness adjusting method and device, electronic equipment and storage medium - Google Patents

Screen brightness adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117373397B
CN117373397B CN202311667184.2A CN202311667184A CN117373397B CN 117373397 B CN117373397 B CN 117373397B CN 202311667184 A CN202311667184 A CN 202311667184A CN 117373397 B CN117373397 B CN 117373397B
Authority
CN
China
Prior art keywords
brightness
backlight
determining
screen
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311667184.2A
Other languages
Chinese (zh)
Other versions
CN117373397A (en
Inventor
秦林波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ouguan Microelectronics Technology Co ltd
Original Assignee
Shenzhen Ouguan Microelectronics Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ouguan Microelectronics Technology Co ltd filed Critical Shenzhen Ouguan Microelectronics Technology Co ltd
Priority to CN202311667184.2A priority Critical patent/CN117373397B/en
Publication of CN117373397A publication Critical patent/CN117373397A/en
Application granted granted Critical
Publication of CN117373397B publication Critical patent/CN117373397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • G09G3/3413Details of control of colour illumination sources
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The disclosure provides a screen brightness adjusting method, a device, an electronic device and a storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining video data transmitted through a high-definition multimedia HDMI interface and/or a digital video DP interface, identifying image brightness information of each pixel point in a first frame image of the video data, determining a plurality of backlight brightness data corresponding to each pixel point in a plurality of screen areas in the first frame image according to the image brightness information and position information of each pixel point in the first frame image, converting the plurality of backlight brightness data into a plurality of SPI data based on a serial peripheral interface SPI communication protocol, determining a plurality of brightness control signals corresponding to the plurality of screen areas one by one according to the plurality of SPI data, and adjusting display brightness of the plurality of screen areas according to the plurality of brightness control signals. Therefore, the problem that the brightness of the screen is uneven and the user experience is affected is effectively avoided.

Description

Screen brightness adjusting method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of display, in particular to a screen brightness adjusting method and device, electronic equipment and a storage medium.
Background
In a conventional LED (Light Emitting Diode ) backlight module packaged on a side of a liquid crystal panel, light refracted through a light guide plate is displayed through a liquid crystal panel layer. In the related art, the number of LED beads of the side-in backlight is often tens, the light rays refracted out based on the LED beads are uneven, and the control of each LED bead is linkage control, so that the regional dimming cannot be realized. The direct type backlight technology is to arrange an LED backlight plate under a liquid crystal layer, LED lamp beads can be uniformly distributed on the back surface of the liquid crystal layer, and higher brightness and display effect are obtained.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, an electronic device, and a storage medium for adjusting screen brightness, so as to solve a technical problem that a user experience is affected due to low screen contrast caused by uneven screen brightness, and the specific technical scheme is as follows:
in a first aspect of an embodiment of the present application, there is provided a method for adjusting screen brightness, including:
acquiring video data transmitted through a high-definition multimedia HDMI interface and/or a digital video DP interface;
identifying image brightness information of each pixel point in a first frame image of the video data, wherein the first frame image is any frame image in the video data;
determining a plurality of backlight brightness data corresponding to each pixel point in a plurality of screen areas one by one in the first frame image according to the image brightness information and the position information of each pixel point in the first frame image;
converting the backlight brightness data into SPI data based on a serial peripheral interface SPI communication protocol;
and determining a plurality of brightness control signals corresponding to the screen areas one by one according to the SPI data, and adjusting the display brightness of the screen areas according to the brightness control signals.
Optionally, the determining, according to the image brightness information and the position information of each pixel point in the first frame image, a plurality of backlight brightness data corresponding to each pixel point in the first frame image in a one-to-one manner in a plurality of screen areas includes:
determining backlight area information of each pixel point in a screen according to the position information, wherein the screen is divided into a plurality of backlight areas, and brightness adjustment coefficients of the backlight areas are different;
determining a plurality of brightness adjustment coefficients corresponding to the pixel points one by one according to the backlight area information;
and determining the plurality of backlight brightness data according to the image brightness information and the plurality of brightness adjustment coefficients.
Optionally, the determining, according to the backlight area information, a plurality of brightness adjustment coefficients corresponding to the pixels one to one includes:
determining pixel point location coefficients in the area according to the backlight area information;
acquiring a brightness average value and an RGB average value of each pixel point in the backlight area information in the first frame image, and an environment brightness average value and an environment RGB average value of a physical environment corresponding to the backlight area information;
and determining the brightness adjustment coefficient according to the brightness average value, the RGB average value, the ambient brightness average value, the ambient RGB average value and the pixel point position coefficient.
Optionally, the determining the brightness adjustment coefficient according to the brightness average value, the RGB average value, the ambient brightness average value, the ambient RGB average value, and the pixel location coefficient includes:
the brightness adjustment coefficient is determined by:
wherein,for the brightness adjustment factor, < >>For the brightness mean>For the RGB mean->For the pixel position coefficient, +.>For the ambient brightness mean +.>Is the ambient RGB mean.
Optionally, the converting the plurality of backlight brightness data into a plurality of SPI data based on a serial peripheral interface SPI communication protocol includes:
converting the backlight brightness data through a dynamic backlight driving distribution algorithm based on the SPI communication protocol, and determining a plurality of brightness requirement data corresponding to the screen areas one by one;
and generating the plurality of SPI data according to the plurality of brightness requirement data.
Optionally, the determining the plurality of brightness requirement data corresponding to the plurality of screen areas one to one includes:
acquiring RGB average values of a plurality of areas corresponding to the screen areas one by one;
determining a plurality of target brightness adjustment coefficients corresponding to the screen areas one by one according to the RGB average values of the areas;
and adjusting the plurality of SPI data according to the plurality of target brightness adjustment coefficients to generate the plurality of brightness requirement data.
Optionally, the determining, according to the plurality of SPI data, a plurality of brightness control signals corresponding to the plurality of screen areas one to one includes:
determining a plurality of gray values of the plurality of screen areas according to the plurality of SPI data;
converting the gray values into voltage values as the brightness control signals by a preset digital-to-analog conversion device.
According to a second aspect of embodiments of the present disclosure, there is provided a screen brightness adjustment device, the device including:
the acquisition module is used for acquiring video data transmitted through the high-definition multimedia HDMI interface and/or the digital video DP interface;
the identification module is used for identifying the image brightness information of each pixel point in a first frame image of the video data, wherein the first frame image is any frame image in the video data;
the determining module is used for determining a plurality of backlight brightness data corresponding to each pixel point in the first frame image in a one-to-one mode in a plurality of screen areas according to the image brightness information and the position information of each pixel point in the first frame image;
the conversion module is used for converting the backlight brightness data into SPI data based on a serial peripheral interface SPI communication protocol;
and the execution module is used for determining a plurality of brightness control signals corresponding to the screen areas one by one according to the SPI data and adjusting the display brightness of the screen areas according to the brightness control signals.
Optionally, the determining module includes:
a first determining sub-module, configured to determine, according to the position information, backlight area information of each pixel point in a screen, where the screen is divided into a plurality of backlight areas, and brightness adjustment coefficients of the backlight areas are different;
the second determining submodule is used for determining a plurality of brightness adjustment coefficients corresponding to the pixel points one by one according to the backlight area information;
and a third determining sub-module, configured to determine the plurality of backlight luminance data according to the image luminance information and the plurality of luminance adjustment coefficients.
Optionally, the second determining sub-module comprises:
a first determining unit, configured to determine a pixel point location coefficient in the area according to the backlight area information;
the acquisition unit is used for acquiring the brightness average value and the RGB average value of each pixel point in the backlight area information in the first frame image, and the environment brightness average value and the environment RGB average value of the physical environment corresponding to the backlight area information;
and the second determining unit is used for determining the brightness adjustment coefficient according to the brightness average value, the RGB average value, the ambient brightness average value, the ambient RGB average value and the pixel point position coefficient.
Optionally, the second determining unit is configured to:
the brightness adjustment coefficient is determined by:
wherein,for the brightness adjustment factor, < >>For the brightness mean>For the RGB mean->For the pixel position coefficient, +.>For the ambient brightness mean +.>Is the ambient RGB mean.
Optionally, the conversion module comprises:
a fourth determining submodule, configured to convert the plurality of backlight luminance data by using a dynamic backlight driving allocation algorithm based on the SPI communication protocol, and determine a plurality of luminance requirement data corresponding to the plurality of screen areas one by one;
and the generation sub-module is used for generating the plurality of SPI data according to the plurality of brightness requirement data.
Optionally, the fourth determining submodule is configured to:
acquiring RGB average values of a plurality of areas corresponding to the screen areas one by one;
determining a plurality of target brightness adjustment coefficients corresponding to the screen areas one by one according to the RGB average values of the areas;
and adjusting the plurality of SPI data according to the plurality of target brightness adjustment coefficients to generate the plurality of brightness requirement data.
Optionally, the execution module is configured to:
determining a plurality of gray values of the plurality of screen areas according to the plurality of SPI data;
converting the gray values into voltage values as the brightness control signals by a preset digital-to-analog conversion device.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the screen brightness adjustment method according to any one of the first aspect of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the screen brightness adjustment method described in the first aspect of embodiments of the present disclosure.
From the above, the embodiments of the present application at least bring the following beneficial effects:
by the method, video data transmitted through a high-definition multimedia HDMI interface and/or a digital video DP interface are obtained, image brightness information of each pixel point in a first frame image of the video data is identified, the first frame image is any frame image in the video data, a plurality of backlight brightness data of each pixel point in the first frame image in one-to-one correspondence in a plurality of screen areas is determined according to the image brightness information and position information of each pixel point in the first frame image, the plurality of backlight brightness data is converted into a plurality of SPI data based on a serial peripheral interface SPI communication protocol, a plurality of brightness control signals of one-to-one correspondence in the plurality of screen areas are determined according to the plurality of SPI data, and display brightness of the plurality of screen areas is adjusted according to the plurality of brightness control signals. Therefore, the backlight partition control is carried out on the screen, the area brightness distribution is carried out on the brightness of each area, the contrast ratio of the screen is improved, the display effect of the screen is better, and the problem that the uneven brightness of the screen affects the user experience is effectively avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart illustrating a method of screen brightness adjustment according to an exemplary embodiment;
FIG. 2 is a schematic diagram of a dynamic backlight control box, shown according to an example embodiment;
FIG. 3 is a schematic diagram of a dynamic backlight partition shown in accordance with an exemplary embodiment;
fig. 4 is a block diagram illustrating a screen brightness adjustment device according to an exemplary embodiment;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart illustrating a screen brightness adjustment method according to an exemplary embodiment, which includes the following steps, as shown in fig. 1.
Step S101, obtaining video data transmitted through the high definition multimedia HDMI interface and/or the digital video DP interface.
By way of example, the embodiment is applied to a display screen, and the backlight of an 8K LCD liquid crystal module is controlled by mini LED partition, so that the backlight can dynamically adjust the brightness according to the content displayed by the screen, further the contrast of a display picture can be improved, the picture displayed in the screen is brighter in a bright place and darker in a dark place, and the display effect of high contrast is achieved.
In some implementations, fig. 2 is a schematic diagram of a dynamic backlight control box shown according to an exemplary embodiment, as shown in fig. 2, applied to a display screen including the following components:
main power panel: the power supply is mainly used for providing power for a control board, a backlight driving board, backlight lamp beads and the like.
TCON (timing controller ): the driving device is mainly used for driving the liquid crystal panel to display pictures.
6780V100: the 8K display driving board is mainly used for converting video signals such as serial HDMI/DP/OPS (Open Pluggable Specification ) and the like into signals which can be supported by the TCOM board to display pictures for the liquid crystal panel.
Protocol board: the control signal of the dynamic backlight is received mainly through SPI protocol, thus the brightness of the corresponding backlight lamp beads is adjusted.
LED driver board LED partition: the miniLED lamp beads are fully distributed on the panel, and the brightness of the lamp beads is controlled to be matched with a screen display picture, so that the functions of adjusting the brightness of the screen and increasing the contrast ratio are achieved.
HUB (HUB): and as a conversion board, the received signals of the protocol board are converted into lamp bead control signals corresponding to the LED driver board, so that the function of controlling the brightness of the lamp beads is achieved.
The display screen of the present embodiment is used for displaying input display content, and receives video data to be displayed through a high-definition multimedia interface (HDMI) and/or a digital video DP (DP) interface, for example. It will be appreciated that in some embodiments, the video data may be input to the display screen of the present embodiment through other transmission lines, and the backlight adjustment is performed on the video input data by using a screen brightness adjustment manner in the display screen, so as to adjust the display brightness of the video input data in the display screen.
Step S102, identifying image brightness information of each pixel point in a first frame image of the video data, where the first frame image is any frame image in the video data.
For example, in general, video data is composed of a plurality of frame images, and brightness adjustment is performed for each frame image in the video data based on the screen brightness adjustment method provided in the present embodiment. And determining the image brightness information of each pixel point in the first frame image based on the first frame image of any frame in the video data. In this embodiment, the video data transmitted through the HDMI and/or DP interface includes RGB data information of each frame of image data, and corresponding image brightness information is extracted from the RGB data information, and is used as initial brightness of each frame of image input to the display screen. It should be noted that, in this embodiment, the image brightness information of each frame of image is the initial set brightness of the image, and the image brightness information needs to be adjusted before being input to the display screen for display, so that each frame of image that is finally displayed presents a clearer contrast, and further the use experience of the user is improved.
Step S103, determining a plurality of backlight brightness data corresponding to each pixel point in the first frame image in a one-to-one manner in a plurality of screen areas according to the image brightness information and the position information of each pixel point in the first frame image.
In this embodiment, after determining the position information of each pixel point in the first frame image and the image brightness information of each pixel point in the first frame image, the image brightness of the pixel is adjusted according to the position, and a plurality of backlight brightness data corresponding to each pixel point in the first frame image in a plurality of screen areas one by one is determined. In this embodiment, the display screen may be equally divided into multiple screen areas, where the brightness adjustment coefficients in the screen areas at different positions are different, for example, the brightness adjustment coefficients of each area may be dynamically adjusted based on the content displayed by the first frame image, for example, the content displayed by the first frame image is analyzed by the AI identification model to generate an image type identification result, and the brightness adjustment coefficients of different areas in the screen are allocated according to the image type identification result, so that the brightness adjustment coefficients of the divided areas of each screen may be dynamically adjusted based on different display contents in the screen.
In some implementations, fig. 3 is a schematic diagram of dynamic backlight partitioning, which is shown in fig. 3, where the display screen may be divided into 8 backlight display areas, as shown in fig. 3.
Each backlight display area is configured as 24×32 LED display areas, each area is configured with one driver, the backlight display areas are disposed on the HUB board of 1*2, and OD, PX, PY are distances between the backlight panel and the LCD liquid crystal panel, and between the lamp beads. Normally, od=12mm, px=15mm, py=12.6 mm is set. Through the setting mode, the display screen is partitioned, and the backlight brightness of each backlight partition is adjusted based on different brightness configuration parameters.
In some embodiments, the step S103 includes:
determining backlight area information of each pixel point in a screen according to the position information, wherein the screen is divided into a plurality of backlight areas, and brightness adjustment coefficients of the backlight areas are different;
determining a plurality of brightness adjustment coefficients corresponding to the pixel points one by one according to the backlight area information;
and determining the plurality of backlight brightness data according to the image brightness information and the plurality of brightness adjustment coefficients.
For example, in this embodiment, the luminance adjustment coefficients of the backlight partitions may be set in advance, the mapping relationship between the luminance adjustment coefficients of the sub-regions may be determined by a limited experiment, and the luminance adjustment coefficients of the backlight regions may be determined based on the mapping relationship. The backlight area where each pixel point in the first frame image is located is determined, and the brightness value determined in the above step is adjusted according to the brightness adjustment coefficient of the backlight area, and for example, the brightness value determined in the above step may be multiplied by the brightness adjustment coefficient to obtain the backlight brightness data of each pixel point.
In some embodiments, the step of determining, according to the backlight area information, a plurality of brightness adjustment coefficients corresponding to the pixels one to one includes:
determining pixel point location coefficients in the area according to the backlight area information;
acquiring a brightness average value and an RGB average value of each pixel point in the backlight area information in the first frame image, and an environment brightness average value and an environment RGB average value of a physical environment corresponding to the backlight area information;
and determining the brightness adjustment coefficient according to the brightness average value, the RGB average value, the ambient brightness average value, the ambient RGB average value and the pixel point position coefficient.
In some embodiments, the step of determining the brightness adjustment coefficient according to the brightness average value, the RGB average value, the ambient brightness average value, the ambient RGB average value, and the pixel location coefficient includes:
the brightness adjustment coefficient is determined by:
wherein,for the brightness adjustment factor, < >>For the brightness mean>For the RGB mean->For the pixel position coefficient, +.>For the ambient brightness mean +.>Is the ambient RGB mean.
For example, in this embodiment, a dynamic backlight driving allocation algorithm is used to adjust the brightness value of each pixel, and the algorithm dynamically allocates backlight brightness according to the content and the requirements of different areas on the screen, so as to achieve better display effect and energy utilization efficiency. The specific dynamic backlight driver allocation algorithm may vary according to different strategies and requirements. One common approach is to determine the brightness requirements of the different areas by analyzing and processing the images on the screen based on an analysis of the image content and adjust the brightness of the backlight accordingly. These algorithms typically take into account the color, brightness, contrast, and perceived characteristics of the human eye of the image to achieve better visual results and energy savings.
Step S104, converting the backlight brightness data into SPI data based on the SPI communication protocol.
The SPI communication protocol (Serial Peripheral Interface) in this embodiment is, for example, a commonly used serial communication protocol for data transfer between digital devices. It is commonly used to connect microcontrollers, memories, sensors and other peripherals. The SPI communication protocol uses a master-slave architecture in which one device acts as a master device, controlling the timing and data transfer of communications, and the other device acts as a slave device, responding to the master device's instructions and exchanging data. In this embodiment, backlight brightness data of each pixel point is converted into SPI data based on an SPI communication protocol preset in a display screen, one of the backlight brightness data corresponds to one SPI data, and the SPI data is input to a downstream device.
In some embodiments, the step S104 includes:
converting the backlight brightness data through a dynamic backlight driving distribution algorithm based on the SPI communication protocol, and determining a plurality of brightness requirement data corresponding to the screen areas one by one;
and generating the plurality of SPI data according to the plurality of brightness requirement data.
For example, in some embodiments, the determining the plurality of brightness requirement data corresponding to the plurality of screen areas in a one-to-one manner includes:
acquiring RGB average values of a plurality of areas corresponding to the screen areas one by one;
determining a plurality of target brightness adjustment coefficients corresponding to the screen areas one by one according to the RGB average values of the areas;
and adjusting the plurality of SPI data according to the plurality of target brightness adjustment coefficients to generate the plurality of brightness requirement data.
Step S105, determining a plurality of brightness control signals corresponding to the plurality of screen areas one by one according to the plurality of SPI data, and adjusting display brightness of the plurality of screen areas according to the plurality of brightness control signals.
For example, in this embodiment, SPI data of each pixel point is converted into a brightness control signal, and display brightness of each pixel point in each screen area is adjusted according to the brightness control signal.
In some embodiments, the step S105 includes:
determining a plurality of gray values of the plurality of screen areas according to the plurality of SPI data;
converting the gray values into voltage values as the brightness control signals by a preset digital-to-analog conversion device.
In this embodiment, a plurality of gray values of each pixel in a plurality of screen areas are determined according to SPI data of each pixel, the gray values are converted into voltage values by a digital-to-analog conversion device in a display screen, and the voltage values are used as brightness control signals to control backlight brightness in each area.
For example, in some embodiments, the power panel is responsible for providing power support for the whole system, where 6780V100 is a driving panel, and has an 8K dynamic backlight control algorithm and an 8K image algorithm integrated therein, and when video data enters the driving panel through HDMI (High Definition Multimedia Interface ) or DP (DisplayPort, display interface), the driving panel is responsible for extracting luminance value information of the image, and then calculating a backlight luminance value of a certain area according to the luminance information. And then the brightness value is transmitted to the HUB board through an SPI communication protocol, and a dynamic backlight driving distribution algorithm is integrated in the HUB board. Through the algorithm, the HUB board can transmit brightness information to a specific backlight board according to the received SPI data, and then the backlight board again according to the information. The specific brightness value is converted into a corresponding electric signal, and the brightness of the backlight lamp beads is regulated and controlled. And further, the brightness of the backlight is automatically adjusted according to the requirement of a display picture, so that the aim of improving the display effect is fulfilled.
By the method, video data transmitted through a high-definition multimedia HDMI interface and/or a digital video DP interface are obtained, image brightness information of each pixel point in a first frame image of the video data is identified, the first frame image is any frame image in the video data, a plurality of backlight brightness data of each pixel point in the first frame image in one-to-one correspondence in a plurality of screen areas is determined according to the image brightness information and position information of each pixel point in the first frame image, the plurality of backlight brightness data is converted into a plurality of SPI data based on a serial peripheral interface SPI communication protocol, a plurality of brightness control signals of one-to-one correspondence in the plurality of screen areas are determined according to the plurality of SPI data, and display brightness of the plurality of screen areas is adjusted according to the plurality of brightness control signals. Therefore, the backlight partition control is carried out on the screen, the area brightness distribution is carried out on the brightness of each area, the contrast ratio of the screen is improved, the display effect of the screen is better, and the problem that the uneven brightness of the screen affects the user experience is effectively avoided.
Fig. 4 is a block diagram of a screen brightness adjustment device according to an exemplary embodiment, and as shown in fig. 4, the device 100 includes: the system comprises an acquisition module 110, an identification module 120, a determination module 130, a conversion module 140 and an execution module 150.
The acquisition module is used for acquiring video data transmitted through the high-definition multimedia HDMI interface and/or the digital video DP interface;
the identification module is used for identifying the image brightness information of each pixel point in a first frame image of the video data, wherein the first frame image is any frame image in the video data;
the determining module is used for determining a plurality of backlight brightness data corresponding to each pixel point in the first frame image in a one-to-one mode in a plurality of screen areas according to the image brightness information and the position information of each pixel point in the first frame image;
the conversion module is used for converting the backlight brightness data into SPI data based on a serial peripheral interface SPI communication protocol;
and the execution module is used for determining a plurality of brightness control signals corresponding to the screen areas one by one according to the SPI data and adjusting the display brightness of the screen areas according to the brightness control signals.
Optionally, the determining module includes:
a first determining sub-module, configured to determine, according to the position information, backlight area information of each pixel point in a screen, where the screen is divided into a plurality of backlight areas, and brightness adjustment coefficients of the backlight areas are different;
the second determining submodule is used for determining a plurality of brightness adjustment coefficients corresponding to the pixel points one by one according to the backlight area information;
and a third determining sub-module, configured to determine the plurality of backlight luminance data according to the image luminance information and the plurality of luminance adjustment coefficients.
Optionally, the second determining sub-module comprises:
a first determining unit, configured to determine a pixel point location coefficient in the area according to the backlight area information;
the acquisition unit is used for acquiring the brightness average value and the RGB average value of each pixel point in the backlight area information in the first frame image, and the environment brightness average value and the environment RGB average value of the physical environment corresponding to the backlight area information;
and the second determining unit is used for determining the brightness adjustment coefficient according to the brightness average value, the RGB average value, the ambient brightness average value, the ambient RGB average value and the pixel point position coefficient.
Optionally, the second determining unit is configured to:
the brightness adjustment coefficient is determined by:
wherein,for the brightness adjustment factor, < >>For the brightness mean>For the RGB mean->For the pixel position coefficient, +.>For the ambient brightness mean +.>Is the ambient RGB mean.
Optionally, the conversion module comprises:
a fourth determining submodule, configured to convert the plurality of backlight luminance data by using a dynamic backlight driving allocation algorithm based on the SPI communication protocol, and determine a plurality of luminance requirement data corresponding to the plurality of screen areas one by one;
and the generation sub-module is used for generating the plurality of SPI data according to the plurality of brightness requirement data.
Optionally, the fourth determining submodule is configured to:
acquiring RGB average values of a plurality of areas corresponding to the screen areas one by one;
determining a plurality of target brightness adjustment coefficients corresponding to the screen areas one by one according to the RGB average values of the areas;
and adjusting the plurality of SPI data according to the plurality of target brightness adjustment coefficients to generate the plurality of brightness requirement data.
Optionally, the execution module is configured to:
determining a plurality of gray values of the plurality of screen areas according to the plurality of SPI data;
converting the gray values into voltage values as the brightness control signals by a preset digital-to-analog conversion device.
By the method, video data transmitted through a high-definition multimedia HDMI interface and/or a digital video DP interface are obtained, image brightness information of each pixel point in a first frame image of the video data is identified, the first frame image is any frame image in the video data, a plurality of backlight brightness data of each pixel point in the first frame image in one-to-one correspondence in a plurality of screen areas is determined according to the image brightness information and position information of each pixel point in the first frame image, the plurality of backlight brightness data is converted into a plurality of SPI data based on a serial peripheral interface SPI communication protocol, a plurality of brightness control signals of one-to-one correspondence in the plurality of screen areas are determined according to the plurality of SPI data, and display brightness of the plurality of screen areas is adjusted according to the plurality of brightness control signals. Therefore, the backlight partition control is carried out on the screen, the area brightness distribution is carried out on the brightness of each area, the contrast ratio of the screen is improved, the display effect of the screen is better, and the problem that the uneven brightness of the screen affects the user experience is effectively avoided.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In some embodiments, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing relevant data of the image acquisition device. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize a screen brightness adjusting method and a collecting device thereof.
In some embodiments, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input system connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, is adapted to carry out a method of analyzing medical swallowing images and a device for acquiring the same. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input system of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In some embodiments, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above-described embodiments of the screen brightness adjustment method when the computer program is executed.
In some embodiments, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements the steps of the screen brightness adjustment method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (8)

1. A screen brightness adjustment method, comprising:
acquiring video data transmitted through a high-definition multimedia HDMI interface and/or a digital video DP interface;
identifying image brightness information of each pixel point in a first frame image of the video data, wherein the first frame image is any frame image in the video data;
determining a plurality of backlight brightness data corresponding to each pixel point in a plurality of screen areas one by one in the first frame image according to the image brightness information and the position information of each pixel point in the first frame image;
converting the backlight brightness data into SPI data based on a serial peripheral interface SPI communication protocol;
determining a plurality of brightness control signals corresponding to the screen areas one by one according to the SPI data, and adjusting the display brightness of the screen areas according to the brightness control signals;
the determining, according to the image brightness information and the position information of each pixel point in the first frame image, a plurality of backlight brightness data corresponding to each pixel point in the first frame image in a plurality of screen areas one to one, includes:
determining backlight area information of each pixel point in a screen according to the position information, wherein the screen is divided into a plurality of backlight areas, and brightness adjustment coefficients of the backlight areas are different;
determining a plurality of brightness adjustment coefficients corresponding to the pixel points one by one according to the backlight area information;
determining the plurality of backlight brightness data according to the image brightness information and the plurality of brightness adjustment coefficients;
the determining, according to the backlight area information, a plurality of brightness adjustment coefficients corresponding to the pixel points one to one includes:
determining pixel point location coefficients in the area according to the backlight area information;
acquiring a brightness average value and an RGB average value of each pixel point in the backlight area information in the first frame image, and an environment brightness average value and an environment RGB average value of a physical environment corresponding to the backlight area information;
and determining the brightness adjustment coefficient according to the brightness average value, the RGB average value, the ambient brightness average value, the ambient RGB average value and the pixel point position coefficient.
2. The screen brightness adjustment method according to claim 1, wherein the determining the brightness adjustment coefficient according to the brightness average value, the RGB average value, the ambient brightness average value, the ambient RGB average value, and the pixel position coefficient comprises:
the brightness adjustment coefficient is determined by:
wherein,for the brightness adjustment factor, < >>For the brightness mean>For the RGB mean->For the pixel position coefficient, +.>For the ambient brightness mean +.>、/>、/>Is the ambient RGB mean.
3. The screen brightness adjustment method according to claim 1, wherein the converting the plurality of backlight brightness data into a plurality of SPI data based on a serial peripheral interface SPI communication protocol, comprises:
converting the backlight brightness data through a dynamic backlight driving distribution algorithm based on the SPI communication protocol, and determining a plurality of brightness requirement data corresponding to the screen areas one by one;
and generating the plurality of SPI data according to the plurality of brightness requirement data.
4. The screen brightness adjustment method according to claim 3, wherein the determining a plurality of brightness requirement data for one-to-one correspondence of the plurality of screen regions comprises:
acquiring RGB average values of a plurality of areas corresponding to the screen areas one by one;
determining a plurality of target brightness adjustment coefficients corresponding to the screen areas one by one according to the RGB average values of the areas;
and adjusting the plurality of SPI data according to the plurality of target brightness adjustment coefficients to generate the plurality of brightness requirement data.
5. The method according to any one of claims 1 to 4, wherein determining a plurality of brightness control signals for one-to-one correspondence of the plurality of screen areas based on the plurality of SPI data includes:
determining a plurality of gray values of the plurality of screen areas according to the plurality of SPI data;
converting the gray values into voltage values as the brightness control signals by a preset digital-to-analog conversion device.
6. A screen brightness adjustment device, the device comprising:
the acquisition module is used for acquiring video data transmitted through the high-definition multimedia HDMI interface and/or the digital video DP interface;
the identification module is used for identifying the image brightness information of each pixel point in a first frame image of the video data, wherein the first frame image is any frame image in the video data;
the determining module is used for determining a plurality of backlight brightness data corresponding to each pixel point in the first frame image in a one-to-one mode in a plurality of screen areas according to the image brightness information and the position information of each pixel point in the first frame image;
the determining, according to the image brightness information and the position information of each pixel point in the first frame image, a plurality of backlight brightness data corresponding to each pixel point in the first frame image in a plurality of screen areas one to one, includes:
determining backlight area information of each pixel point in a screen according to the position information, wherein the screen is divided into a plurality of backlight areas, and brightness adjustment coefficients of the backlight areas are different;
determining a plurality of brightness adjustment coefficients corresponding to the pixel points one by one according to the backlight area information;
determining the plurality of backlight brightness data according to the image brightness information and the plurality of brightness adjustment coefficients;
the determining, according to the backlight area information, a plurality of brightness adjustment coefficients corresponding to the pixel points one to one includes:
determining pixel point location coefficients in the area according to the backlight area information;
acquiring a brightness average value and an RGB average value of each pixel point in the backlight area information in the first frame image, and an environment brightness average value and an environment RGB average value of a physical environment corresponding to the backlight area information;
determining the brightness adjustment coefficient according to the brightness average value, the RGB average value, the ambient brightness average value, the ambient RGB average value and the pixel point position coefficient;
the conversion module is used for converting the backlight brightness data into SPI data based on a serial peripheral interface SPI communication protocol;
and the execution module is used for determining a plurality of brightness control signals corresponding to the screen areas one by one according to the SPI data and adjusting the display brightness of the screen areas according to the brightness control signals.
7. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the screen brightness adjustment method of any one of claims 1-5.
8. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the screen brightness adjustment method of any of claims 1-5.
CN202311667184.2A 2023-12-07 2023-12-07 Screen brightness adjusting method and device, electronic equipment and storage medium Active CN117373397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311667184.2A CN117373397B (en) 2023-12-07 2023-12-07 Screen brightness adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311667184.2A CN117373397B (en) 2023-12-07 2023-12-07 Screen brightness adjusting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117373397A CN117373397A (en) 2024-01-09
CN117373397B true CN117373397B (en) 2024-02-23

Family

ID=89394898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311667184.2A Active CN117373397B (en) 2023-12-07 2023-12-07 Screen brightness adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117373397B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104106109A (en) * 2012-02-03 2014-10-15 松下电器产业株式会社 Video display control device
CN111462701A (en) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 Backlight brightness adjusting method and device
CN113744696A (en) * 2021-08-17 2021-12-03 惠州视维新技术有限公司 Method and device for adjusting brightness of backlight module and storage medium
CN114981878A (en) * 2020-12-25 2022-08-30 京东方科技集团股份有限公司 Image display method, image display device, electronic device, and storage medium
CN116825039A (en) * 2023-08-30 2023-09-29 惠科股份有限公司 Backlight brightness calculating method, display device and computer readable storage medium
CN117133245A (en) * 2022-12-30 2023-11-28 深圳Tcl数字技术有限公司 Data processing method, device, computer equipment and computer readable storage medium
CN117153112A (en) * 2023-08-15 2023-12-01 厦门大学 Driving method and device of local dimming display

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007029420A1 (en) * 2005-09-08 2007-03-15 Sharp Kabushiki Kaisha Image display device
JP2015222422A (en) * 2014-04-28 2015-12-10 キヤノン株式会社 Display device and control method therefor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104106109A (en) * 2012-02-03 2014-10-15 松下电器产业株式会社 Video display control device
CN111462701A (en) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 Backlight brightness adjusting method and device
CN114981878A (en) * 2020-12-25 2022-08-30 京东方科技集团股份有限公司 Image display method, image display device, electronic device, and storage medium
CN113744696A (en) * 2021-08-17 2021-12-03 惠州视维新技术有限公司 Method and device for adjusting brightness of backlight module and storage medium
CN117133245A (en) * 2022-12-30 2023-11-28 深圳Tcl数字技术有限公司 Data processing method, device, computer equipment and computer readable storage medium
CN117153112A (en) * 2023-08-15 2023-12-01 厦门大学 Driving method and device of local dimming display
CN116825039A (en) * 2023-08-30 2023-09-29 惠科股份有限公司 Backlight brightness calculating method, display device and computer readable storage medium

Also Published As

Publication number Publication date
CN117373397A (en) 2024-01-09

Similar Documents

Publication Publication Date Title
US11521564B2 (en) Image display processing method and device, display device and non-volatile storage medium
CN101630498B (en) Display apparatus, method of driving display apparatus, drive-use integrated circuit, and signal processing method
US10902799B2 (en) Display apparatus and method for driving the display apparatus for locally dimming to suppress motion blur
CN102165513B (en) Systems and methods for applying adaptive gamma in image processing for high brightness and high dynamic range displays
CN101673521B (en) Liquid crystal display device and method for processing digital image signal
US20200335048A1 (en) Method, apparatus, and device for adjusting backlight brightness based on human eye characteristics
US11244636B2 (en) Display device comprising backlight unit with backlight blocks in rows driven by local dimming method
CN105590597A (en) Method and apparatus for expanding dynamic range of display device
KR20120000252A (en) Display device and contrast enhancement method thereof
CN113299245B (en) Method and device for adjusting local backlight of display equipment, display equipment and storage medium
US10649711B2 (en) Method of switching display of a terminal and a terminal
US11257443B2 (en) Method for processing image, and display device
CN102103820B (en) Image display apparatus, its driving method and apparatus driving program
CN108615496B (en) Image data processing method and device
WO2023207275A1 (en) Display control method and apparatus, display device, electronic device and medium
CN102298904A (en) Method for adjusting backlight brightness of display device and equipment with display device
CN116013209B (en) Backlight area adjusting method and device, electronic equipment and storage medium
CN110379379B (en) Backlight driving method and device, display device and storage medium
CN116168652A (en) Image display method, device, electronic equipment and computer readable storage medium
CN117373397B (en) Screen brightness adjusting method and device, electronic equipment and storage medium
CN112740319B (en) Electronic apparatus and control method thereof
CN110574356B (en) Dynamic color gamut adjustable display
CN114415372B (en) AR (augmented reality) glasses contrast control method, storage medium and AR glasses
CN114760427A (en) LED display control method and device, intelligent terminal and storage medium
WO2024000315A1 (en) Display panel drive method and apparatus, and storage medium and display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant