Display devices and device control methods
By dividing the display device into image regions and updating the refresh rate, the compatibility problem of multi-refresh-rate partitioned display is solved, and the synchronization of the display device and the improvement of image quality are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-03
- Publication Date
- 2026-04-03
AI Technical Summary
Existing display devices have compatibility issues with multi-refresh-rate zone display and dithering algorithm applications, resulting in asynchronous refresh rates in different areas and affecting display quality.
By dividing the image to be displayed into multiple image regions, determining the initial refresh rate of each region based on a preset inter-frame difference algorithm, and updating it to the target refresh rate through merging rules, each region is controlled to undergo dithering according to the target refresh rate and pixel value to ensure the consistency of display brightness.
It achieves synchronization and image quality improvement in multi-refresh-rate partitioned display environments, avoiding problems such as flickering and ghosting, and ensuring image display effect.
Smart Images

Figure CN121260129B_ABST
Abstract
Description
Technical Field
[0001] This application relates to image processing technology. More specifically, it relates to a display device and a device control method. Background Technology
[0002] Currently, the pixel bit width of the source driver chip in a display system is typically 6 bits or 8 bits. The TCON (Timing Controller) chip usually reduces the input pixel bit width to 8 bits or 6 bits before sending it to the source driver chip, and dithers the pixels based on a 4-bit or 2-bit dithering algorithm to reduce the loss of color detail caused by the low display bit width. Dithering is a key technology to compensate for the insufficient physical color depth of a display and improve the visual experience. It utilizes the spatial and temporal integration characteristics of the human eye to simulate smoother color transitions based on a limited set of physical colors through carefully designed pixel value modulation modes (spatial) or rapid switching (temporal). Multi-refresh-rate display technology, by dividing the screen into multiple areas and setting refresh rates for each area, achieves a dynamic optimal balance between power consumption, bandwidth, and image quality, becoming an inevitable evolutionary direction in the context of high resolution and high refresh rates.
[0003] Both of the above technologies are essential processing methods for display devices today. However, they currently have compatibility issues in application. This is because multi-refresh-rate partitioned displays have different display frequencies in different areas of the screen, and the effect of the dithering algorithm depends on the display frequency and pixel position. Therefore, different refresh rates can cause problems such as asynchronous dithering and polarity imbalance, which affect the display effect. Summary of the Invention
[0004] To solve the above-mentioned technical problems, or at least partially solve them, embodiments of this application provide a display device and a device control method.
[0005] In a first aspect, embodiments of this application provide a display device, including: a display; and a controller connected to the display, the controller being configured to: acquire an image to be displayed, and divide the image to be displayed according to a preset division rule to obtain multiple image regions; analyze each image region based on a preset inter-frame difference algorithm to determine an initial refresh rate for each image region; perform refresh rate update processing based on the initial refresh rate of each image region and a preset merging rule to obtain a target refresh rate for each image region; control each image region to perform dithering processing according to the corresponding target refresh rate and pixel value, acquire the display brightness of each image region and send it to the display, so that the display shows the image to be displayed according to the display brightness of each image region.
[0006] In some embodiments of this application, the controller is further configured to: acquire adjacent image regions among the plurality of image regions; wherein the adjacent image regions correspond to different target refresh rates; determine the boundary regions of the adjacent image regions based on a preset number of pixels; calculate the pixel value of the boundary region based on a preset pixel mixing formula and the pixel value of each adjacent image region in the adjacent image regions, so that during the dithering process according to the target refresh rate and pixel value of each image region, the display brightness of the boundary region is determined based on the target refresh rate of the image region to which the boundary region belongs and the pixel value of the boundary region and sent to the display.
[0007] In some embodiments of this application, the controller is specifically configured to: determine the pixel weight value corresponding to each adjacent image region based on the target refresh rate of each adjacent image region; and perform a weighted summation calculation based on the pixel weight value corresponding to each adjacent image region and the pixel value of each adjacent image region to obtain the pixel value of the boundary region.
[0008] In some embodiments of this application, the controller is specifically configured to: obtain the pixel difference of each image region in a preset interval frame; match the pixel difference of each image region with a preset refresh rate allocation table to obtain the pixel difference range corresponding to the pixel difference of each image region; and obtain the refresh rate corresponding to the pixel difference range in the preset refresh rate allocation table as the initial refresh rate of each image region.
[0009] In some embodiments of this application, the controller is specifically configured to: determine a set of comparison image regions for each image region based on a preset number of image regions; when the initial refresh rate of any image region is different from the initial refresh rate of a first number of comparison image regions in the set of comparison image regions but the same as the initial refresh rate of a second number of comparison image regions, take the initial refresh rate of the second number of comparison image regions as the target refresh rate of any image region; wherein the first number is less than or equal to the second number; when the initial refresh rate of any image region is different from the initial refresh rate of all comparison image regions in the set of comparison image regions, count the number of comparison image regions with the same initial refresh rate, and take the initial refresh rate corresponding to the largest number as the target refresh rate of any image region.
[0010] In some embodiments of this application, the controller is further configured to: query a preset grayscale weight table based on the target refresh rate of each image region to obtain the grayscale weight corresponding to each target refresh rate; query a preset reference grayscale table based on the initial grayscale of each target refresh rate to obtain the reference grayscale corresponding to each target refresh rate; and calculate based on the grayscale weight and the reference grayscale to obtain the target grayscale corresponding to each target refresh rate, so as to determine the display brightness of each image region based on the target grayscale.
[0011] In some embodiments of this application, the controller is further configured to: obtain a standard grayscale and a reference grayscale for each target refresh rate based on the same input grayscale; calculate the ratio of the standard grayscale and the reference grayscale, obtain the ratio for each target refresh rate, and construct the preset grayscale weight table based on the ratio for each target refresh rate.
[0012] In some embodiments of this application, the controller is further configured to: obtain the grayscale change rate of the standard grayscale associated with the ratio of each target refresh rate; and delete the target refresh rate and the corresponding ratio of the grayscale change rate that are less than a preset change threshold from the preset grayscale weight table.
[0013] In some embodiments of this application, the controller is further configured to: if the grayscale weight corresponding to the target refresh rate cannot be obtained by querying the preset grayscale weight table based on the target refresh rate, obtain a candidate refresh rate corresponding to the target refresh rate; query the preset grayscale weight table based on the candidate refresh rate to obtain a candidate weight; and perform interpolation processing on the candidate weight based on a preset interpolation algorithm to obtain the grayscale weight of the target refresh rate.
[0014] Secondly, embodiments of this application provide a device control method applied to a display device, comprising: acquiring an image to be displayed, and dividing the image to be displayed according to a preset division rule to obtain multiple image regions; analyzing each image region based on a preset inter-frame difference algorithm to determine the initial refresh rate of each image region; performing refresh rate update processing based on the initial refresh rate of each image region and a preset merging rule to obtain a target refresh rate of each image region; controlling each image region to perform dithering processing according to the corresponding target refresh rate and pixel value to obtain the display brightness of each image region, and displaying the image to be displayed according to the display brightness of each image region.
[0015] In some embodiments of this application, the method further includes: acquiring adjacent image regions among the plurality of image regions; wherein the adjacent image regions correspond to different target refresh rates; determining the boundary region of the adjacent image regions based on a preset number of pixels; calculating the pixel value of the boundary region based on a preset pixel mixing formula and the pixel value of each adjacent image region in the adjacent image regions, so that during the dithering process according to the target refresh rate and pixel value of each image region, the display brightness of the boundary region is determined based on the target refresh rate of the image region to which the boundary region belongs and the pixel value of the boundary region and sent to the display.
[0016] In some embodiments of this application, the step of calculating the pixel value of the boundary region based on a preset pixel mixing formula and the pixel value of each adjacent image region in the adjacent image region includes: determining the pixel weight value corresponding to each adjacent image region based on the target refresh rate of each adjacent image region; and performing a weighted summation calculation according to the pixel weight value corresponding to each adjacent image region and the pixel value of each adjacent image region to obtain the pixel value of the boundary region.
[0017] In some embodiments of this application, the step of analyzing each image region based on a preset inter-frame difference algorithm to determine the initial refresh rate of each image region includes: obtaining the pixel difference of each image region in a preset interval frame; matching the pixel difference of each image region with a preset refresh rate allocation table to obtain the pixel difference range corresponding to the pixel difference of each image region; and obtaining the refresh rate corresponding to the pixel difference range in the preset refresh rate allocation table as the initial refresh rate of each image region.
[0018] In some embodiments of this application, the refresh rate update process based on the initial refresh rate of each image region and a preset merging rule to obtain the target refresh rate of each image region includes: determining a set of comparison image regions for each image region based on a preset number of image regions; if the initial refresh rate of any image region is different from the initial refresh rate of a first number of comparison image regions in the set of comparison image regions but the same as the initial refresh rate of a second number of comparison image regions, then taking the initial refresh rate of the second number of comparison image regions as the target refresh rate of any image region; wherein the first number is less than or equal to the second number; if the initial refresh rate of any image region is different from the initial refresh rate of all comparison image regions in the set of comparison image regions, then counting the number of comparison image regions with the same initial refresh rate, and taking the initial refresh rate corresponding to the largest number as the target refresh rate of any image region.
[0019] In some embodiments of this application, the method further includes: querying a preset grayscale weight table based on the target refresh rate of each image region to obtain the grayscale weight corresponding to each target refresh rate; querying a preset reference grayscale table based on the initial grayscale of each target refresh rate to obtain the reference grayscale corresponding to each target refresh rate; and calculating based on the grayscale weight and the reference grayscale to obtain the target grayscale corresponding to each target refresh rate, so as to determine the display brightness of each image region based on the target grayscale.
[0020] In some embodiments of this application, the method further includes: obtaining a standard grayscale and a reference grayscale for each target refresh rate based on the same input grayscale; calculating the ratio of the standard grayscale and the reference grayscale, obtaining the ratio for each target refresh rate, and constructing the preset grayscale weight table based on the ratio for each target refresh rate.
[0021] In some embodiments of this application, the method further includes: obtaining the grayscale change rate of the standard grayscale associated with the ratio of each target refresh rate; and deleting the target refresh rate and the corresponding ratio of the grayscale change rate that are less than a preset change threshold from the preset grayscale weight table.
[0022] In some embodiments of this application, the method further includes: if the grayscale weight corresponding to the target refresh rate cannot be obtained by querying the preset grayscale weight table based on the target refresh rate, obtaining a candidate refresh rate corresponding to the target refresh rate; querying the preset grayscale weight table based on the candidate refresh rate to obtain a candidate weight; and performing interpolation processing on the candidate weight based on a preset interpolation algorithm to obtain the grayscale weight of the target refresh rate.
[0023] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to cause the electronic device to implement the device control method described in any embodiment of the first aspect when executing the computer program.
[0024] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a computing device, causes the computing device to implement the device control method described in any embodiment of the first aspect.
[0025] Fifthly, embodiments of this application provide a computer program product that, when run on a computer, enables the computer to implement the device control method described in any embodiment of the first aspect.
[0026] As can be seen from the above technical solutions, the display device and device control method provided in this application acquire an image to be displayed and divide the image to be displayed according to a preset division rule to obtain multiple image regions; analyze each image region based on a preset inter-frame difference algorithm to determine the initial refresh rate of each image region; perform refresh rate update processing based on the initial refresh rate of each image region and a preset merging rule to obtain the target refresh rate of each image region; control each image region to perform dithering processing according to the corresponding target refresh rate and pixel value; obtain the display brightness of each image region and send it to the display so that the display shows the image to be displayed according to the display brightness of each image region. Therefore, by reasonably dividing the display image into different image regions, analyzing the inter-frame information of each image region to accurately determine the initial refresh rate of each image region, and performing refresh rate update processing according to a certain merging rule, the difficulty of dithering processing is reduced without affecting the display effect. Finally, by controlling each image region to perform dithering processing according to the corresponding target refresh rate and pixel value, the screen dithering is synchronized during the display image dithering processing, avoiding problems such as flickering and ghosting in the image display, and ensuring the image display effect. Attached Figure Description
[0027] To more clearly illustrate the implementation methods in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0028] Figure 1 An operational scenario between a display device and a control device according to some embodiments is illustrated;
[0029] Figure 2 A hardware configuration block diagram of a control device 100 according to some embodiments is shown;
[0030] Figure 3 A hardware configuration block diagram of a display device 200 according to some embodiments is shown;
[0031] Figure 4 One of the schematic flowcharts of a device control method according to some embodiments is shown;
[0032] Figure 5 A schematic diagram of an image region according to some embodiments is shown;
[0033] Figure 6 One of the schematic diagrams illustrating image region merging according to some embodiments is shown;
[0034] Figure 7A second schematic diagram of image region merging according to some embodiments is shown;
[0035] Figure 8 A second schematic flowchart of a device control method according to some embodiments is shown;
[0036] Figure 9 A schematic diagram of a boundary region according to some embodiments is shown;
[0037] Figure 10 A third schematic flowchart of a device control method according to some embodiments is shown;
[0038] Figure 11 A schematic diagram illustrating threshold refresh rate settings according to some embodiments is shown;
[0039] Figure 12 A fourth schematic flowchart of a device control method according to some embodiments is shown;
[0040] Figure 13 The third illustration shows image region merging according to some embodiments;
[0041] Figure 14 Fifth of a series of schematic flowcharts illustrating a device control method according to some embodiments;
[0042] Figure 15 A sixth schematic flowchart of a device control method according to some embodiments is shown;
[0043] Figure 16 A flowchart of a device control method according to some embodiments is shown as diagram number seven. Detailed Implementation
[0044] To make the objectives and implementation methods of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the exemplary embodiments described are only some embodiments of this application, and not all embodiments.
[0045] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0046] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.
[0047] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.
[0048] The display device provided in this application can have various implementation forms, such as a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, a mobile phone, a tablet computer, a laptop computer, a handheld computer, an in-vehicle electronic device, etc.
[0049] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device according to an embodiment, wherein the control device includes a smart device or a control apparatus. Figure 1 As shown, the user can operate the display device 200 through the smart device 300 or the control device 100.
[0050] In some embodiments, the control device 100 may be a remote control. Communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-range communication methods, controlling the display device 200 wirelessly or via wired means. Users can control the display device 200 by inputting user commands through buttons on the remote control, voice input, control panel input, etc.
[0051] In some embodiments, a smart device 300 (such as a mobile terminal, tablet computer, computer, laptop computer, etc.) can also be used to control the display device 200. For example, an application running on the smart device can be used to control the display device 200.
[0052] In some embodiments, the display device may receive instructions not through the aforementioned smart devices or control devices, but through touch or gestures.
[0053] In some embodiments, the display device 200 can also be controlled in ways other than the control device 100 and the smart device 300. For example, it can be controlled by directly receiving the user's voice commands through a module configured inside the display device 200 for acquiring voice commands, or it can be controlled by receiving the user's voice commands through a voice control device set outside the display device 200.
[0054] In some embodiments, the display device 200 also communicates with the server 400. The display device 200 may communicate via a local area network (LAN), wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactive features to the display device 200. The server 400 may be a cluster or multiple clusters, and may include one or more types of servers.
[0055] Figure 2 An exemplary block diagram of the configuration of the control device 100 according to an exemplary embodiment is shown. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, an external memory, and a power supply. The control device 100 can receive user input operation commands and convert the operation commands into commands that the display device 200 can recognize and respond to, thus acting as an intermediary for interaction between the user and the display device 200.
[0056] like Figure 3 The display device 200 includes at least one of the following: a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a user interface 280, an external memory, and a power supply.
[0057] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first interface to an nth interface for input / output.
[0058] The display 260 includes a display screen assembly for presenting images, a driving assembly for driving image display, a component for receiving image signals from the controller output, and a user interface for displaying video content, image content, menu control interface, and user control UI.
[0059] The display 260 can be an LCD display, an OLED display, or a projection display, and can also be a projection device and a projection screen.
[0060] The communicator 220 is a component used to communicate with external devices or servers according to various communication protocol types. For example, the communicator may include at least one of the following: a Wi-Fi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or near-field communication protocol chips, and an infrared receiver. The display device 200 can establish the transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
[0061] User interface 280 can be used to receive control signals from control device 100 (such as an infrared remote control). It can also be used to directly receive user input operation commands and convert the operation commands into commands that display device 200 can recognize and respond to; in this case, it can be called a user input interface.
[0062] Detector 230 is used to collect signals from the external environment or to interact with the external environment. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; or, detector 230 includes an image acquisition device, such as a camera, which can be used to collect external environmental scenes, user attributes, or user interaction gestures; or, detector 230 includes a sound acquisition device, such as a microphone, for receiving external sounds.
[0063] The external device interface 240 may include, but is not limited to, one or more of the following: High Definition Multimedia Interface (HDMI), analog or high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. It may also be a composite input / output interface formed by multiple interfaces mentioned above.
[0064] The tuner / demodulator 210 receives broadcast television signals via wired or wireless means, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals.
[0065] In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0066] The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory (internal or external memory). The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command to select a UI object to display on the monitor 260, the controller 250 can perform operations related to the object selected by the user command.
[0067] In some embodiments, the controller includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), and random access memory (RAM), read-only memory (ROM), a first to an nth interface for input / output, a communication bus, etc.
[0068] RAM, also known as main memory, is an internal memory that directly exchanges data with the controller. It can be read and written at any time (except during refresh) and is very fast, typically serving as temporary data storage for the operating system or other running programs. Its biggest difference from ROM is data volatility; data stored in RAM is lost when power is off. RAM is used in computers and digital systems to temporarily store programs, data, and intermediate results. ROM operates in a non-destructive read-only manner, allowing only reading and not writing. Once information is written, it is fixed and will not be lost even if power is cut off; therefore, it is also called fixed-function memory.
[0069] Users can input commands through a graphical user interface (GUI) displayed on the monitor 260, and the user input interface receives the user input commands through the GUI. Alternatively, users can input commands by entering specific sounds or gestures, and the user input interface receives the user input commands by recognizing the sounds or gestures through sensors.
[0070] A "user interface" is the medium through which an application or operating system interacts and exchanges information with the user. It converts information from its internal form to a form that the user can accept. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be an icon, window, control, or other interface element displayed on the screen of a display device. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0071] This application provides a display device and a device control method, wherein the display device can implement the device control method provided in this application embodiment, or the functional modules or functional entities in the display device can implement the device control method provided in this application embodiment. The display device includes: a controller and a display, corresponding to the above... Figure 3 The controller 250 and the display 260 are included; wherein, the display device 200 includes a display driver chip or a display processing device and supports multi-refresh-rate partitioned display to achieve high-quality image jitter.
[0072] In some embodiments, during the display process, the controller 250 acquires the image to be displayed and divides it into multiple image regions according to a preset division rule. It then analyzes each image region based on a preset inter-frame difference algorithm to determine the initial refresh rate of each region. Based on the initial refresh rate of each image region and a preset merging rule, it performs refresh rate update processing to obtain the target refresh rate for each image region. Finally, it controls each image region to undergo dithering processing according to the corresponding target refresh rate and pixel value, and obtains the display brightness of each image region, sending it to the display 260 so that the display 260 displays the image to be displayed according to the display brightness of each image region.
[0073] In some embodiments, the controller 250 acquires adjacent image regions among multiple image regions; wherein, the adjacent image regions correspond to different target refresh rates; the boundary regions of the adjacent image regions are determined based on a preset number of pixels; the pixel values of the boundary regions are calculated based on a preset pixel mixing formula and the pixel values of each adjacent image region, so that during the dithering process according to the target refresh rate and pixel values of each image region, the display brightness of the boundary region is determined based on the target refresh rate of the image region to which the boundary region belongs and the pixel values of the boundary region and sent to the display.
[0074] In some embodiments, the controller 250 determines the pixel weight value corresponding to each adjacent image region based on the target refresh rate of each adjacent image region; and calculates the pixel value of the boundary region by weighting and summing the pixel weight value corresponding to each adjacent image region and the pixel value of each adjacent image region.
[0075] In some embodiments, the controller 250 obtains the pixel difference of each image region in a preset interval frame; matches the pixel difference of each image region with a preset refresh rate allocation table to obtain the pixel difference range corresponding to the pixel difference of each image region; and obtains the refresh rate corresponding to the pixel difference range in the preset refresh rate allocation table as the initial refresh rate of each image region.
[0076] In some embodiments, the controller 250 determines a set of comparison image regions for each image region based on a preset number of image regions; if the initial refresh rate of any image region is different from the initial refresh rate of a first number of comparison image regions in the set of comparison image regions but the same as the initial refresh rate of a second number of comparison image regions, the initial refresh rate of the second number of comparison image regions is taken as the target refresh rate of any image region; wherein the first number is less than or equal to the second number; if the initial refresh rate of any image region is different from the initial refresh rate of all comparison image regions in the set of comparison image regions, the number of comparison image regions with the same initial refresh rate is counted, and the initial refresh rate corresponding to the largest number is taken as the target refresh rate of any image region.
[0077] In some embodiments, the controller 250 queries a preset grayscale weight table based on the target refresh rate of each image region to obtain the grayscale weight corresponding to each target refresh rate; queries a preset reference grayscale table based on the initial grayscale of each target refresh rate to obtain the reference grayscale corresponding to each target refresh rate; and calculates the target grayscale corresponding to each target refresh rate based on the grayscale weight and the reference grayscale to determine the display brightness of each image region based on the target grayscale.
[0078] In some embodiments, the controller 250 obtains the standard grayscale and the reference grayscale of each target refresh rate based on the same input grayscale; calculates the ratio of the standard grayscale and the reference grayscale, obtains the ratio of each target refresh rate, and constructs a preset grayscale weight table based on the ratio of each target refresh rate.
[0079] In some embodiments, the controller 250 obtains the grayscale change rate of the standard grayscale associated with the ratio of each target refresh rate; and deletes the target refresh rate and the corresponding ratio of the grayscale change rate that are less than a preset change threshold from the preset grayscale weight table.
[0080] In some embodiments, if the controller 250 cannot obtain the grayscale weight corresponding to the target refresh rate by querying the preset grayscale weight table based on the target refresh rate, it obtains a candidate refresh rate corresponding to the target refresh rate; it then queries the preset grayscale weight table based on the candidate refresh rate to obtain the candidate weight; and it performs interpolation processing on the candidate weight based on a preset interpolation algorithm to obtain the grayscale weight of the target refresh rate.
[0081] Figure 4 The flowchart of the device control method provided in the embodiment of this application is illustrated in the example below. Figure 4 As shown, the device control method provided in this application includes the following steps:
[0082] Step 401: Obtain the image to be displayed and divide it according to the preset division rules to obtain multiple image regions.
[0083] The image to be displayed refers to the image that the display will display. The image to be displayed can be divided into multiple image regions and a corresponding refresh rate can be set for each image region to achieve a dynamic optimal balance between power consumption, bandwidth and image quality.
[0084] In this embodiment of the application, the partitioning rules can be preset. Specifically, the partitioning matrix is determined based on the storage space and the processor (such as the processing chip) frequency, and the image to be displayed is divided according to the partitioning matrix to obtain multiple image regions.
[0085] For example, such as Figure 5 As shown, the image to be displayed is divided into 16 image regions by a 4x4 matrix. Each image region includes one or more pixels. The division matrix can be selected according to the actual application scenario to improve the image display effect while ensuring that the hardware resources can handle the processing.
[0086] Step 402: Analyze each image region based on the preset inter-frame difference algorithm to determine the initial refresh rate of each image region.
[0087] In this embodiment, each image region can be analyzed according to the corresponding pixels at certain intervals to determine the pixel change information of each image region. Finally, the initial refresh rate of each image region is set according to the pixel change information and the preset change reference information. The initial refresh rate of the image region refers to the refresh rate of the image region determined according to the pixel change information in the image region, which is used to represent how much the pixels change in the image region within a specific number of time units.
[0088] Specifically, for an image region, the absolute difference or uniform variance of corresponding pixels in a preset interval frame, such as the current frame and the previous frame, is obtained as the pixel difference value. Then, it is determined whether the pixel difference value falls within the corresponding pixel difference value interval, and the refresh rate associated with the pixel difference value interval is used as the initial refresh rate of the image region. Thus, the initial refresh rate of each image region can be obtained by matching the pixel difference value of each image region in the preset interval frame. In this case, different pixel difference value intervals can be set to correspond to different refresh rates based on dynamic factors such as display device power consumption, bandwidth, and image quality when setting the association between the pixel difference value interval and the corresponding refresh rate. This can be adjusted in real time according to the actual application scenario, further improving the flexibility of image processing.
[0089] Therefore, given that images often exhibit a spatiotemporal distribution of "local motion + large areas of stillness," the inefficient superposition of energy consumption and heat generation caused by using the same refresh rate across the entire screen can be addressed by using multiple image regions with corresponding refresh rates. This allows for maintaining a high refresh rate in dynamic areas to reduce ghosting, improve clarity and responsiveness, while simultaneously reducing the refresh rate in static areas to significantly lower panel and link power consumption, alleviate bandwidth and heat dissipation pressure, and reduce the perception of low-frequency flicker. As display driver chips or driver graphics cards enhance their support for domain scanning and local updates, and as operating systems and application ecosystems gradually provide local timing and synchronization capabilities, it is possible to meet increasingly stringent energy efficiency regulations and reliability requirements while also considering the battery life, heat generation, and lifespan of mobile and large-screen devices.
[0090] Step 403: Perform refresh rate update processing based on the initial refresh rate and preset merging rules of each image region to obtain the target refresh rate of each image region.
[0091] Understandably, dividing the image to be displayed according to the preset division rules may result in a large number of fragmented image areas, increasing hardware resource consumption and the difficulty of subsequent jitter synchronization. On the other hand, fewer image areas will affect the display effect and power consumption. Therefore, the image area merging rule cannot simply merge partitions with the same initial refresh rate. It is necessary to simplify the image areas according to specific rules to reduce the difficulty of jitter processing without affecting the display effect.
[0092] In this embodiment of the application, for each image region, the initial refresh rate of the image region can be compared with the initial refresh rates of image regions within a certain range. The initial refresh rate of the image region can be flexibly adjusted based on factors such as whether the initial refresh rate of the image region is the same as or different from the initial refresh rates of the image regions within the certain range, and the number of images with the same initial refresh rate, so as to obtain the target refresh rate of the image region.
[0093] Specifically, a set of comparison image regions is obtained for each image region, such as the four image regions above, below, left, and right of the image region. If the initial refresh rate of any image region is different from the initial refresh rate of a first number of comparison image regions (e.g., the left and right image regions) in the comparison image region set, but the initial refresh rate is the same as the initial refresh rate of a second number of comparison image regions (e.g., the top and bottom image regions), the initial refresh rate of the second number of comparison image regions is taken as the target refresh rate of any image region; wherein the first number is less than or equal to the second number. If the initial refresh rate of any image region is different from the initial refresh rates of all comparison image regions in the comparison image region set, the number of comparison image regions with the same initial refresh rate is counted, and the initial refresh rate corresponding to the largest number is taken as the target refresh rate of any image region.
[0094] For example, such as Figure 6As shown, the four image regions above, below, left, and right of image region A are used as a set of comparison image regions. If the initial refresh rate of image region A is different from the initial refresh rates Z1 and Z2 of the left and right image regions, but the same as the initial refresh rates S1 and S2 of the above and below image regions, the initial refresh rate of the above and below image regions is taken as the target refresh rate of image region A. Figure 7 As shown, when the initial refresh rate of image region B is different from the initial refresh rates of all other image regions, the number of all other image regions with the same initial refresh rate is counted, and the initial refresh rate corresponding to the largest number is taken as the target refresh rate of image region B. Figure 7 Since Y7, Y8, Y12, and Y13 have the same initial refresh rate and the number of image regions is the maximum, the initial refresh rate of image region B is updated to the initial refresh rates corresponding to Y7, Y8, Y12, and Y13.
[0095] It should be noted that image regions that do not meet the above-described rules can maintain their initial refresh rate as the target refresh rate for that image region.
[0096] Therefore, while ensuring the display effect, the number of partitions that are different from the surrounding ones is reduced, thereby reducing the difficulty of jitter processing.
[0097] Step 404: Control each image area to perform dithering processing according to the corresponding target refresh rate and pixel value, obtain the display brightness of each image area and send it to the display so that the display shows the image to be displayed according to the display brightness of each image area.
[0098] In the embodiments of this application, the grayscale change of each image region can be determined from the dithering rules, and then the grayscale of each image region can be changed to achieve dithering processing of each image region; for example, grayscale can be added to each image region, or grayscale can be kept unchanged.
[0099] Specifically, the dithering algorithm operates independently within each image region, performing dithering based on the target refresh rate and pixel values (current frame content) of that region. The time-dependent (time jitter) part of the dithering algorithm uses the target refresh rate of that image region as the time reference. For example, if one image region is 60Hz and another is 144Hz, then the "time" unit used to calculate pixel value changes should be 1 / 60 second and 1 / 144 second, respectively. Under this condition, the dithering effect within each image region is self-consistent and will not be affected by the refresh rate of another image region, ensuring the image display effect.
[0100] Furthermore, each image region is controlled to undergo dithering processing according to its corresponding target refresh rate and pixel value. The display brightness of each image region is obtained and sent to the display, so that the display shows the image to be displayed according to the display brightness of each image region. This effectively solves the synchronization problem of the dithering algorithm in a multi-refresh-rate partitioned display environment, and significantly improves the overall image quality of the display device.
[0101] As can be seen from the above technical solutions, the device control method provided in this application acquires an image to be displayed and divides it into multiple image regions according to a preset division rule; analyzes each image region based on a preset inter-frame difference algorithm to determine the initial refresh rate of each image region; performs refresh rate update processing based on the initial refresh rate of each image region and a preset merging rule to obtain the target refresh rate of each image region; controls each image region to perform dithering processing according to the corresponding target refresh rate and pixel value; obtains the display brightness of each image region and sends it to the display so that the display shows the image to be displayed according to the display brightness of each image region. Therefore, by reasonably dividing the display image into different image regions, analyzing the inter-frame information of each image region to accurately determine the initial refresh rate of each image region, and performing refresh rate update processing according to a certain merging rule, the difficulty of dithering processing is reduced without affecting the display effect. Finally, by controlling each image region to perform dithering processing according to the corresponding target refresh rate and pixel value, the screen dithering is synchronized during the display image dithering processing, avoiding problems such as flickering and ghosting in the image display, and ensuring the image display effect.
[0102] As an extension and refinement of the above embodiments, this application provides another device control method, referring to... Figure 8 As shown, the device control method includes:
[0103] Step 801: Obtain adjacent image regions among multiple image regions; wherein, adjacent image regions correspond to different target refresh rates.
[0104] Step 802: Determine the boundary regions of adjacent image regions based on the preset number of pixels.
[0105] Step 803: Calculate the pixel value of the boundary region based on the preset pixel mixing formula and the pixel value of each adjacent image region in the adjacent image region, so that during the dithering process according to the target refresh rate and pixel value of each image region, the display brightness of the boundary region is determined based on the target refresh rate of the image region to which the boundary region belongs and the pixel value of the boundary region and sent to the display.
[0106] It is understandable that after dividing the image to be displayed into multiple image regions, there are "boundaries" between these regions. Therefore, when processing image regions with different refresh rates, the handling of these boundary regions is crucial. Even if the dithering calculation is performed independently within each image region, the pixels in the boundary regions may exhibit discontinuous visual defects (such as abrupt changes in color, brightness, or dithering patterns) due to the independence of the calculation and the difference in refresh rate. Therefore, it is necessary to set a "transition zone" at the boundary of different image regions. That is, it is necessary to determine the precise pixel value of the boundary region. After determining the pixel value of the boundary region, during subsequent dithering processing, the boundary region is refreshed according to the target refresh rate of the image region to which it belongs. However, during brightness display, the boundary region and the image region to which they belong are controlled and displayed separately according to their respective actual pixel values.
[0107] Specifically, adjacent image regions with different target refresh rates are obtained from multiple image regions, and the boundary regions of adjacent image regions are determined according to a preset number of pixels, such as 4 to 8 pixels (which can be set according to needs and hardware resources). Finally, the pixel value of the boundary region is calculated by using a preset pixel mixing formula and the pixel value of each adjacent image region. This allows the display brightness of the boundary region to be determined based on the target refresh rate and pixel value of the image region to which the boundary region belongs and the pixel value of the boundary region, and then sent to the monitor during the dithering process according to the target refresh rate and pixel value of each image region.
[0108] In some embodiments, the pixel weight value corresponding to each adjacent image region is determined based on the target refresh rate of each adjacent image region. The pixel value of the boundary region is obtained by weighted summation of the pixel weight value corresponding to each adjacent image region and the pixel value of each adjacent image region. Generally, the pixel weight value corresponding to the image region with the higher target refresh rate is higher, thereby further ensuring the display effect.
[0109] For example, such as Figure 9 As shown, for adjacent image regions C and D, with a boundary region E, the target refresh rate of boundary region E is the same as that of image region C. Pixel values from the two image regions are blended within boundary region E, using the preset pixel blending formula: ;in, These are pixel weight values; Let C be the pixel value of the image region. Let be the pixel value of image region D. Therefore, this blending method can effectively smooth pixel differences in boundary regions.
[0110] This effectively solves the boundary consistency problem of the dithering algorithm in a multi-refresh-rate partitioned display environment. By controlling the dithering in multi-refresh-rate partitioned display, the overall image quality of the display device is significantly improved, especially the visual experience of the image area boundary.
[0111] As an extension and refinement of the above embodiments, this application provides another device control method, referring to... Figure 10 As shown, the device control method analyzes each image region based on a preset inter-frame difference algorithm to determine the initial refresh rate of each image region, including:
[0112] Step 1001: Obtain the pixel difference of each image region at a preset interval frame.
[0113] Step 1002: Match the pixel difference of each image region with the preset refresh rate allocation table to obtain the pixel difference range corresponding to the pixel difference of each image region.
[0114] Step 1003: Obtain the refresh rate corresponding to the pixel difference interval from the preset refresh rate allocation table as the initial refresh rate for each image region.
[0115] Specifically, the criteria for dividing image regions usually include content dynamism, content type, and visual continuity. Multiple image regions can be obtained by dividing the image to be displayed according to preset division rules.
[0116] Specifically, the image to be displayed is divided into n by m image regions (the smaller n and m are, the more hardware resources are required, and the settings can be adjusted according to actual needs); where n and m are non-zero positive integers, and can be the same or different.
[0117] Specifically, image analysis is performed on each image region to analyze the dynamic and static aspects of the front-end image. Dynamic images can be assigned a higher refresh rate, while static images can be assigned a lower refresh rate, which can be determined by the pixel changes in the frame interval.
[0118] In this embodiment, the preset interval frame can be selected and set according to the actual application scenario, such as the current frame and the previous frame or the current frame and the frame before that; the preset refresh rate allocation table stores different pixel difference ranges corresponding to different refresh rates.
[0119] For example, the absolute difference or uniform variance of the corresponding pixels in the current frame and the previous frame of the image region is calculated as the pixel difference value. If the pixel difference value exceeds the set pixel threshold, it is a moving image; otherwise, it is a static image.
[0120] Understandably, when allocating the initial refresh rate, factors such as power consumption, bandwidth, and dynamic image quality need to be considered. Therefore, different pixel difference ranges need to be set, and different initial refresh rates need to be assigned to image regions. For example, 0 to threshold 1 (Threshold_1) is a pixel difference range, and this pixel difference range is associated with an initial refresh rate; Threshold_1 to threshold 2 (Threshold_2) is a pixel difference range, and this pixel difference range is associated with an initial refresh rate; Threshold_2 to threshold 3 (Threshold_3) is a pixel difference range, and this pixel difference range is associated with an initial refresh rate, and so on. Thus, when the pixel difference is within a certain pixel difference range, the corresponding initial refresh rate is assigned to the image region. Among them, the pixel threshold segmentation can be set according to actual needs and hardware resources to further improve processing flexibility.
[0121] For example, such as Figure 11 As shown, thresholds 1 (Threshold_1), 2 (Threshold_2), and 3 (Threshold_3) are set. Threshold_1 corresponds to an initial refresh rate of 30Hz, Threshold_2 corresponds to an initial refresh rate of 60Hz, and Threshold_3 corresponds to an initial refresh rate of 120Hz, etc. That is, when the pixel difference is within the pixel difference range of 0 to Threshold_1, the initial refresh rate is set to 0; when the pixel difference is within the pixel difference range of Threshold_1 to Threshold_2, the initial refresh rate is set to 30Hz; when the pixel difference is within the pixel difference range of Threshold_2 to Threshold_3, the initial refresh rate is set to 60Hz; and when the pixel difference is within the pixel difference range of Threshold_3 to Threshold_4, the initial refresh rate is set to 120Hz, etc.
[0122] Therefore, it is necessary to set different pixel thresholds and allocate different initial refresh rates to image areas to achieve a balance between dynamic factors such as power consumption, bandwidth, and image quality, thereby improving the reliability and stability of image display.
[0123] As an extension and refinement of the above embodiments, this application provides another device control method, referring to... Figure 12 As shown, the device control method performs refresh rate update processing based on the initial refresh rate and preset merging rules of each image region to obtain the target refresh rate of each image region, including:
[0124] Step 1201: Determine the set of comparison image regions for each image region based on the preset number of image regions.
[0125] Step 1202: If the initial refresh rate of any image region is different from the initial refresh rate of a first number of comparison image regions in the set of comparison image regions, but the same as the initial refresh rate of a second number of comparison image regions, the initial refresh rate of the second number of comparison image regions shall be taken as the target refresh rate of any image region; wherein the first number is less than or equal to the second number.
[0126] Step 1203: When the initial refresh rate of any image region is different from the initial refresh rates of all comparison image regions in the comparison image region set, count the number of the same initial refresh rate in the comparison image region set, and take the initial refresh rate corresponding to the largest number as the target refresh of any image region.
[0127] Specifically, the preset number of image regions refers to how many image regions are determined as comparison image regions for a given image region. Based on the preset number of image regions, a set of comparison image regions for each image region is determined. For example, the preset number of image regions is 3 by 3, so that the nine image regions surrounding the image region as the center are all used as the set of comparison image regions. The specific number of preset image regions can be selected and set according to the actual application scenario.
[0128] Specifically, in acquiring the set of comparison image regions, the initial refresh rate of the image region is further compared with the initial refresh rates of each comparison image region in the set to determine the target refresh rate of the image region. Specifically, if the initial refresh rate of the image region is different from the initial refresh rate of a first number of comparison image regions in the set but the same as the initial refresh rate of a second number of comparison image regions, the initial refresh rate of the second number of comparison image regions is taken as the target refresh rate of any image region. If the initial refresh rate of the image region is different from the initial refresh rates of all comparison image regions in the set, the number of comparison image regions with the same initial refresh rate is counted, and the initial refresh rate corresponding to the largest number is taken as the target refresh rate of any image region.
[0129] Understandably, the initial partitioning may result in a large number of fragmented image regions, increasing hardware resource consumption and the difficulty of subsequent jitter synchronization. On the other hand, fewer image regions affect the display effect and power consumption. Therefore, the image region merging rule cannot simply merge image regions with the same refresh rate. It is necessary to simplify the image regions according to specific rules to reduce the difficulty of jitter processing without affecting the display effect.
[0130] Specifically, to reduce the number of image regions while ensuring display quality (essentially, the number of regions with different refresh rates), the following merging rules apply: If the initial refresh rate of the current image region is different from that of the image regions to its left and right, but the same as the initial refresh rate of the image regions to its left and right, then modify the initial refresh rate of the current image region to the initial refresh rate of the image regions to obtain the target refresh rate of the current image region. If the initial refresh rate of the current image region is different from that of the image regions to its top and bottom, but the same as the initial refresh rate of the image regions to its top and bottom, then modify the initial refresh rate of the current image region to the initial refresh rate of the image regions to obtain the target refresh rate of the current image region. If the initial refresh rate of the current image region is different from the initial refresh rate of both the image regions to its left and right, and the image regions to its top and bottom, then modify the refresh rate of the current image region to the initial refresh rate of the most common initial refresh rate of the surrounding regions to obtain the target refresh rate of the current image region. If none of the above conditions are met, then maintain the initial refresh rate of the current image region as the target refresh rate of the current image region.
[0131] For example, such as Figure 13 As shown, there are 24 image regions, each with a corresponding initial refresh rate. Each image region is analyzed according to the rules described above. For example, the initial refresh rate of the image region in the first row and fourth column is "1". This initial refresh rate is different from the initial refresh rates of the left and right image regions and the top and bottom image regions. Therefore, the refresh rate of this current image region is modified to "0", which is the highest initial refresh rate among the surrounding regions. Following the same rules, the initial refresh rates of the image regions in the second row and fourth and fifth columns are both modified from "2" and "1" to "6". The initial refresh rate of the image region in the third row and second column is modified from "5" to "3". The initial refresh rates of the other image regions remain unchanged. This process is used to target... Figure 13 The refresh rate of each image region in the left-hand image is updated to obtain the following: Figure 13 The target refresh rate for each image region shown in the image on the right.
[0132] Therefore, while ensuring the display effect, the number of partitions that are different from the surrounding ones is reduced, thereby reducing the difficulty of jitter processing.
[0133] Based on the foregoing embodiments, when different partitions (e.g., multi-monitor setups or different image areas of a single monitor) have different refresh rates, the asynchronous display refresh time solves the problem of screen jitter caused by traditional methods of jittering the displayed image, which leads to problems such as flickering, distortion, and ghosting. Especially at the boundaries of partitions, the device control method of this application can be applied to devices and scenarios with multiple refresh rate display partitions based on traditional jittering processing.
[0134] As an extension and refinement of the above embodiments, this application provides another device control method, referring to... Figure 14 As shown, the device control method includes:
[0135] Step 1401: Based on the target refresh rate of each image region, query the preset grayscale weight table to obtain the grayscale weight corresponding to each target refresh rate.
[0136] Step 1402: Based on the initial grayscale of each target refresh rate, query the preset reference grayscale table to obtain the reference grayscale corresponding to each target refresh rate.
[0137] Step 1403: Calculate the target gray level corresponding to each target refresh rate based on the gray level weight and the reference gray level, and determine the display brightness of each image area based on the target gray level.
[0138] In this embodiment of the application, a preset grayscale weight table stores the mapping relationship between different refresh rates and different grayscale weights. Therefore, after obtaining the target refresh rate of each image region, the grayscale weight corresponding to each target refresh rate can be obtained by querying the preset grayscale weight table according to the target refresh rate of each image region.
[0139] It is understandable that distortion may occur during the display of images. For example, if the grayscale value given to the monitor is 10, but the monitor can only display it as grayscale 8 due to device performance limitations, the display effect will be poor. Therefore, it is necessary to find the ideal grayscale value based on the actual grayscale value. For example, the grayscale value given to the monitor can be adjusted to 12 so that the monitor can display it as grayscale 10, thus meeting the user's display needs.
[0140] It is understandable that, in order to address the inconsistency of Gamma curves (such as Gamma 2.2) caused by differences in grayscale response at different refresh rates, theoretically, it would be necessary to maintain an independent Gamma lookup table for each refresh rate, thus consuming a large amount of hardware resources. Therefore, in this embodiment, a preset reference grayscale table corresponding to a reference refresh rate (e.g., 60Hz) is set up to store the correlation between the actual grayscale and the ideal grayscale at the reference refresh rate. For other target refresh rates, the corresponding grayscale table is no longer stored, but a preset grayscale weight table is stored. Based on the initial grayscale of each target refresh rate, the preset reference grayscale table is queried to obtain the reference grayscale corresponding to each target refresh rate. Combined with the grayscale weight of the target refresh rate, the target grayscale corresponding to each target refresh rate is calculated to obtain the target grayscale, so as to determine the display brightness of each image area based on the target grayscale.
[0141] Specifically, the initial grayscale refers to the actual grayscale of the target refresh rate. Based on the initial grayscale, the corresponding reference grayscale is obtained by querying the preset reference grayscale table. Then, the grayscale weight is multiplied by the reference grayscale to obtain the target grayscale of the target refresh rate, which is the ideal grayscale of the target refresh rate. Finally, the display brightness of each image area is determined based on the target grayscale to ensure the image display effect.
[0142] As an extension and refinement of the above embodiments, this application provides another device control method, referring to... Figure 15 As shown, the steps of constructing the preset grayscale weight table in this device control method include:
[0143] Step 1501: Obtain the standard grayscale and the reference grayscale for each target refresh rate based on the same input grayscale.
[0144] Step 1502: Calculate the ratio of standard grayscale to reference grayscale, obtain the ratio of each target refresh rate, and construct a preset grayscale weight table based on the ratio of each target refresh rate.
[0145] In this application embodiment, the same input grayscale refers to the situation where the actual grayscale of the reference refresh rate and the actual grayscale of the target refresh rate are the same. The reference grayscale, i.e., the ideal grayscale of the reference refresh rate, is obtained, and the standard grayscale of the target refresh rate, i.e., the ideal grayscale of the target refresh rate, is obtained. The ratio of the standard grayscale to the reference grayscale is further calculated, that is, the proportional relationship between the ideal grayscale of the reference refresh rate and the ideal grayscale of the target refresh rate. Thus, the ratio of each target refresh rate is associated with the target refresh rate to construct a preset grayscale weight table.
[0146] Specifically, the ideal grayscale at each target refresh rate is measured or calculated in advance as the standard grayscale at each target refresh rate. The ratio (output value ratio) between the standard grayscale and the reference grayscale at each target refresh rate under the same input grayscale is calculated. The weight of this ratio represents the scaling factor that the reference grayscale output needs to be adjusted at the target refresh rate.
[0147] Therefore, by constructing a preset grayscale weight table, only one preset grayscale weight table and one preset baseline grayscale table need to be stored in the actual processing, avoiding the consumption of a lot of hardware resources and improving processing efficiency. The corresponding grayscale weight and baseline grayscale can be directly obtained according to the target refresh rate for calculation, so as to obtain the target grayscale corresponding to each target refresh rate.
[0148] As an extension and refinement of the above embodiments, this application provides another device control method, referring to... Figure 16 As shown, the device control method also includes:
[0149] Step 1601: If the grayscale weight corresponding to the target refresh rate cannot be obtained by querying the preset grayscale weight table based on the target refresh rate, obtain the candidate refresh rate corresponding to the target refresh rate.
[0150] Step 1602: Query the preset grayscale weight table based on the candidate refresh rate to obtain the candidate weight.
[0151] Step 1603: Perform interpolation processing on the candidate weights based on the preset interpolation algorithm to obtain the grayscale weights of the target refresh rate.
[0152] To further improve processing efficiency and avoid consuming hardware resources, the preset grayscale weight table can be simplified. Specifically, the grayscale change rate of the standard grayscale associated with the ratio of each target refresh rate is obtained, and the target refresh rate and the corresponding ratio corresponding to the grayscale change rate that is less than the preset change threshold are deleted from the preset grayscale weight table.
[0153] In this embodiment, the preset grayscale weight table is also associated with the standard grayscale of the target refresh rate, thereby obtaining the standard grayscale associated with the ratio of each target refresh rate to calculate the grayscale change rate. That is, the target refresh rates are sorted, the standard grayscale difference between two target refresh rates is calculated sequentially, and the standard grayscale difference is divided by the refresh rate difference between the two target refresh rates to obtain the grayscale change rate. The grayscale change rate is then compared with a preset change threshold, and the target refresh rate and the corresponding ratio corresponding to the grayscale change rate that are less than the preset change threshold are deleted from the preset grayscale weight table. The preset change threshold is set according to the actual application scenario.
[0154] In this embodiment, since the ratio may change with the input gray level, but the change is usually relatively gradual, the size of the preset gray level weight table can be simplified. Based on hardware resources, the simplified preset gray level weight table (number of binding points) can be determined. For example, more binding points (sampling points) can be retained in gray level areas where the ratio changes drastically (such as low gray levels or specific inflection points), while the number of binding points can be greatly reduced in areas where the weight changes gradually.
[0155] In this embodiment, if the grayscale weight corresponding to the target refresh rate cannot be obtained by querying the preset grayscale weight table based on the target refresh rate, a candidate refresh rate corresponding to the target refresh rate can be obtained. That is, a refresh rate with a grayscale weight less than the target refresh rate and a refresh rate with a grayscale weight greater than the target refresh rate can be obtained as a candidate refresh rate. The candidate refresh rate is then queried in the preset grayscale weight table to obtain the candidate weight corresponding to the candidate refresh rate. The candidate weight is then interpolated according to a preset interpolation algorithm to obtain the grayscale weight of the target refresh rate.
[0156] Specifically, when the simplified preset grayscale weight table is applied, the grayscale weight value of the input grayscale without bound points can be obtained by interpolation of the nearest bound points (such as linear interpolation), which ensures the accuracy of processing without consuming hardware resources.
[0157] It should be noted that the reference gray levels in the preset reference gray level table can also be filtered. Specifically, the input gray levels are sorted, and the reference gray level difference between two input gray levels is calculated sequentially. This reference gray level difference is then divided by the gray level difference between the two input gray levels to obtain the gray level change rate. This gray level change rate is compared with a preset change threshold. Reference gray levels with gray level change rates less than the preset threshold are deleted, resulting in a new preset reference gray level table. Therefore, if a reference gray level cannot be found for each target refresh rate when searching the preset reference gray level table based on the initial gray level of each target refresh rate, candidate refresh rates can be obtained. Specifically, refresh rates with gray level weights less than the target refresh rate and refresh rates with gray level weights greater than the target refresh rate are selected as candidate refresh rates. The initial gray level of each candidate refresh rate is then searched in the preset reference gray level table to obtain the corresponding candidate reference gray level. The candidate reference gray levels are then interpolated using a preset interpolation algorithm to obtain the reference gray level for the target refresh rate. This ensures processing accuracy while avoiding excessive hardware resource consumption.
[0158] In some embodiments, this application also provides an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to cause the electronic device to implement the device control method described in any of the above embodiments when executing the computer program.
[0159] In some embodiments, this application provides a computer-readable storage medium storing a computer program that, when executed by a computing device, causes the computing device to implement the device control method described in any of the above embodiments.
[0160] In some embodiments, this application provides a computer program product that, when run on a computer, causes the computer to implement the device control method described in the second aspect or any embodiment of the second aspect.
[0161] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0162] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that, include: monitor; A controller connected to the display is configured to: The image to be displayed is acquired and divided according to a preset division rule to obtain multiple image regions; Obtain the pixel difference of each image region at a preset interval frame; Based on the matching between the pixel difference of each image region and the preset refresh rate allocation table, the pixel difference range corresponding to the pixel difference of each image region is obtained; The refresh rate corresponding to the pixel difference interval is obtained from the preset refresh rate allocation table and used as the initial refresh rate of each image region. The set of comparison image regions for each image region is determined based on a preset number of image regions; If the initial refresh rate of any image region is different from the initial refresh rate of all image regions in the comparison image region set, count the number of the same initial refresh rate in the comparison image region set, and take the initial refresh rate corresponding to the largest number as the target refresh rate of any image region. Alternatively, if the initial refresh rate of any of the image regions is different from the initial refresh rate of a first number of comparison image regions in the set of comparison image regions but the same as the initial refresh rate of a second number of comparison image regions, the initial refresh rate of the second number of comparison image regions shall be used as the target refresh rate of any of the image regions; wherein the first number is less than or equal to the second number. Obtain adjacent image regions among the plurality of image regions; wherein, the adjacent image regions correspond to different target refresh rates; The boundary regions of the adjacent image regions are determined based on a preset number of pixels; The pixel value of the boundary region is calculated based on a preset pixel blending formula and the pixel value of each adjacent image region in the adjacent image regions. This allows the display brightness of the boundary region to be determined and sent to the display during the dithering process according to the target refresh rate and pixel value of each image region.
2. The display device according to claim 1, characterized in that, The controller is specifically configured as follows: The pixel weight value corresponding to each adjacent image region is determined based on the target refresh rate of each adjacent image region. The pixel value of the boundary region is obtained by weighting and summing the pixel weight value corresponding to each adjacent image region and the pixel value of each adjacent image region.
3. The display device according to claim 1, characterized in that, The controller is also configured to: Based on the target refresh rate of each image region, the grayscale weight corresponding to each target refresh rate is obtained by querying the preset grayscale weight table. Based on the initial grayscale of each target refresh rate, the reference grayscale corresponding to each target refresh rate is obtained by querying the preset reference grayscale table. The target gray level is calculated based on the gray level weight and the reference gray level to obtain the target gray level corresponding to each target refresh rate, so as to determine the display brightness of each image area based on the target gray level.
4. The display device according to claim 3, characterized in that, The controller is also configured to: Obtain the standard grayscale and the reference grayscale for each target refresh rate based on the same input grayscale; Calculate the ratio of the standard grayscale to the reference grayscale, obtain the ratio of each target refresh rate, and construct the preset grayscale weight table based on the ratio of each target refresh rate.
5. The display device according to claim 4, characterized in that, The controller is also configured to: Obtain the grayscale change rate of the standard grayscale associated with each ratio of the target refresh rate; The target refresh rate and the corresponding ratio corresponding to grayscale change rates that are less than the preset change threshold are deleted from the preset grayscale weight table.
6. The display device according to claim 3, characterized in that, The controller is also configured to: If the grayscale weight corresponding to the target refresh rate cannot be obtained by querying the preset grayscale weight table based on the target refresh rate, a candidate refresh rate corresponding to the target refresh rate is obtained. Based on the candidate refresh rate, the candidate weight is obtained by querying the preset grayscale weight table. The candidate weights are interpolated using a preset interpolation algorithm to obtain the grayscale weights for the target refresh rate.
7. A device control method, characterized in that, Applied to display devices, including: The image to be displayed is acquired and divided according to a preset division rule to obtain multiple image regions; Obtain the pixel difference of each image region at a preset interval frame; Based on the matching between the pixel difference of each image region and the preset refresh rate allocation table, the pixel difference range corresponding to the pixel difference of each image region is obtained; The refresh rate corresponding to the pixel difference interval is obtained from the preset refresh rate allocation table and used as the initial refresh rate of each image region. The set of comparison image regions for each image region is determined based on a preset number of image regions; If the initial refresh rate of any image region is different from the initial refresh rate of all image regions in the comparison image region set, count the number of the same initial refresh rate in the comparison image region set, and take the initial refresh rate corresponding to the largest number as the target refresh rate of any image region. Alternatively, if the initial refresh rate of any of the image regions is different from the initial refresh rate of a first number of comparison image regions in the set of comparison image regions but the same as the initial refresh rate of a second number of comparison image regions, the initial refresh rate of the second number of comparison image regions shall be used as the target refresh rate of any of the image regions; wherein the first number is less than or equal to the second number. Obtain adjacent image regions among the plurality of image regions; wherein, the adjacent image regions correspond to different target refresh rates; The boundary regions of the adjacent image regions are determined based on a preset number of pixels; The pixel value of the boundary region is calculated based on a preset pixel blending formula and the pixel value of each adjacent image region in the adjacent image regions. This allows the display brightness of the boundary region to be determined and sent to the display during the dithering process according to the target refresh rate and pixel value of each image region.
Citation Information
Patent Citations
Automatic frame rate changing wire-mixing detection method
CN103426181A
Display driving chip and display method of display screen
CN118588036A