Local dimming control method, device, equipment and storage medium

By obtaining the backlight coefficient information of the image to be processed and performing coefficient calculations in combination with the updated lamp table in the external memory device, the problem of backlight processing technology taking up a large space and low image contrast is solved, and more efficient image processing and contrast improvement is achieved.

CN112785515BActive Publication Date: 2025-04-11SHENZHEN TCL DIGITAL TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011644243.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2025-04-11
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

When the current backlight processing technology performs backlighting processing on image data, it needs to occupy a large operating space and the resulting image contrast is low.

Method used

By obtaining the backlight coefficient information of the image to be processed, an updated lamp type table is obtained from the preset external memory device, and coefficient calculation is performed on the backlight coefficient information according to the updated lamp type table to obtain gain data, and the image is gained based on the gain data to obtain a gain image.

Benefits of technology

It effectively reduces the operating space occupied by the backlight system during operation and improves the image contrast of the calculated gain image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112785515B_ABST
    Figure CN112785515B_ABST
Patent Text Reader

Abstract

The present invention discloses a local dimming control method, device, equipment and storage medium, which obtains an image to be processed, performs backlight calculation on the image to be processed, and obtains backlight coefficient information; obtains an updated light type table from a preset external storage device, performs coefficient calculation on the backlight coefficient information according to the updated light type table, and obtains gain data; performs gain calculation on the image to be processed according to the gain data to obtain a gain image. The present invention performs backlight processing on the image to be processed by using an updated light type table stored in a preset external storage device, effectively reducing the operating space occupied by the backlight system during operation, and performs gain calculation on the image to be processed by combining the updated updated light type table obtained by the backlight calculation of the image to be processed with the backlight coefficient obtained by the backlight calculation, effectively improving the image contrast of the calculated gain image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a local dimming control method, device, equipment and storage medium. Background Art

[0002] The current backlight processing technology processes image data by using an original light type table stored in a synchronous dynamic random access memory, which requires a large operating space of the backlight system, and the image contrast obtained by processing the original light type table is low. Summary of the invention

[0003] The main purpose of the present invention is to provide a local dimming control method, device, equipment and storage medium, aiming to solve the technical problem that the current backlight processing technology requires a large operating space of the backlight system when performing backlight processing on image data and the resulting image contrast is low.

[0004] To achieve the above object, an embodiment of the present invention provides a local dimming control method, the local dimming control method comprising:

[0005] Acquire an image to be processed, perform backlight calculation on the image to be processed, and obtain backlight coefficient information;

[0006] Acquire an updated light type table from a preset external storage device, and perform coefficient calculation on the backlight coefficient information pair according to the updated light type table to obtain gain data;

[0007] The gain of the image to be processed is calculated according to the gain data to obtain a gain image.

[0008] Preferably, before the step of acquiring the updated lamp type table from the preset external storage device, the method further comprises:

[0009] An original lamp type table is obtained, the lamp type coefficients of each partition in the original lamp type table are cut according to the coordinate points, and the lamp type coefficients of the partitions with the same coordinate points after cutting are integrated and arranged to form an updated lamp type table.

[0010] Preferably, the step of performing backlight calculation on the image to be processed to obtain backlight coefficient information includes:

[0011] Performing data conversion on the image to be processed to obtain image data;

[0012] Determining target brightness information in the image data;

[0013] The target brightness information is filtered to obtain backlight coefficient information.

[0014] Preferably, the step of determining target brightness information in the image data comprises:

[0015] Obtaining a preset partition size, and dividing the image data into a plurality of partitions according to the preset partition size;

[0016] Perform brightness value detection on the plurality of partitions to determine the maximum brightness value respectively corresponding to the plurality of partitions in the image data, the average brightness value respectively corresponding to the plurality of partitions, or the floating average brightness value respectively corresponding to the plurality of partitions that floats above and below the average value;

[0017] The target brightness information is formed according to the plurality of maximum brightness values, the plurality of average brightness values ​​or the plurality of floating average brightness values.

[0018] Preferably, the step of performing coefficient calculation on the backlight coefficient information pair according to the updated lamp type table to obtain gain data comprises:

[0019] Obtaining the lamp type coefficient of each partition in the updated lamp type table;

[0020] According to the light type coefficient of each partition and the multiple backlight coefficients in the backlight coefficient information, a plurality of data pairs are formed, wherein the data pairs include a target backlight coefficient and a target light type coefficient;

[0021] The target backlight coefficients and the target lamp type coefficients in the plurality of data pairs are respectively subjected to preset operations to obtain a plurality of gain values, and the plurality of gain values ​​are used to form gain data.

[0022] Preferably, the step of forming a plurality of data pairs according to the lamp type coefficient of each partition and the plurality of backlight coefficients in the backlight coefficient information comprises:

[0023] For the lamp type coefficient of each partition, perform the following steps respectively:

[0024] Determine the light type coefficient of the current partition as the target light type coefficient, and detect whether there is a target backlight coefficient matching the target light type coefficient among the multiple backlight coefficients of the backlight coefficient information;

[0025] If the target backlight coefficient exists, a data pair is generated by combining the target lighting type coefficient and the target backlight coefficient.

[0026] Preferably, the step of performing gain calculation on the image to be processed according to the gain data to obtain a gain image comprises:

[0027] The gain data is multiplied by the image data of the image to be processed to obtain a gain image of the image to be processed.

[0028] To achieve the above object, the present invention further provides a local dimming control device, the local dimming control device comprising:

[0029] A backlight calculation module is used to obtain an image to be processed, perform backlight calculation on the image to be processed, and obtain backlight coefficient information;

[0030] An acquisition module, used for acquiring an updated light type table from a preset external storage device, and performing coefficient calculation on the backlight coefficient information pair according to the updated light type table to obtain gain data;

[0031] The gain calculation module is used to perform gain calculation on the image to be processed according to the gain data to obtain a gain image.

[0032] Furthermore, to achieve the above-mentioned purpose, the present invention also provides a local dimming control device, which includes a memory, a processor, and a local dimming control program stored in the memory and executable on the processor, and the local dimming control program implements the steps of the above-mentioned local dimming control method when executed by the processor.

[0033] Furthermore, to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a local dimming control program is stored, and when the local dimming control program is executed by a processor, the steps of the above-mentioned local dimming control method are implemented.

[0034] The embodiments of the present invention provide a local dimming control method, device, equipment and storage medium, which obtain an image to be processed, perform backlight calculation on the image to be processed, and obtain backlight coefficient information; obtain an updated light type table from a preset external storage device, perform coefficient calculation on the backlight coefficient information according to the updated light type table, and obtain gain data; perform gain calculation on the image to be processed according to the gain data to obtain a gain image. The present invention performs backlight processing on the image to be processed by using an updated light type table stored in a preset external storage device, effectively reducing the operating space occupied by the backlight system during operation, and performs gain calculation on the image to be processed by combining the updated light type table obtained by updating with the backlight coefficient obtained by performing backlight calculation on the image to be processed, effectively improving the image contrast of the calculated gain image. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a structural schematic diagram of the hardware operating environment involved in the embodiment of the local dimming control method of the present invention;

[0036] Figure 2 It is a flowchart of a first embodiment of a local dimming control method of the present invention;

[0037] Figure 3is a flow chart of a second embodiment of a local dimming control method of the present invention;

[0038] Figure 4 is a flow chart of a third embodiment of a local dimming control method of the present invention;

[0039] Figure 5 is a flow chart of a fourth embodiment of a local dimming control method according to the present invention;

[0040] Figure 6 FIG. 4 is a schematic diagram of functional modules of a preferred embodiment of a local dimming control device of the present invention.

[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0043] The embodiments of the present invention provide a local dimming control method, device, equipment and storage medium, which obtain an image to be processed, perform backlight calculation on the image to be processed, and obtain backlight coefficient information; obtain an updated light type table from a preset external storage device, perform coefficient calculation on the backlight coefficient information according to the updated light type table, and obtain gain data; perform gain calculation on the image to be processed according to the gain data to obtain a gain image. The present invention performs backlight processing on the image to be processed by using an updated light type table stored in a preset external storage device, effectively reducing the operating space occupied by the backlight system during operation, and performs gain calculation on the image to be processed by combining the updated light type table obtained by updating with the backlight coefficient obtained by performing backlight calculation on the image to be processed, effectively improving the image contrast of the calculated gain image.

[0044] like Figure 1 As shown, Figure 1 It is a schematic diagram of the structure of a local dimming control device in a hardware operating environment involved in an embodiment of the present invention.

[0045] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0046] The local dimming control device in the embodiment of the present invention may be a PC, or a portable terminal device such as a tablet computer or a portable computer.

[0047] like Figure 1As shown, the local dimming control device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0048] Those skilled in the art will understand that Figure 1 The structure of the local dimming control device shown in the figure does not constitute a limitation on the local dimming control device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0049] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a local dimming control program.

[0050] exist Figure 1 In the device shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the local dimming control program stored in the memory 1005 and perform the following operations:

[0051] Acquire an image to be processed, perform backlight calculation on the image to be processed, and obtain backlight coefficient information;

[0052] Acquire an updated light type table from a preset external storage device, and perform coefficient calculation on the backlight coefficient information pair according to the updated light type table to obtain gain data;

[0053] The gain of the image to be processed is calculated according to the gain data to obtain a gain image.

[0054] Furthermore, before the step of obtaining the updated lamp type table from the preset external storage device, the processor 1001 may be used to call the local dimming control program stored in the memory 1005 and perform the following operations:

[0055] An original lamp type table is obtained, the lamp type coefficients of each partition in the original lamp type table are cut according to the coordinate points, and the lamp type coefficients of the partitions with the same coordinate points after cutting are integrated and arranged to form an updated lamp type table.

[0056] Furthermore, the step of performing backlight calculation on the image to be processed to obtain backlight coefficient information includes:

[0057] Performing data conversion on the image to be processed to obtain image data;

[0058] Determining target brightness information in the image data;

[0059] The target brightness information is filtered to obtain backlight coefficient information.

[0060] Furthermore, the step of determining target brightness information in the image data includes:

[0061] Obtaining a preset partition size, and dividing the image data into a plurality of partitions according to the preset partition size;

[0062] Perform brightness value detection on the plurality of partitions to determine the maximum brightness value respectively corresponding to the plurality of partitions in the image data, the average brightness value respectively corresponding to the plurality of partitions, or the floating average brightness value respectively corresponding to the plurality of partitions that floats above and below the average value;

[0063] The target brightness information is formed according to the plurality of maximum brightness values, the plurality of average brightness values ​​or the plurality of floating average brightness values.

[0064] Furthermore, the step of performing coefficient calculation on the backlight coefficient information pair according to the updated lamp type table to obtain gain data includes:

[0065] Obtaining the lamp type coefficient of each partition in the updated lamp type table;

[0066] According to the light type coefficient of each partition and the multiple backlight coefficients in the backlight coefficient information, a plurality of data pairs are formed, wherein the data pairs include a target backlight coefficient and a target light type coefficient;

[0067] The target backlight coefficients and the target lamp type coefficients in the plurality of data pairs are respectively subjected to preset operations to obtain a plurality of gain values, and the plurality of gain values ​​are used to form gain data.

[0068] Furthermore, the step of forming a plurality of data pairs according to the lamp type coefficient of each partition and the plurality of backlight coefficients in the backlight coefficient information comprises:

[0069] For the lamp type coefficient of each partition, perform the following steps respectively:

[0070] Determine the light type coefficient of the current partition as the target light type coefficient, and detect whether there is a target backlight coefficient matching the target light type coefficient among the multiple backlight coefficients of the backlight coefficient information;

[0071] If the target backlight coefficient exists, a data pair is generated by combining the target lighting type coefficient and the target backlight coefficient.

[0072] Furthermore, the step of performing gain calculation on the image to be processed according to the gain data to obtain a gain image comprises:

[0073] The gain data is multiplied by the image data of the image to be processed to obtain a gain image of the image to be processed.

[0074] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0075] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0076] Reference Figure 2 , a first embodiment of the present invention provides a flow chart of a local dimming control method. In this embodiment, the local dimming control method includes the following steps:

[0077] Step S10, obtaining an image to be processed, performing backlight calculation on the image to be processed, and obtaining backlight coefficient information;

[0078] In this embodiment, the local dimming control method is applied to the backlight control system, which is used to perform backlight control on the input image to be processed (i.e., the original image). Local dimming is used to divide the pixels in the image to be processed into several partitions according to rows and columns, and gain processing is performed on the image data of each partition. A synchronous dynamic random access memory is preset in the backlight control system. In this embodiment, the synchronous dynamic random access memory includes but is not limited to DDR (Double Data Rate) 2, DDR3, DDR4, etc., which can be used to store computer data. An external storage device is also preset in the backlight control system. In this embodiment, the external storage device includes but is not limited to flash, nandflash, eeprom (Electrically Erasable Programmable read only memory), etc., wherein flash is a non-volatile storage device and a type of storage chip. The stored data can be modified through a specific program; nandflash is a type of flash. Nandflash is composed of multiple chips, each chip contains multiple planes, each plane contains many blocks, and each block contains many pages; eeprom is a storage chip in which data is not lost after power failure. Existing information can be erased on a computer or a dedicated device and then reprogrammed.

[0079] It can be understood that when the current backlight processing technology performs backlight processing on image data, it needs to occupy a large operating space of the backlight control system to process the original light type table stored in the synchronous dynamic random access memory, and the image contrast obtained by processing the original light type table is low, wherein the light type table collects the influence of LED lights in adjacent partitions within a certain distance on the area where the LED lights are located according to the diffusion effect of LED (Light Emitting Diode). Therefore, the present application proposes a local dimming control method, which effectively reduces the operating space occupied by the backlight system when it is running by rearranging the original light type table originally stored in the synchronous dynamic random access memory, and storing the formed updated light type table in an external storage device, and performs gain calculation on the image to be processed by combining the updated light type table obtained by the backlight calculation of the image to be processed, so as to effectively improve the image contrast of the calculated gain image.

[0080] It can be understood that in the subsequent process, the backlight control system is referred to as the system, that is, the systems that appear subsequently all represent the above-mentioned backlight control system. Furthermore, when the user needs to perform backlight processing on the image data, the system calls the image acquisition module, and obtains the image to be processed input by the user through the image acquisition module. In order to enable the system to recognize the image information of the image to be processed, the image to be processed needs to be converted into data. After the data conversion, the image data is input into the backlight calculation module, and the backlight calculation module performs backlight calculation on the image data to obtain the backlight coefficient information of the image to be processed, and the backlight coefficient information is transmitted to the driving module, so that the driving module lights up the pixels of the corresponding partition in the image to be processed through the backlight coefficient information, wherein the image acquisition module is used to receive the image to be processed input by the user and perform data conversion; the backlight calculation module is used to calculate the backlight coefficient of each partition in the image data; the driving module in this embodiment is used to control the lighting of the image to be processed through the backlight coefficient information.

[0081] Step S20, obtaining an updated light type table from a preset external storage device, and performing coefficient calculation on the backlight coefficient information pair according to the updated light type table to obtain gain data;

[0082] Furthermore, the system obtains an updated light type table obtained by rearranging the original light type table from an external storage device through a connection relationship with a preset external storage device such as flash, nandflash, and eeprom. Furthermore, the system identifies the light type coefficients of each partition in the updated light type table, and simultaneously obtains the backlight coefficients corresponding to each partition in the backlight coefficient information of the image to be processed, and performs coefficient calculations on the light type coefficients of each partition and the backlight coefficients corresponding to the partition, respectively, to obtain gain data composed of gain values ​​of each partition of the image to be processed. By obtaining the updated light type table from the external storage, the operating space occupied by the system during operation is effectively reduced, and the updated light type table obtained by rearranging the original light type table performs coefficient calculations on the backlight coefficient information to obtain gain data, thereby effectively improving the image contrast of the calculated gain image.

[0083] Step S30, performing gain calculation on the image to be processed according to the gain data to obtain a gain image.

[0084] Furthermore, after the gain data is calculated, the system again obtains the input image to be processed from the image acquisition module, and after performing data conversion on the image to be processed, inputs the converted image data into the gain calculation module, and partitions the image data through the gain calculation module, and then performs gain calculation on the image data of each partition and the gain value of the corresponding partition in the gain data. Specifically, the image data of each partition is multiplied by the gain value of the corresponding partition in the gain data, and after performing gain calculation on the image data of all partitions and the gain value of the corresponding partition, a gain image after gain processing is obtained. Furthermore, the system transmits the gain image obtained after the gain calculation to the TCON board (logic board) through the relevant interface for LCD (Liquid Crystal Display) image display, so that the user can understand the effect of gain on the processed image by viewing the image contrast, wherein the logic board is used to convert the gain image input signal sent by the digital board into LVDS (Low-Voltage Differential Signaling) that can drive the LCD screen, and then directly send it to the LVDS receiving chip of the LCD screen; the gain calculation module is used to calculate the gain processing of the image to be processed and improve the image contrast of the gain image. The gain calculation of the image to be processed is performed through the gain data, and the image contrast of the calculated gain image is effectively improved.

[0085] Furthermore, the step of performing gain calculation on the image to be processed according to the gain data to obtain a gain image comprises:

[0086] Step S31, performing a product operation on the gain data and the image data of the image to be processed to obtain a gain image of the image to be processed.

[0087] Furthermore, the system performs product operations on the gain values ​​of each partition in the gain data with the data of each partition in the image data of the image to be processed, and obtains the gain image of the image to be processed after completing the product operations of the gain values ​​of all partitions and the image data. Specifically, the system can arrange the partitions in a row and column sorting manner, obtain the gain value and image data of the current partition in the order of arrangement, and multiply the gain value of the current partition with the image data to complete the gain calculation of the image data of the current partition. The system executes the gain calculation of the image data of each partition in the order of arrangement. After completing the gain calculation of all partition image data, the gain image after gaining the image to be processed input by the user is obtained.

[0088] The present embodiment provides a local dimming control method, device, equipment and storage medium, which obtains an image to be processed, performs backlight calculation on the image to be processed to obtain backlight coefficient information; obtains an updated light type table from a preset external storage device, performs coefficient calculation on the backlight coefficient information according to the updated light type table to obtain gain data; performs gain calculation on the image to be processed according to the gain data to obtain a gain image. The present invention performs backlight processing on the image to be processed by using an updated light type table stored in a preset external storage device, effectively reducing the operating space occupied by the backlight system during operation, and performs gain calculation on the image to be processed by combining the updated light type table obtained by updating with the backlight coefficient obtained by performing backlight calculation on the image to be processed, effectively improving the image contrast of the calculated gain image.

[0089] Further, refer to Figure 3 Based on the first embodiment of the local dimming control method of the present invention, a second embodiment of the local dimming control method of the present invention is proposed. In the second embodiment, before the step of obtaining the updated lamp type table from the preset external storage device, the method further includes:

[0090] Step S1, obtaining an original lamp type table, cutting the lamp type coefficients of each partition in the original lamp type table according to the coordinate points, and integrating and arranging the lamp type coefficients with the same coordinate points in each partition after cutting to form an updated lamp type table.

[0091] It can be understood that the original light type table arranges the light type coefficients corresponding to each partition according to the degree of influence of other LED lights in adjacent partitions within a certain distance on the partition where the lit LED light is located, so that when the system obtains the light type coefficients in the original light type table, it needs to obtain them multiple times, resulting in a large amount of operating space occupied, which reduces the operating efficiency of the system. Therefore, before the step of obtaining the updated light type table from the preset external storage device, the present application also needs to rearrange the original light type table, so as to effectively reduce the number of times the light type coefficients are obtained when the system obtains the updated light type table from the preset external storage device, thereby reducing the operating space occupied by the system and improving the operating efficiency of the system. Specifically, the system first obtains an original light type table formed by arranging the light type coefficients corresponding to each partition according to the influence of other LED lights in adjacent partitions within a certain distance on the partition where the lit LED light is located, cuts the light type coefficients of each partition in the original light type table according to the coordinate points, obtains the light type coefficients corresponding to all coordinate points in all partitions, and then arranges the light type coefficients of the same coordinate points in the light type coefficients corresponding to all partitions in the same partition, and after completing the arrangement of all light type coefficients in all partitions, forms an updated light type table. For example: the original light type table is composed of 7*7=49 partitions, and each partition corresponds to a light type coefficient. It can be understood that the light type coefficient corresponding to the partition in the middle of all partitions in the original light type table is larger and gradually decreases to the surrounding areas. For example, the light type coefficient of the 25th partition among the 49 partitions composed of 7*7 is the largest, and the light type coefficients of the 18th, 24th, 26th, and 32nd partitions are less than the light type coefficient of the 25th partition, and the light type coefficients of the 23rd, 27th, etc. partitions are less than the light type coefficients of the 24th and 26th partitions, and so on. The present application adjusts the arrangement of the lamp type coefficients in the original lamp type table, for example, the lamp type coefficients of the first points of all 7*7=49 partitions are arranged in the first partition, and the lamp type coefficients of the second points of all 7*7=49 partitions are arranged in the second partition, and so on, until the arrangement of all lamp type coefficients in all partitions is completed to obtain an updated lamp type table.

[0092] This embodiment rearranges the lamp type coefficients of each partition in the original lamp type table, so that when the system obtains an updated lamp type table from a preset external storage device, the number of times the lamp type coefficients are obtained is effectively reduced, thereby reducing the operating space occupied by the system and improving the operating efficiency of the system.

[0093] Further, refer to Figure 4 Based on the first embodiment of the local dimming control method of the present invention, a third embodiment of the local dimming control method of the present invention is proposed. In the third embodiment, the step of performing backlight calculation on the image to be processed to obtain backlight coefficient information includes:

[0094] Step S11, performing data conversion on the image to be processed to obtain image data;

[0095] Step S12, determining target brightness information in the image data;

[0096] Step S13, filtering the target brightness information to obtain backlight coefficient information.

[0097] Further, after acquiring the image to be processed, the system converts the image to be processed through the decoding module in the image acquisition module. Specifically, the image to be processed is converted into image data in RGB (RED, GREEN, BLUE) format, wherein the RGB format is a color standard in the industry, and various colors are obtained by changing the three color channels of red, green and blue and superimposing them with each other. RGB represents the colors of the three channels of red, green and blue. This standard almost includes all colors that can be perceived by human vision and is one of the most widely used color systems. After converting the image to be processed into image data, the system inputs the image data into the backlight calculation module, partitions the image data according to the preset partition size in the backlight calculation module, obtains the maximum brightness value of the pixels in each partition and forms the target brightness information, or obtains multiple brightness values ​​of the pixels in each partition, and averages the multiple brightness values ​​of each partition to obtain the average brightness values ​​corresponding to each partition and form the target brightness information, or obtains the floating average brightness value of the brightness values ​​of the pixels in each partition floating above and below the average value and forms the target brightness information. Furthermore, the system first performs temporal filtering on the target brightness information, and then performs spatial filtering on the target brightness information after the temporal filtering. After completing the temporal filtering and spatial filtering, the backlight coefficient information of each partition of the image to be processed is obtained, and the backlight coefficient information is stored in the internal RAM (Random Access Memory) to facilitate the subsequent coefficient calculation of the backlight coefficient information according to the updated lamp type table to obtain gain data, wherein the RAM is an internal memory that directly exchanges data with the CPU.

[0098] Furthermore, the step of determining target brightness information in the image data includes:

[0099] Step S121, obtaining a preset partition size, and dividing the image data into a plurality of partitions according to the preset partition size;

[0100] Step S122, performing brightness value detection on the plurality of partitions, determining maximum brightness values ​​respectively corresponding to the plurality of partitions in the image data, average brightness values ​​respectively corresponding to the plurality of partitions, or floating average brightness values ​​respectively corresponding to the plurality of partitions that float above and below the average value;

[0101] Step S123 , forming target brightness information according to the multiple maximum brightness values, the multiple average brightness values ​​or the multiple floating average brightness values.

[0102] It is understandable that the partitioning sizes of image data in different types and versions of backlight calculation modules are different, so the system can first detect the type and version information of the current backlight calculation module, obtain the preset partitioning size in the current backlight calculation module, and divide the image data of the image to be processed into multiple partitions according to the preset partitioning size, for example, dividing the image data into 12*16=192 partitions. Furthermore, the system can perform brightness value detection on multiple partitions respectively, and determine the maximum brightness value with the highest pixel brightness in each partition of the image data respectively, for example, detect the maximum brightness value in 192 partitions one by one, and after the maximum brightness values ​​of all partitions are detected, combine multiple maximum brightness values ​​into target brightness information, so as to filter the target brightness information and obtain backlight coefficient information. For example, 192 maximum brightness values ​​determined in 192 partitions are respectively formed into a group of target brightness information; the system can also perform brightness value detection on multiple partitions respectively, and determine the average brightness value of multiple pixel brightness values ​​in each partition of the image data respectively, for example, detect the average brightness value of multiple pixel brightness values ​​in 192 partitions one by one, and after the average brightness values ​​of all partitions are detected, the multiple average brightness values ​​are combined into target brightness information, so as to filter the target brightness information and obtain backlight coefficient information; it can be understood that the system can also perform brightness value detection on multiple partitions respectively, and determine the floating average brightness value that fluctuates above and below the average value among the multiple pixel brightness values ​​in each partition of the image data, such as the floating average brightness value that fluctuates 10% above and below the average value, for example, detect the floating average brightness value that fluctuates above and below the average value among the multiple pixel brightness values ​​in 192 partitions one by one, and after the floating average brightness values ​​of all partitions are detected, the multiple floating average brightness values ​​are combined into target brightness information, so as to filter the target brightness information and obtain backlight coefficient information.

[0103] This embodiment performs backlight calculation on the image to be processed to obtain backlight coefficient information, and can calculate gain data based on the backlight coefficient information and the updated lamp type table, so as to perform gain calculation on the image to be processed based on the gain data, so that the image contrast of the obtained gain image is higher.

[0104] Further, refer to Figure 5 Based on the first embodiment of the local dimming control method of the present invention, a fourth embodiment of the local dimming control method of the present invention is proposed. In the fourth embodiment, the step of performing coefficient calculation on the backlight coefficient information pair according to the updated lamp type table to obtain gain data includes:

[0105] Step S21, obtaining the lamp type coefficient of each partition in the updated lamp type table;

[0106] Step S22, forming a plurality of data pairs according to the light type coefficients of the partitions and the plurality of backlight coefficients in the backlight coefficient information, wherein the data pairs include a target backlight coefficient and a target light type coefficient;

[0107] Step S23 , performing preset operations on the target backlight coefficients and the target lamp type coefficients in the plurality of data pairs respectively to obtain a plurality of gain values, and forming gain data from the plurality of gain values.

[0108] Furthermore, the system loads the updated light type table from the flash into the synchronous dynamic random access memory through the flash loading module, and reads the light type coefficient corresponding to each partition from the updated light type table through the DDR scheduling bus, and then reads the backlight coefficient information from the internal RAM, and matches the light type coefficient of each partition in the updated light type table with the backlight coefficient of each partition in the backlight coefficient information to form data pairs, until all the light type coefficients of the partitions formed by all rows and all columns in the updated light type table are matched with the backlight coefficients of the partitions formed by all rows and all columns in the backlight coefficient information to obtain multiple data pairs. It can be understood that a data pair consists of a target light type coefficient in the updated light type table and a target backlight coefficient in the backlight coefficient information, and the target light type coefficient is in the same partition as the target backlight coefficient. After obtaining multiple data pairs, the system performs preset product operations on the target backlight coefficient and the target light type coefficient in each data pair, and obtains multiple gain values ​​after the operation is completed. Specifically, the system multiplies the target backlight coefficient and the target light type coefficient in each data pair to obtain the gain value required for gaining the partition, until all data pairs complete the product operation of the target backlight coefficient and the target light type coefficient, and obtain multiple gain values, which together constitute the gain data required for gain processing of the image to be processed. When the synchronization signal is detected, switch to the next frame of the image to be processed and start calculating the image gain of each pixel in the image to be processed, where the synchronization signal is a signal that provides the same time reference to the machine equipment that needs to synchronize information processing.

[0109] Furthermore, the step of forming a plurality of data pairs according to the lamp type coefficient of each partition and the plurality of backlight coefficients in the backlight coefficient information comprises:

[0110] Step S221, for each of the light type coefficients of the subareas, respectively perform the following steps:

[0111] Step S222, determining the light type coefficient of the current partition as the target light type coefficient, and detecting whether there is a target backlight coefficient matching the target light type coefficient among the multiple backlight coefficients of the backlight coefficient information;

[0112] Step S223: if the target backlight coefficient exists, generate a data pair with the target lighting type coefficient and the target backlight coefficient.

[0113] Furthermore, when multiple data pairs are formed according to the light type coefficient of each partition and the multiple backlight coefficients in the backlight coefficient information, the system can arrange the partitions that need to match the data pairs according to the order of rows and columns, that is, first process the data of the partition located in the first row and the first column, then process the data of the partition located in the first row and the second column, after completing the data of the partitions in all columns of the first row, process the data of the partition located in the second row and the first column, and so on. Further, the system matches the light type coefficient and the backlight coefficient of each partition in the order after arrangement. Specifically, the system first determines that the partition located in the first row and the first column is the current partition according to the order of rows and columns, and obtains the light type coefficient of the current partition in the updated light type table, determines the light type coefficient of the current partition as the target light type coefficient, and searches from the multiple backlight coefficients in the backlight coefficient information whether there is a target backlight coefficient that is the same as the partition where the target light type coefficient is located. If so, the target light type coefficient and the target backlight coefficient in the same partition are matched to form a data pair. After obtaining the first data pair, the system matches the lighting type coefficients and backlight coefficients of the remaining partitions according to the arrangement order of rows and columns until the lighting type coefficients and backlight coefficients of all rows and columns are matched, and data pairs corresponding to multiple partitions are obtained. The target backlight coefficients and target lighting type coefficients in the multiple data pairs are respectively subjected to preset operations to obtain multiple gain values, and the gain data are composed of the multiple gain values. Finally, the gain data is used to perform gain processing on the image to be processed to obtain a gain image.

[0114] In this embodiment, the backlight coefficient information pair is calculated according to the updated lamp type table to obtain gain data, so as to perform gain calculation on the image to be processed according to the gain data, thereby effectively improving the image contrast of the calculated gain image.

[0115] Furthermore, the present invention also provides a local dimming control device.

[0116] Reference Figure 6 , Figure 6 FIG. 1 is a schematic diagram of functional modules of a first embodiment of a local dimming control device according to the present invention.

[0117] The local dimming control device comprises:

[0118] A backlight calculation module 10 is used to obtain an image to be processed, perform backlight calculation on the image to be processed, and obtain backlight coefficient information;

[0119] An acquisition module 20, configured to acquire an updated light type table from a preset external storage device, and perform coefficient calculation on the backlight coefficient information pair according to the updated light type table to obtain gain data;

[0120] The gain calculation module 30 is used to perform gain calculation on the image to be processed according to the gain data to obtain a gain image.

[0121] Furthermore, the backlight calculation module 10 includes:

[0122] A data conversion unit, used for performing data conversion on the image to be processed to obtain image data;

[0123] a brightness determination unit, configured to determine target brightness information in the image data;

[0124] The filtering processing unit is used to filter the target brightness information to obtain backlight coefficient information.

[0125] Furthermore, the backlight calculation module 10 further includes:

[0126] A size acquisition unit, used to acquire a preset partition size, and divide the image data into a plurality of partitions according to the preset partition size;

[0127] a brightness detection unit, configured to detect brightness values ​​of the plurality of partitions, and determine a maximum brightness value corresponding to each of the plurality of partitions in the image data, an average brightness value corresponding to each of the plurality of partitions, or a floating average brightness value corresponding to each of the plurality of partitions that floats above and below the average value;

[0128] The information generating unit is used to form target brightness information according to the multiple maximum brightness values, the multiple average brightness values ​​or the multiple floating average brightness values.

[0129] Furthermore, the acquisition module 20 includes:

[0130] The table acquisition unit is used to acquire the original lamp type table, cut the lamp type coefficients of each partition in the original lamp type table according to the coordinate points, and integrate and arrange the lamp type coefficients with the same coordinate points in each partition after cutting to form an updated lamp type table.

[0131] Furthermore, the acquisition module 20 further includes:

[0132] A coefficient acquisition unit, used to acquire the lamp type coefficient of each partition in the updated lamp type table;

[0133] A coefficient generating unit, configured to form a plurality of data pairs according to the light type coefficients of the partitions and the plurality of backlight coefficients in the backlight coefficient information, wherein the data pairs include a target backlight coefficient and a target light type coefficient;

[0134] The operation unit is used to perform preset operations on the target backlight coefficients and the target lamp type coefficients in the plurality of data pairs respectively to obtain a plurality of gain values, and the plurality of gain values ​​are used to form gain data.

[0135] Furthermore, the acquisition module 20 further includes:

[0136] A step execution unit, used for executing steps S222-S223 respectively for the lamp type coefficient of each partition;

[0137] A coefficient detection unit, used to determine the light type coefficient of the current partition as the target light type coefficient, and detect whether there is a target backlight coefficient matching the target light type coefficient among the multiple backlight coefficients of the backlight coefficient information;

[0138] A data pair generating unit is used to generate a data pair using the target lighting type coefficient and the target backlight coefficient if the target backlight coefficient exists.

[0139] Furthermore, the gain calculation module 30 includes:

[0140] The gain calculation unit is used to perform a product operation on the gain data and the image data of the image to be processed to obtain a gain image of the image to be processed.

[0141] In addition, the present invention also provides a storage medium, which is preferably a computer-readable storage medium, on which a local dimming control program is stored. When the local dimming control program is executed by a processor, the steps of each embodiment of the above-mentioned local dimming control method are implemented.

[0142] In the embodiments of the local dimming control device and computer-readable medium of the present invention, all technical features of the above-mentioned local dimming control method embodiments are included, and the descriptions and explanations are basically the same as those of the above-mentioned local dimming control method embodiments, and will not be repeated here.

[0143] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0144] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0145] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes several instructions for enabling a terminal device (which can be a fixed terminal, such as an IoT smart device, including smart air conditioners, smart lights, smart power supplies, smart routers and other smart homes; it can also be a mobile terminal, including smart phones, wearable networked AR / VR devices, smart speakers, self-driving cars and many other networked devices) to execute the methods described in the various embodiments of the present invention.

[0146] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A local dimming control method, characterized in that: The local dimming control method comprises: Acquire an image to be processed, perform backlight calculation on the image to be processed, and obtain backlight coefficient information; Acquire an updated light type table from a preset external storage device, and perform coefficient calculation on the backlight coefficient information according to the updated light type table to obtain gain data; Before the step of obtaining the updated lamp type table from the preset external storage device, the method further includes: Obtaining an original lamp type table, cutting the lamp type coefficients of each partition in the original lamp type table according to the coordinate points, and integrating and arranging the lamp type coefficients with the same coordinate points in each partition after cutting to form an updated lamp type table; Wherein, the partitions are obtained by dividing the pixel points of the image to be processed into rows and columns through local dimming, and the original light type table is composed of the LED influence degree between adjacent partitions within a preset distance collected according to the LED diffusion effect; The gain of the image to be processed is calculated according to the gain data to obtain a gain image.

2. The local dimming control method according to claim 1, wherein: The step of performing backlight calculation on the image to be processed to obtain backlight coefficient information comprises: Performing data conversion on the image to be processed to obtain image data; Determining target brightness information in the image data; The target brightness information is filtered to obtain backlight coefficient information.

3. The local dimming control method according to claim 2, wherein: The step of determining target brightness information in the image data comprises: Obtaining a preset partition size, and dividing the image data into a plurality of partitions according to the preset partition size; Perform brightness value detection on the plurality of partitions to determine the maximum brightness value respectively corresponding to the plurality of partitions in the image data, the average brightness value respectively corresponding to the plurality of partitions, or the floating average brightness value respectively corresponding to the plurality of partitions that floats above and below the average value; The target brightness information is formed according to the plurality of maximum brightness values, the plurality of average brightness values ​​or the plurality of floating average brightness values.

4. The local dimming control method according to claim 1, wherein: The step of performing coefficient calculation on the backlight coefficient information according to the updated lamp type table to obtain gain data comprises: Obtaining the lamp type coefficient of each partition in the updated lamp type table; According to the light type coefficient of each partition and the multiple backlight coefficients in the backlight coefficient information, a plurality of data pairs are formed, wherein the data pairs include a target backlight coefficient and a target light type coefficient; The target backlight coefficients and the target lamp type coefficients in the plurality of data pairs are respectively subjected to preset operations to obtain a plurality of gain values, and the plurality of gain values ​​are used to form gain data.

5. The local dimming control method according to claim 4, wherein: The step of forming a plurality of data pairs according to the lamp type coefficient of each partition and the plurality of backlight coefficients in the backlight coefficient information comprises: For the lamp type coefficient of each partition, perform the following steps respectively: Determine the light type coefficient of the current partition as the target light type coefficient, and detect whether there is a target backlight coefficient matching the target light type coefficient among the multiple backlight coefficients of the backlight coefficient information; If the target backlight coefficient exists, a data pair is generated by combining the target lighting type coefficient and the target backlight coefficient.

6. The local dimming control method according to claim 1, wherein: The step of performing gain calculation on the image to be processed according to the gain data to obtain a gain image comprises: The gain data is multiplied by the image data of the image to be processed to obtain a gain image of the image to be processed.

7. A local dimming control device, characterized in that: The local dimming control device comprises: A backlight calculation module is used to obtain an image to be processed, perform backlight calculation on the image to be processed, and obtain backlight coefficient information; An acquisition module, used for acquiring an updated light type table from a preset external storage device, and performing coefficient calculation on the backlight coefficient information according to the updated light type table to obtain gain data; Wherein, the acquisition module also includes: A table acquisition unit, used to acquire an original lamp type table, cut the lamp type coefficients of each partition in the original lamp type table according to the coordinate points, and integrate and arrange the lamp type coefficients with the same coordinate points in each partition after cutting to form an updated lamp type table; Wherein, the partitions are obtained by dividing the pixel points of the image to be processed into rows and columns through local dimming, and the original light type table is composed of the LED influence degree between adjacent partitions within a preset distance collected according to the LED diffusion effect; The gain calculation module is used to perform gain calculation on the image to be processed according to the gain data to obtain a gain image.

8. A local dimming control device, characterized in that: The local dimming control device includes a memory, a processor, and a local dimming control program stored in the memory and executable on the processor. When the local dimming control program is executed by the processor, the steps of the local dimming control method according to any one of claims 1 to 6 are implemented.

9. A storage medium, characterized in that: The storage medium stores a local dimming control program, and when the local dimming control program is executed by the processor, the steps of the local dimming control method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Subregion backlight gain coefficient determination method and device and liquid crystal display device

    CN106710534A