WO2023207275A1 - Display control method and apparatus, display device, electronic device and medium - Google Patents

Display control method and apparatus, display device, electronic device and medium Download PDF

Info

Publication number
WO2023207275A1
WO2023207275A1 PCT/CN2023/077076 CN2023077076W WO2023207275A1 WO 2023207275 A1 WO2023207275 A1 WO 2023207275A1 CN 2023077076 W CN2023077076 W CN 2023077076W WO 2023207275 A1 WO2023207275 A1 WO 2023207275A1
Authority
WO
WIPO (PCT)
Prior art keywords
backlight
partition
value
pixel
brightness
Prior art date
Application number
PCT/CN2023/077076
Other languages
French (fr)
Chinese (zh)
Inventor
马希通
李涛
张书国
Original Assignee
京东方科技集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京东方科技集团股份有限公司 filed Critical 京东方科技集团股份有限公司
Publication of WO2023207275A1 publication Critical patent/WO2023207275A1/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • G09G3/342Control of illumination source using several illumination sources separately controlled corresponding to different display panel areas, e.g. along one dimension such as lines
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2310/00Command of the display device
    • G09G2310/02Addressing, scanning or driving the display screen or processing steps related thereto
    • G09G2310/0264Details of driving circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • G09G2320/0646Modulation of illumination source brightness and image signal correlated to each other
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data

Definitions

  • the present disclosure belongs to the field of display technology, and specifically relates to a display control method, a display control device, a display device, an electronic device, and a computer-readable medium.
  • LED display products have been widely used in many commercial fields of ultra-large screen high-definition display, such as monitoring and command, high-definition studio, high-end cinema, medical diagnosis, advertising display, conference and exhibition, and office display , virtual reality, etc., achieving better display effects.
  • embodiments of the present disclosure provide a display control method, including:
  • the brightness and darkness feature value represents the brightness and darkness degree of the target image
  • partition features are extracted from the pixels of the target image, and the partition features are determined based on the partition feature extraction results and the brightness and darkness feature values.
  • the first pixel data of each pixel point of the target image is compensated respectively, and the compensated second pixel data is obtained for the display component of the display device
  • the target image is displayed based on the second pixel data.
  • the step of obtaining the feature value of the brightness and darkness of the target image includes:
  • the step of determining the feature value of the brightness and darkness of the target image based on the first pixel data of each pixel in the target image includes:
  • the brightness and darkness feature values of the target image are determined according to the grayscale histogram.
  • the step of determining the brightness and darkness feature values of the target image based on the grayscale histogram includes:
  • the determined N is used as the feature value of the brightness and darkness degree
  • N is an integer and 0 ⁇ N ⁇ i max
  • i max represents the preset maximum pixel gray level
  • t i represents the number of pixels with a pixel gray level of i recorded in the grayscale histogram
  • T represents the above
  • S represents the preset proportion threshold, 0.5 ⁇ S ⁇ 1.
  • the step of extracting partition features from the pixels of the target image based on the pixel gray levels of the pixels corresponding to the multiple backlight partitions of the backlight component of the display device includes:
  • the backlight partitions For any of the backlight partitions, according to the pixel gray level of each pixel point in the backlight partition of the target image, determine the first characteristic representative value and the pixel gray level of the pixel point in each backlight partition. A second feature representative value is used as the partition feature extraction result, wherein the first feature representative value is smaller than the second feature representative value.
  • the first characteristic representative value of the pixel gray level of the pixels in the backlight partition is the average value of the pixel gray levels of the pixels in the backlight partition
  • the second characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the maximum value of the pixel gray level of the pixel point in the backlight partition.
  • the step of determining the first backlight feature values of the multiple backlight partitions based on the partition feature extraction results and the brightness and darkness feature values includes:
  • a weighting coefficient is determined according to the feature value of the brightness and darkness degree, and the weighting coefficient is negatively correlated with the feature value of the brightness and darkness degree;
  • BL 1 (1-P) ⁇ BLR 1 +P ⁇ BLR 2
  • BL 1 is the first backlight characteristic value of the backlight partition
  • P is the weighting coefficient
  • BLR 1 is the first characteristic representative value of the pixel gray level of all pixels in the backlight partition
  • BLR 2 is the backlight The second characteristic representative value of the pixel gray level of all pixels in the partition.
  • the weighting coefficient P determined based on the brightness feature value is:
  • i max represents the maximum pixel gray level
  • F 0 represents the characteristic value of the brightness and darkness, 0 ⁇ F 0 ⁇ i max ;
  • the step of determining the first backlight characteristic value of each backlight partition according to the partition feature extraction result and the brightness feature value and according to the first backlight characteristics of the plurality of backlight partitions.
  • the step of determining the backlight drive value of each backlight partition and the step of separately compensating the first pixel data of each pixel point of the target image according to the first backlight characteristic values of the plurality of backlight partitions Also includes:
  • the first backlight characteristic values of the plurality of backlight partitions are filtered to obtain updated first backlight characteristic values of each of the plurality of backlight partitions.
  • the step of filtering the first backlight characteristic values of the plurality of backlight partitions to obtain the updated first backlight characteristic values of each of the backlight partitions includes:
  • the backlight For any backlight partition, according to the first backlight characteristic value of the backlight partition, the backlight The first backlight characteristic value of the adjacent partition of the light partition and the predetermined filter coefficient determine the updated first backlight characteristic value of the backlight partition;
  • the adjacent partitions include backlight partitions whose partition distance from the backlight partition is less than or equal to a partition distance threshold.
  • the updated first backlight of the backlight partition is determined based on the first backlight characteristic value of the backlight partition, the first backlight characteristic value of an adjacent partition of the backlight partition, and a predetermined filter coefficient.
  • the eigenvalue step also include:
  • the filter coefficient is determined according to the feature value of the brightness and darkness degree, and the filter coefficient is positively correlated with the feature value of the brightness and darkness degree.
  • the filter coefficient Q determined according to the brightness feature value is:
  • i max represents the preset maximum pixel gray level
  • F 0 represents the feature value of the brightness and darkness
  • 0 ⁇ F 0 ⁇ i max 0 ⁇ F 0 ⁇ i max .
  • the updated first backlight characteristic of the backlight partition is determined according to the first backlight characteristic value of the backlight partition, the first backlight characteristic value of an adjacent partition of the backlight partition, and a predetermined filter coefficient. Values, including:
  • the maximum value among the first backlight characteristic value of the backlight partition and the second backlight characteristic value of each adjacent partition is determined as the updated first backlight characteristic value of the backlight partition.
  • the step of determining the backlight driving value of each backlight partition according to the first backlight characteristic value of the plurality of backlight partitions includes:
  • B drive represents the backlight drive value of the backlight partition
  • BL 2 represents the first backlight characteristic value of the backlight partition
  • W represents the drive adjustment coefficient
  • i max represents the preset maximum pixel gray level
  • I max represents the preset Set the maximum backlight gray level.
  • the method before the step of determining the backlight drive value of the backlight partition according to the first backlight characteristic value of the backlight partition and the predetermined drive adjustment coefficient, the method further includes:
  • a driving adjustment coefficient W is determined according to the brightness and darkness characteristic value, and the driving adjustment coefficient W is positively correlated with the brightness and darkness characteristic value.
  • the driving adjustment coefficient W determined according to the brightness characteristic value is:
  • F 0 represents the feature value of the brightness and darkness degree
  • i max represents the preset maximum pixel gray level
  • m is the preset constant coefficient and m ⁇ 2.
  • m takes a value of 5.
  • the backlight assembly includes a driving component and backlight lamps of the plurality of backlight partitions, and the method further includes:
  • the backlight driving values of the plurality of backlight partitions and the second pixel data of each pixel point are respectively input into the driving component and the display component at the same time.
  • the step of separately compensating the first pixel data of each pixel point of the target image according to the first backlight characteristic values of the plurality of backlight partitions to obtain the compensated second pixel data include:
  • the backlight For any backlight partition, according to the first backlight characteristic value of the backlight partition, the backlight The first backlight characteristic value of the diffusion partition of the light partition and the diffusion factor of the diffusion partition of the backlight partition determine the backlight diffusion characteristic value of the backlight partition; wherein the diffusion partition includes a partition between the diffusion partition and the backlight partition Backlight partitions whose distance is less than or equal to the diffusion distance threshold;
  • a preset interpolation algorithm is used to obtain the pixel backlight characteristic value of each pixel point of the target image
  • the pixel gray level of each sub-pixel in the first pixel data of each pixel point is compensated respectively to obtain the second pixel data of the pixel point.
  • an embodiment of the present disclosure provides a display control device, including:
  • the brightness and darkness degree acquisition module is used to acquire the brightness and darkness degree characteristic value of the target image, and the brightness and darkness degree characteristic value represents the brightness and darkness degree of the target image;
  • the backlight feature determination module is used to extract the partition features of the pixels of the target image according to the pixel gray levels corresponding to the plurality of backlight partitions of the backlight component of the display device, and extract the partition features according to the partition feature extraction results and the The brightness and darkness feature values determine the first backlight feature values of the plurality of backlight partitions;
  • a driving value determination module configured to determine the backlight driving value of each backlight partition according to the first backlight characteristic value of the plurality of backlight partitions, so that the backlight assembly can emit an image corresponding to the target based on the backlight driving value.
  • a compensation module configured to respectively compensate the first pixel data of each pixel point of the target image according to the first backlight characteristic values of the plurality of backlight partitions, and obtain the compensated second pixel data for the said A display component of the display device displays the target image based on the second pixel data.
  • an embodiment of the present disclosure provides a display device, including: a backlight component, a display component, and a display control device.
  • the display control device is respectively connected to the backlight component.
  • the display component, the display control device adopts the display control device provided in the second aspect;
  • the backlight assembly includes a driving component and a plurality of backlight partitions, the driving component is used to drive the plurality of backlight partitions to emit backlight according to the backlight driving values of the plurality of backlight partitions;
  • the display component is used to display according to the input second pixel data.
  • embodiments of the present disclosure provide an electronic device, including: one or more processors; a memory for storing one or more programs; when the one or more programs are processed by the one or more The processor is executed, so that the one or more processors implement the above display control method.
  • the processor includes a field programmable gate array FPGA.
  • embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, wherein the computer program implements the steps in the above display control method when executed by a processor.
  • Figure 1a is a flow chart of a display control method provided by an embodiment of the present disclosure
  • Figure 1b is a flow chart of another display control method provided by an embodiment of the present disclosure.
  • Figure 2 is a flow chart of an optional implementation method of step S10 in an embodiment of the present disclosure
  • FIG. 3 is a flow chart of an optional implementation method of step S11 in the embodiment of the present disclosure.
  • FIGS. 4a and 4b are schematic diagrams of backlight partitions and characteristic values according to embodiments of the present disclosure.
  • FIG. 5 is a flow chart of an optional implementation method of step S1a in the embodiment of the present disclosure.
  • Figure 6a is a flow chart of an optional implementation method of step S1a2 in an embodiment of the present disclosure
  • Figure 6b is a flow chart of another optional implementation method of step S1a2 in the embodiment of the present disclosure.
  • Figure 7 is a flow chart of an optional implementation method of step S12 in the embodiment of the present disclosure.
  • Figure 8 is a flow chart of an optional implementation method of step S13 in the embodiment of the present disclosure.
  • Figure 9a is a schematic diagram of a backlight partition and its corresponding diffusion partitions in an embodiment of the present disclosure
  • Figure 9b is a schematic diagram of the diffusion factors of the backlight partitions and their corresponding diffusion partitions shown in Figure 9a;
  • Figure 10 is a schematic diagram of the backlight partition located at the edge and its corresponding diffusion partition in an embodiment of the present disclosure
  • Figure 11 is a flow chart of another optional implementation method of step S13 in the embodiment of the present disclosure.
  • Figure 12 is a schematic diagram of extending the backlight partition to obtain a virtual partition in an embodiment of the present disclosure
  • Figure 13 is a schematic diagram of the frame of the backlight assembly in an embodiment of the present disclosure.
  • Figure 14 is a flow chart of an optional implementation method of step S132 in the embodiment of the present disclosure.
  • Figure 15 is a schematic diagram of selecting a target area from four adjacent backlight partitions in an embodiment of the present disclosure
  • Figure 16 is a flow chart of an optional implementation method of step S133 in an embodiment of the present disclosure.
  • Figure 17 is a flow chart of another display control method provided by an embodiment of the present disclosure.
  • Figure 18 is a structural block diagram of a display control device provided by an embodiment of the present disclosure.
  • Figure 19 is a structural block diagram of another display control device provided by an embodiment of the present disclosure.
  • Figure 20 is a structural block diagram of a display device provided by an embodiment of the present disclosure.
  • Figure 21 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • Mini_LED display technology refers to the technology that uses LED devices with chip sizes between 50 and 200 ⁇ m for display.
  • LED display systems have certain defects.
  • the contrast of the liquid crystal display cannot meet the requirements of consumers; on the other hand, as the size of the liquid crystal display system continues to increase As the size increases, the power consumption problem becomes more and more obvious.
  • regional dynamic backlight control can be used to dynamically adjust the backlight brightness of the LED display system.
  • regional dynamic backlight control is implemented based on the pixel display principle of the liquid crystal display.
  • LCD display pixels use the electro-optical effect of liquid crystal to control the opening of liquid crystal molecules to change the light flux output by each pixel.
  • backlights of different intensities to display the same image, in theory, as long as the output luminous flux of each pixel remains unchanged, the displayed image can be guaranteed to remain unchanged.
  • the general formula for this principle is as follows:
  • BL 0 is the backlight brightness value of the pixel before dimming
  • g is the pixel gray level of the pixel before dimming (that is, the R/G/B sub-pixel contained in the pixel).
  • the maximum value of the pixel gray level is the backlight brightness value of the pixel after dimming
  • is a fixed power exponent, determined according to the display device itself. It can be seen from formula (1) that if the backlight brightness value If it decreases, the brightness of the final display screen (that is, the output luminous flux) will also change. In order to reduce the backlight while ensuring that the brightness of the emergent light remains unchanged, the value to increase the transmittance of the emitted light.
  • the regional backlight of the display device can be controlled according to the image through regional dynamic backlight control, and the image can be compensated according to the regional backlight, thereby dynamically adjusting the backlight brightness and brightness of each display area.
  • the image pixel value can improve the display quality and contrast of the image and reduce the power consumption of the display device.
  • FIG. 1a is a flow chart of a display control method provided by an embodiment of the present disclosure.
  • the display control method can be applied to a display control device, which can be implemented in software and/or hardware, and can generally be integrated into an electronic device (such as a display device).
  • the display control method includes:
  • Step S10 Obtain the brightness and darkness feature values of the target image.
  • the brightness and darkness feature values are used to characterize the brightness and darkness of the target image.
  • Step S11 According to the pixel gray levels of the pixels corresponding to the multiple backlight partitions of the backlight component of the display device, perform partition feature extraction on the pixel points of the target image, and determine multiple partition features based on the partition feature extraction results and the brightness and darkness feature values.
  • the first backlight characteristic value of the backlight partition According to the pixel gray levels of the pixels corresponding to the multiple backlight partitions of the backlight component of the display device, perform partition feature extraction on the pixel points of the target image, and determine multiple partition features based on the partition feature extraction results and the brightness and darkness feature values.
  • Step S12 Determine the backlight drive value of each backlight partition according to the first backlight characteristic values of the plurality of backlight partitions, so that the backlight assembly emits backlight corresponding to the target image based on the backlight drive value.
  • Step S13 Compensate the first pixel data of each pixel point of the target image respectively according to the first backlight characteristic values of the plurality of backlight partitions, and obtain the compensated second pixel data for the display component of the display device based on the second pixel data. Pixel data displays the target image.
  • the display device can be various types of LED display devices, such as Mini-LED display devices.
  • the display device includes a backlight component (for example, including an LED driving component and a backlight panel, and the backlight panel is divided into multiple backlight partitions) and a display component (for example, LCD panel).
  • the display control device executing the display control method can be connected to the backlight assembly and the display respectively.
  • the display component causes the backlight component to emit backlight according to the backlight driving value input by the display control device, and causes the display component to display an image according to the pixel value input by the display control device.
  • This disclosure does not limit the specific type of display device.
  • the backlight assembly may include multiple backlight partitions, and the backlight partitions may be arranged in an M*N array (M and N are integers greater than 1).
  • M and N are integers greater than 1.
  • M and N are integers greater than 1.
  • Each backlight partition can have a preset number of Mini_LED lights, such as 4, 16, etc.
  • each backlight partition can correspond to a certain number of pixels of the display component, such as 40*40 pixels.
  • the present disclosure places no restrictions on the number and arrangement of backlight partitions, the preset number of LEDs in each backlight partition, and the number of pixels corresponding to each backlight partition.
  • the brightness feature value of the target image may be determined based on the first pixel data (ie, original pixel data) of all pixels in the target image.
  • the first pixel data of the pixel specifically includes the sub-pixel gray level of each sub-pixel contained in the pixel; the brightness and darkness feature value can represent the brightness and darkness of the target image, and the brightness and darkness can be adjusted according to actual needs.
  • the value range of the degree feature value is preset; for example, the brightness feature value is an integer and can take a value from 0 to 1023; among them, the larger the brightness feature value, the brighter the overall brightness of the target image. The smaller the brightness feature value, the darker the overall brightness of the target image.
  • partition feature extraction can be performed on the pixels of the target image according to the pixel gray levels of the pixels corresponding to the multiple backlight partitions of the backlight component of the display device, to obtain the partition feature extraction results;
  • the partition feature extraction results can be used to describe the brightness and darkness of each backlight partition. Specific features can be preset according to actual needs, and then in step S11, for any backlight partition, the pixels corresponding to the backlight partition can be determined from all pixels (for example, 40*40 pixels), and Feature extraction is performed on the pixel gray level of the pixel corresponding to the backlight partition. Each backlight partition is processed separately to obtain the partition feature extraction results.
  • feature extraction can be performed on the target image based on the pixel gray level of each pixel in the backlight partition to obtain the third pixel gray level of the pixel in the backlight partition.
  • a characteristic representative value and a second characteristic representative value are used as the partition feature extraction result, wherein the first characteristic representative value is smaller than the second characteristic representative value.
  • both the first characteristic representative value and the second characteristic representative value can be used to characterize the pixel gray level characteristics of the pixels in the backlight partition.
  • the first characteristic representative value of the pixel gray level of the pixels in the backlight partition is the average value of the pixel gray levels of the pixels in the backlight partition.
  • the second characteristic representative value of the pixel gray level of the pixel in the backlight partition is the maximum value of the pixel gray level of the pixel in the backlight partition. That is, the partition feature extraction method can be to obtain the average value and the maximum value of the gray level to obtain the feature extraction result of the backlight partition.
  • the above-mentioned first characteristic representative value and second characteristic representative value can also be other characteristics.
  • the first characteristic representative value is the first characteristic representative value of the pixel gray level of the pixel in the backlight partition.
  • the minimum value of , the representative value of the second characteristic is the gray level of the pixel with the highest frequency in the backlight partition. No more examples here.
  • each backlight partition can also be extracted based on other methods.
  • the backlight partition can also be extracted through a neural network (for example, including a convolution layer, a pooling layer, a fully connected layer, etc.).
  • the gray level of the pixel corresponding to the partition is processed to obtain the feature extraction result of the backlight partition.
  • This disclosure does not limit the specific method of partition feature extraction.
  • the first backlight feature value of each backlight partition is determined according to the partition feature extraction result and the brightness feature value.
  • the brightness level feature value can represent the brightness level of the target image. That is to say, when generating the first backlight feature value of each backlight partition, not only the brightness factor of each backlight partition is taken into consideration, The overall brightness and darkness of the target image are also taken into consideration, which is beneficial to ensuring the dark details in the target image; the specific principles will be described in detail later with specific examples.
  • the first backlight characteristic value of each backlight partition can be mapped to the corresponding backlight driver based on a preset mapping method.
  • a preset mapping method For example, the backlight drive value corresponding to the first backlight characteristic value is queried based on a mapping lookup table (Look Up Table), where different first backlight characteristic values and each first backlight are prestored in the mapping lookup table.
  • the backlight drive value corresponding to the feature value; for another example, the first backlight feature value can be mapped to the corresponding backlight drive value based on a pre-designed mapping algorithm.
  • the backlight driving value obtained through step S12 can be input to the driving component (such as a driving chip) of the backlight assembly, so that the LED lamps of each backlight partition of the backlight panel emit backlight corresponding to the target image. In this way, the backlight processing process is completed.
  • the driving component such as a driving chip
  • the compensation factors of the pixels in the target image can be determined based on the first backlight feature values of each backlight partition, and then a preset compensation algorithm, such as a linear compensation algorithm, is used based on the compensation factors. Or a nonlinear compensation algorithm is used to separately compensate the first pixel data of each pixel point in the target image to obtain the compensated second pixel data.
  • the second pixel data of each pixel obtained through step S13 can be input to the display component, so that the display component displays the target image.
  • the first backlight feature value of each backlight partition is generated based on the brightness and darkness feature value and the partition feature extraction result obtained by performing partition feature extraction on the backlight partition, and thereafter
  • the backlight drive value of each backlight partition is determined based on the first backlight characteristic value, and the first pixel data of each pixel is compensated based on the first backlight characteristic value to obtain the second pixel data; in the subsequent display process, the backlight component is based on The backlight drive value of each backlight partition provides corresponding backlight, and the display component displays based on the second pixel data of each pixel, which can effectively improve the display quality and contrast of the image and reduce the power consumption of the display device.
  • the overall brightness and darkness of the target image are taken into account in the generation process of the second backlight eigenvalue and the first backlight eigenvalue, dark details in the target image can be effectively guaranteed.
  • step S12 is executed after step S13 shown in Figure 1
  • the technical solution of the present disclosure does not limit the execution order of step S12 and step S13. That is to say, step S12 can also be executed synchronously with step S13, or step S12 can be executed after step S13.
  • Figure 1b is a flow chart of another display control method provided by an embodiment of the present disclosure. As shown in Figure 1b, different from the previous embodiment, in this embodiment of the present disclosure, after step S11 and before step S12 and step S13, it also includes: step S1a; only step S1a will be described in detail below.
  • Step S1a Filter the first backlight characteristic values of the plurality of backlight partitions to obtain the updated first backlight characteristic values of each backlight partition.
  • the obtained first backlight characteristic values of each backlight partition may be of different sizes, or even have very different first backlight characteristic values of adjacent backlight partitions, which affects the final display effect.
  • filtering processing can be performed to smooth the changes in brightness and darkness between different backlight partitions, which is beneficial to improving the display effect of the image.
  • the first backlight characteristic values of multiple backlight partitions may be filtered to obtain updated first backlight characteristic values of each backlight partition.
  • the neighboring partitions of the backlight partition that is, the partition distance between the backlight partition and the backlight partition is less than or equal to the preset partition distance threshold p (p is greater than or equal to 1 Integer) backlight partition.
  • the partition distance can be defined as the number of partitions spaced between backlight partitions + 1, that is, the partition distance between adjacent backlight partitions is 1.
  • the partition distance threshold p can be set to 1, for example, that is, the 8 backlight partitions around the backlight partition are regarded as adjacent partitions, plus the backlight partition itself, a total of 9 backlight partitions of 3*3; the partition distance threshold p can be For example, set to 2, that is, the 24 backlight partitions around the backlight partition are regarded as adjacent partitions, plus the backlight partition itself, for a total of 25 backlight partitions of 5*5.
  • This disclosure does not limit the specific value of the partition distance threshold.
  • FIGS. 4a and 4b are schematic diagrams of backlight partitions and characteristic values according to embodiments of the present disclosure.
  • Figure 4b a, b, c, d, e, f, g, h, i are respectively the first backlight characteristic values of each backlight partition.
  • the filtering method may be: multiply the first backlight characteristic value of the adjacent partition by a preset filter coefficient to obtain the adjusted backlight characteristic value (called the second backlight characteristic value); and then obtain the adjusted backlight characteristic value from each adjacent partition.
  • the maximum value of the second backlight characteristic value of the partition and the first backlight characteristic value of the backlight partition is selected as the filtered backlight characteristic value of the backlight partition (called the first backlight characteristic value).
  • the filtering method may also be: calculating the average value of the second backlight characteristic value of each adjacent partition and the first backlight characteristic value of the backlight partition as the filtered first backlight characteristic value of the backlight partition.
  • the backlight partition located at the edge of the display device that is, the distance between the backlight partition and the edge of the display device is less than the partition distance threshold p
  • the characteristic value of the expanded partitions can be set to 0 or backlight partition 2, The mirror image of the eigenvalues of 4 and 5 (symmetrical with backlight partition 1 as the center).
  • FIG 2 is a flow chart of an optional implementation method of step S10 in the embodiment of the present disclosure. As shown in Figure 2, in some embodiments, step S10 in Figures 1a and 1b includes:
  • Step S101 Generate a grayscale histogram of the target image based on the pixel gray level of each sub-pixel included in the first pixel data of each pixel point in the target image.
  • the grayscale histogram is used to record the number of pixels of each pixel gray level in the target image.
  • the process of generating a grayscale histogram is as follows: first, determine the pixel grayscale of each pixel; where the pixel grayscale of a pixel can be determined by the subpixel grayscale of the subpixels contained in the pixel, such as pixel
  • the pixel gray level of a point is equal to the maximum value of the sub-pixel gray levels of all sub-pixels contained in the pixel (generally including three sub-pixels of R/G/B).
  • the number of pixel points under the degree level (for example, the pixel gray level can range from 0 to 1023, a total of 1024 different pixel gray levels) is counted to obtain the gray level histogram of the target image.
  • Step S102 Determine the brightness feature value of the target image based on the grayscale histogram.
  • step S102 specifically includes: according to the number of pixel points of each pixel gray level recorded in the grayscale histogram, determine the number of pixels that satisfy The minimum N value is taken, and the determined N is used as the brightness feature value.
  • N is an integer and 0 ⁇ N ⁇ i max
  • i max represents the preset maximum pixel gray level
  • t i represents the number of pixels with a pixel gray level of i recorded in the grayscale histogram
  • T represents the above
  • S represents the preset proportion threshold, 0.5 ⁇ S ⁇ 1, for example, the value of S is 0.8.
  • the brightness and darkness feature value F 0 obtained through the above steps must also satisfy 0 ⁇ F 0 ⁇ i max .
  • the above judgment conditions The essence is to perform a cumulative distribution operation on the pixel gray level. Based on the cumulative distribution operation process, the N value is determined as the brightness and darkness feature value, so that the brightness and darkness feature value can reflect the pixels in the target image to a certain extent. The frequency distribution of pixel gray levels can more accurately reflect the brightness and darkness of the target image.
  • the brightness and darkness feature values can also be determined based on the grayscale histogram and other algorithms (for example, selecting the pixel gray level with the largest frequency as the brightness and darkness feature value, or selecting the pixel gray level with the largest frequency)
  • the first j pixel gray levels are averaged and the average value is used as the brightness feature value). It only needs to ensure that the obtained brightness feature value can be used to characterize the overall brightness of the target image.
  • FIG 3 is a flow chart of an optional implementation method of step S11 in the embodiment of the present disclosure. As shown in Figure 3, in some embodiments, step S11 in Figures 1a and 1b may include:
  • Step S111 For any backlight partition, according to each image of the target image in the backlight partition For the pixel gray level of the pixel point, the first characteristic representative value and the second characteristic representative value of the pixel gray level of the pixel point in each of the backlight partitions are determined as the partition feature extraction result.
  • the first characteristic representative value is smaller than the second characteristic representative value.
  • Step S112 Determine the weighting coefficient according to the feature value of the brightness and darkness degree.
  • the weighting coefficient P satisfies: 0 ⁇ P ⁇ 1.
  • the weighting coefficient P is negatively correlated with the brightness and darkness feature values. That is to say, the larger the brightness and darkness feature value is, the smaller the weighting coefficient P is. The specific principle will be described in detail later.
  • the weighting coefficient P is:
  • i max represents the preset maximum pixel gray level (for example, when the pixel gray level ranges from 0 to 1023, the maximum pixel gray level is 1023), and F 0 represents the Characteristic value of lightness and darkness, 0 ⁇ F 0 ⁇ i max .
  • Step S113 For any backlight partition, determine the first backlight characteristic value of the backlight partition based on the weighting coefficient and the first characteristic representative value and the second characteristic representative value of the pixel gray level of the pixel point in the backlight partition.
  • BL 1 (1-P) ⁇ BLR 1 +P ⁇ BLR 2 (3)
  • BL 1 is the first backlight characteristic value of the backlight partition
  • BLR 1 is the first characteristic representative value of the pixel gray level of all pixels in the backlight partition
  • BLR 2 is the first characteristic value of the pixel gray level in the backlight partition. The second characteristic representative value of the pixel gray level of all pixels.
  • the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the average value of the pixel gray level of the pixel point in the backlight partition; the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition The second characteristic representative value is the maximum value of the pixel gray level of the pixel in the backlight partition.
  • the above-mentioned processing is performed on all the backlight partitions of the backlight assembly, and the first backlight characteristic value of each backlight partition can be obtained.
  • the partition feature extraction if only the maximum value of the pixel gray level of all pixels in the backlight partition is used as the first backlight feature value of the backlight partition, the image details can be greatly preserved, but it will cause The image brightness in the dark field area cannot be effectively controlled, the contrast is insufficiently improved, and the power consumption reduction is limited. If only the average pixel gray level of all pixels in the backlight partition is used as the first backlight feature value of the backlight partition, the backlight can be reduced to a greater extent to reduce power consumption. However, for areas with high contrast, the backlight The degree of reduction exceeds what pixel compensation can achieve, resulting in the image not being properly restored and making it difficult to produce a correct display effect.
  • the above problems can be effectively improved by performing a weighted sum of the maximum and average pixel gray levels of all pixels in the backlight partition, and using the weighted summation result as the first backlight feature value of the backlight partition.
  • the weight coefficient assigned to the maximum value of the pixel gray level of all pixels in the backlight partition and the average pixel gray level of all pixels in the backlight partition is also related to the brightness feature value; specifically, , the darker the brightness of the target image, the smaller the brightness feature value, and the greater the weight coefficient (i.e.
  • the average of the pixel gray levels of all pixels within the pixel can reduce power consumption.
  • the advantages of using the maximum value and average value can be retained to a certain extent, that is, the image details can be preserved and the reduction of backlight to reduce power consumption; at the same time, to a certain extent, it makes up for the shortcomings of the two aforementioned algorithms that only rely on maximum or average values for calculation, that is, it can improve the contrast and appropriately reduce the backlight so that the image can be restored through pixel compensation later. , thereby improving the display quality of the image.
  • FIG. 5 is a flow chart of an optional implementation method of step S1a in an embodiment of the present disclosure. As shown in Figure 5, in some embodiments, step S1a in Figure 1b may include:
  • Step S1a1 Determine the filter coefficient according to the feature value of the brightness and darkness.
  • the filter coefficient Q satisfies: 0 ⁇ Q ⁇ 1.
  • the filter coefficient Q is positively correlated with the brightness feature value. That is to say, the larger the brightness and darkness feature value is, the larger the filter coefficient Q is. The specific principle will be described in detail later.
  • Q represents the filter coefficient
  • i max represents the preset maximum pixel gray level
  • F 0 represents the brightness and darkness feature value
  • 0 ⁇ F 0 ⁇ i max the filter coefficient Q calculated in step S1a1 satisfies 0 ⁇ Q ⁇ 1, and the larger the brightness and darkness feature value is, the larger the filter coefficient Q is. That is to say, the brighter the overall brightness of the target image, the larger the filter coefficient Q; the darker the overall brightness of the target image, the smaller the filter coefficient Q.
  • the brighter the overall brightness of the target image the greater the feature value of brightness and darkness
  • the filter coefficient is set to be larger, and the brightness of the dark area is improved after filtering. The larger it is, the greater the boundary gradient changes.
  • the darker the overall brightness of the target image the smaller the brightness feature value
  • the smaller the filter factor is set, the smaller the brightness increase in the dark area after filtering, and the boundary gradient changes. The smaller.
  • Step S1a2 For any backlight partition, according to the first backlight characteristic value of the backlight partition, The first backlight characteristic value of the adjacent partition of the backlight partition and the predetermined filter coefficient determine the updated first backlight characteristic value of the backlight partition.
  • the neighboring partitions include backlight partitions whose partition distance from the backlight partition is less than or equal to the partition distance threshold.
  • step S1a2 for any backlight partition of the backlight assembly, adjacent partitions of the backlight partition can be determined, that is, the backlight partition whose partition distance from the backlight partition is less than or equal to the preset partition distance threshold p, where p is An integer greater than or equal to 1.
  • the partition distance can be defined as the number of partitions spaced between backlight partitions + 1, and the partition distance between adjacent backlight partitions is 1.
  • the partition distance threshold p can be set to 1, for example, that is, the 8 backlight partitions around the backlight partition are regarded as adjacent partitions, plus the backlight partition itself, a total of 9 backlight partitions of 3*3; the partition distance threshold p can be For example, set to 2, that is, the 24 backlight partitions around the backlight partition are regarded as adjacent partitions, plus the backlight partition itself, for a total of 25 backlight partitions of 5*5.
  • This disclosure does not limit the specific value of the partition distance threshold.
  • the backlight partition and its adjacent partitions may be filtered, that is, (2p+1)*(2p+1) backlight partitions centered on the backlight partition may be filtered.
  • step S1a2 may include:
  • Step S1a21a Determine the second backlight characteristic value of the adjacent partition based on the first backlight characteristic value and the filter coefficient of the adjacent partition.
  • Step S1a22a Determine the maximum value among the first backlight characteristic value of the backlight partition and the second backlight characteristic value of each adjacent partition as the updated first backlight characteristic value of the backlight partition.
  • the first backlight characteristic value of each adjacent partition of the backlight partition can be multiplied by the filter coefficient Q to obtain the second backlight characteristic value of each adjacent partition of the backlight partition. Then, the maximum value is selected from the second backlight characteristic value of each adjacent partition and the first backlight characteristic value of the backlight partition as the filtered first backlight characteristic value of the backlight partition (i.e., the updated first backlight characteristic value) .
  • determine the first backlight characteristic value of the backlight partition numbered 5 in Figure 4a with The volume process is as follows: first, multiply the first backlight feature values a, b, c, d, f, g, h, i in Figure 4b by the filter coefficient Q respectively to obtain the second backlight feature value a*Q, b *Q, c*Q, d*Q, f*Q, g*Q, h*Q, i*Q; then, select a*Q, b*Q, c*Q, d*Q, e, f* The maximum value among Q, g*Q, h*Q, and i*Q is used as the updated first backlight characteristic value of the backlight partition numbered 5.
  • the value range of the filter coefficient Q is [0,1]. Based on step S1a1, the filter coefficient Q can be dynamically adjusted according to the overall brightness and darkness of the target image. The dynamic adjustment of the filter coefficient Q is achieved through the previous step S1a1, which is beneficial to ensuring the simultaneous contrast of the target image.
  • step S1a may not include the aforementioned step S1a1, and the filter coefficient Q is a preset fixed value, for example, the value of Q is 0.6 or 0.7. Both of the above methods should fall within the protection scope of the present disclosure.
  • FIG. 6b is a flow chart of another optional implementation method of steps S114S1a22 in the embodiment of the present disclosure. As shown in Figure 6b, in some embodiments, step S1422S1a2 may include:
  • Step S1a21b Select a neighboring partition with the largest first backlight characteristic value from the neighboring partitions as the target neighboring partition, and determine the second backlight characteristic value of the target neighboring partition according to the first backlight characteristic value and filter coefficient of the target neighboring partition.
  • Step S1a22b Determine the larger value of the first backlight characteristic value of the backlight partition and the second backlight characteristic value of the target adjacent partition as the updated first backlight characteristic value of the backlight partition.
  • the specific process is as follows: First, from the first backlight feature values a, b, c, d, f in Figure 4b, Determine a maximum value among g, h, and i. Assuming that f is the maximum value, it indicates that the backlight partition numbered 6 is used as the target adjacent partition; then, the first backlight eigenvalue of the backlight partition numbered 6 is multiplied by the filter coefficient Q , obtain the second backlight feature value f*Q of the target adjacent partition; then, select the larger value of e and f*Q as the updated first backlight feature value of the backlight partition numbered 5.
  • the updated first backlight characteristic value of the backlight partition obtained through steps S1a21a to step S1a22a is different from the updated first backlight characteristic value obtained through steps S1a21b to step S1a22b.
  • the first backlight characteristic value after the backlight partition is updated is the same.
  • filtering is generally performed based on the maximum value filtering or the minimum value of the backlight eigenvalues of adjacent partitions.
  • the maximum value filtering based on the backlight eigenvalues of adjacent partitions can ensure the brightness details of the image but the contrast is poor.
  • the minimum value filtering of the partitioned backlight eigenvalues can ensure the contrast of the image but the brightness details are poor.
  • the filter coefficient Q is introduced in the present disclosure, and the first backlight characteristic value of the backlight partition and the maximum second backlight characteristic value of the adjacent partition (the first backlight characteristic value of the adjacent partition are multiplied by the filter coefficient Q ) is compared, and filtering is performed based on the comparison results, which can effectively balance the brightness details and contrast of the image.
  • the filter coefficient Q can follow the change of the brightness and darkness feature values, the dynamic balance adjustment of the brightness details and contrast of the meter image can be achieved.
  • the backlight assembly includes a driving component and a plurality of backlight partitioned backlights.
  • the driving component is, for example, a driving chip
  • the backlight is, for example, a Mini-LED lamp.
  • step S12 includes:
  • Step S121 Determine the drive adjustment coefficient according to the feature value of the brightness and darkness degree.
  • the drive adjustment coefficient W satisfies: 0 ⁇ W ⁇ 1.
  • the driving adjustment coefficient W is positively correlated with the brightness and darkness feature values. That is to say, the larger the brightness and darkness feature value is, the larger the drive adjustment coefficient W is. The specific principle will be described in detail later.
  • the drive adjustment coefficient W is:
  • W represents the driving adjustment coefficient
  • F 0 represents the brightness and darkness feature value
  • i max represents the preset maximum pixel gray level
  • m is the preset constant coefficient and m ⁇ 2.
  • the drive adjustment coefficient W calculated through step S121 satisfies: And the larger the brightness and darkness feature value is, the larger the drive adjustment coefficient W is. That is to say, the brighter the overall brightness of the target image is, the larger the driving adjustment coefficient W is; the darker the overall brightness of the target image is, the smaller the driving adjustment coefficient W is.
  • the brighter the overall brightness of the target image (the greater the feature value of brightness and darkness), the greater the required backlight brightness.
  • setting the drive adjustment coefficient larger can make the subsequent mapped The larger the backlight drive value.
  • the darker the overall brightness of the target image (the smaller the brightness characteristic value), the smaller the backlight brightness required.
  • setting the drive adjustment coefficient smaller can make the subsequent mapped backlight drive value smaller.
  • Step S122 For any backlight partition, determine the backlight drive value of the backlight partition according to the first backlight characteristic value of the backlight partition and the predetermined drive adjustment coefficient.
  • B drive represents the backlight drive value of the backlight partition
  • BL 2 represents the first backlight characteristic value of the backlight partition
  • W represents the drive adjustment coefficient
  • i max represents the preset maximum pixel gray level
  • I max represents The default maximum backlight gray level.
  • the essence of the first backlight characteristic value of the backlight partition is to use the pixel gray level to represent the brightness and darkness of the backlight partition, and the value ranges of the pixel gray level and the backlight gray level in the system are generally Different, as an example, the pixel gray level of the pixel is represented by 10 bits, and the backlight gray level of the backlight area is represented by 14 bits.
  • the value range of the pixel gray level is [0, 2 10 -1]
  • the value range of the backlight gray level is [0, 2 14 -1]
  • the first backlight feature value of the backlight partition needs to be mapped to the corresponding backlight drive value. At this time, it can also be regarded as converting a 10-bit data into a 14-bit data.
  • a drive adjustment coefficient is also introduced to help ensure the sequential contrast of the target image.
  • the value range of the driving adjustment coefficient W is Based on step S121, the drive adjustment coefficient W can be dynamically adjusted according to the overall brightness and darkness of the target image, and the drive adjustment coefficient W is defined to be within values between, because That is, the value of the drive adjustment coefficient W is always greater than 1/2, which can effectively avoid the problem that the backlight drive value for determining the backlight partition is too small due to the value of the drive adjustment coefficient W being too small, and the final backlight brightness is too dark.
  • step S12 may not include the aforementioned step S121, and the driving adjustment coefficient W is a preset fixed value.
  • the driving adjustment coefficient W is a preset fixed value.
  • the value of the adjustment coefficient W is generally set to be greater than or equal to 0.5; for example, the value of W is 0.9 or 0.95. Both of the above methods should fall within the protection scope of the present disclosure.
  • the backlight light emitted by adjacent partitions will affect each other during the projection and diffusion process of the liquid crystal panel in the backlight cavity, and the actual backlight distribution of each backlight partition is not equal to the first backlight characteristic value. If the influence of light diffusion is not considered and pixel compensation is performed directly based on the extracted first backlight feature value, not only will the image information not be accurately reproduced, but an obvious block effect will also occur. At the same time, light diffusion will cause crosstalk, causing the brightness of the bright area to decrease. The brightness of dark areas is enhanced, affecting the display effect.
  • the first backlight characteristic value can be used to drive the backlight assembly to emit backlight on the one hand, and on the other hand Aspects can be used to perform backlight simulations to compensate for images.
  • step S13 includes:
  • Step S131 For any backlight partition, determine the backlight diffusion characteristic value of the backlight partition based on the first backlight characteristic value of the backlight partition, the first backlight characteristic value of the diffusion partition of the backlight partition, and the diffusion factor of the diffusion partition of the backlight partition.
  • the diffusion partition includes a backlight partition whose partition distance from the backlight partition is less than or equal to a diffusion distance threshold.
  • Step S132 According to the backlight diffusion characteristic values of multiple backlight partitions, a preset interpolation algorithm is used to obtain the pixel backlight characteristic value of each pixel point of the target image.
  • Step S133 For any pixel, use nonlinear pixel compensation to determine the compensation factor of the pixel according to the pixel backlight characteristic value of the pixel.
  • Step S134 Compensate the pixel gray level of each sub-pixel in the first pixel data of each pixel point according to the compensation factor to obtain the second pixel data of the pixel point.
  • the diffusion partition of the backlight partition can be determined.
  • the diffusion partition includes a backlight partition whose partition distance from the backlight partition is less than or equal to the diffusion distance threshold q, where q is an integer greater than 1.
  • the diffusion distance threshold q can, for example, take a value of 3, 4, 5, etc., and the present disclosure does not limit the specific value of the diffusion distance threshold q.
  • the first backlight characteristic value of each diffusion partition can be multiplied by the diffusion factor of the diffusion partition, and then the multiplication result of each diffusion partition (the first backlight characteristic value of the diffusion partition) The product of the value and the corresponding diffusion factor) and the first backlight characteristic value of the backlight partition are accumulated to obtain the backlight diffusion characteristic value of the backlight partition.
  • the backlight diffusion simulation process is similar to the convolution process, and it can be called a convolution diffusion model.
  • Figure 9a is a schematic diagram of a backlight partition and its corresponding diffusion partitions in an embodiment of the present disclosure.
  • Figure 9b is a schematic diagram of the diffusion factors of the backlight partition and its corresponding diffusion partitions shown in Figure 9a.
  • the diffusion distance threshold 4
  • backlight diffusion simulation is performed on 9*9 backlight partitions centered on the backlight partition numbered e5, including a1 ⁇ a9, b1 ⁇ b9, c1 ⁇ c9 , d1 ⁇ d9, e1 ⁇ e9, f1 ⁇ f9, g1 ⁇ g9, h1 ⁇ h9, i1 ⁇ i9; as shown in Figure 9b
  • the diffusion factors of these 9*9 backlight partitions are P1-P81.
  • the diffusion factor P41 of the backlight partition numbered e5 currently being processed is 1.
  • the diffusion factor may be a value measured in advance by experiments and is determined by the screen characteristics of the display device.
  • those skilled in the art can set the diffusion distance threshold according to the value of the diffusion factor. When the diffusion distance threshold value is larger, the result is more accurate, but the calculation amount increases; when the diffusion distance threshold value is smaller, the result accuracy decreases, but the calculation amount also decreases. It should be understood that those skilled in the art can set the diffusion distance threshold according to actual conditions, and this disclosure does not limit this.
  • the diffusion process of backlight light can be simulated, so that the backlight diffusion characteristic value of each backlight partition is closer to the actual backlight brightness, thereby reducing the block effect of the backlight partition and improving the display effect.
  • the backlight partition at the edge of the display device that is, with the display Backlight partitions whose distance from the edge of the device is smaller than the diffusion distance threshold q have a smaller number of diffusion partitions.
  • the calculated backlight diffusion characteristic value of the backlight partition at the edge is too small.
  • the edge partition that does not fully satisfy the convolution diffusion model and fully satisfies the convolution The image of the normal partition of the diffusion model shows obvious demarcation phenomenon, and the display effect becomes worse.
  • the number of backlight partitions can be expanded to increase the backlight diffusion characteristic value of the backlight diffusion simulation for the edge backlight partitions.
  • Figure 11 is a flow chart of another optional implementation method of step S13 in the embodiment of the present disclosure. As shown in Figure 11, in some embodiments, before step S131, it also includes:
  • Step S130 Determine the location and number of virtual partitions outside the plurality of backlight partitions according to the preset diffusion distance threshold, and determine the extended backlight characteristic value of each virtual partition according to the first backlight characteristic values of the plurality of backlight partitions. .
  • the essence of the extended backlight characteristic value of the virtual partition is the first backlight characteristic value of the virtual partition.
  • the number of backlight partitions can be expanded according to the preset diffusion distance threshold q in step S130 to determine the virtual partitions that need to be expanded. location and quantity.
  • FIG. 12 is a schematic diagram of extending the backlight partition to obtain a virtual partition in an embodiment of the present disclosure.
  • the area where the unexpanded backlight partition is located is area 1, including M*N Backlight partitions, M and N are integers greater than 1.
  • M*N Backlight partitions M and N are integers greater than 1.
  • N*q virtual partitions in area 2 M*q virtual partitions in area 3, and q*q virtual partitions in area 4 can be determined respectively. In this way, each edge of the backlight assembly is expanded respectively.
  • the extended backlight characteristic value of each virtual partition may be determined in step S130 in a manner that mirrors the first backlight characteristic value of the backlight partition near the edge according to the first backlight characteristic value of each backlight partition.
  • the specific description of the mirroring method is as follows:
  • the first backlight characteristic value of column 3 the first backlight characteristic value of column 2 of mirror area 1 of column 4.
  • the corresponding first backlight characteristic value, the first backlight characteristic value corresponding to the four partitions B53, B43, B33, and B23 of the mirror area 1 in the third column, and the four partitions B52, B42, B32, and B22 of the mirror area 1 in the fourth column The corresponding first backlight characteristic value.
  • Row 3, column 4 mirror the first backlight characteristic value of row 2 of area 1.
  • the mirror compensation method for other edge positions is similar to the above method.
  • the first backlight characteristic values of the partitions in each area can be stored separately.
  • BRAM Block RAM
  • area 1, area 2, area 3, and area 4 are each stored in one BRAM. In this way, a total of 9 BRAMs store data, forming the first backlight characteristic values of (M+2q)*(N+2q) partitions.
  • step S131 if the partition distance between the backlight partition to be processed and the edge of the display device is less than the diffusion distance threshold, the first backlight feature value of the backlight partition, the diffusion partition of the backlight partition can be The first backlight characteristic value, the extended backlight characteristic value of the virtual partition whose partition distance from the backlight partition is less than or equal to the diffusion distance threshold, and the corresponding diffusion partition and diffusion factor of the virtual partition determine the backlight diffusion characteristic value of the backlight partition .
  • step S131 backlight diffusion simulation can be performed on (2q+1)*(2q+1) backlight partitions centered on the backlight partition.
  • the first backlight characteristic value of the backlight partition, the first backlight characteristic value of the diffusion partition of the backlight partition, and the extended backlight characteristic value of the virtual partition whose partition distance between the backlight partition is less than or equal to the diffusion distance threshold are , multiplied by the diffusion factors of the corresponding diffusion partitions and virtual partitions, and then accumulating each multiplication result and the first backlight characteristic value of the backlight partition to obtain the backlight diffusion characteristic value of the backlight partition.
  • the backlight diffusion characteristic value after simulating the edge partition backlight can be improved, and the accuracy of the backlight simulation can be improved.
  • FIG. 13 is a schematic diagram of a frame of a backlight assembly in an embodiment of the present disclosure.
  • the backlight assembly is provided on the backplane.
  • a frame is provided on the side of the backlight assembly, and a reflective sheet is provided on the frame to reflect the light emitted to the reflective sheet onto the display assembly. Therefore, without correcting the backlight When the partitions are expanded, the backlight diffusion characteristic value calculated for the edge backlight partition is smaller.
  • the above-mentioned direct mirroring expansion method can be considered as a case where the reflectivity of the reflective sheet is 1.
  • the reflectivity of reflective sheets is usually less than 1.
  • influence factors can be set for each virtual partition to further improve the accuracy of backlight diffusion simulation.
  • the extended backlight characteristic values of each virtual partition may be determined based on the first backlight characteristic values of the multiple backlight partitions and the influence factors of each virtual partition. .
  • the impact factor is related to the reflectivity of the side of the backlight assembly.
  • the impact factor is related to the reflectivity of the sides of the backlight assembly.
  • the impact factor of the virtual partition can be calculated based on the reflectivity of the side of the backlight component, or can be determined through actual testing.
  • the same impact factor can be set for each virtual partition, or different impact factors can be set for each virtual partition. This disclosure does not limit the specific determination method or setting method of the impact factor.
  • the backlight partition corresponding to each virtual partition may be determined by mirroring the first backlight characteristic value of the backlight partition near the edge. This mirroring process will not be described again.
  • the first backlight characteristic value of the backlight partition corresponding to the virtual partition is multiplied by the influence factor of the virtual partition, and the result is used as the extended backlight characteristic value of the virtual partition. Therefore, the extended backlight characteristic value of each virtual partition can be determined.
  • the backlight brightness of the virtual partition can be determined based on the influence factor, further improving the accuracy of the backlight diffusion simulation, thereby improving the display effect of the compensated image.
  • the above-mentioned backlight simulation can effectively remove the blocking effect and make the transition between different partitions of the image smoother.
  • the pixel backlight characteristic value of each pixel in the backlight partition can be further calculated.
  • the backlight diffusion characteristic value of the pixels in each backlight partition can be calculated by using a preset interpolation algorithm in step S142. Light is simulated to obtain the pixel backlight characteristic value of each pixel of the target image.
  • FIG 14 is a flow chart of an optional implementation method of step S132 in an embodiment of the present disclosure. As shown in Figure 14, in some embodiments, step S132 includes:
  • Step S1321 For any target area, determine the pixel backlight characteristic values of the vertex pixels of the target area according to the backlight diffusion characteristic values of the covered 2*2 backlight partitions.
  • the target area is an area with the center of the covered 2*2 backlight partitions as the vertex, and the size is the same as the size of the backlight partition.
  • Step S1322 According to the second backlight brightness value of the vertex pixel of the target area, use a preset interpolation algorithm to perform interpolation processing on each pixel in the target area to obtain the pixel backlight characteristic value of each pixel in the target area.
  • the target area is an area with the center point of the backlight partition as a vertex and the same size as the backlight partition.
  • FIG. 15 is a schematic diagram of selecting a target area from four adjacent backlight partitions in an embodiment of the present disclosure.
  • each backlight partition B1, B2, B3, and B4 corresponds to 4*4 pixel points a1 ⁇ a16, b1 ⁇ b16, c1 ⁇ c16, d1 ⁇ d16.
  • the four backlight partitions B1, B2, B3, The midpoint connection of B4 defines a target area C1.
  • the four vertex pixels of the target area C1 are pixel point a11, pixel point b10, pixel point c7 and pixel point d6 respectively.
  • the pixel backlight characteristic value of pixel point a11 is the backlight diffusion characteristic value of the backlight partition B1 to which it belongs
  • the pixel backlight characteristic value of pixel point b10 is the backlight diffusion characteristic value of the backlight partition B2 to which it belongs
  • the pixel backlight characteristic value of pixel point c7 is The characteristic value is the backlight diffusion characteristic value of the backlight partition B3 to which it belongs
  • the pixel backlight characteristic value of the pixel point d6 is the backlight diffusion characteristic value of the backlight partition B4 to which it belongs.
  • a 2*2 matrix is generated based on the pixel backlight characteristic values of the four vertex pixel points a11, b10, c7, and d6.
  • the above 2*2 matrix is interpolated through the preset interpolation algorithm and a 4*
  • the 4*4 matrix corresponds to the 4*4 pixels in the target area C1, thereby obtaining the pixel backlight characteristic values of the 4*4 pixels in the target area C1.
  • the preset interpolation algorithm is a bilinear interpolation algorithm.
  • the four vertex pixel points a11, b10, c7, and d6 in the target area C1 are mapped to the plane rectangular coordinate system (the abscissa is represented by x, the ordinate is represented by y), and the corresponding coordinates are respectively set Defined as (0,1), (1,1), (0,0), (1,0), the area defined by these four coordinate points is SQ1.
  • the pixel backlight feature value f(x0, y0) corresponding to any point (x0, y0) in the area SQ1 is:
  • f(x0,y0) f(0,0)*(1-x0)*(1-y0)+f(1,0)*x0*(1-y0)+f(0,1)*(1 -x0)*y0+f(1,1)*x0*y0
  • 0 ⁇ x0 ⁇ 1, 0 ⁇ y0 ⁇ 1; the values of f(0,0), f(1,0), f(0,1), and f(1,1) are respectively the vertex pixel point c7
  • the above process of interpolating a 2*2 matrix through the bilinear interpolation algorithm and generating a 4*4 matrix can be regarded as solving the coordinates (0,0), (1/3, 0), (2/ 3,0), (1,0), (0,1/3), (1/3,1/3), (2/3,1/3), (1,1/3), (0, 2/3), (1/3, 2/3), (2/3, 2/3), (1, 2/3), (0,1), (1/3, 1), (2/ The process of pixel backlight characteristic value corresponding to 3,1) and (1,1).
  • the pixel backlight characteristic value of each pixel in the target area C1 is determined according to the obtained matrix.
  • the pixel backlight characteristic value of pixel point c4 in Figure 15 is f (1/3, 1/3)
  • the pixel backlight characteristic value of pixel point b14 in Figure 15 is f (1, 2/3).
  • the portion beyond the edge can be zero-padded or mirrored.
  • the mirroring method is similar to the method described above.
  • the target area at the edge of the display device is also interpolated through a preset interpolation algorithm to obtain the pixel backlight characteristic values of all pixels in the target area. This disclosure does not limit the specific processing method of the portion beyond the edge.
  • the backlight simulation of each pixel can be realized, further improving the accuracy of the backlight simulation, thereby making the entire image smoother and achieving better image display effects.
  • the first pixel data of each pixel point of the target image can be compensated respectively through step S133 and step S134, to obtain The compensated second pixel data.
  • Linear pixel compensation is easy to implement and has low computational complexity, but it is not good at processing high-brightness images. If the backlight brightness is low, it will not only amplify the noise of the image itself, but also cause a halo phenomenon due to excessive compensation, resulting in the loss of image details after compensation and worsening of the image display effect.
  • a non-linear pixel compensation method may be adopted. Specifically, in step S133, the compensation factor of the pixel point is determined through non-linear pixel compensation, and in step S134, based on the determined compensation factor, the pixels of each sub-pixel in the first pixel data of each pixel point are calculated. The gray level is compensated to obtain the second pixel data of the pixel.
  • non-linear pixel compensation can be used to determine the compensation factor of the pixel.
  • the formula is expressed as follows:
  • factor (u, v) represents the compensation factor of pixel (u, v);
  • BL pix (u, v) represents the pixel backlight characteristic value of pixel (u, v);
  • BL base is the actual The test constant, for example, the value of BL base is the preset maximum pixel gray level i max ; ⁇ 1 is a fixed value, for example, the value is 2.2.
  • the pixels can be compensated directly according to the compensation factor obtained by formula (7).
  • the compensation factor calculated by formula (7) (called the first compensation factor) and the maximum compensation factor corresponding to the pixel (called the second compensation factor) can also be used. Compare and select the smaller of the first compensation factor and the second compensation factor as the final compensation factor of the pixel to avoid overflow of the pixel gray level value after the pixel is compensated.
  • step S133 includes:
  • Step S1331 Determine the first compensation factor of the pixel using nonlinear pixel compensation according to the pixel backlight characteristic value of the pixel.
  • Step S1332 Determine the second compensation factor of the pixel according to the first pixel data of the pixel.
  • Step S1333 Determine the smaller of the first compensation factor and the second compensation factor as the compensation factor of the pixel.
  • step S1331 the first compensation factor of the pixel can be obtained through formula (7).
  • step S1332 first determine the pixel gray level of the pixel (the maximum value of the pixel gray level in the sub-pixels included in the pixel) based on the first pixel data of the pixel, and then use the preset maximum pixel gray level A division operation is performed with the pixel gray level i max of the pixel, and the operation result is used as the second compensation factor (representing the maximum compensation factor that can be configured for the pixel).
  • step S1333 the smaller one of the first compensation factor obtained in step S1331 and the second compensation factor obtained in step S1332 is selected as the final compensation factor of the pixel point.
  • step S134 the pixel gray level of each sub-pixel in the first pixel data of each pixel point is compensated to obtain the second pixel data of the pixel point.
  • the pixel gray level of each sub-pixel in the first pixel data of the pixel point can be multiplied by the compensation factor obtained in step S133 to compensate the pixel gray level of each sub-pixel, thereby Obtain the second pixel data of the pixel.
  • FIG 17 is a flow chart of another display control method provided by an embodiment of the present disclosure. As shown in Figure 17, what is different from the display control method provided in the previous embodiment is that after step S13, it also includes:
  • Step S14 When the display conditions of the target image are met, the backlight driving values of the multiple backlight partitions and the second pixel data of each pixel point are simultaneously input into the driving component and the display component respectively.
  • the backlight driving values of multiple backlight partitions and the second pixel data of each pixel point are input into the driving component and the display component respectively, so that the driving component drives the backlight lamps of the multiple backlight partitions.
  • the backlight corresponding to the target image is emitted, and the display component displays the target image.
  • the backlight data (the backlight driving value of each backlight area) and the pixel data (the second pixel data of each pixel) corresponding to the same target image are simultaneously sent to the backlight component and the display component respectively to ensure that the backlight Matching of data to pixel data.
  • the display condition of the target image may include, for example: the row synchronization signal VX, the column synchronization signal HX, the data valid signal DE, etc. corresponding to the target image are all valid.
  • Various corresponding signals can be determined according to the frame identification ID and other information of the target image; the display conditions of the target image can be set according to the display mode of the display device. This disclosure does not limit the specific content of the display conditions.
  • the display control method according to the embodiment of the present disclosure can be applied to various display systems, especially large-screen or ultra-large-screen high-definition display systems.
  • Mini_LED backlight display systems regional dynamic backlight control is adopted, through grayscale partitioning. Feature extraction, filtering, backlight diffusion convolution, interpolation to obtain pixel backlight characteristic values, pixel compensation and other operations can improve the quality of the display system's display screen, improve the contrast of the display screen, significantly reduce the power consumption of the display system, and be able to compare Completely retain image details and achieve better visual effects.
  • FIG. 18 is a structural block diagram of a display control device provided by an embodiment of the present disclosure. As shown in Figure 18, the display Controls include:
  • the brightness and darkness acquisition module 10 is used to acquire the brightness and darkness feature values of the target image, and the brightness and darkness feature values represent the brightness and darkness of the target image.
  • the backlight feature determination module 11 is used to extract the partition features of the pixels of the target image according to the pixel gray levels corresponding to the multiple backlight partitions of the backlight component of the display device, and extract the partition features and the brightness level according to the partition feature extraction results
  • the characteristic value determines a first backlight characteristic value of the plurality of backlight partitions.
  • the drive value determination module 13 is configured to determine the backlight drive value of each backlight partition according to the first backlight characteristic values of the plurality of backlight partitions, so that the backlight assembly emits backlight corresponding to the target image based on the backlight drive value.
  • the compensation module 14 is used to respectively compensate the first pixel data of each pixel point of the target image according to the first backlight characteristic values of the plurality of backlight partitions, and obtain the compensated second pixel data for use by the display component of the display device.
  • the target image is displayed based on the second pixel data.
  • Figure 19 is a structural block diagram of another display control device provided by an embodiment of the present disclosure. As shown in FIG. 19 , the display control device shown in FIG. 19 is a specific optional implementation based on the pixel control device shown in FIG. 18 .
  • the pixel control device further includes: a filter module 12; wherein the filter module 12 is used to filter the first backlight characteristic values of multiple backlight partitions to obtain updated first backlight characteristic values of each backlight partition.
  • the brightness and darkness acquisition module 10 is specifically configured to determine the brightness and darkness feature values of the target image according to the first pixel data of each pixel point in the target image.
  • the brightness level acquisition module 10 includes a histogram generation unit 101a and a brightness level acquisition unit 102a.
  • the histogram generating unit 101a is specifically configured to generate a grayscale histogram of the target image based on the pixel grayscale of each sub-pixel included in the first pixel data of each pixel point in the target image.
  • the brightness level acquisition unit 102a is specifically configured to determine the brightness and darkness feature values of the target image based on the grayscale histogram.
  • the brightness level acquisition unit 102a is specifically configured to determine, based on the number of pixel points of each pixel gray level recorded in the grayscale histogram, the brightness level acquisition unit 102a that satisfies the The minimum N value is taken, and the determined N is used as the brightness feature value.
  • N is an integer and 0 ⁇ N ⁇ i max
  • i max represents the preset maximum pixel gray level
  • t i represents the number of pixels with pixel gray level i recorded in the grayscale histogram
  • T represents the target image.
  • S represents the preset proportion threshold, 0.5 ⁇ S ⁇ 1.
  • the backlight feature determination module 11 includes: a partition feature extraction unit 111, a weighting coefficient determination unit 112, and a first backlight feature value calculation unit 113.
  • the partition feature extraction unit 111 is used for determining the pixels of each pixel in each backlight partition according to the pixel gray level of each pixel in the backlight partition of the target image for any of the backlight partitions.
  • the first feature representative value and the second feature representative value of the gray level are used as the partition feature extraction results, wherein the first feature representative value is smaller than the second feature representative value.
  • the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the average value of the pixel gray level of the pixel point in the backlight partition; the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition The second characteristic representative value is the maximum value of the pixel gray level of the pixel in the backlight partition.
  • the weighting coefficient determination unit 112 is used to determine the weighting coefficient P according to the feature value of the brightness and darkness degree; wherein the weighting coefficient is negatively correlated with the feature value of the brightness and darkness degree.
  • the weighting coefficient P determined according to the feature value of the brightness and darkness is:
  • i max represents the preset maximum pixel gray level
  • F 0 represents the feature value of lightness and darkness
  • the first backlight characteristic value calculation unit 113 is configured to determine, for any backlight partition, the third characteristic value of the backlight partition according to the weighting coefficient and the first characteristic representative value and the second characteristic representative value of the pixel gray level of the pixel in the backlight partition.
  • a backlight characteristic value; BL 1 (1-P) ⁇ BLR 1 +P ⁇ BLR 2
  • BL 1 is the first backlight characteristic value of the backlight partition
  • P is the weighting coefficient
  • BLR 1 is the first characteristic representative value of the pixel gray level of all pixels in the backlight partition
  • BLR 2 is the pixel gray of all pixels in the backlight partition.
  • the second eigenvalue of degree level represents the value.
  • the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the average value of the pixel gray level of the pixel point in the backlight partition; the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition The second characteristic representative value is the maximum value of the pixel gray level of the pixel in the backlight partition.
  • the filtering module 12 includes: a filter coefficient determination unit 121 and a filter processing unit 122.
  • the filter coefficient determining unit 121 is used to determine the filter coefficient Q according to the feature value of the brightness and darkness degree; wherein the filter coefficient is positively correlated with the feature value of the brightness and darkness degree.
  • the filter coefficient Q determined according to the feature value of the brightness and darkness is:
  • i max represents the preset maximum pixel gray level
  • F 0 represents the feature value of lightness and darkness
  • the filter processing unit 122 is configured to determine, for any backlight partition, the updated first backlight of the backlight partition based on the first backlight characteristic value of the backlight partition, the first backlight characteristic value of adjacent partitions of the backlight partition, and a predetermined filter coefficient. Feature value; wherein the neighboring partitions include backlight partitions whose partition distance from the backlight partition is less than or equal to the partition distance threshold.
  • the filter processing unit 122 is specifically configured to first The backlight characteristic value and the filter coefficient are used to determine the second backlight characteristic value of the adjacent partition, and the maximum value of the first backlight characteristic value of the backlight partition and the second backlight characteristic value of each adjacent partition is determined as the updated backlight partition.
  • the filter processing unit 122 is specifically configured to select a neighboring partition with the largest first backlight feature value from the neighboring partitions as the target neighboring partition, and determine the first backlight characteristic value of the target neighboring partition according to the first backlight characteristic value and the filter coefficient of the target neighboring partition. 2.
  • Backlight characteristic values determine the larger value of the first backlight characteristic value of the backlight partition and the second backlight characteristic value of the target adjacent partition as the first backlight characteristic value after the backlight partition is updated.
  • the driving value determination module 13 includes: an adjustment coefficient determination unit 131 and a driving value calculation unit 132.
  • the adjustment coefficient determining unit 131 is used to determine the driving adjustment coefficient W according to the brightness and darkness characteristic values, where the driving adjustment coefficient W is positively correlated with the brightness and darkness characteristic values.
  • the driving adjustment coefficient W determined according to the feature value of the brightness and darkness is:
  • F 0 represents the feature value of lightness and darkness
  • i max represents the preset maximum pixel gray level
  • m is the preset constant coefficient and m ⁇ 2.
  • the drive value calculation unit 132 is configured to, for any backlight partition, determine the backlight drive value of the backlight partition according to the first backlight characteristic value of the backlight partition and the predetermined drive adjustment coefficient;
  • B drive represents the backlight drive value of the backlight partition
  • BL 2 represents the first backlight characteristic value of the backlight partition
  • W represents the drive adjustment coefficient
  • i max represents the preset maximum pixel gray level
  • I max represents the preset maximum backlight gray level. class.
  • m takes a value of 5.
  • the backlight assembly includes a driving component and backlight lamps of multiple backlight partitions
  • the display control device further includes: a driving value sending module 15 and a pixel data sending module 16 .
  • the driving value sending module 15 is configured to input the backlight driving values of the plurality of backlight partitions to the driving component when the display conditions of the target image are met.
  • the pixel data sending module 16 is used to input the second pixel data of each pixel point to the display component when the display conditions of the target image are met.
  • the compensation module 14 includes: a backlight diffusion simulation unit 141, an interpolation processing unit 142, a compensation factor determination unit 143, and a compensation unit 144.
  • the backlight diffusion simulation unit 141 is used for determining the backlight partition for any backlight partition according to the first backlight characteristic value of the backlight partition, the first backlight characteristic value of the diffusion partition of the backlight partition, and the diffusion factor of the diffusion partition of the backlight partition.
  • the backlight diffusion characteristic value wherein the diffusion partition includes a backlight partition whose partition distance from the backlight partition is less than or equal to the diffusion distance threshold.
  • the interpolation processing unit 142 is configured to use a preset interpolation algorithm to obtain the pixel backlight characteristic value of each pixel point of the target image according to the backlight diffusion characteristic values of the multiple backlight partitions.
  • the compensation factor determination unit 143 is used for determining the compensation factor of any pixel point by using non-linear pixel compensation according to the pixel backlight characteristic value of the pixel point.
  • the compensation unit 144 is used to compensate the pixel gray level of each sub-pixel in the first pixel data of each pixel point according to the compensation factor to obtain the second pixel data of the pixel point.
  • FIG. 20 is a structural block diagram of a display device provided by an embodiment of the present disclosure.
  • the display device includes: a backlight component 71 , a display component 72 and a display control device 73 .
  • the display control device adopts the display control device provided in the above embodiment.
  • the display control device is connected to the backlight component and the display component respectively, and is used to control the display according to the purpose to be displayed.
  • the target image is determined, the backlight drive value and the compensated second pixel data of the target image in multiple backlight partitions are determined, the backlight drive value is input to the backlight component, and the compensated second pixel data is input to the display component.
  • the backlight assembly includes a driving component and a plurality of backlight partitions.
  • the driving component is used to drive the multiple backlight partitions to emit backlight according to the backlight driving values of the multiple backlight partitions.
  • the display component is used for displaying according to the input second pixel data.
  • the display control device 73 may be a field programmable gate array FPGA or other types of logic devices, which is not limited by this disclosure.
  • Figure 21 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • an embodiment of the present disclosure provides an electronic device including: one or more processors 101, a memory 102, and one or more I/O interfaces 103.
  • One or more programs are stored on the memory 102.
  • the one or more processors implement the display control method as in any of the above embodiments;
  • one One or more I/O interfaces 103 are connected between the processor and the memory, and are configured to realize information exchange between the processor and the memory.
  • the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.
  • the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically Such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH);
  • the I/O interface (read-write interface) 103 is connected between the processor 101 and the memory 102 , can realize information interaction between the processor 101 and the memory 102, which includes but is not limited to a data bus (Bus), etc.
  • processor 101 memory 102, and I/O interface 103 are connected to each other and, in turn, to other components of the computing device via bus 104.
  • the one or more processors 101 include a field programmable gate array FPGA.
  • a computer-readable medium stores a computer program, wherein when the program is executed by the processor, the above-mentioned implementation is realized.
  • the steps in the image display control method in any embodiment.
  • embodiments of the present disclosure include a computer program product including a computer program carried on a machine-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communications component, and/or installed from removable media.
  • CPU central processing unit
  • the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmd read-only memory (EPROM or flash memory), fiber optics, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the foregoing.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more components that implement the specified logical function(s). executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
  • the circuits or sub-circuits described in the embodiments of the present disclosure may be implemented in software or hardware.
  • the described circuit or sub-circuit can also be provided in a processor.
  • a processor including: a receiving circuit and a processing circuit.
  • the processing module includes a writing sub-circuit and a reading sub-circuit.
  • the names of these circuits or sub-circuits do not constitute a limitation on the circuit or sub-circuit itself under certain circumstances.
  • a receiving circuit can also be described as "receiving video signals".

Landscapes

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

Abstract

Provided is a display control method. The method comprises: acquiring a brightness degree feature value of a target image (S10), wherein the brightness degree feature value represents the brightness degree of the target image; performing partition feature extraction on pixel points of the target image according to pixel grayscale levels of pixel points corresponding to a plurality of backlight partitions of a backlight assembly of a display device, and determining first backlight feature values of the backlight partitions according to a partition feature extraction result and the brightness degree feature value (S11); determining a backlight driving value of each backlight partition according to the first backlight feature values of the plurality of backlight partitions (S12); and respectively compensating for first pixel data of each pixel point of the target image according to the first backlight feature values of the plurality of backlight partitions, so as to obtain second pixel data after compensation (S13). Further provided are a display control apparatus, a display device, an electronic device, and a computer-readable medium.

Description

显示控制方法及装置、显示设备、电子设备以及介质Display control method and device, display equipment, electronic equipment and media 技术领域Technical field
本公开属于显示技术领域,具体涉及一种显示控制方法、显示控制装置、显示设备、电子设备、计算机可读介质。The present disclosure belongs to the field of display technology, and specifically relates to a display control method, a display control device, a display device, an electronic device, and a computer-readable medium.
背景技术Background technique
随着LED(发光二极管)显示技术的不断发展,LED显示产品已经广泛应用于超大屏高清显示的众多商用领域,如监控指挥、高清演播、高端影院、医疗诊断、广告显示、会议会展、办公显示、虚拟现实等,实现了比较好的显示效果。With the continuous development of LED (light-emitting diode) display technology, LED display products have been widely used in many commercial fields of ultra-large screen high-definition display, such as monitoring and command, high-definition studio, high-end cinema, medical diagnosis, advertising display, conference and exhibition, and office display , virtual reality, etc., achieving better display effects.
发明内容Contents of the invention
第一方面,本公开实施例提供了一种显示控制方法,包括:In a first aspect, embodiments of the present disclosure provide a display control method, including:
获取目标图像的亮暗程度特征值,所述亮暗程度特征值表征所述目标图像的亮暗程度;Obtain the brightness and darkness feature value of the target image, and the brightness and darkness feature value represents the brightness and darkness degree of the target image;
根据显示设备的背光组件的多个背光分区所对应像素点的像素灰度级,对所述目标图像的像素点进行分区特征提取,并根据分区特征提取结果和所述亮暗程度特征值确定所述多个背光分区的第一背光特征值;According to the pixel gray levels of the pixels corresponding to the multiple backlight partitions of the backlight assembly of the display device, partition features are extracted from the pixels of the target image, and the partition features are determined based on the partition feature extraction results and the brightness and darkness feature values. first backlight characteristic values of the plurality of backlight partitions;
根据所述多个背光分区的第一背光特征值确定各所述背光分区的背光驱动值,以供所述背光组件基于所述背光驱动值发射对应于所述目标图像的背光;Determine the backlight drive value of each backlight partition according to the first backlight characteristic value of the plurality of backlight partitions, so that the backlight assembly emits backlight corresponding to the target image based on the backlight drive value;
根据所述多个背光分区的第一背光特征值,对所述目标图像的各个像素点的第一像素数据分别进行补偿,得到补偿后的第二像素数据,以供所述显示设备的显示组件基于所述第二像素数据显示所述目标图像。According to the first backlight characteristic values of the plurality of backlight partitions, the first pixel data of each pixel point of the target image is compensated respectively, and the compensated second pixel data is obtained for the display component of the display device The target image is displayed based on the second pixel data.
在一些实施例中,获取目标图像的亮暗程度特征值的步骤,包括:In some embodiments, the step of obtaining the feature value of the brightness and darkness of the target image includes:
根据目标图像中各像素点的第一像素数据确定目标图像的亮暗程度 特征值。Determine the brightness and darkness of the target image according to the first pixel data of each pixel in the target image Eigenvalues.
在一些实施例中,根据目标图像中各像素点的第一像素数据确定目标图像的亮暗程度特征值的步骤,包括:In some embodiments, the step of determining the feature value of the brightness and darkness of the target image based on the first pixel data of each pixel in the target image includes:
根据目标图像中各像素点的第一像素数据所包含的各子像素的像素灰度级生成所述目标图像的灰度直方图;Generate a grayscale histogram of the target image according to the pixel gray level of each sub-pixel included in the first pixel data of each pixel in the target image;
根据所述灰度直方图确定所述目标图像的亮暗程度特征值。The brightness and darkness feature values of the target image are determined according to the grayscale histogram.
在一些实施例中,所述根据所述灰度直方图确定所述目标图像的亮暗程度特征值的步骤,包括:In some embodiments, the step of determining the brightness and darkness feature values of the target image based on the grayscale histogram includes:
根据所述灰度直方图中所记载的各像素灰度级的像素点数量,确定出满足的最小N取值,并将确定出的N作为所述亮暗程度特征值;According to the number of pixel points of each pixel gray level recorded in the grayscale histogram, it is determined that the The minimum N value is taken, and the determined N is used as the feature value of the brightness and darkness degree;
其中,N为整数且0≤N≤imax,imax表示预设的最大像素灰度级,ti表示灰度直方图中所记载像素灰度级为i的像素点数量,T表示所述目标图像中像素点的数量,S表示预设的比例阈值,0.5≤S<1。Among them, N is an integer and 0≤N≤i max , i max represents the preset maximum pixel gray level, t i represents the number of pixels with a pixel gray level of i recorded in the grayscale histogram, and T represents the above The number of pixels in the target image, S represents the preset proportion threshold, 0.5≤S<1.
在一些实施例中,所述根据显示设备的背光组件的多个背光分区所对应像素点的像素灰度级,对所述目标图像的像素点进行分区特征提取的步骤包括:In some embodiments, the step of extracting partition features from the pixels of the target image based on the pixel gray levels of the pixels corresponding to the multiple backlight partitions of the backlight component of the display device includes:
针对任一所述背光分区,根据所述目标图像在所述背光分区内的各像素点的像素灰度级,确定各所述背光分区内像素点的像素灰度级的第一特征代表值和第二特征代表值,以作为所述分区特征提取结果,其中所述第一特征代表值小于所述第二特征代表值。For any of the backlight partitions, according to the pixel gray level of each pixel point in the backlight partition of the target image, determine the first characteristic representative value and the pixel gray level of the pixel point in each backlight partition. A second feature representative value is used as the partition feature extraction result, wherein the first feature representative value is smaller than the second feature representative value.
在一些实施例中,所述背光分区内像素点的像素灰度级的第一特征代表值,为所述所述背光分区内像素点的像素灰度级的平均值;In some embodiments, the first characteristic representative value of the pixel gray level of the pixels in the backlight partition is the average value of the pixel gray levels of the pixels in the backlight partition;
所述背光分区内像素点的像素灰度级的第二特征代表值,为所述背光分区内像素点的像素灰度级的最大值。 The second characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the maximum value of the pixel gray level of the pixel point in the backlight partition.
在一些实施例中,所述根据分区特征提取结果和所述亮暗程度特征值确定所述多个背光分区的第一背光特征值的步骤,包括:In some embodiments, the step of determining the first backlight feature values of the multiple backlight partitions based on the partition feature extraction results and the brightness and darkness feature values includes:
根据所述亮暗程度特征值确定出加权系数,所述加权系数与所述亮暗程度特征值呈负相关;A weighting coefficient is determined according to the feature value of the brightness and darkness degree, and the weighting coefficient is negatively correlated with the feature value of the brightness and darkness degree;
针对任一背光分区,根据所述加权系数以及所述背光分区内像素点的像素灰度级的第一特征代表值和第二特征代表值,确定出所述背光分区的第一背光特征值;
BL1=(1-P)×BLR1+P×BLR2
For any backlight partition, determine the first backlight characteristic value of the backlight partition according to the weighting coefficient and the first characteristic representative value and the second characteristic representative value of the pixel gray level of the pixel in the backlight partition;
BL 1 =(1-P)×BLR 1 +P×BLR 2
BL1为所述背光分区的第一背光特征值,P为所述加权系数,BLR1为所述背光分区内所有像素点的像素灰度级的第一特征代表值,BLR2为所述背光分区内所有像素点的像素灰度级的第二特征代表值。BL 1 is the first backlight characteristic value of the backlight partition, P is the weighting coefficient, BLR 1 is the first characteristic representative value of the pixel gray level of all pixels in the backlight partition, and BLR 2 is the backlight The second characteristic representative value of the pixel gray level of all pixels in the partition.
在一些实施例中,根据所述亮暗程度特征值所确定出的加权系数P为:
In some embodiments, the weighting coefficient P determined based on the brightness feature value is:
imax表示最大像素灰度级,F0表示所述亮暗程度特征值,0≤F0≤imaxi max represents the maximum pixel gray level, F 0 represents the characteristic value of the brightness and darkness, 0≤F 0 ≤i max ;
在一些实施例中,在根据分区特征提取结果和所述亮暗程度特征值确定各所述背光分区的第一背光特征值的步骤之后,且在根据所述多个背光分区的第一背光特征值确定各所述背光分区的背光驱动值的步骤以及在根据所述多个背光分区的第一背光特征值,对所述目标图像的各个像素点的第一像素数据分别进行补偿的步骤之前,还包括:In some embodiments, after the step of determining the first backlight characteristic value of each backlight partition according to the partition feature extraction result and the brightness feature value, and according to the first backlight characteristics of the plurality of backlight partitions Before the step of determining the backlight drive value of each backlight partition and the step of separately compensating the first pixel data of each pixel point of the target image according to the first backlight characteristic values of the plurality of backlight partitions, Also includes:
对所述多个背光分区的第一背光特征值进行滤波,得到各所述多个背光分区更新后的第一背光特征值。The first backlight characteristic values of the plurality of backlight partitions are filtered to obtain updated first backlight characteristic values of each of the plurality of backlight partitions.
在一些实施例中,所述对所述多个背光分区的第一背光特征值进行滤波,得到各所述背光分区更新后的第一背光特征值的步骤,包括:In some embodiments, the step of filtering the first backlight characteristic values of the plurality of backlight partitions to obtain the updated first backlight characteristic values of each of the backlight partitions includes:
针对任一背光分区,根据所述背光分区的第一背光特征值、所述背 光分区的邻近分区的第一背光特征值以及预先确定的滤波系数,确定所述背光分区更新后的第一背光特征值;For any backlight partition, according to the first backlight characteristic value of the backlight partition, the backlight The first backlight characteristic value of the adjacent partition of the light partition and the predetermined filter coefficient determine the updated first backlight characteristic value of the backlight partition;
其中,所述邻近分区包括与所述背光分区之间的分区距离小于或等于分区距离阈值的背光分区。Wherein, the adjacent partitions include backlight partitions whose partition distance from the backlight partition is less than or equal to a partition distance threshold.
在一些实施例中,在根据所述背光分区的第一背光特征值、所述背光分区的邻近分区的第一背光特征值以及预先确定的滤波系数,确定所述背光分区更新后的第一背光特征值的步骤之前,还包括:In some embodiments, the updated first backlight of the backlight partition is determined based on the first backlight characteristic value of the backlight partition, the first backlight characteristic value of an adjacent partition of the backlight partition, and a predetermined filter coefficient. Before the eigenvalue step, also include:
根据所述亮暗程度特征值确定出所述滤波系数,所述滤波系数与所述亮暗程度特征值呈正相关。The filter coefficient is determined according to the feature value of the brightness and darkness degree, and the filter coefficient is positively correlated with the feature value of the brightness and darkness degree.
在一些实施例中,根据所述亮暗程度特征值所确定出的所述滤波系数Q为:
In some embodiments, the filter coefficient Q determined according to the brightness feature value is:
imax表示预设的最大像素灰度级,F0表示所述亮暗程度特征值,0≤F0≤imaxi max represents the preset maximum pixel gray level, F 0 represents the feature value of the brightness and darkness, 0 ≤ F 0 ≤ i max .
在一些实施例中,根据所述背光分区的第一背光特征值、所述背光分区的邻近分区的第一背光特征值以及预先确定的滤波系数,确定所述背光分区更新后的第一背光特征值,包括:In some embodiments, the updated first backlight characteristic of the backlight partition is determined according to the first backlight characteristic value of the backlight partition, the first backlight characteristic value of an adjacent partition of the backlight partition, and a predetermined filter coefficient. Values, including:
根据所述邻近分区的第一背光特征值和所述滤波系数,确定所述邻近分区的第二背光特征值;Determine a second backlight characteristic value of the adjacent partition according to the first backlight characteristic value of the adjacent partition and the filter coefficient;
将所述背光分区的第一背光特征值以及各个所述邻近分区的第二背光特征值中的最大值,确定为所述背光分区更新后的第一背光特征值。The maximum value among the first backlight characteristic value of the backlight partition and the second backlight characteristic value of each adjacent partition is determined as the updated first backlight characteristic value of the backlight partition.
在一些实施例中,根据所述多个背光分区的第一背光特征值确定各所述背光分区的背光驱动值的步骤包括:In some embodiments, the step of determining the backlight driving value of each backlight partition according to the first backlight characteristic value of the plurality of backlight partitions includes:
针对任一背光分区,根据所述背光分区的第一背光特征值以及预先确定的驱动调整系数,确定所述背光分区的背光驱动值;
For any backlight partition, determine the backlight drive value of the backlight partition according to the first backlight characteristic value of the backlight partition and the predetermined drive adjustment coefficient;
Bdrive表示所述背光分区的背光驱动值,BL2表示所述背光分区的第一背光特征值,W表示所述驱动调整系数,imax表示预设的最大像素灰度级,Imax表示预设的最大背光灰度级。B drive represents the backlight drive value of the backlight partition, BL 2 represents the first backlight characteristic value of the backlight partition, W represents the drive adjustment coefficient, i max represents the preset maximum pixel gray level, and I max represents the preset Set the maximum backlight gray level.
在一些实施例中,在根据所述背光分区的第一背光特征值以及预先确定的驱动调整系数,确定所述背光分区的背光驱动值的步骤之前,还包括:In some embodiments, before the step of determining the backlight drive value of the backlight partition according to the first backlight characteristic value of the backlight partition and the predetermined drive adjustment coefficient, the method further includes:
根据所述亮暗程度特征值确定出驱动调整系数W,所述驱动调整系数W与所述亮暗程度特征值呈正相关。A driving adjustment coefficient W is determined according to the brightness and darkness characteristic value, and the driving adjustment coefficient W is positively correlated with the brightness and darkness characteristic value.
在一些实施例中,根据所述亮暗程度特征值所确定出的驱动调整系数W为:
In some embodiments, the driving adjustment coefficient W determined according to the brightness characteristic value is:
F0表示所述亮暗程度特征值,0≤F0≤imax,imax表示预设的最大像素灰度级,m为预设的常量系数且m≥2。F 0 represents the feature value of the brightness and darkness degree, 0≤F 0 ≤i max , i max represents the preset maximum pixel gray level, m is the preset constant coefficient and m≥2.
在一些实施例中,m取值为5。In some embodiments, m takes a value of 5.
在一些实施例中,所述背光组件包括驱动部件和所述多个背光分区的背光灯,所述方法还包括:In some embodiments, the backlight assembly includes a driving component and backlight lamps of the plurality of backlight partitions, and the method further includes:
在满足所述目标图像的显示条件的情况下,同时将所述多个背光分区的背光驱动值和所述各个像素点的第二像素数据分别输入所述驱动部件和显示组件。When the display conditions of the target image are met, the backlight driving values of the plurality of backlight partitions and the second pixel data of each pixel point are respectively input into the driving component and the display component at the same time.
在一些实施例中,所述根据所述多个背光分区的第一背光特征值,对所述目标图像的各个像素点的第一像素数据分别进行补偿,得到补偿后的第二像素数据的步骤,包括:In some embodiments, the step of separately compensating the first pixel data of each pixel point of the target image according to the first backlight characteristic values of the plurality of backlight partitions to obtain the compensated second pixel data ,include:
针对任一背光分区,根据所述背光分区的第一背光特征值、所述背 光分区的扩散分区的第一背光特征值以及所述背光分区的扩散分区的扩散因子,确定所述背光分区的背光扩散特征值;其中,所述扩散分区包括与所述背光分区之间的分区距离小于或等于扩散距离阈值的背光分区;For any backlight partition, according to the first backlight characteristic value of the backlight partition, the backlight The first backlight characteristic value of the diffusion partition of the light partition and the diffusion factor of the diffusion partition of the backlight partition determine the backlight diffusion characteristic value of the backlight partition; wherein the diffusion partition includes a partition between the diffusion partition and the backlight partition Backlight partitions whose distance is less than or equal to the diffusion distance threshold;
根据所述多个背光分区的背光扩散特征值,采用预设的插值算法以得到所述目标图像的各个像素点的像素背光特征值;According to the backlight diffusion characteristic values of the plurality of backlight partitions, a preset interpolation algorithm is used to obtain the pixel backlight characteristic value of each pixel point of the target image;
针对任一像素点,根据所述像素点的像素背光特征值,采用非线性像素补偿的方式确定所述像素点的补偿因子;For any pixel, determine the compensation factor of the pixel using nonlinear pixel compensation based on the pixel backlight characteristic value of the pixel;
根据所述补偿因子,分别对各所述像素点的所述第一像素数据内各个子像素的像素灰度级进行补偿,得到所述像素点的第二像素数据。According to the compensation factor, the pixel gray level of each sub-pixel in the first pixel data of each pixel point is compensated respectively to obtain the second pixel data of the pixel point.
第二方面,本公开实施例提供了一种显示控制装置,包括:In a second aspect, an embodiment of the present disclosure provides a display control device, including:
亮暗程度获取模块,用于获取目标图像的亮暗程度特征值,所述亮暗程度特征值表征所述目标图像的亮暗程度;The brightness and darkness degree acquisition module is used to acquire the brightness and darkness degree characteristic value of the target image, and the brightness and darkness degree characteristic value represents the brightness and darkness degree of the target image;
背光特征确定模块,用于根据显示设备的背光组件的多个背光分区所对应像素点的像素灰度级,对所述目标图像的像素点进行分区特征提取,并根据分区特征提取结果和所述亮暗程度特征值确定所述多个背光分区的第一背光特征值;The backlight feature determination module is used to extract the partition features of the pixels of the target image according to the pixel gray levels corresponding to the plurality of backlight partitions of the backlight component of the display device, and extract the partition features according to the partition feature extraction results and the The brightness and darkness feature values determine the first backlight feature values of the plurality of backlight partitions;
驱动值确定模块,用于根据所述多个背光分区的第一背光特征值确定各所述背光分区的背光驱动值,以供所述背光组件基于所述背光驱动值发射对应于所述目标图像的背光;a driving value determination module, configured to determine the backlight driving value of each backlight partition according to the first backlight characteristic value of the plurality of backlight partitions, so that the backlight assembly can emit an image corresponding to the target based on the backlight driving value. backlight;
补偿模块,用于根据所述多个背光分区的第一背光特征值,对所述目标图像的各个像素点的第一像素数据分别进行补偿,得到补偿后的第二像素数据,以供所述显示设备的显示组件基于所述第二像素数据显示所述目标图像。A compensation module, configured to respectively compensate the first pixel data of each pixel point of the target image according to the first backlight characteristic values of the plurality of backlight partitions, and obtain the compensated second pixel data for the said A display component of the display device displays the target image based on the second pixel data.
第三方面,本公开实施例提供了一种显示设备,包括:背光组件、显示组件以及显示控制装置,所述显示控制装置分别连接所述背光组件 和所述显示组件,所述显示控制装置采用第二方面中提供的所述显示控制装置;In a third aspect, an embodiment of the present disclosure provides a display device, including: a backlight component, a display component, and a display control device. The display control device is respectively connected to the backlight component. And the display component, the display control device adopts the display control device provided in the second aspect;
所述背光组件包括驱动部件和多个背光分区,所述驱动部件用于根据所述多个背光分区的背光驱动值,驱动所述多个背光分区发射背光;The backlight assembly includes a driving component and a plurality of backlight partitions, the driving component is used to drive the plurality of backlight partitions to emit backlight according to the backlight driving values of the plurality of backlight partitions;
所述显示组件用于根据输入的第二像素数据进行显示。The display component is used to display according to the input second pixel data.
第四方面,本公开实施例提供一种电子设备,包括:一个或多个处理器;存储器,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的显示控制方法。In a fourth aspect, embodiments of the present disclosure provide an electronic device, including: one or more processors; a memory for storing one or more programs; when the one or more programs are processed by the one or more The processor is executed, so that the one or more processors implement the above display control method.
在一些实施例中,所述处理器包括现场可编程门阵列FPGA。In some embodiments, the processor includes a field programmable gate array FPGA.
第五方面,本公开实施例提供一种计算机可读介质,其上存储有计算机程序,其中,所述计算机程序在被处理器执行时实现上述显示控制方法中的步骤。In a fifth aspect, embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, wherein the computer program implements the steps in the above display control method when executed by a processor.
附图说明Description of the drawings
图1a为本公开实施例提供的一种显示控制方法的流程图;Figure 1a is a flow chart of a display control method provided by an embodiment of the present disclosure;
图1b为本公开实施例提供的另一种显示控制方法的流程图;Figure 1b is a flow chart of another display control method provided by an embodiment of the present disclosure;
图2为本公开的实施例中步骤S10的一种可选实现方法的流程图;Figure 2 is a flow chart of an optional implementation method of step S10 in an embodiment of the present disclosure;
图3为本公开实施例中步骤S11的一种可选实现方法的流程图;Figure 3 is a flow chart of an optional implementation method of step S11 in the embodiment of the present disclosure;
图4a和图4b为本公开的实施例的背光分区及特征值的示意图;4a and 4b are schematic diagrams of backlight partitions and characteristic values according to embodiments of the present disclosure;
图5为本公开实施例中步骤S1a的一种可选实现方法的流程图;Figure 5 is a flow chart of an optional implementation method of step S1a in the embodiment of the present disclosure;
图6a为本公开实施例中步骤S1a2的一种可选实现方法的流程图;Figure 6a is a flow chart of an optional implementation method of step S1a2 in an embodiment of the present disclosure;
图6b为本公开实施例中步骤S1a2的另一种可选实现方法的流程图;Figure 6b is a flow chart of another optional implementation method of step S1a2 in the embodiment of the present disclosure;
图7为本公开实施例中步骤S12的一种可选实现方法的流程图;Figure 7 is a flow chart of an optional implementation method of step S12 in the embodiment of the present disclosure;
图8为本公开实施例中步骤S13的一种可选实现方法的流程图; Figure 8 is a flow chart of an optional implementation method of step S13 in the embodiment of the present disclosure;
图9a为本公开实施例中一个背光分区及其对应的各扩散分区的示意图;Figure 9a is a schematic diagram of a backlight partition and its corresponding diffusion partitions in an embodiment of the present disclosure;
图9b为图9a中所示背光分区及其对应的各扩散分区的扩散因子示意图;Figure 9b is a schematic diagram of the diffusion factors of the backlight partitions and their corresponding diffusion partitions shown in Figure 9a;
图10为本公开实施例中位于边缘处的背光分区及其所对应扩散分区的示意图;Figure 10 is a schematic diagram of the backlight partition located at the edge and its corresponding diffusion partition in an embodiment of the present disclosure;
图11为本公开实施例中步骤S13的另一种可选实现方法的流程图;Figure 11 is a flow chart of another optional implementation method of step S13 in the embodiment of the present disclosure;
图12为本公开实施例中的对背光分区进行扩展得到虚拟分区的示意图;Figure 12 is a schematic diagram of extending the backlight partition to obtain a virtual partition in an embodiment of the present disclosure;
图13为本公开实施例中的背光组件的边框的示意图;Figure 13 is a schematic diagram of the frame of the backlight assembly in an embodiment of the present disclosure;
图14为本公开实施例中步骤S132的一种可选实现方法的流程图;Figure 14 is a flow chart of an optional implementation method of step S132 in the embodiment of the present disclosure;
图15为本公开实施例中的从相邻四个背光分区中选取目标区域的一种示意图;Figure 15 is a schematic diagram of selecting a target area from four adjacent backlight partitions in an embodiment of the present disclosure;
图16为本公开实施例中步骤S133的一种可选实现方法的流程图;Figure 16 is a flow chart of an optional implementation method of step S133 in an embodiment of the present disclosure;
图17为本公开实施例提供的另一种显示控制方法的流程图;Figure 17 is a flow chart of another display control method provided by an embodiment of the present disclosure;
图18为本公开实施例提供的一种显示控制装置的结构框图;Figure 18 is a structural block diagram of a display control device provided by an embodiment of the present disclosure;
图19为本公开实施例提供的另一种显示控制装置的结构框图;Figure 19 is a structural block diagram of another display control device provided by an embodiment of the present disclosure;
图20为本公开实施例提供的一种显示设备的结构框图;Figure 20 is a structural block diagram of a display device provided by an embodiment of the present disclosure;
图21为本公开实施例的一种电子设备的结构示意图。Figure 21 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本领域技术人员更好地理解本公开的技术方案,下面结合附图和具体实施方式对本公开作进一步详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the present disclosure will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
除非另外定义,本公开使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开中使用的“第 一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。同样,“一个”、“一”或者“该”等类似词语也不表示数量限制,而是表示存在至少一个。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。Unless otherwise defined, technical terms or scientific terms used in this disclosure shall have the usual meaning understood by a person with ordinary skill in the art to which this disclosure belongs. As used in this disclosure, the term " "One", "second" and similar words do not indicate any order, quantity or importance, but are used to distinguish different components. Likewise, "a", "an" or "the" and similar words do not Indicates a quantitative limit, but indicates the presence of at least one. Words such as "include" or "include" mean that the elements or things that appear before the word include the elements or things listed after the word and their equivalents, without excluding Other components or objects. Words such as "connect" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "Down" , "left", "right", etc. are only used to express relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
随着LED显示技术,尤其是Mini_LED显示技术的迅速发展,LED显示产品已经开始应用于超大屏高清显示的众多商用领域。其中,Mini_LED显示技术是指采用芯片尺寸介于50~200μm之间的LED器件进行显示的技术。With the rapid development of LED display technology, especially Mini_LED display technology, LED display products have begun to be used in many commercial fields for ultra-large screen high-definition displays. Among them, Mini_LED display technology refers to the technology that uses LED devices with chip sizes between 50 and 200 μm for display.
相关技术中,LED显示系统存在一定的缺陷,一方面,由于液晶本身的固有缺陷——漏光问题,导致液晶显示的对比度不能满足消费者的要求;另一方面,随着液晶显示系统尺寸的不断增大,功耗问题越来越明显。In related technologies, LED display systems have certain defects. On the one hand, due to the inherent defect of the liquid crystal itself - the light leakage problem, the contrast of the liquid crystal display cannot meet the requirements of consumers; on the other hand, as the size of the liquid crystal display system continues to increase As the size increases, the power consumption problem becomes more and more obvious.
为了克服相关技术中的缺陷,可采用区域动态背光控制的方式,动态地调整LED显示系统的背光亮度。其中,区域动态背光控制是基于液晶显示器的像素显示原理实现的。液晶显示器显示像素是利用液晶的电光效应控制液晶分子的开度,来改变每个像素输出的光通量。当使用不同强度的背光显示相同的图像时,理论上只要保持每个像素的输出光通量不变,就可以保证显示图像不变,这一原理概括公式如下:
In order to overcome the shortcomings in related technologies, regional dynamic backlight control can be used to dynamically adjust the backlight brightness of the LED display system. Among them, regional dynamic backlight control is implemented based on the pixel display principle of the liquid crystal display. LCD display pixels use the electro-optical effect of liquid crystal to control the opening of liquid crystal molecules to change the light flux output by each pixel. When using backlights of different intensities to display the same image, in theory, as long as the output luminous flux of each pixel remains unchanged, the displayed image can be guaranteed to remain unchanged. The general formula for this principle is as follows:
在公式(1)中,BL0为像素点在调光前的背光亮度值,g为该像素点在调光前的像素灰度级(即像素点所包含R/G/B子像素中的像素灰度级的最大值),为该像素点在调光后的背光亮度值,为该像素点在 调光后的像素灰度级,γ为一个定值幂指数,根据显示设备本身确定。由公式(1)看出,如果背光亮度值降低,则最终显示画面的亮度(即输出光通量)也会发生变化。为了降低背光的同时保证出射光亮度不变,则应适当增大的值以增加出射光的透过率。In formula (1), BL 0 is the backlight brightness value of the pixel before dimming, and g is the pixel gray level of the pixel before dimming (that is, the R/G/B sub-pixel contained in the pixel). the maximum value of the pixel gray level), is the backlight brightness value of the pixel after dimming, For this pixel point in The pixel gray level after dimming, γ is a fixed power exponent, determined according to the display device itself. It can be seen from formula (1) that if the backlight brightness value If it decreases, the brightness of the final display screen (that is, the output luminous flux) will also change. In order to reduce the backlight while ensuring that the brightness of the emergent light remains unchanged, the value to increase the transmittance of the emitted light.
根据本公开实施例的显示控制方法,能够通过区域动态背光控制的方式,根据图像对显示设备的区域背光进行控制,并根据区域背光对图像进行补偿,从而动态地调整各个显示区域的背光亮度和图像像素值,能够提升图像画面的显示质量和对比度,并降低显示设备的功耗。According to the display control method of the embodiment of the present disclosure, the regional backlight of the display device can be controlled according to the image through regional dynamic backlight control, and the image can be compensated according to the regional backlight, thereby dynamically adjusting the backlight brightness and brightness of each display area. The image pixel value can improve the display quality and contrast of the image and reduce the power consumption of the display device.
图1a为本公开实施例提供的一种显示控制方法的流程图。该显示控制方法可应用于显示控制装置中,该装置可采用软件和/或硬件的方式实现,并一般可集成于电子设备(例如显示设备)中。如图1a所示,该显示控制方法包括:Figure 1a is a flow chart of a display control method provided by an embodiment of the present disclosure. The display control method can be applied to a display control device, which can be implemented in software and/or hardware, and can generally be integrated into an electronic device (such as a display device). As shown in Figure 1a, the display control method includes:
步骤S10、获取目标图像的亮暗程度特征值。Step S10: Obtain the brightness and darkness feature values of the target image.
其中,亮暗程度特征值用于表征目标图像的亮暗程度。Among them, the brightness and darkness feature values are used to characterize the brightness and darkness of the target image.
步骤S11、根据显示设备的背光组件的多个背光分区所对应像素点的像素灰度级,对目标图像的像素点进行分区特征提取,并根据分区特征提取结果和亮暗程度特征值确定多个背光分区的第一背光特征值。Step S11: According to the pixel gray levels of the pixels corresponding to the multiple backlight partitions of the backlight component of the display device, perform partition feature extraction on the pixel points of the target image, and determine multiple partition features based on the partition feature extraction results and the brightness and darkness feature values. The first backlight characteristic value of the backlight partition.
步骤S12、根据多个背光分区的第一背光特征值确定各背光分区的背光驱动值,以供背光组件基于背光驱动值发射对应于目标图像的背光。Step S12: Determine the backlight drive value of each backlight partition according to the first backlight characteristic values of the plurality of backlight partitions, so that the backlight assembly emits backlight corresponding to the target image based on the backlight drive value.
步骤S13、根据多个背光分区的第一背光特征值,对目标图像的各个像素点的第一像素数据分别进行补偿,得到补偿后的第二像素数据,以供显示设备的显示组件基于第二像素数据显示目标图像。Step S13: Compensate the first pixel data of each pixel point of the target image respectively according to the first backlight characteristic values of the plurality of backlight partitions, and obtain the compensated second pixel data for the display component of the display device based on the second pixel data. Pixel data displays the target image.
举例来说,显示设备可以为各种类型的LED显示设备,例如Mini_LED显示设备,该显示设备包括背光组件(例如包括LED驱动部件和背光板,背光板划分有多个背光分区)和显示组件(例如为液晶面板)。执行该显示控制方法的显示控制装置可分别连接到背光组件和显 示组件,使得背光组件根据显示控制装置输入的背光驱动值发射背光,并使得显示组件根据显示控制装置输入的像素值显示图像。本公开对显示设备的具体类型不作限制。For example, the display device can be various types of LED display devices, such as Mini-LED display devices. The display device includes a backlight component (for example, including an LED driving component and a backlight panel, and the backlight panel is divided into multiple backlight partitions) and a display component ( For example, LCD panel). The display control device executing the display control method can be connected to the backlight assembly and the display respectively. The display component causes the backlight component to emit backlight according to the backlight driving value input by the display control device, and causes the display component to display an image according to the pixel value input by the display control device. This disclosure does not limit the specific type of display device.
在一些实施例中,背光组件可包括多个背光分区,背光分区可以M*N的阵列方式布置(M、N为大于1的整数)。例如,基于Mini_LED技术的某4K显示设备中,布置有96*56个背光分区(即56行*96列),每个背光分区可具有预设数量的Mini_LED灯,例如4个、16个等,以便为显示组件提供背光;每个背光分区可对应于显示组件的一定数量的像素点,例如40*40个像素点。本公开对背光分区的数量、布置方式、每个背光分区中LED的预设数量以及每个背光分区对应的像素点数量均不作限制。In some embodiments, the backlight assembly may include multiple backlight partitions, and the backlight partitions may be arranged in an M*N array (M and N are integers greater than 1). For example, in a 4K display device based on Mini_LED technology, there are 96*56 backlight partitions (i.e. 56 rows*96 columns). Each backlight partition can have a preset number of Mini_LED lights, such as 4, 16, etc. In order to provide backlight for the display component; each backlight partition can correspond to a certain number of pixels of the display component, such as 40*40 pixels. The present disclosure places no restrictions on the number and arrangement of backlight partitions, the preset number of LEDs in each backlight partition, and the number of pixels corresponding to each backlight partition.
在一些实施例中,可在步骤S10中,根据目标图像中所有像素点的第一像素数据(即原始像素数据)来确定目标图像的亮暗程度特征值。其中,像素点的第一像素数据具体包括该像素点所包含的各子像素的子像素灰度级;亮暗程度特征值能够表征目标图像的亮暗程度,其中可根据实际需要来对亮暗程度特征值的取值范围进行预先设定;例如,亮暗程度特征值为整数且可在0到1023进行取值;其中,亮暗程度特征值越大则表示目标图像的整体亮度越亮,亮暗程度特征值越小,则表示目标图像的整体亮度越暗。In some embodiments, in step S10 , the brightness feature value of the target image may be determined based on the first pixel data (ie, original pixel data) of all pixels in the target image. Among them, the first pixel data of the pixel specifically includes the sub-pixel gray level of each sub-pixel contained in the pixel; the brightness and darkness feature value can represent the brightness and darkness of the target image, and the brightness and darkness can be adjusted according to actual needs. The value range of the degree feature value is preset; for example, the brightness feature value is an integer and can take a value from 0 to 1023; among them, the larger the brightness feature value, the brighter the overall brightness of the target image. The smaller the brightness feature value, the darker the overall brightness of the target image.
在一些实施例中,可在步骤S11中,根据显示设备的背光组件的多个背光分区所对应像素点的像素灰度级,对目标图像的像素点进行分区特征提取,得到分区特征提取结果;其中,分区特征提取结果可用于描述各背光分区的亮暗程度。具体特征可根据实际需要进行预先设定,然后在步骤S11中,针对任一背光分区,可从所有像素点中确定出与该背光分区对应的像素点(例如40*40个像素点),并对与该背光分区对应的像素点的像素灰度级进行特征提取。对各个背光分区分别进行处理,即可得到分区特征提取结果。 In some embodiments, in step S11, partition feature extraction can be performed on the pixels of the target image according to the pixel gray levels of the pixels corresponding to the multiple backlight partitions of the backlight component of the display device, to obtain the partition feature extraction results; Among them, the partition feature extraction results can be used to describe the brightness and darkness of each backlight partition. Specific features can be preset according to actual needs, and then in step S11, for any backlight partition, the pixels corresponding to the backlight partition can be determined from all pixels (for example, 40*40 pixels), and Feature extraction is performed on the pixel gray level of the pixel corresponding to the backlight partition. Each backlight partition is processed separately to obtain the partition feature extraction results.
在一些实施例中,针对任一背光分区,可以根据目标图像在背光分区内的各像素点的像素灰度级,对其进行特征提取,得到该背光分区内像素点的像素灰度级的第一特征代表值和第二特征代表值,以作为分区特征提取结果,其中第一特征代表值小于第二特征代表值。其中,第一特征代表值和第二特征代表值均可以用于表征出背光分区内像素点的像素灰度级的特征。In some embodiments, for any backlight partition, feature extraction can be performed on the target image based on the pixel gray level of each pixel in the backlight partition to obtain the third pixel gray level of the pixel in the backlight partition. A characteristic representative value and a second characteristic representative value are used as the partition feature extraction result, wherein the first characteristic representative value is smaller than the second characteristic representative value. Wherein, both the first characteristic representative value and the second characteristic representative value can be used to characterize the pixel gray level characteristics of the pixels in the backlight partition.
作为一个示例,背光分区内像素点的像素灰度级的第一特征代表值,为背光分区内像素点的像素灰度级的平均值。背光分区内像素点的像素灰度级的第二特征代表值,为背光分区内像素点的像素灰度级的最大值。即,分区特征提取的方式可以为求取灰度级的平均值及最大值,得到该背光分区的特征提取结果。As an example, the first characteristic representative value of the pixel gray level of the pixels in the backlight partition is the average value of the pixel gray levels of the pixels in the backlight partition. The second characteristic representative value of the pixel gray level of the pixel in the backlight partition is the maximum value of the pixel gray level of the pixel in the backlight partition. That is, the partition feature extraction method can be to obtain the average value and the maximum value of the gray level to obtain the feature extraction result of the backlight partition.
当然,在本公开实施例中上述第一特征代表值和第二特征代表值还可以是其他特征,例如,第一特征代表值为背光分区内像素点的像素灰度级的第一特征代表值的最小值,第二特征代表值为背光分区内出现频数最大的像素灰度级。此处不再一一举例。Of course, in the embodiment of the present disclosure, the above-mentioned first characteristic representative value and second characteristic representative value can also be other characteristics. For example, the first characteristic representative value is the first characteristic representative value of the pixel gray level of the pixel in the backlight partition. The minimum value of , the representative value of the second characteristic is the gray level of the pixel with the highest frequency in the backlight partition. No more examples here.
当然,在本公开实施例中还可以基于其他方式来对各背光分区进行特征提取,例如还可以是通过神经网络(例如包括卷积层、池化层、全连接层等),对与该背光分区对应的像素点的灰度级进行处理,得到该背光分区的特征提取结果。本公开对分区特征提取的具体方式不作限制。Of course, in the embodiments of the present disclosure, the features of each backlight partition can also be extracted based on other methods. For example, the backlight partition can also be extracted through a neural network (for example, including a convolution layer, a pooling layer, a fully connected layer, etc.). The gray level of the pixel corresponding to the partition is processed to obtain the feature extraction result of the backlight partition. This disclosure does not limit the specific method of partition feature extraction.
在完成分区特征提取之后,根据分区特征提取结果和亮暗程度特征值来确定各背光分区的第一背光特征值。在本公开实施例中,亮暗程度特征值可以表征目标图像的亮暗程度,也就是说,在生成各背光分区的第一背光特征值时,不仅考虑到了各背光分区的亮暗程度因素,还考虑到了目标图像的整体亮暗程度因素的考量,有利于保证目标图像中的暗部细节;具体原理后面将结合具体示例来进行详细描述。After the partition feature extraction is completed, the first backlight feature value of each backlight partition is determined according to the partition feature extraction result and the brightness feature value. In the embodiment of the present disclosure, the brightness level feature value can represent the brightness level of the target image. That is to say, when generating the first backlight feature value of each backlight partition, not only the brightness factor of each backlight partition is taken into consideration, The overall brightness and darkness of the target image are also taken into consideration, which is beneficial to ensuring the dark details in the target image; the specific principles will be described in detail later with specific examples.
在一些实施例中,在得到各个背光分区的第一背光特征值后,可基于预设的映射方式将各背光分区的第一背光特征值映射为对应的背光驱 动值。例如,基于映射查找表(Look Up Table)通过查表的方式以查询出第一背光特征值所对应的背光驱动值,其中映射查找表内预先存储有不同第一背光特征值以及各第一背光特征值所对应的背光驱动值;又例如,可以基于预先设计的映射算法来将第一背光特征值映射为对应的背光驱动值。在后续过程中,可将经步骤S12处理得到的背光驱动值输入到背光组件的驱动部件(例如驱动芯片),以使背光板的各个背光分区的LED灯发射对应于目标图像的背光。这样,完成背光的处理过程。In some embodiments, after obtaining the first backlight characteristic value of each backlight partition, the first backlight characteristic value of each backlight partition can be mapped to the corresponding backlight driver based on a preset mapping method. Momentum value. For example, the backlight drive value corresponding to the first backlight characteristic value is queried based on a mapping lookup table (Look Up Table), where different first backlight characteristic values and each first backlight are prestored in the mapping lookup table. The backlight drive value corresponding to the feature value; for another example, the first backlight feature value can be mapped to the corresponding backlight drive value based on a pre-designed mapping algorithm. In the subsequent process, the backlight driving value obtained through step S12 can be input to the driving component (such as a driving chip) of the backlight assembly, so that the LED lamps of each backlight partition of the backlight panel emit backlight corresponding to the target image. In this way, the backlight processing process is completed.
在一些实施例中,在步骤S13中,可根据各背光分区的第一背光特征值,来确定出目的图像内像素点的补偿因子,然后基于补偿因子采用预设补偿算法,例如,线性补偿算法或非线性补偿算法,来对目标图像内各像素点的第一像素数据分别进行补偿,得到补偿后的第二像素数据。在后续过程中,可将经步骤S13处理得到的各像素点的第二像素数据输入到显示组件,以使显示组件显示该目标图像。In some embodiments, in step S13, the compensation factors of the pixels in the target image can be determined based on the first backlight feature values of each backlight partition, and then a preset compensation algorithm, such as a linear compensation algorithm, is used based on the compensation factors. Or a nonlinear compensation algorithm is used to separately compensate the first pixel data of each pixel point in the target image to obtain the compensated second pixel data. In the subsequent process, the second pixel data of each pixel obtained through step S13 can be input to the display component, so that the display component displays the target image.
根据本公开的实施例,通过获取目标图像的亮暗程度特征值,基于亮暗程度特征值和对背光分区进行分区特征提取得到的分区特征提取结果生成各背光分区的第一背光特征值,此后基于第一背光特征值确定出各背光分区的背光驱动值,以及基于第一背光特征值对各像素点的第一像素数据进行补偿以得到第二像素数据;在后续显示过程中,背光组件基于各背光分区的背光驱动值提供相应背光,显示组件基于各像素点的第二像素数据进行显示,可有效提升图像画面的显示质量和对比度,并降低显示设备的功耗。与此同时,由于第二背光特征值第一背光特征值的生成过程中考虑到了目标图像的整体亮暗程度因素,可有效保证目标图像中的暗部细节。According to an embodiment of the present disclosure, by obtaining the brightness and darkness feature value of the target image, the first backlight feature value of each backlight partition is generated based on the brightness and darkness feature value and the partition feature extraction result obtained by performing partition feature extraction on the backlight partition, and thereafter The backlight drive value of each backlight partition is determined based on the first backlight characteristic value, and the first pixel data of each pixel is compensated based on the first backlight characteristic value to obtain the second pixel data; in the subsequent display process, the backlight component is based on The backlight drive value of each backlight partition provides corresponding backlight, and the display component displays based on the second pixel data of each pixel, which can effectively improve the display quality and contrast of the image and reduce the power consumption of the display device. At the same time, since the overall brightness and darkness of the target image are taken into account in the generation process of the second backlight eigenvalue and the first backlight eigenvalue, dark details in the target image can be effectively guaranteed.
需要说明的是,图1所示步骤S12位于步骤S13之后执行的情况,仅为本公开实施例中的一种可选实施方案,本公开的技术方案对于步骤S12和步骤S13执行顺序不作限定。也就是说,步骤S12也可以与步骤S13同步执行,或者是步骤S12位于步骤S13之后执行。 It should be noted that the situation where step S12 is executed after step S13 shown in Figure 1 is only an optional implementation in the embodiment of the present disclosure, and the technical solution of the present disclosure does not limit the execution order of step S12 and step S13. That is to say, step S12 can also be executed synchronously with step S13, or step S12 can be executed after step S13.
图1b为本公开实施例提供的另一种显示控制方法的流程图。如图1b所示,与前面实施例中不同的,在本公开实施例中,在步骤S11之后,且在步骤S12和步骤S13之前还包括:步骤S1a;下面仅对步骤S1a进行详细描述。Figure 1b is a flow chart of another display control method provided by an embodiment of the present disclosure. As shown in Figure 1b, different from the previous embodiment, in this embodiment of the present disclosure, after step S11 and before step S12 and step S13, it also includes: step S1a; only step S1a will be described in detail below.
步骤S1a、对多个背光分区的第一背光特征值进行滤波,得到各背光分区更新后的第一背光特征值。Step S1a: Filter the first backlight characteristic values of the plurality of backlight partitions to obtain the updated first backlight characteristic values of each backlight partition.
在经步骤S11处理后,所得到的各个背光分区的第一背光特征值,可能大小不一,甚至相邻背光分区的第一背光特征值差距悬殊,影响最终的显示效果。该情况下,可进行滤波处理,以使不同背光分区之间的亮暗程度变化趋于平滑,有利于改善图像画面的显示效果。After the processing in step S11, the obtained first backlight characteristic values of each backlight partition may be of different sizes, or even have very different first backlight characteristic values of adjacent backlight partitions, which affects the final display effect. In this case, filtering processing can be performed to smooth the changes in brightness and darkness between different backlight partitions, which is beneficial to improving the display effect of the image.
在一些实施例中,在步骤S1a中,可对多个背光分区的第一背光特征值进行滤波,得到各个背光分区更新后的第一背光特征值。In some embodiments, in step S1a, the first backlight characteristic values of multiple backlight partitions may be filtered to obtain updated first backlight characteristic values of each backlight partition.
在一些实施例中,针对任一背光分区,可确定该背光分区的邻近分区,也即与该背光分区之间的分区距离小于或等于预设的分区距离阈值p(p为大于或等于1的整数)的背光分区。分区距离可定义为背光分区之间间隔的分区数量+1,也即相邻背光分区之间的分区距离为1。其中,分区距离阈值p可例如设为1,也即将该背光分区周围的8个背光分区作为邻近分区,加上该背光分区本身,共计3*3的9个背光分区;该分区距离阈值p可例如设为2,也即将该背光分区周围的24个背光分区作为邻近分区,加上该背光分区本身,共计5*5的25个背光分区。本公开对分区距离阈值的具体取值不作限制。In some embodiments, for any backlight partition, it can be determined that the neighboring partitions of the backlight partition, that is, the partition distance between the backlight partition and the backlight partition is less than or equal to the preset partition distance threshold p (p is greater than or equal to 1 Integer) backlight partition. The partition distance can be defined as the number of partitions spaced between backlight partitions + 1, that is, the partition distance between adjacent backlight partitions is 1. Among them, the partition distance threshold p can be set to 1, for example, that is, the 8 backlight partitions around the backlight partition are regarded as adjacent partitions, plus the backlight partition itself, a total of 9 backlight partitions of 3*3; the partition distance threshold p can be For example, set to 2, that is, the 24 backlight partitions around the backlight partition are regarded as adjacent partitions, plus the backlight partition itself, for a total of 25 backlight partitions of 5*5. This disclosure does not limit the specific value of the partition distance threshold.
在一些实施例中,针对任一背光分区,可对以该背光分区为中心的(2p+1)*(2p+1)个背光分区进行滤波。图4a和图4b为本公开的实施例的背光分区及特征值的示意图。如图4a所示,分区距离阈值p=1,背光分区为5的情况下,其邻近分区为1、2、3、4、6、7、8、9,共3*3的9个背光分区;如图4b所示,a、b、c、d、e、f、g、h、i分别为各个背光分区的第一背光特征值。 In some embodiments, for any backlight partition, (2p+1)*(2p+1) backlight partitions centered on the backlight partition can be filtered. 4a and 4b are schematic diagrams of backlight partitions and characteristic values according to embodiments of the present disclosure. As shown in Figure 4a, when the partition distance threshold p=1 and the backlight partition is 5, its adjacent partitions are 1, 2, 3, 4, 6, 7, 8, 9, a total of 9 backlight partitions of 3*3 ; As shown in Figure 4b, a, b, c, d, e, f, g, h, i are respectively the first backlight characteristic values of each backlight partition.
在一些实施例中,滤波的方式可以为:将邻近分区的第一背光特征值乘以预设的滤波系数,得到调整后的背光特征值(称为第二背光特征值);再从各个邻近分区的第二背光特征值与该背光分区的第一背光特征值,选取出最大值,作为该背光分区滤波后的背光特征值(称为第一背光特征值)。滤波的方式还可以为:求取各个邻近分区的第二背光特征值与该背光分区的第一背光特征值的平均值,作为该背光分区滤波后的第一背光特征值。In some embodiments, the filtering method may be: multiply the first backlight characteristic value of the adjacent partition by a preset filter coefficient to obtain the adjusted backlight characteristic value (called the second backlight characteristic value); and then obtain the adjusted backlight characteristic value from each adjacent partition. The maximum value of the second backlight characteristic value of the partition and the first backlight characteristic value of the backlight partition is selected as the filtered backlight characteristic value of the backlight partition (called the first backlight characteristic value). The filtering method may also be: calculating the average value of the second backlight characteristic value of each adjacent partition and the first backlight characteristic value of the backlight partition as the filtered first backlight characteristic value of the backlight partition.
在一些实施例中,对于处在显示设备边缘的背光分区,也即背光分区与显示设备边缘的距离小于分区距离阈值p,可仅选取分区距离阈值p内的部分分区进行处理,例如,背光分区1为显示设备左上角的分区且p=1时,其邻近分区为2、4、5。可仅对背光分区1、2、4、5进行滤波;或者,也可以向左和向上扩展到3*3的9个分区,扩展出来的分区的特征值可设为0或为背光分区2、4、5的特征值的镜像(以背光分区1为中心对称)。在求取最大值的方案中,不扩展,扩展且特征值补0,或者扩展且镜像特征值的处理方式,均对滤波结果没有影响;在求取平均值的方案中,各种处理方式可能对滤波结果有一定的影响。In some embodiments, for the backlight partition located at the edge of the display device, that is, the distance between the backlight partition and the edge of the display device is less than the partition distance threshold p, only some partitions within the partition distance threshold p can be selected for processing, for example, the backlight partition When 1 is the partition in the upper left corner of the display device and p=1, its adjacent partitions are 2, 4, and 5. You can filter only backlight partitions 1, 2, 4, and 5; or you can extend it left and upward to 9 partitions of 3*3. The characteristic value of the expanded partitions can be set to 0 or backlight partition 2, The mirror image of the eigenvalues of 4 and 5 (symmetrical with backlight partition 1 as the center). In the scheme of obtaining the maximum value, no expansion, expansion and eigenvalues are filled with 0, or expansion and mirroring the eigenvalues have no effect on the filtering results; in the scheme of obtaining the average value, various processing methods are possible It has a certain impact on the filtering results.
应当理解,本领域技术人员可根据实际情况设定滤波的方式以及对显示设备边缘的背光分区的处理方式,本公开对此不作限制。It should be understood that those skilled in the art can set the filtering method and the processing method of the backlight partition at the edge of the display device according to actual conditions, and this disclosure does not limit this.
图2为本公开的实施例中步骤S10的一种可选实现方法的流程图。如图2所示,在一些实施例中,图1a和图1b中的步骤S10包括:Figure 2 is a flow chart of an optional implementation method of step S10 in the embodiment of the present disclosure. As shown in Figure 2, in some embodiments, step S10 in Figures 1a and 1b includes:
步骤S101、根据目标图像中各像素点的第一像素数据所包含的各子像素的像素灰度级生成目标图像的灰度直方图。Step S101: Generate a grayscale histogram of the target image based on the pixel gray level of each sub-pixel included in the first pixel data of each pixel point in the target image.
其中,灰度直方图用于记载目标图像内各像素灰度级的像素点数量。生成灰度直方图的过程如下:首先,确定各像素点的像素灰度级;其中,像素点的像素灰度级可由该像素点所包含的子像素的子像素灰度级来确定,例如像素点的像素灰度级等于该像素点所包含的全部子像素(一般包括R/G/B三个子像素)的子像素灰度级的最大值。然后,对各像素灰 度级(例如,像素灰度级可取值为0至1023,共计1024个不同像素灰度级)下的像素点个数进行统计,从而得到目标图像的灰度直方图。Among them, the grayscale histogram is used to record the number of pixels of each pixel gray level in the target image. The process of generating a grayscale histogram is as follows: first, determine the pixel grayscale of each pixel; where the pixel grayscale of a pixel can be determined by the subpixel grayscale of the subpixels contained in the pixel, such as pixel The pixel gray level of a point is equal to the maximum value of the sub-pixel gray levels of all sub-pixels contained in the pixel (generally including three sub-pixels of R/G/B). Then, gray out each pixel The number of pixel points under the degree level (for example, the pixel gray level can range from 0 to 1023, a total of 1024 different pixel gray levels) is counted to obtain the gray level histogram of the target image.
步骤S102、根据灰度直方图确定目标图像的亮暗程度特征值。Step S102: Determine the brightness feature value of the target image based on the grayscale histogram.
作为一种可选实施方案,步骤S102具体包括:根据灰度直方图中所记载的各像素灰度级的像素点数量,确定出满足的最小N取值,并将确定出的N作为亮暗程度特征值。As an optional implementation, step S102 specifically includes: according to the number of pixel points of each pixel gray level recorded in the grayscale histogram, determine the number of pixels that satisfy The minimum N value is taken, and the determined N is used as the brightness feature value.
其中,N为整数且0≤N≤imax,imax表示预设的最大像素灰度级,ti表示灰度直方图中所记载像素灰度级为i的像素点数量,T表示所述目标图像中像素点的数量,S表示预设的比例阈值,0.5≤S<1,例如S取值为0.8。通过上述步骤所求得的亮暗程度特征值F0必然也满足0≤F0≤imaxAmong them, N is an integer and 0≤N≤i max , i max represents the preset maximum pixel gray level, t i represents the number of pixels with a pixel gray level of i recorded in the grayscale histogram, and T represents the above The number of pixels in the target image, S represents the preset proportion threshold, 0.5≤S<1, for example, the value of S is 0.8. The brightness and darkness feature value F 0 obtained through the above steps must also satisfy 0 ≤ F 0 ≤ i max .
上述判断条件的本质是对像素灰度级进行累积分布运算,基于该累积分布运算过程来确定N值以作为亮暗程度特征值,可使得亮暗程度特征值能够在一定程度上反应出目标图像内像素点的像素灰度级的频数分布情况,可以更为准确的反应出目标图像的亮暗程度。The above judgment conditions The essence is to perform a cumulative distribution operation on the pixel gray level. Based on the cumulative distribution operation process, the N value is determined as the brightness and darkness feature value, so that the brightness and darkness feature value can reflect the pixels in the target image to a certain extent. The frequency distribution of pixel gray levels can more accurately reflect the brightness and darkness of the target image.
当然,在本公开实施例中还可以根据灰度直方图并基于其他算法来确定出亮暗程度特征值(例如,选取频数最大的像素灰度级作为亮暗程度特征值,或者选取频数最大的前j个像素灰度级求平均值并将该平均值作为亮暗程度特征值),仅需保证所求得的亮暗程度特征值能够用于表征出目标图像的整体亮暗程度即可。Of course, in the embodiment of the present disclosure, the brightness and darkness feature values can also be determined based on the grayscale histogram and other algorithms (for example, selecting the pixel gray level with the largest frequency as the brightness and darkness feature value, or selecting the pixel gray level with the largest frequency) The first j pixel gray levels are averaged and the average value is used as the brightness feature value). It only needs to ensure that the obtained brightness feature value can be used to characterize the overall brightness of the target image.
图3为本公开实施例中步骤S11的一种可选实现方法的流程图。如图3所示,在一些实施例中,图1a和图1b中的步骤S11可包括:Figure 3 is a flow chart of an optional implementation method of step S11 in the embodiment of the present disclosure. As shown in Figure 3, in some embodiments, step S11 in Figures 1a and 1b may include:
步骤S111、针对任一背光分区,根据目标图像在背光分区内的各像 素点的像素灰度级,确定各所述背光分区内像素点的像素灰度级的第一特征代表值和第二特征代表值,以作为分区特征提取结果。Step S111: For any backlight partition, according to each image of the target image in the backlight partition For the pixel gray level of the pixel point, the first characteristic representative value and the second characteristic representative value of the pixel gray level of the pixel point in each of the backlight partitions are determined as the partition feature extraction result.
其中,第一特征代表值小于第二特征代表值。Wherein, the first characteristic representative value is smaller than the second characteristic representative value.
步骤S112、根据亮暗程度特征值确定出加权系数。Step S112: Determine the weighting coefficient according to the feature value of the brightness and darkness degree.
加权系数P满足:0≤P≤1。在一些实施例中,加权系数P与亮暗程度特征值呈负相关。也就是说,亮暗程度特征值越大,则加权系数P越小。具体原理后面将作详细描述。The weighting coefficient P satisfies: 0≤P≤1. In some embodiments, the weighting coefficient P is negatively correlated with the brightness and darkness feature values. That is to say, the larger the brightness and darkness feature value is, the smaller the weighting coefficient P is. The specific principle will be described in detail later.
在一些实施例中,加权系数P为:
In some embodiments, the weighting coefficient P is:
在公式(2)中,imax表示预设的最大像素灰度级(例如,像素灰度级在0~1023范围进行取值时,则最大像素灰度级为1023),F0表示所述亮暗程度特征值,0≤F0≤imaxIn formula (2), i max represents the preset maximum pixel gray level (for example, when the pixel gray level ranges from 0 to 1023, the maximum pixel gray level is 1023), and F 0 represents the Characteristic value of lightness and darkness, 0≤F 0 ≤i max .
步骤S113、针对任一背光分区,根据加权系数以及背光分区内像素点的像素灰度级的第一特征代表值和第二特征代表值,确定出背光分区的第一背光特征值。
BL1=(1-P)×BLR1+P×BLR2  (3)
Step S113: For any backlight partition, determine the first backlight characteristic value of the backlight partition based on the weighting coefficient and the first characteristic representative value and the second characteristic representative value of the pixel gray level of the pixel point in the backlight partition.
BL 1 =(1-P)×BLR 1 +P×BLR 2 (3)
在公式(3)中,BL1为背光分区的第一背光特征值,BLR1为所述背光分区内所有像素点的像素灰度级的第一特征代表值,BLR2为所述背光分区内所有像素点的像素灰度级的第二特征代表值。In formula (3), BL 1 is the first backlight characteristic value of the backlight partition, BLR 1 is the first characteristic representative value of the pixel gray level of all pixels in the backlight partition, and BLR 2 is the first characteristic value of the pixel gray level in the backlight partition. The second characteristic representative value of the pixel gray level of all pixels.
在一些实施例中,背光分区内像素点的像素灰度级的第一特征代表值,为背光分区内像素点的像素灰度级的平均值;背光分区内像素点的像素灰度级的第二特征代表值,为背光分区内像素点的像素灰度级的最大值。In some embodiments, the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the average value of the pixel gray level of the pixel point in the backlight partition; the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition The second characteristic representative value is the maximum value of the pixel gray level of the pixel in the backlight partition.
基于公式(2)可见,亮暗程度特征值F0越小,则加权系数越大;基于公式(3)可见,加权系数越大,所求得背光分区的第一背光特征值 越接近于该背光分区的内所有像素点的像素灰度级的第二特征代表值(相对于第一特征代表值而言为一个较大值),相应地所求得的背光分区的第一背光特征值越大,此时越能够保证目标图像中的暗部细节。Based on formula (2), it can be seen that the smaller the brightness and darkness feature value F0 is, the greater the weighting coefficient is; based on formula (3), it can be seen that the greater the weighting coefficient, the first backlight feature value of the backlight partition is obtained The closer it is to the second characteristic representative value of the pixel gray level of all pixels in the backlight partition (which is a larger value relative to the first characteristic representative value), the corresponding first characteristic value of the backlight partition is obtained. The larger the backlight eigenvalue is, the better it can ensure the dark details in the target image.
通过上述步骤S111~步骤S113,对背光组件的所有背光分区分别进行上述处理,即可得到各个背光分区的第一背光特征值。Through the above-mentioned steps S111 to S113, the above-mentioned processing is performed on all the backlight partitions of the backlight assembly, and the first backlight characteristic value of each backlight partition can be obtained.
需要说明的是,在分区特征提取中,如果仅采用背光分区内所有像素点的像素灰度级的最大值来作为背光分区的第一背光特征值,则能够极大地保留图像细节,但会造成暗场区域图像亮度未能得到有效控制,对比度提升不足,功耗降低有限。如果仅采用背光分区内所有像素点的像素灰度级的平均值来作为背光分区的第一背光特征值,则能够较大程度地降低背光,以降低功耗,然而对于对比度高的区域,背光降低程度超出了像素补偿所能达到的程度,导致图像无法被恰当地还原,难以产生正确的显示效果。It should be noted that in the partition feature extraction, if only the maximum value of the pixel gray level of all pixels in the backlight partition is used as the first backlight feature value of the backlight partition, the image details can be greatly preserved, but it will cause The image brightness in the dark field area cannot be effectively controlled, the contrast is insufficiently improved, and the power consumption reduction is limited. If only the average pixel gray level of all pixels in the backlight partition is used as the first backlight feature value of the backlight partition, the backlight can be reduced to a greater extent to reduce power consumption. However, for areas with high contrast, the backlight The degree of reduction exceeds what pixel compensation can achieve, resulting in the image not being properly restored and making it difficult to produce a correct display effect.
在本公开中,通过将背光分区内所有像素点的像素灰度级的最大值和平均值进行加权求和,并将加权求和结果作为背光分区的第一背光特征值,可有效改善上述问题。另外,背光分区内所有像素点的像素灰度级的最大值和背光分区内所有像素点的像素灰度级的平均值,二者所分配的权重系数还与亮暗程度特征值相关;具体地,目标图像的亮度越暗,亮暗程度特征值越小,背光分区内所有像素点的像素灰度级的最大值(第二特征代表值)所对应的权重系数(即为P)越大,背光分区内所有像素点的像素灰度级的平均值(第一特征代表值)所对应的权重系数(即为1-P)越小,此时所求得背光分区的第一背光特征值越接近于该背光分区的内所有像素点的像素灰度级的最大值,越能够保证目标图像中的暗部细节。目标图像的亮度越亮,亮暗程度特征值越大,背光分区内所有像素点的像素灰度级的最大值所对应的权重系数(即为P)越小,背光分区内所有像素点的像素灰度级的平均值所对应的权重系数(即为1-P)越大,此时所求得背光分区的第一背光特征值越接近于该背光分区 的内所有像素点的像素灰度级的平均值,越能够降低功耗。In the present disclosure, the above problems can be effectively improved by performing a weighted sum of the maximum and average pixel gray levels of all pixels in the backlight partition, and using the weighted summation result as the first backlight feature value of the backlight partition. . In addition, the weight coefficient assigned to the maximum value of the pixel gray level of all pixels in the backlight partition and the average pixel gray level of all pixels in the backlight partition is also related to the brightness feature value; specifically, , the darker the brightness of the target image, the smaller the brightness feature value, and the greater the weight coefficient (i.e. P) corresponding to the maximum value of the pixel gray level of all pixels in the backlight partition (the second feature representative value), The smaller the weight coefficient (that is, 1-P) corresponding to the average pixel gray level of all pixels in the backlight partition (the first characteristic representative value), the greater the first backlight characteristic value of the backlight partition obtained at this time. The closer to the maximum value of the pixel gray level of all pixels in the backlight partition, the better it can ensure the dark details in the target image. The brighter the brightness of the target image, the greater the feature value of brightness and darkness, and the smaller the weight coefficient (that is, P) corresponding to the maximum value of the pixel gray level of all pixels in the backlight partition. The greater the weight coefficient (that is, 1-P) corresponding to the average gray level, the closer the first backlight feature value of the backlight partition obtained at this time is to the backlight partition. The average of the pixel gray levels of all pixels within the pixel can reduce power consumption.
基于上述内容可见,通过采用像素灰度级的最大值和平均值加权的方式,能够在一定程度上保留采用最大值和平均值这两种处理方式的优点,也即能够保留图像细节,并降低背光以降低功耗;同时又在一定程度上弥补前述仅依靠最大值或平均值进行计算的两种算法的缺点,也即能够提升对比度,并适当降低背光,以便后续能够通过像素补偿来还原图像,从而提高图像画面的显示质量。Based on the above content, it can be seen that by using the maximum value and average weighting method of pixel gray level, the advantages of using the maximum value and average value can be retained to a certain extent, that is, the image details can be preserved and the reduction of backlight to reduce power consumption; at the same time, to a certain extent, it makes up for the shortcomings of the two aforementioned algorithms that only rely on maximum or average values for calculation, that is, it can improve the contrast and appropriately reduce the backlight so that the image can be restored through pixel compensation later. , thereby improving the display quality of the image.
图5为本公开实施例中步骤S1a的一种可选实现方法的流程图。如图5所示,在一些实施例中,图1b中的步骤S1a可包括:Figure 5 is a flow chart of an optional implementation method of step S1a in an embodiment of the present disclosure. As shown in Figure 5, in some embodiments, step S1a in Figure 1b may include:
步骤S1a1、根据亮暗程度特征值确定出滤波系数。Step S1a1: Determine the filter coefficient according to the feature value of the brightness and darkness.
滤波系数Q满足:0≤Q≤1。在一些实施例中,滤波系数Q与所述亮暗程度特征值呈正相关。也就是说,亮暗程度特征值越大,则滤波系数Q越大。具体原理后面将作详细描述。
The filter coefficient Q satisfies: 0≤Q≤1. In some embodiments, the filter coefficient Q is positively correlated with the brightness feature value. That is to say, the larger the brightness and darkness feature value is, the larger the filter coefficient Q is. The specific principle will be described in detail later.
在公式(4)中,Q表示滤波系数,imax表示预设的最大像素灰度级,F0表示亮暗程度特征值,0≤F0≤imax。其中,通过步骤S1a1计算出的滤波系数Q满足0≤Q≤1,且亮暗程度特征值越大,则滤波系数Q越大。也就是说,目标图像的整体亮度越亮,则滤波系数Q越大;目标图像的整体亮度越暗,则滤波系数Q越小。In formula (4), Q represents the filter coefficient, i max represents the preset maximum pixel gray level, F 0 represents the brightness and darkness feature value, 0 ≤ F 0i max . Among them, the filter coefficient Q calculated in step S1a1 satisfies 0 ≤ Q ≤ 1, and the larger the brightness and darkness feature value is, the larger the filter coefficient Q is. That is to say, the brighter the overall brightness of the target image, the larger the filter coefficient Q; the darker the overall brightness of the target image, the smaller the filter coefficient Q.
在本公开实施例中,目标图像的整体亮度越亮(亮暗程度特征值越大),则可能存在的边界梯度越大,此时将滤波系数设置越大,暗部区域经过滤波后亮度提升幅度越大,边界梯度变化越大。反之,目标图像的整体亮度越暗(亮暗程度特征值越小),可能存在的边界梯度越小,此时将滤波因子设置越小,暗部区域经过滤波后亮度提升幅度越小,边界梯度变化越小。通过上述设计,有利于保证目标图像的同时对比度。In the embodiment of the present disclosure, the brighter the overall brightness of the target image (the greater the feature value of brightness and darkness), the greater the possible boundary gradient. At this time, the filter coefficient is set to be larger, and the brightness of the dark area is improved after filtering. The larger it is, the greater the boundary gradient changes. On the contrary, the darker the overall brightness of the target image (the smaller the brightness feature value), the smaller the possible boundary gradient. In this case, the smaller the filter factor is set, the smaller the brightness increase in the dark area after filtering, and the boundary gradient changes. The smaller. Through the above design, it is helpful to ensure the simultaneous contrast of the target image.
步骤S1a2、针对任一背光分区,根据背光分区的第一背光特征值、 背光分区的邻近分区的第一背光特征值以及预先确定的滤波系数,确定背光分区更新后的第一背光特征值。Step S1a2: For any backlight partition, according to the first backlight characteristic value of the backlight partition, The first backlight characteristic value of the adjacent partition of the backlight partition and the predetermined filter coefficient determine the updated first backlight characteristic value of the backlight partition.
其中,邻近分区包括与背光分区之间的分区距离小于或等于分区距离阈值的背光分区。The neighboring partitions include backlight partitions whose partition distance from the backlight partition is less than or equal to the partition distance threshold.
在步骤S1a2中,针对背光组件的任一个背光分区,可确定该背光分区的邻近分区,也即与该背光分区之间的分区距离小于或等于预设的分区距离阈值p的背光分区,p为大于或等于1的整数。其中,分区距离可定义为背光分区之间间隔的分区数量+1,相邻背光分区之间的分区距离为1。其中,分区距离阈值p可例如设为1,也即将该背光分区周围的8个背光分区作为邻近分区,加上该背光分区本身,共计3*3的9个背光分区;该分区距离阈值p可例如设为2,也即将该背光分区周围的24个背光分区作为邻近分区,加上该背光分区本身,共计5*5的25个背光分区。本公开对分区距离阈值的具体取值不作限制。In step S1a2, for any backlight partition of the backlight assembly, adjacent partitions of the backlight partition can be determined, that is, the backlight partition whose partition distance from the backlight partition is less than or equal to the preset partition distance threshold p, where p is An integer greater than or equal to 1. Among them, the partition distance can be defined as the number of partitions spaced between backlight partitions + 1, and the partition distance between adjacent backlight partitions is 1. Among them, the partition distance threshold p can be set to 1, for example, that is, the 8 backlight partitions around the backlight partition are regarded as adjacent partitions, plus the backlight partition itself, a total of 9 backlight partitions of 3*3; the partition distance threshold p can be For example, set to 2, that is, the 24 backlight partitions around the backlight partition are regarded as adjacent partitions, plus the backlight partition itself, for a total of 25 backlight partitions of 5*5. This disclosure does not limit the specific value of the partition distance threshold.
在一些实施例中,可对该背光分区及其邻近分区进行滤波,也即对以该背光分区为中心的(2p+1)*(2p+1)个背光分区进行滤波。In some embodiments, the backlight partition and its adjacent partitions may be filtered, that is, (2p+1)*(2p+1) backlight partitions centered on the backlight partition may be filtered.
图6a为本公开实施例中步骤S1a2的一种可选实现方法的流程图。如图6a所示,在一些实施例中,步骤S1a2可包括:Figure 6a is a flow chart of an optional implementation method of step S1a2 in an embodiment of the present disclosure. As shown in Figure 6a, in some embodiments, step S1a2 may include:
步骤S1a21a、根据邻近分区的第一背光特征值和滤波系数,确定邻近分区的第二背光特征值。Step S1a21a: Determine the second backlight characteristic value of the adjacent partition based on the first backlight characteristic value and the filter coefficient of the adjacent partition.
步骤S1a22a、将背光分区的第一背光特征值以及各个邻近分区的第二背光特征值中的最大值,确定为背光分区更新后的第一背光特征值。Step S1a22a: Determine the maximum value among the first backlight characteristic value of the backlight partition and the second backlight characteristic value of each adjacent partition as the updated first backlight characteristic value of the backlight partition.
可将该背光分区的各邻近分区的第一背光特征值乘以滤波系数Q,得到该背光分区的各邻近分区的第二背光特征值。再从各个邻近分区的第二背光特征值与该背光分区的第一背光特征值,选取出最大值,作为该背光分区滤波后的第一背光特征值(即更新后的第一背光特征值)。作为一个示例,确定图4a中编号为5的背光分区的第一背光特征值,具 体过程如下:首先,将图4b中的第一背光特征值a、b、c、d、f、g、h、i,分别乘以滤波系数Q,得到第二背光特征值a*Q、b*Q、c*Q、d*Q、f*Q、g*Q、h*Q、i*Q;然后,选取a*Q、b*Q、c*Q、d*Q、e、f*Q、g*Q、h*Q、i*Q中的最大值,作为编号为5的背光分区的更新后的第一背光特征值。The first backlight characteristic value of each adjacent partition of the backlight partition can be multiplied by the filter coefficient Q to obtain the second backlight characteristic value of each adjacent partition of the backlight partition. Then, the maximum value is selected from the second backlight characteristic value of each adjacent partition and the first backlight characteristic value of the backlight partition as the filtered first backlight characteristic value of the backlight partition (i.e., the updated first backlight characteristic value) . As an example, determine the first backlight characteristic value of the backlight partition numbered 5 in Figure 4a, with The volume process is as follows: first, multiply the first backlight feature values a, b, c, d, f, g, h, i in Figure 4b by the filter coefficient Q respectively to obtain the second backlight feature value a*Q, b *Q, c*Q, d*Q, f*Q, g*Q, h*Q, i*Q; then, select a*Q, b*Q, c*Q, d*Q, e, f* The maximum value among Q, g*Q, h*Q, and i*Q is used as the updated first backlight characteristic value of the backlight partition numbered 5.
其中,滤波系数Q的取值范围为[0,1],基于步骤S1a1可使得滤波系数Q能够根据目标图像的整体亮暗程度动态可调。通过前面步骤S1a1来实现滤波系数Q的动态可调,有利于保证目标图像的同时对比度。当然,在另一些实施例中,步骤S1a中也可以不包括前述步骤S1a1,滤波系数Q为预先设定的一个定值,例如Q取值为0.6或0.7。上述两种方式,均应属于本公开的保护范围。The value range of the filter coefficient Q is [0,1]. Based on step S1a1, the filter coefficient Q can be dynamically adjusted according to the overall brightness and darkness of the target image. The dynamic adjustment of the filter coefficient Q is achieved through the previous step S1a1, which is beneficial to ensuring the simultaneous contrast of the target image. Of course, in other embodiments, step S1a may not include the aforementioned step S1a1, and the filter coefficient Q is a preset fixed value, for example, the value of Q is 0.6 or 0.7. Both of the above methods should fall within the protection scope of the present disclosure.
图6b为本公开实施例中步骤S114S1a22的另一种可选实现方法的流程图。如图6b所示,在一些实施例中,步骤S1422S1a2可包括:Figure 6b is a flow chart of another optional implementation method of steps S114S1a22 in the embodiment of the present disclosure. As shown in Figure 6b, in some embodiments, step S1422S1a2 may include:
步骤S1a21b、从邻近分区中选取第一背光特征值最大的一个邻近分区作为目标邻近分区,并根据目标邻近分区的第一背光特征值和滤波系数,确定目标邻近分区的第二背光特征值。Step S1a21b: Select a neighboring partition with the largest first backlight characteristic value from the neighboring partitions as the target neighboring partition, and determine the second backlight characteristic value of the target neighboring partition according to the first backlight characteristic value and filter coefficient of the target neighboring partition.
步骤S1a22b、将背光分区的第一背光特征值以及目标邻近分区的第二背光特征值中的较大值,确定为背光分区更新后的第一背光特征值。Step S1a22b: Determine the larger value of the first backlight characteristic value of the backlight partition and the second backlight characteristic value of the target adjacent partition as the updated first backlight characteristic value of the backlight partition.
作为一个示例,确定图4a中编号为5的背光分区的更新后的第一背光特征值,具体过程如下:首先,从图4b中的第一背光特征值a、b、c、d、f、g、h、i中确定一个最大值,假定f为最大值,则表明编号为6的背光分区作为目标邻近分区;然后,将编号为6的背光分区的第一背光特征值乘以滤波系数Q,得到目标邻近分区的第二背光特征值f*Q;接着,选取e和f*Q中的较大值,作为编号为5的背光分区更新后的第一背光特征值。As an example, determine the updated first backlight feature value of the backlight partition numbered 5 in Figure 4a. The specific process is as follows: First, from the first backlight feature values a, b, c, d, f in Figure 4b, Determine a maximum value among g, h, and i. Assuming that f is the maximum value, it indicates that the backlight partition numbered 6 is used as the target adjacent partition; then, the first backlight eigenvalue of the backlight partition numbered 6 is multiplied by the filter coefficient Q , obtain the second backlight feature value f*Q of the target adjacent partition; then, select the larger value of e and f*Q as the updated first backlight feature value of the backlight partition numbered 5.
需要说明的是,通过步骤S1a21a~步骤S1a22a所得到的背光分区更新后的第一背光特征值,与通过步骤S1a21b~步骤S1a22b所得到的 背光分区更新后的第一背光特征值相同。It should be noted that the updated first backlight characteristic value of the backlight partition obtained through steps S1a21a to step S1a22a is different from the updated first backlight characteristic value obtained through steps S1a21b to step S1a22b. The first backlight characteristic value after the backlight partition is updated is the same.
在相关技术中,一般是基于邻近分区的背光特征值的最大值滤波或最小值进行滤波,其中基于邻近分区的背光特征值的最大值滤波可以保证图像的亮度细节但对比度较差,而基于邻近分区的背光特征值的最小值滤波可以保证图像的对比度但是亮度细节较差。针对上述问题,而在本公开中引入了滤波系数Q,并采用将背光分区的第一背光特征值与邻近分区的最大第二背光特征值(邻近分区的第一背光特征值乘以滤波系数Q)进行比较,基于比较结果来进行滤波,可以有效平衡图像的亮度细节和对比度。尤其是当滤波系数Q可跟随亮暗程度特征值变化时,可实现对咪表图像的亮度细节与对比度的动态平衡调整。In related technologies, filtering is generally performed based on the maximum value filtering or the minimum value of the backlight eigenvalues of adjacent partitions. The maximum value filtering based on the backlight eigenvalues of adjacent partitions can ensure the brightness details of the image but the contrast is poor. The minimum value filtering of the partitioned backlight eigenvalues can ensure the contrast of the image but the brightness details are poor. In response to the above problem, the filter coefficient Q is introduced in the present disclosure, and the first backlight characteristic value of the backlight partition and the maximum second backlight characteristic value of the adjacent partition (the first backlight characteristic value of the adjacent partition are multiplied by the filter coefficient Q ) is compared, and filtering is performed based on the comparison results, which can effectively balance the brightness details and contrast of the image. Especially when the filter coefficient Q can follow the change of the brightness and darkness feature values, the dynamic balance adjustment of the brightness details and contrast of the meter image can be achieved.
通过这种方式,能够减少相邻区域的亮暗程度差异过于明显的情况,使得不同分区之间的亮暗程度变化趋于平滑,从而改善补偿后的图像画面的显示效果。In this way, the situation where the brightness difference between adjacent areas is too obvious can be reduced, so that the changes in brightness and darkness between different partitions tend to be smooth, thereby improving the display effect of the compensated image.
在一些实施例中,背光组件包括驱动部件和多个背光分区的背光灯,驱动部件例如为驱动芯片,背光灯例如为Mini-LED灯。In some embodiments, the backlight assembly includes a driving component and a plurality of backlight partitioned backlights. The driving component is, for example, a driving chip, and the backlight is, for example, a Mini-LED lamp.
图7为本公开实施例中步骤S12的一种可选实现方法的流程图。如图7所示,在一些实施例中,步骤S12包括:Figure 7 is a flow chart of an optional implementation method of step S12 in the embodiment of the present disclosure. As shown in Figure 7, in some embodiments, step S12 includes:
步骤S121、根据亮暗程度特征值确定出驱动调整系数。Step S121: Determine the drive adjustment coefficient according to the feature value of the brightness and darkness degree.
驱动调整系数W满足:0<W≤1。在一些实施例中驱动调整系数W与亮暗程度特征值呈正相关。也就是说,亮暗程度特征值越大,则驱动调整系数W越大。具体原理后面将作详细描述。The drive adjustment coefficient W satisfies: 0<W≤1. In some embodiments, the driving adjustment coefficient W is positively correlated with the brightness and darkness feature values. That is to say, the larger the brightness and darkness feature value is, the larger the drive adjustment coefficient W is. The specific principle will be described in detail later.
在一些实施例中,驱动调整系数W为:
In some embodiments, the drive adjustment coefficient W is:
在公式(5)中,W表示驱动调整系数,F0表示亮暗程度特征值,0≤F0≤imax,imax表示预设的最大像素灰度级,m为预设的常量系数且m ≥2。In formula (5), W represents the driving adjustment coefficient, F 0 represents the brightness and darkness feature value, 0 ≤ F 0i max , i max represents the preset maximum pixel gray level, m is the preset constant coefficient and m ≥2.
其中,通过步骤S121计算出的驱动调整系数W满足:且亮暗程度特征值越大,则驱动调整系数W越大。也就是说,目标图像的整体亮度越亮,则驱动调整系数W越大;目标图像的整体亮度越暗,则驱动调整系数W越小。Among them, the drive adjustment coefficient W calculated through step S121 satisfies: And the larger the brightness and darkness feature value is, the larger the drive adjustment coefficient W is. That is to say, the brighter the overall brightness of the target image is, the larger the driving adjustment coefficient W is; the darker the overall brightness of the target image is, the smaller the driving adjustment coefficient W is.
在本公开实施例中,目标图像的整体亮度越亮(亮暗程度特征值越大),则所需要的背光亮度越大,此时将驱动调整系数设置越大,可使得后续所映射出的背光驱动值越大。反之,目标图像的整体亮度越暗(亮暗程度特征值越小),则所需要的背光亮度越小,此时将驱动调整系数设置越小,可使得后续所映射出的背光驱动值越小。通过上述设计,有利于保证目标图像的顺序对比度。In the embodiment of the present disclosure, the brighter the overall brightness of the target image (the greater the feature value of brightness and darkness), the greater the required backlight brightness. At this time, setting the drive adjustment coefficient larger can make the subsequent mapped The larger the backlight drive value. On the contrary, the darker the overall brightness of the target image (the smaller the brightness characteristic value), the smaller the backlight brightness required. At this time, setting the drive adjustment coefficient smaller can make the subsequent mapped backlight drive value smaller. . Through the above design, it is helpful to ensure the sequential contrast of the target image.
步骤S122、针对任一背光分区,根据背光分区的第一背光特征值以及预先确定的驱动调整系数,确定背光分区的背光驱动值。
Step S122: For any backlight partition, determine the backlight drive value of the backlight partition according to the first backlight characteristic value of the backlight partition and the predetermined drive adjustment coefficient.
在公式(6)中,Bdrive表示背光分区的背光驱动值,BL2表示背光分区的第一背光特征值,W表示驱动调整系数,imax表示预设的最大像素灰度级,Imax表示预设的最大背光灰度级。In formula (6), B drive represents the backlight drive value of the backlight partition, BL 2 represents the first backlight characteristic value of the backlight partition, W represents the drive adjustment coefficient, i max represents the preset maximum pixel gray level, and I max represents The default maximum backlight gray level.
在本公开实施例中,背光分区的第一背光特征值的本质是利用像素灰度级来表示背光分区的发光亮暗程度,而系统内像素灰度级与背光灰度级的取值范围一般不同,作为一个示例,像素点的像素灰度级用10bit来表示,背光区域的背光灰度级的用14bit来表示,此时像素灰度级的取值范围为[0,210-1],背光灰度级的取值范围为[0,214-1],则需要将背光分区的第一背光特征值映射至对应的背光驱动值。此时,也可以看作是将一个10bit数据转换为一个14bit数据。In the embodiment of the present disclosure, the essence of the first backlight characteristic value of the backlight partition is to use the pixel gray level to represent the brightness and darkness of the backlight partition, and the value ranges of the pixel gray level and the backlight gray level in the system are generally Different, as an example, the pixel gray level of the pixel is represented by 10 bits, and the backlight gray level of the backlight area is represented by 14 bits. At this time, the value range of the pixel gray level is [0, 2 10 -1] , the value range of the backlight gray level is [0, 2 14 -1], then the first backlight feature value of the backlight partition needs to be mapped to the corresponding backlight drive value. At this time, it can also be regarded as converting a 10-bit data into a 14-bit data.
在本公开实施例中,在将背光分区的第一背光特征值映射至对应的 背光驱动值的过程中,还引入了驱动调整系数,有利于保证目标图像的顺序对比度。In the embodiment of the present disclosure, after mapping the first backlight feature value of the backlight partition to the corresponding In the process of determining the backlight drive value, a drive adjustment coefficient is also introduced to help ensure the sequential contrast of the target image.
仍以像素点的像素灰度级用10bit来表示,背光区域的背光灰度级的用14bit来表示的情况为例,则公式(6)中最大像素灰度级imax取值为210-1=1023,最大像素灰度级Imax取值为214-1=16383。Still taking the case where the pixel gray level of the pixel is represented by 10 bits and the backlight gray level of the backlight area is represented by 14 bits, the maximum pixel gray level i max in formula (6) is 2 10 - 1=1023, the value of the maximum pixel gray level I max is 2 14 -1=16383.
在上述实施例中,驱动调整系数W的取值范围为基于步骤S121可使得驱动调整系数W能够根据目标图像的整体亮暗程度动态可调,且限定驱动调整系数W在之间进行取值,由于即驱动调整系数W取值始终是大于1/2,可有效避免因驱动调整系数W取值过小而导致确定背光分区的背光驱动值过小,并导致最终背光亮度过暗的问题。In the above embodiment, the value range of the driving adjustment coefficient W is Based on step S121, the drive adjustment coefficient W can be dynamically adjusted according to the overall brightness and darkness of the target image, and the drive adjustment coefficient W is defined to be within values between, because That is, the value of the drive adjustment coefficient W is always greater than 1/2, which can effectively avoid the problem that the backlight drive value for determining the backlight partition is too small due to the value of the drive adjustment coefficient W being too small, and the final backlight brightness is too dark.
作为一个示例,m取值为5,驱动调整系数W的取值范围为[0.8,1]。通过前面步骤S121来实现驱动调整系数W的动态可调,有利于保证目标图像的顺序对比度。当然,在另一些实施例中,步骤S12中也可以不包括前述步骤S121,驱动调整系数W为预先设定的一个定值,为保证最终所呈现的显示画面的整体亮度不会过暗,驱动调整系数W的取值一般设置为大于或等于0.5;例如,W取值为0.9或0.95。上述两种方式,均应属于本公开的保护范围。As an example, the value of m is 5, and the value range of the driving adjustment coefficient W is [0.8,1]. The dynamic adjustment of the driving adjustment coefficient W is realized through the previous step S121, which is beneficial to ensuring the sequential contrast of the target image. Of course, in other embodiments, step S12 may not include the aforementioned step S121, and the driving adjustment coefficient W is a preset fixed value. In order to ensure that the overall brightness of the final displayed display screen is not too dark, the driving adjustment coefficient W is a preset fixed value. The value of the adjustment coefficient W is generally set to be greater than or equal to 0.5; for example, the value of W is 0.9 or 0.95. Both of the above methods should fall within the protection scope of the present disclosure.
在本公开实施例中,由于各个背光分区的第一背光特征值往往大小不一,相邻分区发出的背光光线在背光腔内向液晶面板投射扩散过程中会相互影响,各个背光分区的实际背光分布并不等于第一背光特征值。如果不考虑光扩散的影响,直接根据提取的第一背光特征值进行像素补偿,不仅无法精确重现图像信息,还会产生明显的块效应,同时光扩散会有串扰,使得亮区域的亮度下降而暗区域亮度增强,影响显示效果。该情况下,第一背光特征值一方面可用于驱动背光组件发射背光,另一 方面可用于进行背光模拟,以便对图像进行补偿。In the embodiment of the present disclosure, since the first backlight characteristic values of each backlight partition are often different in size, the backlight light emitted by adjacent partitions will affect each other during the projection and diffusion process of the liquid crystal panel in the backlight cavity, and the actual backlight distribution of each backlight partition is not equal to the first backlight characteristic value. If the influence of light diffusion is not considered and pixel compensation is performed directly based on the extracted first backlight feature value, not only will the image information not be accurately reproduced, but an obvious block effect will also occur. At the same time, light diffusion will cause crosstalk, causing the brightness of the bright area to decrease. The brightness of dark areas is enhanced, affecting the display effect. In this case, the first backlight characteristic value can be used to drive the backlight assembly to emit backlight on the one hand, and on the other hand Aspects can be used to perform backlight simulations to compensate for images.
图8为本公开实施例中步骤S13的一种可选实现方法的流程图。如图8所示,在一些实施例中,步骤S13包括:Figure 8 is a flow chart of an optional implementation method of step S13 in the embodiment of the present disclosure. As shown in Figure 8, in some embodiments, step S13 includes:
步骤S131、针对任一背光分区,根据背光分区的第一背光特征值、背光分区的扩散分区的第一背光特征值以及背光分区的扩散分区的扩散因子,确定背光分区的背光扩散特征值。Step S131: For any backlight partition, determine the backlight diffusion characteristic value of the backlight partition based on the first backlight characteristic value of the backlight partition, the first backlight characteristic value of the diffusion partition of the backlight partition, and the diffusion factor of the diffusion partition of the backlight partition.
其中,扩散分区包括与背光分区之间的分区距离小于或等于扩散距离阈值的背光分区。The diffusion partition includes a backlight partition whose partition distance from the backlight partition is less than or equal to a diffusion distance threshold.
步骤S132、根据多个背光分区的背光扩散特征值,采用预设的插值算法以得到目标图像的各个像素点的像素背光特征值。Step S132: According to the backlight diffusion characteristic values of multiple backlight partitions, a preset interpolation algorithm is used to obtain the pixel backlight characteristic value of each pixel point of the target image.
步骤S133、针对任一像素点,根据像素点的像素背光特征值,采用非线性像素补偿的方式确定像素点的补偿因子。Step S133: For any pixel, use nonlinear pixel compensation to determine the compensation factor of the pixel according to the pixel backlight characteristic value of the pixel.
步骤S134、根据补偿因子,分别对各像素点的第一像素数据内各个子像素的像素灰度级进行补偿,得到像素点的第二像素数据。Step S134: Compensate the pixel gray level of each sub-pixel in the first pixel data of each pixel point according to the compensation factor to obtain the second pixel data of the pixel point.
在本公开实施例中,针对背光组件的任一个背光分区,可确定该背光分区的扩散分区。其中,扩散分区包括与背光分区之间的分区距离小于或等于扩散距离阈值q的背光分区,q为大于1的整数。扩散距离阈值q可例如取值为3、4、5等,本公开对扩散距离阈值q的具体取值不作限制。In embodiments of the present disclosure, for any backlight partition of the backlight assembly, the diffusion partition of the backlight partition can be determined. The diffusion partition includes a backlight partition whose partition distance from the backlight partition is less than or equal to the diffusion distance threshold q, where q is an integer greater than 1. The diffusion distance threshold q can, for example, take a value of 3, 4, 5, etc., and the present disclosure does not limit the specific value of the diffusion distance threshold q.
其中,扩散距离阈值q的取值越大则背光扩散模拟的精度越高,但计算量也较大;q的取值越小则背光扩散模拟的精度越低,但计算量较小。通常可根据光扩散模拟的精度需求与计算量需求综合设定扩散距离阈值q。例如,分区距离=4时,扩散因子取值为0.05;分区距离>4时的扩散因子进一步缩小,分区距离>4时的背光扩散可忽略不计,因此可将扩散距离阈值q设为4。Among them, the larger the value of the diffusion distance threshold q, the higher the accuracy of the backlight diffusion simulation, but the calculation amount is also larger; the smaller the value of q, the lower the accuracy of the backlight diffusion simulation, but the calculation amount is smaller. Usually, the diffusion distance threshold q can be set comprehensively based on the accuracy requirements and calculation requirements of light diffusion simulation. For example, when the partition distance = 4, the diffusion factor value is 0.05; when the partition distance > 4, the diffusion factor is further reduced, and when the partition distance > 4, the backlight diffusion is negligible, so the diffusion distance threshold q can be set to 4.
在一些实施例中,可对以该背光分区为中心的(2q+1)*(2q+1) 个背光分区进行背光扩散模拟。例如q=4时,对9*9个背光分区进行背光扩散模拟。In some embodiments, (2q+1)*(2q+1) centered on the backlight partition can be Perform backlight diffusion simulation on each backlight partition. For example, when q=4, perform backlight diffusion simulation on 9*9 backlight partitions.
在一些实施例中,在背光扩散模拟中,可将各个扩散分区的第一背光特征值与该扩散分区的扩散因子相乘,再将各个扩散分区的相乘结果(扩散分区的第一背光特征值与对应扩散因子的乘积)及该背光分区的第一背光特征值进行累加,得到该背光分区的背光扩散特征值。该背光扩散模拟的过程与卷积过程类似,可将其称为卷积扩散模型。In some embodiments, in the backlight diffusion simulation, the first backlight characteristic value of each diffusion partition can be multiplied by the diffusion factor of the diffusion partition, and then the multiplication result of each diffusion partition (the first backlight characteristic value of the diffusion partition) The product of the value and the corresponding diffusion factor) and the first backlight characteristic value of the backlight partition are accumulated to obtain the backlight diffusion characteristic value of the backlight partition. The backlight diffusion simulation process is similar to the convolution process, and it can be called a convolution diffusion model.
图9a为本公开实施例中一个背光分区及其对应的各扩散分区的示意图,图9b为图9a中所示背光分区及其对应的各扩散分区的扩散因子示意图。如图9a和图9b所示,扩散距离阈值=4时,对以编号为e5的背光分区为中心的9*9个背光分区进行背光扩散模拟,包括a1~a9、b1~b9、c1~c9、d1~d9、e1~e9、f1~f9、g1~g9、h1~h9、i1~i9;参见图9b所示,这9*9个背光分区的扩散因子为P1-P81。其中,当前处理的编号为e5的背光分区的扩散因子P41为1。Figure 9a is a schematic diagram of a backlight partition and its corresponding diffusion partitions in an embodiment of the present disclosure. Figure 9b is a schematic diagram of the diffusion factors of the backlight partition and its corresponding diffusion partitions shown in Figure 9a. As shown in Figure 9a and Figure 9b, when the diffusion distance threshold = 4, backlight diffusion simulation is performed on 9*9 backlight partitions centered on the backlight partition numbered e5, including a1~a9, b1~b9, c1~c9 , d1~d9, e1~e9, f1~f9, g1~g9, h1~h9, i1~i9; as shown in Figure 9b, the diffusion factors of these 9*9 backlight partitions are P1-P81. Among them, the diffusion factor P41 of the backlight partition numbered e5 currently being processed is 1.
在一些实施例中,扩散因子可以为预先实验测量得到的值,由显示设备的屏幕特性决定。该扩散因子的取值范围为[0,1],可与分区距离呈负相关,也即分区距离越大,扩散因子越小。例如,分区距离=4时,扩散因子取值为0.05。In some embodiments, the diffusion factor may be a value measured in advance by experiments and is determined by the screen characteristics of the display device. The diffusion factor has a value range of [0,1] and can be negatively correlated with the partition distance. That is, the greater the partition distance, the smaller the diffusion factor. For example, when the partition distance = 4, the diffusion factor is 0.05.
在一些实施例中,本领域技术人员可根据扩散因子的取值来设定扩散距离阈值。扩散距离阈值取值较大时,结果较精确,但计算量增大;扩散距离阈值取值较小时,结果精度下降,但计算量也减小。应当理解,本领域技术人员可根据实际情况设定扩散距离阈值,本公开对此不作限制。In some embodiments, those skilled in the art can set the diffusion distance threshold according to the value of the diffusion factor. When the diffusion distance threshold value is larger, the result is more accurate, but the calculation amount increases; when the diffusion distance threshold value is smaller, the result accuracy decreases, but the calculation amount also decreases. It should be understood that those skilled in the art can set the diffusion distance threshold according to actual conditions, and this disclosure does not limit this.
通过这种方式,能够对背光光线的扩散过程进行模拟,使得各个背光分区的背光扩散特征值更接近实际背光亮度,从而减少背光分区的块效应,提高显示效果。In this way, the diffusion process of backlight light can be simulated, so that the backlight diffusion characteristic value of each backlight partition is closer to the actual backlight brightness, thereby reducing the block effect of the backlight partition and improving the display effect.
在一些实施例中,对于处在显示设备边缘的背光分区,也即与显示 设备边缘的距离小于扩散距离阈值q的背光分区,其扩散分区的数量较少。In some embodiments, for the backlight partition at the edge of the display device, that is, with the display Backlight partitions whose distance from the edge of the device is smaller than the diffusion distance threshold q have a smaller number of diffusion partitions.
在一些实施例中,可仅选取扩散距离阈值q内的背光分区进行处理,通过卷积扩散模型得到背光扩散特征值。图10为本公开实施例中位于边缘处的背光分区及其所对应扩散分区的示意图。如图10所示,在扩散距离阈值q=4时,图10中的背光分区B11所对应扩散距离阈值内的扩散分区为B12~B15、B21~B25、B31~B35、B41~B45、B51~B55,共24个扩散分区。In some embodiments, only the backlight partitions within the diffusion distance threshold q can be selected for processing, and the backlight diffusion characteristic value can be obtained through the convolution diffusion model. FIG. 10 is a schematic diagram of the backlight partition located at the edge and its corresponding diffusion partition in an embodiment of the present disclosure. As shown in Figure 10, when the diffusion distance threshold q=4, the diffusion partitions within the diffusion distance threshold corresponding to the backlight partition B11 in Figure 10 are B12~B15, B21~B25, B31~B35, B41~B45, B51~ B55, a total of 24 diffusion zones.
由于边缘处的背光分区不完全满足卷积扩散模型,导致边缘的背光分区计算出的背光扩散特征值偏小,在经过像素补偿后,不完全满足卷积扩散模型的边缘分区和完全满足卷积扩散模型的正常分区的图像显示有明显的分界现象,显示效果变差。Since the backlight partition at the edge does not fully satisfy the convolution diffusion model, the calculated backlight diffusion characteristic value of the backlight partition at the edge is too small. After pixel compensation, the edge partition that does not fully satisfy the convolution diffusion model and fully satisfies the convolution The image of the normal partition of the diffusion model shows obvious demarcation phenomenon, and the display effect becomes worse.
该情况下,可对背光分区的数量进行扩展,以便提高对边缘的背光分区进行背光扩散模拟的背光扩散特征值。In this case, the number of backlight partitions can be expanded to increase the backlight diffusion characteristic value of the backlight diffusion simulation for the edge backlight partitions.
图11为本公开实施例中步骤S13的另一种可选实现方法的流程图。如图11所示,在一些实施例中,在步骤S131之前还包括:Figure 11 is a flow chart of another optional implementation method of step S13 in the embodiment of the present disclosure. As shown in Figure 11, in some embodiments, before step S131, it also includes:
步骤S130、根据预设的扩散距离阈值,确定在多个背光分区之外的虚拟分区的位置及数量,以及根据多个背光分区的第一背光特征值,分别确定各个虚拟分区的扩展背光特征值。Step S130: Determine the location and number of virtual partitions outside the plurality of backlight partitions according to the preset diffusion distance threshold, and determine the extended backlight characteristic value of each virtual partition according to the first backlight characteristic values of the plurality of backlight partitions. .
其中,虚拟分区的扩展背光特征值的本质为虚拟分区的第一背光特征值。The essence of the extended backlight characteristic value of the virtual partition is the first backlight characteristic value of the virtual partition.
举例来说,在通过步骤S11得到多个背光分区的第一背光特征值后,可在步骤S130中根据预设的扩散距离阈值q,对背光分区的数量进行扩展,确定需要扩展出的虚拟分区的位置及数量。For example, after obtaining the first backlight characteristic values of multiple backlight partitions in step S11, the number of backlight partitions can be expanded according to the preset diffusion distance threshold q in step S130 to determine the virtual partitions that need to be expanded. location and quantity.
图12为本公开实施例中的对背光分区进行扩展得到虚拟分区的示意图。如图12所示,设未扩展的背光分区所处区域为区域1,包括M*N 个背光分区,M、N为大于1的整数,对背光分区的数量进行扩展,需要使得边缘的背光分区在背光扩散模拟中的分区数量达到(2q+1)*(2q+1)。以左上边缘为例,可分别确定区域2的N*q个虚拟分区、区域3的M*q个虚拟分区以及区域4的q*q个虚拟分区。这样,对背光组件的各个边缘分别进行扩展,经扩展后,虚拟分区与背光分区的数量之和为(M+2q)*(N+2q)。例如,区域1包括96*56个背光分区,q=4,则经扩展后,得到总共(96+8)*(56+8)=104*64个分区。FIG. 12 is a schematic diagram of extending the backlight partition to obtain a virtual partition in an embodiment of the present disclosure. As shown in Figure 12, assume that the area where the unexpanded backlight partition is located is area 1, including M*N Backlight partitions, M and N are integers greater than 1. To expand the number of backlight partitions, it is necessary to make the number of partitions of the edge backlight partitions in the backlight diffusion simulation reach (2q+1)*(2q+1). Taking the upper left edge as an example, N*q virtual partitions in area 2, M*q virtual partitions in area 3, and q*q virtual partitions in area 4 can be determined respectively. In this way, each edge of the backlight assembly is expanded respectively. After expansion, the sum of the number of virtual partitions and backlight partitions is (M+2q)*(N+2q). For example, area 1 includes 96*56 backlight partitions, and q=4. After expansion, a total of (96+8)*(56+8)=104*64 partitions are obtained.
在一些实施例中,可在步骤S130中根据各个背光分区的第一背光特征值,以对边缘附近的背光分区的第一背光特征值进行镜像的方式,分别确定各个虚拟分区的扩展背光特征值。现对镜像的方式具体说明如下:In some embodiments, the extended backlight characteristic value of each virtual partition may be determined in step S130 in a manner that mirrors the first backlight characteristic value of the backlight partition near the edge according to the first backlight characteristic value of each backlight partition. . The specific description of the mirroring method is as follows:
对于图12中的各个区域,区域2中的虚拟分区的扩展背光特征值,以区域1的第1列为中心进行镜像。即q=4时,区域2第1列镜像区域1的第5列的第一背光特征值,第2列镜像区域1的第4列的第一背光特征值,第3列镜像区域1的第3列的第一背光特征值,第4列镜像区域1的第2列的第一背光特征值。For each area in Figure 12, the extended backlight feature value of the virtual partition in area 2 is mirrored centered on the 1st column of area 1. That is, when q=4, the first backlight feature value of column 1 in column 2 of area 2 mirrors the first backlight feature value of column 5 of area 1, the first backlight feature value of column 4 of column 2 mirror area 1, and the first backlight feature value of column 3 mirror area 1. The first backlight characteristic value of column 3, the first backlight characteristic value of column 2 of mirror area 1 of column 4.
其中,区域3中的虚拟分区的扩展背光特征值,以区域1的第1行第1列B11为中心进行镜像。即q=4时,区域3第1列镜像区域1的B55、B45、B35、B25四个分区对应的第一背光特征值,第2列镜像区域1的B54、B44、B34、B24四个分区对应的第一背光特征值,第3列镜像区域1的B53、B43、B33、B23四个分区对应的第一背光特征值,第4列镜像区域1的B52、B42、B32、B22四个分区对应的第一背光特征值。Among them, the extended backlight characteristic value of the virtual partition in area 3 is mirrored with the first row and first column B11 of area 1 as the center. That is, when q=4, the first backlight characteristic value corresponding to the four partitions B55, B45, B35, and B25 of the mirror area 1 in the first column of area 3, and the four partitions B54, B44, B34, and B24 of the mirror area 1 in the second column The corresponding first backlight characteristic value, the first backlight characteristic value corresponding to the four partitions B53, B43, B33, and B23 of the mirror area 1 in the third column, and the four partitions B52, B42, B32, and B22 of the mirror area 1 in the fourth column The corresponding first backlight characteristic value.
其中,区域4中的虚拟分区的扩展背光特征值,以区域1的第1行为中心进行镜像。即q=4时,区域4第1行镜像区域1的第5行的第一背光特征值,第2行镜像区域1的第4行的第一背光特征值,第3行镜像区域1的第3行,第4列镜像存储区域1的第2行的第一背光特征值。其他边缘位置的镜像补偿方式和上述方式类似。 Among them, the extended backlight characteristic value of the virtual partition in area 4 is mirrored centered on the first row of area 1. That is, when q=4, the first backlight feature value of row 1 of area 4 mirrors the first backlight feature value of row 5 of area 1, the second row mirrors the first backlight feature value of row 4 of area 1, and the third row mirrors the first backlight feature value of row 4 of area 1. Row 3, column 4 mirror the first backlight characteristic value of row 2 of area 1. The mirror compensation method for other edge positions is similar to the above method.
在一些实施例中,在采用FPGA(Field Programmable Gate Array,现场可编程逻辑门阵列)实现根据本公开实施例的显示控制装置的情况下,可将各个区域的分区的第一背光特征值分别存储在FPGA的BRAM(Block RAM,块存储器)中,例如区域1、区域2、区域3、区域4分别由一个BRAM存储。这样,由一共9个BRAM存储数据,构成(M+2q)*(N+2q)个分区的第一背光特征值。In some embodiments, when an FPGA (Field Programmable Gate Array) is used to implement the display control device according to the embodiment of the present disclosure, the first backlight characteristic values of the partitions in each area can be stored separately. In the BRAM (Block RAM) of the FPGA, for example, area 1, area 2, area 3, and area 4 are each stored in one BRAM. In this way, a total of 9 BRAMs store data, forming the first backlight characteristic values of (M+2q)*(N+2q) partitions.
在一些实施例中,在步骤S131中,如果待处理的背光分区与显示设备边缘之间的分区距离小于扩散距离阈值,则可根据该背光分区的第一背光特征值、背光分区的扩散分区的第一背光特征值、与背光分区之间的分区距离小于或等于扩散距离阈值的虚拟分区的扩展背光特征值,以及相应的扩散分区和虚拟分区的扩散因子,确定该背光分区的背光扩散特征值。In some embodiments, in step S131, if the partition distance between the backlight partition to be processed and the edge of the display device is less than the diffusion distance threshold, the first backlight feature value of the backlight partition, the diffusion partition of the backlight partition can be The first backlight characteristic value, the extended backlight characteristic value of the virtual partition whose partition distance from the backlight partition is less than or equal to the diffusion distance threshold, and the corresponding diffusion partition and diffusion factor of the virtual partition determine the backlight diffusion characteristic value of the backlight partition .
也就是说,对于任一背光分区,如果该背光分区与显示设备边缘的背光分区之间的分区距离小于扩散距离阈值q,则该背光分区为边缘分区,其扩散分区中包括与背光分区之间的分区距离小于或等于扩散距离阈值q的虚拟分区。这样,在步骤S131中,可对以该背光分区为中心的(2q+1)*(2q+1)个背光分区进行背光扩散模拟。也即,将该背光分区的第一背光特征值、该背光分区的扩散分区的第一背光特征值、与该背光分区之间的分区距离小于或等于扩散距离阈值的虚拟分区的扩展背光特征值,与相应的扩散分区及虚拟分区的扩散因子相乘,再将各个相乘结果及该背光分区的第一背光特征值进行累加,得到该背光分区的背光扩散特征值。That is to say, for any backlight partition, if the partition distance between the backlight partition and the backlight partition at the edge of the display device is less than the diffusion distance threshold q, then the backlight partition is an edge partition, and its diffusion partition includes the distance between the backlight partition and the backlight partition. The virtual partition whose partition distance is less than or equal to the diffusion distance threshold q. In this way, in step S131, backlight diffusion simulation can be performed on (2q+1)*(2q+1) backlight partitions centered on the backlight partition. That is, the first backlight characteristic value of the backlight partition, the first backlight characteristic value of the diffusion partition of the backlight partition, and the extended backlight characteristic value of the virtual partition whose partition distance between the backlight partition is less than or equal to the diffusion distance threshold are , multiplied by the diffusion factors of the corresponding diffusion partitions and virtual partitions, and then accumulating each multiplication result and the first backlight characteristic value of the backlight partition to obtain the backlight diffusion characteristic value of the backlight partition.
通过这种方式,能够提高对边缘分区背光模拟后的背光扩散特征值,提高背光模拟的精度。In this way, the backlight diffusion characteristic value after simulating the edge partition backlight can be improved, and the accuracy of the backlight simulation can be improved.
图13为本公开实施例中的背光组件的边框的示意图。如图13所示,背光组件设置在背板上,背光组件的侧面设置有边框,边框上设置有反射片,能够将发射到反射片的光反射到显示组件上。因此,在不对背光 分区进行扩展的情况下,边缘的背光分区计算出的背光扩散特征值偏小。FIG. 13 is a schematic diagram of a frame of a backlight assembly in an embodiment of the present disclosure. As shown in Figure 13, the backlight assembly is provided on the backplane. A frame is provided on the side of the backlight assembly, and a reflective sheet is provided on the frame to reflect the light emitted to the reflective sheet onto the display assembly. Therefore, without correcting the backlight When the partitions are expanded, the backlight diffusion characteristic value calculated for the edge backlight partition is smaller.
上述直接进行镜像的扩展方式,可认为是反射片的反射率为1的情况。然而,实际应用中,反射片的反射率通常小于1。该情况下,可为各个虚拟分区设定影响因子,以便进一步提高背光扩散模拟的精度。The above-mentioned direct mirroring expansion method can be considered as a case where the reflectivity of the reflective sheet is 1. However, in practical applications, the reflectivity of reflective sheets is usually less than 1. In this case, influence factors can be set for each virtual partition to further improve the accuracy of backlight diffusion simulation.
在一些实施例中,在步骤S130中确定出虚拟分区的位置及数量之后,可根据多个背光分区的第一背光特征值以及各个虚拟分区的影响因子,分别确定各个虚拟分区的扩展背光特征值。In some embodiments, after the positions and numbers of the virtual partitions are determined in step S130, the extended backlight characteristic values of each virtual partition may be determined based on the first backlight characteristic values of the multiple backlight partitions and the influence factors of each virtual partition. .
在一些实施例中,影响因子与背光组件侧面的反射率相关联。In some embodiments, the impact factor is related to the reflectivity of the side of the backlight assembly.
举例来说,影响因子与背光组件侧面的反射率相关联。可根据背光组件侧面的反射率计算出虚拟分区的影响因子,也可通过实际测试确定出虚拟分区的影响因子。可为各个虚拟分区设定相同的影响因子,也可为各个虚拟分区设定不同的影响因子。本公开对影响因子的具体确定方式及设定方式均不作限制。For example, the impact factor is related to the reflectivity of the sides of the backlight assembly. The impact factor of the virtual partition can be calculated based on the reflectivity of the side of the backlight component, or can be determined through actual testing. The same impact factor can be set for each virtual partition, or different impact factors can be set for each virtual partition. This disclosure does not limit the specific determination method or setting method of the impact factor.
在一些实施例中,可以以对边缘附近的背光分区的第一背光特征值进行镜像的方式,分别确定与各个虚拟分区对应的背光分区,该镜像过程不再赘述。对于任一虚拟分区,将与该虚拟分区对应的背光分区的第一背光特征值与该虚拟分区的影响因子相乘,将结果作为该虚拟分区的扩展背光特征值。从而,能够确定出各个虚拟分区的扩展背光特征值。In some embodiments, the backlight partition corresponding to each virtual partition may be determined by mirroring the first backlight characteristic value of the backlight partition near the edge. This mirroring process will not be described again. For any virtual partition, the first backlight characteristic value of the backlight partition corresponding to the virtual partition is multiplied by the influence factor of the virtual partition, and the result is used as the extended backlight characteristic value of the virtual partition. Therefore, the extended backlight characteristic value of each virtual partition can be determined.
通过这种方式,能够基于影响因子确定虚拟分区的背光亮度,进一步提高背光扩散模拟的精度,从而提升补偿后的图像画面的显示效果。In this way, the backlight brightness of the virtual partition can be determined based on the influence factor, further improving the accuracy of the backlight diffusion simulation, thereby improving the display effect of the compensated image.
上述的背光模拟能够有效去除块效应,使图像的不同分区之间过渡更加平滑。为了获得更好的图像显示效果,使整幅图像更加平滑,根据本公开的实施例,可进一步计算背光分区内每个像素点的像素背光特征值。The above-mentioned backlight simulation can effectively remove the blocking effect and make the transition between different partitions of the image smoother. In order to obtain a better image display effect and make the entire image smoother, according to embodiments of the present disclosure, the pixel backlight characteristic value of each pixel in the backlight partition can be further calculated.
也即,在通过步骤S141得到各个背光分区的背光扩散特征值后,可在步骤S142中通过预设的插值算法来对各个背光分区内的像素点的背 光进行模拟,得到目标图像的各个像素点的像素背光特征值。That is, after obtaining the backlight diffusion characteristic value of each backlight partition in step S141, the backlight diffusion characteristic value of the pixels in each backlight partition can be calculated by using a preset interpolation algorithm in step S142. Light is simulated to obtain the pixel backlight characteristic value of each pixel of the target image.
图14为本公开实施例中步骤S132的一种可选实现方法的流程图。如图14所示,在一些实施例中,步骤S132包括:Figure 14 is a flow chart of an optional implementation method of step S132 in an embodiment of the present disclosure. As shown in Figure 14, in some embodiments, step S132 includes:
步骤S1321、针对任一目标区域,根据所覆盖的2*2个背光分区的背光扩散特征值,分别确定目标区域的顶点像素点的像素背光特征值。Step S1321: For any target area, determine the pixel backlight characteristic values of the vertex pixels of the target area according to the backlight diffusion characteristic values of the covered 2*2 backlight partitions.
其中,目标区域是以所覆盖的2*2个背光分区的中心为顶点,且尺寸与背光分区的尺寸相同的区域。Among them, the target area is an area with the center of the covered 2*2 backlight partitions as the vertex, and the size is the same as the size of the backlight partition.
步骤S1322、根据目标区域的顶点像素点的第二背光亮度值,利用预设的插值算法对目标区域中的各个像素点分别进行插值处理,得到目标区域中各个像素点的像素背光特征值。Step S1322: According to the second backlight brightness value of the vertex pixel of the target area, use a preset interpolation algorithm to perform interpolation processing on each pixel in the target area to obtain the pixel backlight characteristic value of each pixel in the target area.
举例来说,可确定多个目标区域,目标区域是以背光分区的中心点为顶点,尺寸与背光分区的尺寸相同的区域。For example, multiple target areas may be determined. The target area is an area with the center point of the backlight partition as a vertex and the same size as the backlight partition.
图15为本公开实施例中的从相邻四个背光分区中选取目标区域的一种示意图。如图15所示,各背光分区B1、B2、B3、B4均对应4*4个像素点a1~a16、b1~b16、c1~c16、d1~d16。4个背光分区B1、B2、B3、B4的中点连线限定出一个目标区域C1,目标区域C1的四个顶点像素点分别为像素点a11、像素点b10、像素点c7和像素点d6。FIG. 15 is a schematic diagram of selecting a target area from four adjacent backlight partitions in an embodiment of the present disclosure. As shown in Figure 15, each backlight partition B1, B2, B3, and B4 corresponds to 4*4 pixel points a1~a16, b1~b16, c1~c16, d1~d16. The four backlight partitions B1, B2, B3, The midpoint connection of B4 defines a target area C1. The four vertex pixels of the target area C1 are pixel point a11, pixel point b10, pixel point c7 and pixel point d6 respectively.
其中,像素点a11的像素背光特征值取值为所属背光分区B1的背光扩散特征值,像素点b10的像素背光特征值取值为所属背光分区B2的背光扩散特征值,像素点c7的像素背光特征值取值为所属背光分区B3的背光扩散特征值;像素点d6的像素背光特征值取值为所属背光分区B4的背光扩散特征值。此时,基于四个顶点像素点a11、b10、c7、d6的像素背光特征值生成一个2*2的矩阵,通过预设的插值算法对上述2*2矩阵进行插值处理,并生成一个4*4的矩阵,该4*4的矩阵与目标区域C1中4*4个像素点相对应,从而得到目标区域C1中4*4个像素点的像素背光特征值。 Among them, the pixel backlight characteristic value of pixel point a11 is the backlight diffusion characteristic value of the backlight partition B1 to which it belongs, the pixel backlight characteristic value of pixel point b10 is the backlight diffusion characteristic value of the backlight partition B2 to which it belongs, and the pixel backlight characteristic value of pixel point c7 is The characteristic value is the backlight diffusion characteristic value of the backlight partition B3 to which it belongs; the pixel backlight characteristic value of the pixel point d6 is the backlight diffusion characteristic value of the backlight partition B4 to which it belongs. At this time, a 2*2 matrix is generated based on the pixel backlight characteristic values of the four vertex pixel points a11, b10, c7, and d6. The above 2*2 matrix is interpolated through the preset interpolation algorithm and a 4* The 4*4 matrix corresponds to the 4*4 pixels in the target area C1, thereby obtaining the pixel backlight characteristic values of the 4*4 pixels in the target area C1.
作为一种可选实施方案,预设的插值算法为双线性插值算法。作为一种具体运算方式,将目标区域C1中四个顶点像素点a11、b10、c7、d6映射至平面直角坐标系(横坐标用x表示,纵坐标用y表示)中,对应的坐标分别设定为(0,1)、(1,1)、(0,0)、(1,0),该四个坐标点所限定的区域为SQ1。其中,位于区域SQ1中任意一点(x0,y0)所对应的像素背光特征值f(x0,y0)为:As an optional implementation, the preset interpolation algorithm is a bilinear interpolation algorithm. As a specific operation method, the four vertex pixel points a11, b10, c7, and d6 in the target area C1 are mapped to the plane rectangular coordinate system (the abscissa is represented by x, the ordinate is represented by y), and the corresponding coordinates are respectively set Defined as (0,1), (1,1), (0,0), (1,0), the area defined by these four coordinate points is SQ1. Among them, the pixel backlight feature value f(x0, y0) corresponding to any point (x0, y0) in the area SQ1 is:
f(x0,y0)=f(0,0)*(1-x0)*(1-y0)+f(1,0)*x0*(1-y0)+f(0,1)*(1-x0)*y0+f(1,1)*x0*y0f(x0,y0)=f(0,0)*(1-x0)*(1-y0)+f(1,0)*x0*(1-y0)+f(0,1)*(1 -x0)*y0+f(1,1)*x0*y0
其中,0≤x0≤1,0≤y0≤1;f(0,0)、f(1,0)、f(0,1)、f(1,1)的取值分别为顶点像素点c7的像素背光特征值、顶点像素点d6的像素背光特征值、顶点像素点a11的像素背光特征值和顶点像素点b10的像素背光特征值。Among them, 0≤x0≤1, 0≤y0≤1; the values of f(0,0), f(1,0), f(0,1), and f(1,1) are respectively the vertex pixel point c7 The pixel backlight characteristic value of , the pixel backlight characteristic value of the vertex pixel point d6, the pixel backlight characteristic value of the vertex pixel point a11 and the pixel backlight characteristic value of the vertex pixel point b10.
上述通过双线性插值算法对2*2矩阵进行插值处理,并生成一个4*4的矩阵的过程,可看作是求解坐标(0,0)、(1/3,0)、(2/3,0)、(1,0)、(0,1/3)、(1/3,1/3)、(2/3,1/3)、(1,1/3)、(0,2/3)、(1/3,2/3)、(2/3,2/3)、(1,2/3)、(0,1)、(1/3,1)、(2/3,1)、(1,1)所对应像素背光特征值的过程。在完成差值处理后,根据得到矩阵确定目标区域C1中各像素点的像素背光特征值。例如,图15中像素点c4的像素背光特征值即为f(1/3,1/3),图15中像素点b14的像素背光特征值即为f(1,2/3)。The above process of interpolating a 2*2 matrix through the bilinear interpolation algorithm and generating a 4*4 matrix can be regarded as solving the coordinates (0,0), (1/3, 0), (2/ 3,0), (1,0), (0,1/3), (1/3,1/3), (2/3,1/3), (1,1/3), (0, 2/3), (1/3, 2/3), (2/3, 2/3), (1, 2/3), (0,1), (1/3, 1), (2/ The process of pixel backlight characteristic value corresponding to 3,1) and (1,1). After completing the difference processing, the pixel backlight characteristic value of each pixel in the target area C1 is determined according to the obtained matrix. For example, the pixel backlight characteristic value of pixel point c4 in Figure 15 is f (1/3, 1/3), and the pixel backlight characteristic value of pixel point b14 in Figure 15 is f (1, 2/3).
在一些实施例中,对于处在显示设备边缘的目标区域,可对超出边缘的部分补零,或者进行镜像,镜像的方式与前面描述的方式类似。同样通过预设的插值算法来对显示设备边缘的目标区域进行插值,得到该目标区域中所有像素点的像素背光特征值。本公开对超出边缘的部分的具体处理方式不作限制。In some embodiments, for the target area at the edge of the display device, the portion beyond the edge can be zero-padded or mirrored. The mirroring method is similar to the method described above. The target area at the edge of the display device is also interpolated through a preset interpolation algorithm to obtain the pixel backlight characteristic values of all pixels in the target area. This disclosure does not limit the specific processing method of the portion beyond the edge.
通过这种方式,能够实现对各个像素点的背光模拟,进一步提高背光模拟的精度,从而使整幅图像更加平滑,获得更好的图像显示效果。 In this way, the backlight simulation of each pixel can be realized, further improving the accuracy of the backlight simulation, thereby making the entire image smoother and achieving better image display effects.
当然,在本公开实施例中,还可以采用其他线性插值算法或非线性插值算法来模拟出显示画面内各像素点的像素背光特征值。此处不再一一举例描述。Of course, in the embodiments of the present disclosure, other linear interpolation algorithms or non-linear interpolation algorithms can also be used to simulate the pixel backlight characteristic values of each pixel in the display screen. No examples will be given here.
在一些实施例中,在通过步骤S132得到目标图像的各个像素点的像素背光特征值后,可通过步骤S133和步骤S134,来对目标图像的各个像素点的第一像素数据分别进行补偿,得到补偿后的第二像素数据。In some embodiments, after obtaining the pixel backlight characteristic value of each pixel point of the target image through step S132, the first pixel data of each pixel point of the target image can be compensated respectively through step S133 and step S134, to obtain The compensated second pixel data.
相关技术中,存在线性像素补偿和非线性像素补偿的方式,线性像素补偿易于实现且计算复杂度低,但是对于高亮度的图像处理不佳。若背光亮度较低,不仅会放大图像本身的噪声,还会因补偿过大引起光晕现象,从而造成补偿后的图像细节丢失,图像画面显示效果变差。In the related art, there are linear pixel compensation and non-linear pixel compensation methods. Linear pixel compensation is easy to implement and has low computational complexity, but it is not good at processing high-brightness images. If the backlight brightness is low, it will not only amplify the noise of the image itself, but also cause a halo phenomenon due to excessive compensation, resulting in the loss of image details after compensation and worsening of the image display effect.
根据本公开的实施例,可采用非线性像素补偿的方式。具体地,在步骤S133中通过非线性像素补偿的方式确定像素点的补偿因子,并在步骤S134中基于所确定的根据补偿因子,分别对各像素点的第一像素数据内各个子像素的像素灰度级进行补偿,得到像素点的第二像素数据。According to embodiments of the present disclosure, a non-linear pixel compensation method may be adopted. Specifically, in step S133, the compensation factor of the pixel point is determined through non-linear pixel compensation, and in step S134, based on the determined compensation factor, the pixels of each sub-pixel in the first pixel data of each pixel point are calculated. The gray level is compensated to obtain the second pixel data of the pixel.
举例来说,针对任一个像素点,根据该像素点的像素背光特征值,可采用非线性像素补偿的方式,确定该像素点的补偿因子。公式表示如下:
For example, for any pixel, according to the pixel backlight characteristic value of the pixel, non-linear pixel compensation can be used to determine the compensation factor of the pixel. The formula is expressed as follows:
在公式(7)中,factor(u,v)表示像素点(u,v)的补偿因子;BLpix(u,v)表示像素点(u,v)的像素背光特征值;BLbase为实际测试的常量,例如BLbase取值为预设的最大像素灰度级imax;γ1为定值,例如取值为2.2。通过公式(7),即可得到各个像素点的补偿因子。In formula (7), factor (u, v) represents the compensation factor of pixel (u, v); BL pix (u, v) represents the pixel backlight characteristic value of pixel (u, v); BL base is the actual The test constant, for example, the value of BL base is the preset maximum pixel gray level i max ; γ1 is a fixed value, for example, the value is 2.2. Through formula (7), the compensation factor of each pixel can be obtained.
在一些实施例中,可根据公式(7)得到的补偿因子,直接对像素点进行补偿。In some embodiments, the pixels can be compensated directly according to the compensation factor obtained by formula (7).
在另一些实施例中,也可采用将公式(7)所计算出的补偿因子(称为第一补偿因子)与像素点所对应的最大补偿因子(称为第二补偿因子) 进行比较,选取第一补偿因子和第二补偿因子中较小者作为像素点的最终补偿因子,以避免对像素点进行补偿后出现像素灰度级的取值溢出情况。In other embodiments, the compensation factor calculated by formula (7) (called the first compensation factor) and the maximum compensation factor corresponding to the pixel (called the second compensation factor) can also be used. Compare and select the smaller of the first compensation factor and the second compensation factor as the final compensation factor of the pixel to avoid overflow of the pixel gray level value after the pixel is compensated.
图16为本公开实施例中步骤S133的一种可选实现方法的流程图。如图16所示,在一些实施例中,步骤S133包括:Figure 16 is a flow chart of an optional implementation method of step S133 in an embodiment of the present disclosure. As shown in Figure 16, in some embodiments, step S133 includes:
步骤S1331、根据像素点的像素背光特征值,采用非线性像素补偿的方式确定像素点的第一补偿因子。Step S1331: Determine the first compensation factor of the pixel using nonlinear pixel compensation according to the pixel backlight characteristic value of the pixel.
步骤S1332、根据像素点的第一像素数据,确定像素点的第二补偿因子。Step S1332: Determine the second compensation factor of the pixel according to the first pixel data of the pixel.
步骤S1333、将第一补偿因子与第二补偿因子中的较小者,确定为像素点的补偿因子。Step S1333: Determine the smaller of the first compensation factor and the second compensation factor as the compensation factor of the pixel.
在步骤S1331中,可通过公式(7)得到像素点的第一补偿因子。In step S1331, the first compensation factor of the pixel can be obtained through formula (7).
在步骤S1332中,先根据像素点的第一像素数据确定出像素点的像素灰阶级(像素点所包含子像素中的像素灰度级的最大值),然后利用预设的最大像素灰度级与像素点的像素灰阶级imax进行除法运算,运算结果作为第二补偿因子(表征该像素点所能够配置的最大补偿因子)。In step S1332, first determine the pixel gray level of the pixel (the maximum value of the pixel gray level in the sub-pixels included in the pixel) based on the first pixel data of the pixel, and then use the preset maximum pixel gray level A division operation is performed with the pixel gray level i max of the pixel, and the operation result is used as the second compensation factor (representing the maximum compensation factor that can be configured for the pixel).
在步骤S1333中,选取步骤S1331所求得第一补偿因子与步骤S1332所求得第二补偿因子中的较小者,作为该像素点的最终补偿因子。In step S1333, the smaller one of the first compensation factor obtained in step S1331 and the second compensation factor obtained in step S1332 is selected as the final compensation factor of the pixel point.
在通过步骤S133得到各像素点的补偿因子后,在步骤S134中分别对各像素点的第一像素数据内各个子像素的像素灰度级进行补偿,得到像素点的第二像素数据。具体地,可将像素点的第一像素数据内各个子像素的像素灰度级分别与步骤S133中所求得的补偿因子进行乘法运算,以对各个子像素的像素灰度级进行补偿,从而得到该像素点的第二像素数据。After obtaining the compensation factor of each pixel point through step S133, in step S134, the pixel gray level of each sub-pixel in the first pixel data of each pixel point is compensated to obtain the second pixel data of the pixel point. Specifically, the pixel gray level of each sub-pixel in the first pixel data of the pixel point can be multiplied by the compensation factor obtained in step S133 to compensate the pixel gray level of each sub-pixel, thereby Obtain the second pixel data of the pixel.
通过这种方式,能够实现对目标图像像素点的像素补偿,从而提高图像画面的显示效果。 In this way, pixel compensation for the target image pixels can be achieved, thereby improving the display effect of the image.
图17为本公开实施例提供的另一种显示控制方法的流程图。如图17所示,与前面实施例所提供的显示控制方法不同的是,在步骤S13之后,还包括:Figure 17 is a flow chart of another display control method provided by an embodiment of the present disclosure. As shown in Figure 17, what is different from the display control method provided in the previous embodiment is that after step S13, it also includes:
步骤S14、在满足目标图像的显示条件的情况下,同时将多个背光分区的背光驱动值和各个像素点的第二像素数据分别输入驱动部件和显示组件。Step S14: When the display conditions of the target image are met, the backlight driving values of the multiple backlight partitions and the second pixel data of each pixel point are simultaneously input into the driving component and the display component respectively.
也就是说,如果满足目标图像的显示条件,同时将多个背光分区的背光驱动值和各个像素点的第二像素数据分别输入驱动部件和显示组件,以驱动部件驱动多个背光分区的背光灯发射对应于目标图像的背光,同时使得显示组件显示该目标图像。That is to say, if the display conditions of the target image are met, the backlight driving values of multiple backlight partitions and the second pixel data of each pixel point are input into the driving component and the display component respectively, so that the driving component drives the backlight lamps of the multiple backlight partitions. The backlight corresponding to the target image is emitted, and the display component displays the target image.
在本公开实施例中,同时将对应同一目标图像的背光数据(各背光区域的背光驱动值)和像素数据(各像素点的第二像素数据)分别发送给背光组件和显示组件,以保证背光数据与像素数据的匹配。In the embodiment of the present disclosure, the backlight data (the backlight driving value of each backlight area) and the pixel data (the second pixel data of each pixel) corresponding to the same target image are simultaneously sent to the backlight component and the display component respectively to ensure that the backlight Matching of data to pixel data.
在一些实施例中,目标图像的显示条件可例如包括:对应于该目标图像的行同步信号VX、列同步信号HX、数据有效信号DE等均有效。可根据该目标图像的帧标识ID等信息,确定相应的各种信号;根据显示设备的显示方式,设定目标图像的显示条件。本公开对显示条件的具体内容不作限制。In some embodiments, the display condition of the target image may include, for example: the row synchronization signal VX, the column synchronization signal HX, the data valid signal DE, etc. corresponding to the target image are all valid. Various corresponding signals can be determined according to the frame identification ID and other information of the target image; the display conditions of the target image can be set according to the display mode of the display device. This disclosure does not limit the specific content of the display conditions.
根据本公开实施例的显示控制方法,能够应用于各种显示系统,尤其是大屏或超大屏高清显示系统,例如Mini_LED背光显示系统中,采用区域动态背光控制的方式,通过灰度级的分区特征提取、滤波、背光扩散卷积、插值求取像素背光特征值、像素补偿等操作,提高显示系统的显示画面的质量、提升显示画面的对比度,显著降低显示系统的功耗,并且,能够比较完整地保留图像细节,取得更好的视觉效果。The display control method according to the embodiment of the present disclosure can be applied to various display systems, especially large-screen or ultra-large-screen high-definition display systems. For example, in Mini_LED backlight display systems, regional dynamic backlight control is adopted, through grayscale partitioning. Feature extraction, filtering, backlight diffusion convolution, interpolation to obtain pixel backlight characteristic values, pixel compensation and other operations can improve the quality of the display system's display screen, improve the contrast of the display screen, significantly reduce the power consumption of the display system, and be able to compare Completely retain image details and achieve better visual effects.
基于同一发明构思,本公开实施例还提供了一种显示控制装置,该显示控制装置可用于实现前面实施例所提供的显示控制方法。图18为本公开实施例提供的一种显示控制装置的结构框图。如图18所示,该显示 控制装置包括:Based on the same inventive concept, embodiments of the present disclosure also provide a display control device, which can be used to implement the display control method provided in the previous embodiments. FIG. 18 is a structural block diagram of a display control device provided by an embodiment of the present disclosure. As shown in Figure 18, the display Controls include:
亮暗程度获取模块10,用于获取目标图像的亮暗程度特征值,亮暗程度特征值表征目标图像的亮暗程度。The brightness and darkness acquisition module 10 is used to acquire the brightness and darkness feature values of the target image, and the brightness and darkness feature values represent the brightness and darkness of the target image.
背光特征确定模块11,用于根据显示设备的背光组件的多个背光分区所对应像素点的像素灰度级,对目标图像的像素点进行分区特征提取,并根据分区特征提取结果和亮暗程度特征值确定多个背光分区的第一背光特征值。The backlight feature determination module 11 is used to extract the partition features of the pixels of the target image according to the pixel gray levels corresponding to the multiple backlight partitions of the backlight component of the display device, and extract the partition features and the brightness level according to the partition feature extraction results The characteristic value determines a first backlight characteristic value of the plurality of backlight partitions.
驱动值确定模块13,用于根据多个背光分区的第一背光特征值确定各背光分区的背光驱动值,以供背光组件基于背光驱动值发射对应于目标图像的背光。The drive value determination module 13 is configured to determine the backlight drive value of each backlight partition according to the first backlight characteristic values of the plurality of backlight partitions, so that the backlight assembly emits backlight corresponding to the target image based on the backlight drive value.
补偿模块14,用于根据多个背光分区的第一背光特征值,对目标图像的各个像素点的第一像素数据分别进行补偿,得到补偿后的第二像素数据,以供显示设备的显示组件基于第二像素数据显示目标图像。The compensation module 14 is used to respectively compensate the first pixel data of each pixel point of the target image according to the first backlight characteristic values of the plurality of backlight partitions, and obtain the compensated second pixel data for use by the display component of the display device. The target image is displayed based on the second pixel data.
图19为本公开实施例提供的另一种显示控制装置的结构框图。如图19所示,图19所示显示控制装置为基于图18所示像素控制装置的一种具体化可选实施方案。Figure 19 is a structural block diagram of another display control device provided by an embodiment of the present disclosure. As shown in FIG. 19 , the display control device shown in FIG. 19 is a specific optional implementation based on the pixel control device shown in FIG. 18 .
在一些实施例中,像素控制装置还包括:滤波模块12;其中,滤波模块12用于对多个背光分区的第一背光特征值进行滤波,得到各背光分区更新后的第一背光特征值。In some embodiments, the pixel control device further includes: a filter module 12; wherein the filter module 12 is used to filter the first backlight characteristic values of multiple backlight partitions to obtain updated first backlight characteristic values of each backlight partition.
在一些实施例中,亮暗程度获取模块10具体用于根据目标图像中各像素点的第一像素数据确定目标图像的亮暗程度特征值。In some embodiments, the brightness and darkness acquisition module 10 is specifically configured to determine the brightness and darkness feature values of the target image according to the first pixel data of each pixel point in the target image.
在一些实施例中,亮暗程度获取模块10包括直方图生成单元101a和亮度程度获取单元102a。In some embodiments, the brightness level acquisition module 10 includes a histogram generation unit 101a and a brightness level acquisition unit 102a.
其中,直方图生成单元101a具体用于根据目标图像中各像素点的第一像素数据所包含的各子像素的像素灰度级生成目标图像的灰度直方图。 The histogram generating unit 101a is specifically configured to generate a grayscale histogram of the target image based on the pixel grayscale of each sub-pixel included in the first pixel data of each pixel point in the target image.
亮度程度获取单元102a具体用于根据灰度直方图确定目标图像的亮暗程度特征值。The brightness level acquisition unit 102a is specifically configured to determine the brightness and darkness feature values of the target image based on the grayscale histogram.
在一些实施例中,亮度程度获取单元102a具体用于根据灰度直方图中所记载的各像素灰度级的像素点数量,确定出满足的最小N取值,并将确定出的N作为亮暗程度特征值。In some embodiments, the brightness level acquisition unit 102a is specifically configured to determine, based on the number of pixel points of each pixel gray level recorded in the grayscale histogram, the brightness level acquisition unit 102a that satisfies the The minimum N value is taken, and the determined N is used as the brightness feature value.
其中,N为整数且0≤N≤imax,imax表示预设的最大像素灰度级,ti表示灰度直方图中所记载像素灰度级为i的像素点数量,T表示目标图像中像素点的数量,S表示预设的比例阈值,0.5≤S<1。Among them, N is an integer and 0≤N≤i max , i max represents the preset maximum pixel gray level, t i represents the number of pixels with pixel gray level i recorded in the grayscale histogram, and T represents the target image. The number of pixels in the image, S represents the preset proportion threshold, 0.5≤S<1.
在一些实施例中,背光特征确定模块11包括:分区特征提取单元111、加权系数确定单元112和第一背光特征值计算单元113。In some embodiments, the backlight feature determination module 11 includes: a partition feature extraction unit 111, a weighting coefficient determination unit 112, and a first backlight feature value calculation unit 113.
其中,分区特征提取单元111,用于针对任一所述背光分区,根据所述目标图像在所述背光分区内的各像素点的像素灰度级,确定各所述背光分区内像素点的像素灰度级的第一特征代表值和第二特征代表值,以作为所述分区特征提取结果,其中第一特征代表值小于第二特征代表值。Wherein, the partition feature extraction unit 111 is used for determining the pixels of each pixel in each backlight partition according to the pixel gray level of each pixel in the backlight partition of the target image for any of the backlight partitions. The first feature representative value and the second feature representative value of the gray level are used as the partition feature extraction results, wherein the first feature representative value is smaller than the second feature representative value.
在一些实施例中,背光分区内像素点的像素灰度级的第一特征代表值,为背光分区内像素点的像素灰度级的平均值;背光分区内像素点的像素灰度级的第二特征代表值,为背光分区内像素点的像素灰度级的最大值。In some embodiments, the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the average value of the pixel gray level of the pixel point in the backlight partition; the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition The second characteristic representative value is the maximum value of the pixel gray level of the pixel in the backlight partition.
加权系数确定单元112,用于根据亮暗程度特征值确定出加权系数P;其中,加权系数与亮暗程度特征值呈负相关。The weighting coefficient determination unit 112 is used to determine the weighting coefficient P according to the feature value of the brightness and darkness degree; wherein the weighting coefficient is negatively correlated with the feature value of the brightness and darkness degree.
在一些实施例中,根据亮暗程度特征值所确定出的加权系数P为:
In some embodiments, the weighting coefficient P determined according to the feature value of the brightness and darkness is:
imax表示预设的最大像素灰度级,F0表示亮暗程度特征值,0≤F0≤ imaxi max represents the preset maximum pixel gray level, F 0 represents the feature value of lightness and darkness, 0≤F 0imax .
第一背光特征值计算单元113,用于针对任一背光分区,根据加权系数以及背光分区内像素点的像素灰度级的第一特征代表值和第二特征代表值,确定出背光分区的第一背光特征值;
BL1=(1-P)×BLR1+P×BLR2
The first backlight characteristic value calculation unit 113 is configured to determine, for any backlight partition, the third characteristic value of the backlight partition according to the weighting coefficient and the first characteristic representative value and the second characteristic representative value of the pixel gray level of the pixel in the backlight partition. a backlight characteristic value;
BL 1 =(1-P)×BLR 1 +P×BLR 2
BL1为背光分区的第一背光特征值,P为加权系数,BLR1为背光分区内所有像素点的像素灰度级的第一特征代表值,BLR2为背光分区内所有像素点的像素灰度级的第二特征代表值。BL 1 is the first backlight characteristic value of the backlight partition, P is the weighting coefficient, BLR 1 is the first characteristic representative value of the pixel gray level of all pixels in the backlight partition, and BLR 2 is the pixel gray of all pixels in the backlight partition. The second eigenvalue of degree level represents the value.
在一些实施例中,背光分区内像素点的像素灰度级的第一特征代表值,为背光分区内像素点的像素灰度级的平均值;背光分区内像素点的像素灰度级的第二特征代表值,为背光分区内像素点的像素灰度级的最大值。In some embodiments, the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the average value of the pixel gray level of the pixel point in the backlight partition; the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition The second characteristic representative value is the maximum value of the pixel gray level of the pixel in the backlight partition.
在一些实施例中,滤波模块12包括:滤波系数确定单元121和滤波处理单元122。In some embodiments, the filtering module 12 includes: a filter coefficient determination unit 121 and a filter processing unit 122.
其中,滤波系数确定单元121,用于根据亮暗程度特征值确定出滤波系数Q;其中,滤波系数与亮暗程度特征值呈正相关。Among them, the filter coefficient determining unit 121 is used to determine the filter coefficient Q according to the feature value of the brightness and darkness degree; wherein the filter coefficient is positively correlated with the feature value of the brightness and darkness degree.
在一些实施例中,根据亮暗程度特征值所确定出的滤波系数Q为:
In some embodiments, the filter coefficient Q determined according to the feature value of the brightness and darkness is:
imax表示预设的最大像素灰度级,F0表示亮暗程度特征值,0≤F0≤imaxi max represents the preset maximum pixel gray level, F 0 represents the feature value of lightness and darkness, 0 ≤ F 0i max .
滤波处理单元122,用于针对任一背光分区,根据背光分区的第一背光特征值、背光分区的邻近分区的第一背光特征值以及预先确定的滤波系数,确定背光分区更新后的第一背光特征值;其中,邻近分区包括与背光分区之间的分区距离小于或等于分区距离阈值的背光分区。The filter processing unit 122 is configured to determine, for any backlight partition, the updated first backlight of the backlight partition based on the first backlight characteristic value of the backlight partition, the first backlight characteristic value of adjacent partitions of the backlight partition, and a predetermined filter coefficient. Feature value; wherein the neighboring partitions include backlight partitions whose partition distance from the backlight partition is less than or equal to the partition distance threshold.
在一些实施例中,滤波处理单元122具体用于根据邻近分区的第一 背光特征值和滤波系数,确定邻近分区的第二背光特征值,以及将背光分区的第一背光特征值以及各个邻近分区的第二背光特征值中的最大值,确定为背光分区更新后的第一背光特征值。或者,滤波处理单元122具体用于从邻近分区中选取第一背光特征值最大的一个邻近分区作为目标邻近分区,并根据目标邻近分区的第一背光特征值和滤波系数,确定目标邻近分区的第二背光特征值;将背光分区的第一背光特征值以及目标邻近分区的第二背光特征值中的较大值,确定为背光分区更新后的第一背光特征值。In some embodiments, the filter processing unit 122 is specifically configured to first The backlight characteristic value and the filter coefficient are used to determine the second backlight characteristic value of the adjacent partition, and the maximum value of the first backlight characteristic value of the backlight partition and the second backlight characteristic value of each adjacent partition is determined as the updated backlight partition. A backlight characteristic value. Alternatively, the filter processing unit 122 is specifically configured to select a neighboring partition with the largest first backlight feature value from the neighboring partitions as the target neighboring partition, and determine the first backlight characteristic value of the target neighboring partition according to the first backlight characteristic value and the filter coefficient of the target neighboring partition. 2. Backlight characteristic values; determine the larger value of the first backlight characteristic value of the backlight partition and the second backlight characteristic value of the target adjacent partition as the first backlight characteristic value after the backlight partition is updated.
在一些实施例中,驱动值确定模块13包括:调整系数确定单元131和驱动值计算单元132。In some embodiments, the driving value determination module 13 includes: an adjustment coefficient determination unit 131 and a driving value calculation unit 132.
其中,调整系数确定单元131,用于根据亮暗程度特征值确定出驱动调整系数W,其中驱动调整系数W与亮暗程度特征值呈正相关。The adjustment coefficient determining unit 131 is used to determine the driving adjustment coefficient W according to the brightness and darkness characteristic values, where the driving adjustment coefficient W is positively correlated with the brightness and darkness characteristic values.
在一些实施例中,根据亮暗程度特征值所确定出的驱动调整系数W为:
In some embodiments, the driving adjustment coefficient W determined according to the feature value of the brightness and darkness is:
F0表示亮暗程度特征值,0≤F0≤imax,imax表示预设的最大像素灰度级,m为预设的常量系数且m≥2。F 0 represents the feature value of lightness and darkness, 0≤F 0 ≤i max , i max represents the preset maximum pixel gray level, m is the preset constant coefficient and m≥2.
驱动值计算单元132,用于针对任一背光分区,根据背光分区的第一背光特征值以及预先确定的驱动调整系数,确定背光分区的背光驱动值;
The drive value calculation unit 132 is configured to, for any backlight partition, determine the backlight drive value of the backlight partition according to the first backlight characteristic value of the backlight partition and the predetermined drive adjustment coefficient;
Bdrive表示背光分区的背光驱动值,BL2表示背光分区的第一背光特征值,W表示驱动调整系数,imax表示预设的最大像素灰度级,Imax表示预设的最大背光灰度级。B drive represents the backlight drive value of the backlight partition, BL 2 represents the first backlight characteristic value of the backlight partition, W represents the drive adjustment coefficient, i max represents the preset maximum pixel gray level, and I max represents the preset maximum backlight gray level. class.
在一些实施例中,m取值为5。 In some embodiments, m takes a value of 5.
在一些实施例中,背光组件包括驱动部件和多个背光分区的背光灯,显示控制装置还包括:驱动值发送模块15以及像素数据发送模块16。In some embodiments, the backlight assembly includes a driving component and backlight lamps of multiple backlight partitions, and the display control device further includes: a driving value sending module 15 and a pixel data sending module 16 .
驱动值发送模块15,用于在满足目标图像的显示条件的情况下,将多个背光分区的背光驱动值输入至驱动部件。The driving value sending module 15 is configured to input the backlight driving values of the plurality of backlight partitions to the driving component when the display conditions of the target image are met.
像素数据发送模块16,用于在满足目标图像的显示条件的情况下,将各个像素点的第二像素数据输入至显示组件。The pixel data sending module 16 is used to input the second pixel data of each pixel point to the display component when the display conditions of the target image are met.
在一些实施例中,补偿模块14包括:背光扩散模拟单元141、插值处理单元142、补偿因子确定单元143和补偿单元144。In some embodiments, the compensation module 14 includes: a backlight diffusion simulation unit 141, an interpolation processing unit 142, a compensation factor determination unit 143, and a compensation unit 144.
其中,背光扩散模拟单元141,用于针对任一背光分区,根据背光分区的第一背光特征值、背光分区的扩散分区的第一背光特征值以及背光分区的扩散分区的扩散因子,确定背光分区的背光扩散特征值;其中,扩散分区包括与背光分区之间的分区距离小于或等于扩散距离阈值的背光分区。Wherein, the backlight diffusion simulation unit 141 is used for determining the backlight partition for any backlight partition according to the first backlight characteristic value of the backlight partition, the first backlight characteristic value of the diffusion partition of the backlight partition, and the diffusion factor of the diffusion partition of the backlight partition. The backlight diffusion characteristic value; wherein the diffusion partition includes a backlight partition whose partition distance from the backlight partition is less than or equal to the diffusion distance threshold.
插值处理单元142,用于根据多个背光分区的背光扩散特征值,采用预设的插值算法以得到目标图像的各个像素点的像素背光特征值。The interpolation processing unit 142 is configured to use a preset interpolation algorithm to obtain the pixel backlight characteristic value of each pixel point of the target image according to the backlight diffusion characteristic values of the multiple backlight partitions.
补偿因子确定单元143,用于针对任一像素点,根据像素点的像素背光特征值,采用非线性像素补偿的方式确定像素点的补偿因子。The compensation factor determination unit 143 is used for determining the compensation factor of any pixel point by using non-linear pixel compensation according to the pixel backlight characteristic value of the pixel point.
补偿单元144,用于根据补偿因子,分别对各像素点的第一像素数据内各个子像素的像素灰度级进行补偿,得到像素点的第二像素数据。The compensation unit 144 is used to compensate the pixel gray level of each sub-pixel in the first pixel data of each pixel point according to the compensation factor to obtain the second pixel data of the pixel point.
对于上述各模块和单元的具体描述,可参见前面实施例中的相应内容,此处不再赘述。For the specific description of each of the above modules and units, please refer to the corresponding content in the previous embodiments, and will not be described again here.
基于同一发明构思,本公开实施例还提供了一种显示设备。图20为本公开实施例提供的一种显示设备的结构框图。如图20所示,该显示设备包括:背光组件71、显示组件72以及显示控制装置73,显示控制装置采用上面实施例中所提供的显示控制装置。Based on the same inventive concept, embodiments of the present disclosure also provide a display device. Figure 20 is a structural block diagram of a display device provided by an embodiment of the present disclosure. As shown in FIG. 20 , the display device includes: a backlight component 71 , a display component 72 and a display control device 73 . The display control device adopts the display control device provided in the above embodiment.
显示控制装置分别连接背光组件及显示组件,用于根据待显示的目 标图像,确定目标图像在多个背光分区的背光驱动值以及补偿后的第二像素数据,并向背光组件输入背光驱动值,以及向显示组件输入补偿后的第二像素数据。The display control device is connected to the backlight component and the display component respectively, and is used to control the display according to the purpose to be displayed. The target image is determined, the backlight drive value and the compensated second pixel data of the target image in multiple backlight partitions are determined, the backlight drive value is input to the backlight component, and the compensated second pixel data is input to the display component.
背光组件包括驱动部件和多个背光分区,驱动部件用于根据多个背光分区的背光驱动值,驱动多个背光分区发射背光。The backlight assembly includes a driving component and a plurality of backlight partitions. The driving component is used to drive the multiple backlight partitions to emit backlight according to the backlight driving values of the multiple backlight partitions.
显示组件用于根据输入的第二像素数据进行显示。The display component is used for displaying according to the input second pixel data.
在一些实施例中,显示控制装置73可以为现场可编程门阵列FPGA,也可以为其它类型的逻辑器件,本公开对此不作限制。In some embodiments, the display control device 73 may be a field programmable gate array FPGA or other types of logic devices, which is not limited by this disclosure.
图21为本公开实施例的一种电子设备的结构示意图。如图21所示,本公开实施例提供一种电子设备包括:一个或多个处理器101、存储器102、一个或多个I/O接口103。存储器102上存储有一个或多个程序,当该一个或多个程序被该一个或多个处理器执行,使得该一个或多个处理器实现如上述实施例中任一的显示控制方法;一个或多个I/O接口103连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。Figure 21 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in Figure 21, an embodiment of the present disclosure provides an electronic device including: one or more processors 101, a memory 102, and one or more I/O interfaces 103. One or more programs are stored on the memory 102. When the one or more programs are executed by the one or more processors, the one or more processors implement the display control method as in any of the above embodiments; one One or more I/O interfaces 103 are connected between the processor and the memory, and are configured to realize information exchange between the processor and the memory.
其中,处理器101为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器102为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)103连接在处理器101与存储器102间,能实现处理器101与存储器102的信息交互,其包括但不限于数据总线(Bus)等。Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically Such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I/O interface (read-write interface) 103 is connected between the processor 101 and the memory 102 , can realize information interaction between the processor 101 and the memory 102, which includes but is not limited to a data bus (Bus), etc.
在一些实施例中,处理器101、存储器102和I/O接口103通过总线104相互连接,进而与计算设备的其它组件连接。In some embodiments, processor 101, memory 102, and I/O interface 103 are connected to each other and, in turn, to other components of the computing device via bus 104.
在一些实施例中,该一个或多个处理器101包括现场可编程门阵列FPGA。In some embodiments, the one or more processors 101 include a field programmable gate array FPGA.
根据本公开的实施例,还提供一种计算机可读介质。该计算机可读介质上存储有计算机程序,其中,该程序被处理器执行时实现如上述实 施例中任一的图像显示控制方法中的步骤。According to embodiments of the present disclosure, a computer-readable medium is also provided. The computer-readable medium stores a computer program, wherein when the program is executed by the processor, the above-mentioned implementation is realized. The steps in the image display control method in any embodiment.
特别地,根据本公开实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在机器可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分从网络上被下载和安装,和/或从可拆卸介质被安装。在该计算机程序被中央处理单元(CPU)执行时,执行本公开的系统中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a machine-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such embodiments, the computer program may be downloaded and installed from the network via the communications component, and/or installed from removable media. When the computer program is executed by a central processing unit (CPU), the above-described functions defined in the system of the present disclosure are performed.
需要说明的是,本公开所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。 It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmed read-only memory (EPROM or flash memory), fiber optics, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,前述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more components that implement the specified logical function(s). executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
描述于本公开实施例中所涉及到的电路或子电路可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的电路或子电路也可以设置在处理器中,例如,可以描述为:一种处理器,包括:接收电路和处理电路,该处理模块包括写入子电路和读取子电路。其中,这些电路或子电路的名称在某种情况下并不构成对该电路或子电路本身的限定,例如,接收电路还可以被描述为“接收视频信号”。The circuits or sub-circuits described in the embodiments of the present disclosure may be implemented in software or hardware. The described circuit or sub-circuit can also be provided in a processor. For example, it can be described as: a processor including: a receiving circuit and a processing circuit. The processing module includes a writing sub-circuit and a reading sub-circuit. The names of these circuits or sub-circuits do not constitute a limitation on the circuit or sub-circuit itself under certain circumstances. For example, a receiving circuit can also be described as "receiving video signals".
可以理解的是,以上实施方式仅仅是为了说明本公开的原理而采用的示例性实施方式,然而本公开并不局限于此。对于本领域内的普通技术人员而言,在不脱离本公开的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本公开的保护范围。 It can be understood that the above embodiments are only exemplary embodiments adopted to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the disclosure, and these modifications and improvements are also regarded as the protection scope of the disclosure.

Claims (24)

  1. 一种显示控制方法,其特征在于,包括:A display control method, characterized by including:
    获取目标图像的亮暗程度特征值,所述亮暗程度特征值表征所述目标图像的亮暗程度;Obtain the brightness and darkness feature value of the target image, and the brightness and darkness feature value represents the brightness and darkness degree of the target image;
    根据显示设备的背光组件的多个背光分区所对应像素点的像素灰度级,对所述目标图像的像素点进行分区特征提取,并根据分区特征提取结果和所述亮暗程度特征值确定各所述背光分区的第一背光特征值;According to the pixel gray levels of the pixels corresponding to the multiple backlight partitions of the backlight assembly of the display device, partition features are extracted for the pixels of the target image, and each partition feature is determined based on the partition feature extraction results and the brightness and darkness feature values. The first backlight characteristic value of the backlight partition;
    根据所述多个背光分区的第一背光特征值确定各所述背光分区的背光驱动值,以供所述背光组件基于所述背光驱动值发射对应于所述目标图像的背光;Determine the backlight drive value of each backlight partition according to the first backlight characteristic value of the plurality of backlight partitions, so that the backlight assembly emits backlight corresponding to the target image based on the backlight drive value;
    根据所述多个背光分区的第一背光特征值,对所述目标图像的各个像素点的第一像素数据分别进行补偿,得到补偿后的第二像素数据,以供所述显示设备的显示组件基于所述第二像素数据显示所述目标图像。According to the first backlight characteristic values of the plurality of backlight partitions, the first pixel data of each pixel point of the target image is compensated respectively, and the compensated second pixel data is obtained for the display component of the display device The target image is displayed based on the second pixel data.
  2. 根据权利要求1所述的显示控制方法,其特征在于,获取目标图像的亮暗程度特征值的步骤,包括:The display control method according to claim 1, wherein the step of obtaining the brightness and darkness characteristic value of the target image includes:
    根据目标图像中各像素点的第一像素数据确定目标图像的亮暗程度特征值。The brightness feature value of the target image is determined based on the first pixel data of each pixel point in the target image.
  3. 根据权利要求2所述的显示控制方法,其特征在于,根据目标图像中各像素点的像素灰度级确定目标图像的亮暗程度特征值的步骤,包括:The display control method according to claim 2, characterized in that the step of determining the brightness and darkness characteristic value of the target image according to the pixel gray level of each pixel in the target image includes:
    根据目标图像中各像素点的第一像素数据所包含的各子像素的像素灰度级生成所述目标图像的灰度直方图;Generate a grayscale histogram of the target image according to the pixel gray level of each sub-pixel included in the first pixel data of each pixel in the target image;
    根据所述灰度直方图确定所述目标图像的亮暗程度特征值。The brightness and darkness feature values of the target image are determined according to the grayscale histogram.
  4. 根据权利要求3所述的显示控制方法,其特征在于,所述根据所述灰度直方图确定所述目标图像的亮暗程度特征值的步骤,包括: The display control method according to claim 3, wherein the step of determining the brightness and darkness characteristic value of the target image according to the grayscale histogram includes:
    根据所述灰度直方图中所记载的各像素灰度级的像素点数量,确定出满足的最小N取值,并将确定出的N作为所述亮暗程度特征值;According to the number of pixel points of each pixel gray level recorded in the grayscale histogram, it is determined that the The minimum N value is taken, and the determined N is used as the feature value of the brightness and darkness degree;
    其中,N为整数且0≤N≤imax,imax表示预设的最大像素灰度级,ti表示灰度直方图中所记载像素灰度级为i的像素点数量,T表示所述目标图像中像素点的数量,S表示预设的比例阈值,0.5≤S<1。Among them, N is an integer and 0≤N≤i max , i max represents the preset maximum pixel gray level, t i represents the number of pixels with a pixel gray level of i recorded in the grayscale histogram, and T represents the above The number of pixels in the target image, S represents the preset proportion threshold, 0.5≤S<1.
  5. 根据权利要求1所述的显示控制方法,其特征在于,所述根据显示设备的背光组件的多个背光分区所对应像素点的像素灰度级,对所述目标图像的像素点进行分区特征提取的步骤包括:The display control method according to claim 1, characterized in that, based on the pixel gray levels of the pixels corresponding to the plurality of backlight partitions of the backlight assembly of the display device, partition feature extraction is performed on the pixels of the target image. The steps include:
    针对任一所述背光分区,根据所述目标图像在所述背光分区内的各像素点的像素灰度级,确定各所述背光分区内像素点的像素灰度级的第一特征代表值和第二特征代表值,以作为所述分区特征提取结果,其中所述第一特征代表值小于所述第二特征代表值。For any of the backlight partitions, according to the pixel gray level of each pixel point in the backlight partition of the target image, determine the first characteristic representative value and the pixel gray level of the pixel point in each backlight partition. A second feature representative value is used as the partition feature extraction result, wherein the first feature representative value is smaller than the second feature representative value.
  6. 根据权利要求5所述的显示控制方法,其特征在于,所述背光分区内像素点的像素灰度级的第一特征代表值,为所述所述背光分区内像素点的像素灰度级的平均值;The display control method according to claim 5, characterized in that the first characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the value of the pixel gray level of the pixel point in the backlight partition. average value;
    所述背光分区内像素点的像素灰度级的第二特征代表值,为所述背光分区内像素点的像素灰度级的最大值。The second characteristic representative value of the pixel gray level of the pixel point in the backlight partition is the maximum value of the pixel gray level of the pixel point in the backlight partition.
  7. 根据权利要求5或6所述的显示控制方法,其特征在于,所述根据分区特征提取结果和所述亮暗程度特征值确定所述多个背光分区的第一背光特征值的步骤,包括:The display control method according to claim 5 or 6, characterized in that the step of determining the first backlight feature values of the plurality of backlight partitions based on the partition feature extraction results and the brightness and darkness feature values includes:
    根据所述亮暗程度特征值确定出加权系数,所述加权系数与所述亮暗程度特征值呈负相关;A weighting coefficient is determined according to the feature value of the brightness and darkness degree, and the weighting coefficient is negatively correlated with the feature value of the brightness and darkness degree;
    针对任一背光分区,根据所述加权系数以及所述背光分区内像素点的像素灰度级的第一特征代表值和第二特征代表值,确定出所述背光分区的第一背光特征值; For any backlight partition, determine the first backlight characteristic value of the backlight partition according to the weighting coefficient and the first characteristic representative value and the second characteristic representative value of the pixel gray level of the pixel in the backlight partition;
    BL1=(1-P)×BLR1+P×BLR2 BL 1 =(1-P)×BLR 1 +P×BLR 2
    BL1为所述背光分区的第一背光特征值,P为所述加权系数,BLR1为所述背光分区内所有像素点的像素灰度级的第一特征代表值,BLR2为所述背光分区内所有像素点的像素灰度级的第二特征代表值。BL 1 is the first backlight characteristic value of the backlight partition, P is the weighting coefficient, BLR 1 is the first characteristic representative value of the pixel gray level of all pixels in the backlight partition, and BLR 2 is the backlight The second characteristic representative value of the pixel gray level of all pixels in the partition.
  8. 根据权利要求7所述的显示控制方法,其特征在于,根据所述亮暗程度特征值所确定出的加权系数P为:
    The display control method according to claim 7, characterized in that the weighting coefficient P determined according to the feature value of the brightness and darkness degree is:
    imax表示最大像素灰度级,F0表示所述亮暗程度特征值,0≤F0≤imaxi max represents the maximum pixel gray level, F 0 represents the characteristic value of the brightness and darkness, 0≤F 0 ≤i max ;
  9. 根据权利要求1所述的显示控制方法,其特征在于,在根据分区特征提取结果和所述亮暗程度特征值确定各所述背光分区的第一背光特征值的步骤之后,且在根据所述多个背光分区的第一背光特征值确定各所述背光分区的背光驱动值的步骤以及在根据所述多个背光分区的第一背光特征值,对所述目标图像的各个像素点的第一像素数据分别进行补偿的步骤之前,还包括:The display control method according to claim 1, characterized in that, after the step of determining the first backlight characteristic value of each backlight partition according to the partition characteristic extraction result and the brightness and darkness characteristic value, and after the step of determining the first backlight characteristic value of each backlight partition according to the The step of determining the backlight driving value of each backlight partition based on the first backlight characteristic values of the plurality of backlight partitions and the first step of determining the first backlight characteristic value of each pixel of the target image according to the first backlight characteristic values of the plurality of backlight partitions. Before the step of separately compensating pixel data, it also includes:
    对所述多个背光分区的第一背光特征值进行滤波,得到各所述背光分区更新后的第一背光特征值。The first backlight characteristic values of the plurality of backlight partitions are filtered to obtain updated first backlight characteristic values of each of the backlight partitions.
  10. 根据权利要求9所述的显示控制方法,其特征在于,所述对所述多个背光分区的第一背光特征值进行滤波,得到各所述背光分区更新后的第一背光特征值的步骤,包括:The display control method according to claim 9, characterized in that the step of filtering the first backlight characteristic values of the plurality of backlight partitions to obtain the updated first backlight characteristic value of each backlight partition, include:
    针对任一背光分区,根据所述背光分区的第一背光特征值、所述背光分区的邻近分区的第一背光特征值以及预先确定的滤波系数,确定所述背光分区更新后的第一背光特征值;For any backlight partition, determine the updated first backlight characteristic of the backlight partition based on the first backlight characteristic value of the backlight partition, the first backlight characteristic value of an adjacent partition of the backlight partition, and a predetermined filter coefficient. value;
    其中,所述邻近分区包括与所述背光分区之间的分区距离小于或等于分区距离阈值的背光分区。Wherein, the adjacent partitions include backlight partitions whose partition distance from the backlight partition is less than or equal to a partition distance threshold.
  11. 根据权利要求10所述的显示控制方法,其特征在于,在根据所 述背光分区的第一背光特征值、所述背光分区的邻近分区的第一背光特征值以及预先确定的滤波系数,确定所述背光分区更新后的第一背光特征值的步骤之前,还包括:The display control method according to claim 10, characterized in that according to the The first backlight characteristic value of the backlight partition, the first backlight characteristic value of the adjacent partition of the backlight partition and the predetermined filter coefficient, before the step of determining the updated first backlight characteristic value of the backlight partition, also includes:
    根据所述亮暗程度特征值确定出所述滤波系数,所述滤波系数与所述亮暗程度特征值呈正相关。The filter coefficient is determined according to the feature value of the brightness and darkness degree, and the filter coefficient is positively correlated with the feature value of the brightness and darkness degree.
  12. 根据权利要求11所述的显示控制方法,其特征在于,根据所述亮暗程度特征值所确定出的所述滤波系数Q为:
    The display control method according to claim 11, characterized in that the filter coefficient Q determined according to the feature value of the brightness and darkness degree is:
    imax表示预设的最大像素灰度级,F0表示所述亮暗程度特征值,0≤F0≤imaxi max represents the preset maximum pixel gray level, F 0 represents the feature value of the brightness and darkness, 0 ≤ F 0 ≤ i max .
  13. 根据权利要求10至12中任一所述的显示控制方法,其特征在于,根据所述背光分区的第一背光特征值、所述背光分区的邻近分区的第一背光特征值以及预先确定的滤波系数,确定所述背光分区更新后的第一背光特征值,包括:The display control method according to any one of claims 10 to 12, characterized in that, according to the first backlight characteristic value of the backlight partition, the first backlight characteristic value of the adjacent partition of the backlight partition and a predetermined filter The coefficient, which determines the first backlight characteristic value after the backlight partition is updated, includes:
    根据所述邻近分区的第一背光特征值和所述滤波系数,确定所述邻近分区的第二背光特征值;Determine a second backlight characteristic value of the adjacent partition according to the first backlight characteristic value of the adjacent partition and the filter coefficient;
    将所述背光分区的第一背光特征值以及各个所述邻近分区的第二背光特征值中的最大值,确定为所述背光分区更新后的第一背光特征值。The maximum value among the first backlight characteristic value of the backlight partition and the second backlight characteristic value of each adjacent partition is determined as the updated first backlight characteristic value of the backlight partition.
    或者,or,
    从所述邻近分区中选取第一背光特征值最大的一个邻近分区作为目标邻近分区,并根据所述目标邻近分区的第一背光特征值和滤波系数,确定目标邻近分区的第二背光特征值;Select a neighboring partition with the largest first backlight characteristic value from the neighboring partitions as the target neighboring partition, and determine the second backlight characteristic value of the target neighboring partition according to the first backlight characteristic value and filter coefficient of the target neighboring partition;
    将所述背光分区的第一背光特征值以及所述目标邻近分区的第二背光特征值中的较大值,确定为所述背光分区更新后的第一背光特征值。The larger value of the first backlight characteristic value of the backlight partition and the second backlight characteristic value of the target adjacent partition is determined as the updated first backlight characteristic value of the backlight partition.
  14. 根据权利要求1所述的显示控制方法,其特征在于,根据所述多 个背光分区的第一背光特征值确定各所述背光分区的背光驱动值的步骤包括:The display control method according to claim 1, characterized in that according to the multiple The step of determining the backlight drive value of each backlight partition based on the first backlight characteristic value of each backlight partition includes:
    针对任一背光分区,根据所述背光分区的第一背光特征值以及预先确定的驱动调整系数,确定所述背光分区的背光驱动值;
    For any backlight partition, determine the backlight drive value of the backlight partition according to the first backlight characteristic value of the backlight partition and the predetermined drive adjustment coefficient;
    Bdrive表示所述背光分区的背光驱动值,BL2表示所述背光分区的第一背光特征值,W表示所述驱动调整系数,imax表示预设的最大像素灰度级,Imax表示预设的最大背光灰度级。B drive represents the backlight drive value of the backlight partition, BL 2 represents the first backlight characteristic value of the backlight partition, W represents the drive adjustment coefficient, i max represents the preset maximum pixel gray level, and I max represents the preset Set the maximum backlight gray level.
  15. 根据权利要求14所述的显示控制方法,其特征在于,在根据所述背光分区的第一背光特征值以及预先确定的驱动调整系数,确定所述背光分区的背光驱动值的步骤之前,还包括:The display control method according to claim 14, characterized in that, before the step of determining the backlight drive value of the backlight partition according to the first backlight characteristic value of the backlight partition and the predetermined drive adjustment coefficient, it further includes: :
    根据所述亮暗程度特征值确定出驱动调整系数W,所述驱动调整系数W与所述亮暗程度特征值呈正相关。A driving adjustment coefficient W is determined according to the brightness and darkness characteristic value, and the driving adjustment coefficient W is positively correlated with the brightness and darkness characteristic value.
  16. 根据权利要求15所述的显示控制方法,其特征在于,根据所述亮暗程度特征值所确定出的驱动调整系数W为:
    The display control method according to claim 15, characterized in that the driving adjustment coefficient W determined according to the brightness and darkness characteristic value is:
    F0表示所述亮暗程度特征值,0≤F0≤imax,imax表示预设的最大像素灰度级,m为预设的常量系数且m≥2。F 0 represents the feature value of the brightness and darkness degree, 0 ≤ F 0 ≤ i max , i max represents the preset maximum pixel gray level, m is the preset constant coefficient and m ≥ 2.
  17. 根据权利要求16所述的显示控制方法,其特征在于,m取值为5。The display control method according to claim 16, wherein m takes a value of 5.
  18. 根据权利要求1所述的显示控制方法,其特征在于,所述背光组件包括驱动部件和所述多个背光分区的背光灯,所述方法还包括:The display control method according to claim 1, wherein the backlight assembly includes a driving component and backlight lamps of the plurality of backlight partitions, and the method further includes:
    在满足所述目标图像的显示条件的情况下,同时将所述多个背光分区的背光驱动值和所述各个像素点的第二像素数据分别输入所述驱动部件和显示组件。 When the display conditions of the target image are met, the backlight driving values of the plurality of backlight partitions and the second pixel data of each pixel point are respectively input to the driving component and the display component at the same time.
  19. 根据权利要求1所述的显示控制方法,其特征在于,所述根据所述多个背光分区的第一背光特征值,对所述目标图像的各个像素点的第一像素数据分别进行补偿,得到补偿后的第二像素数据的步骤,包括:The display control method according to claim 1, wherein the first pixel data of each pixel point of the target image is compensated respectively according to the first backlight characteristic values of the plurality of backlight partitions to obtain The steps of compensating the second pixel data include:
    针对任一背光分区,根据所述背光分区的第一背光特征值、所述背光分区的扩散分区的第一背光特征值以及所述背光分区的扩散分区的扩散因子,确定所述背光分区的背光扩散特征值;其中,所述扩散分区包括与所述背光分区之间的分区距离小于或等于扩散距离阈值的背光分区;For any backlight partition, determine the backlight of the backlight partition according to the first backlight characteristic value of the backlight partition, the first backlight characteristic value of the diffusion partition of the backlight partition, and the diffusion factor of the diffusion partition of the backlight partition. Diffusion characteristic value; wherein the diffusion partition includes a backlight partition whose partition distance from the backlight partition is less than or equal to a diffusion distance threshold;
    根据所述多个背光分区的背光扩散特征值,采用预设的插值算法以得到所述目标图像的各个像素点的像素背光特征值;According to the backlight diffusion characteristic values of the plurality of backlight partitions, a preset interpolation algorithm is used to obtain the pixel backlight characteristic value of each pixel point of the target image;
    针对任一像素点,根据所述像素点的像素背光特征值,采用非线性像素补偿的方式确定所述像素点的补偿因子;For any pixel, determine the compensation factor of the pixel using nonlinear pixel compensation based on the pixel backlight characteristic value of the pixel;
    根据所述补偿因子,分别对各所述像素点的所述第一像素数据内各个子像素的像素灰度级进行补偿,得到所述像素点的第二像素数据。According to the compensation factor, the pixel gray level of each sub-pixel in the first pixel data of each pixel point is compensated respectively to obtain the second pixel data of the pixel point.
  20. 一种显示控制装置,其特征在于,包括:A display control device, characterized in that it includes:
    亮暗程度获取模块,用于获取目标图像的亮暗程度特征值,所述亮暗程度特征值表征所述目标图像的亮暗程度;The brightness and darkness degree acquisition module is used to acquire the brightness and darkness degree characteristic value of the target image, and the brightness and darkness degree characteristic value represents the brightness and darkness degree of the target image;
    背光特征确定模块,用于根据显示设备的背光组件的多个背光分区所对应像素点的像素灰度级,对所述目标图像的像素点进行分区特征提取,并根据分区特征提取结果和所述亮暗程度特征值确定所述多个背光分区的第一背光特征值;The backlight feature determination module is used to extract the partition features of the pixels of the target image according to the pixel gray levels corresponding to the plurality of backlight partitions of the backlight component of the display device, and extract the partition features according to the partition feature extraction results and the The brightness and darkness feature values determine the first backlight feature values of the plurality of backlight partitions;
    驱动值确定模块,用于根据所述多个背光分区的第一背光特征值确定各所述背光分区的背光驱动值,以供所述背光组件基于所述背光驱动值发射对应于所述目标图像的背光;a driving value determination module, configured to determine the backlight driving value of each backlight partition according to the first backlight characteristic value of the plurality of backlight partitions, so that the backlight assembly can emit an image corresponding to the target based on the backlight driving value. backlight;
    补偿模块,用于根据所述多个背光分区的第一背光特征值,对所述目标图像的各个像素点的第一像素数据分别进行补偿,得到补偿后的第 二像素数据,以供所述显示设备的显示组件基于所述第二像素数据显示所述目标图像。A compensation module, configured to respectively compensate the first pixel data of each pixel point of the target image according to the first backlight characteristic values of the plurality of backlight partitions, and obtain the compensated third Two pixel data for the display component of the display device to display the target image based on the second pixel data.
  21. 一种显示设备,其特征在于,包括:背光组件、显示组件以及显示控制装置,所述显示控制装置分别连接所述背光组件和所述显示组件,所述显示控制装置采用权利要求20所述的显示控制装置;A display device, characterized in that it includes: a backlight component, a display component and a display control device. The display control device is connected to the backlight component and the display component respectively. The display control device adopts the method described in claim 20 display control device;
    所述背光组件包括驱动部件和多个背光分区,所述驱动部件用于根据所述多个背光分区的背光驱动值,驱动所述多个背光分区发射背光;The backlight assembly includes a driving component and a plurality of backlight partitions, the driving component is used to drive the plurality of backlight partitions to emit backlight according to the backlight driving values of the plurality of backlight partitions;
    所述显示组件用于根据输入的第二像素数据进行显示。The display component is used to display according to the input second pixel data.
  22. 一种电子设备,其特征在于,包括:An electronic device, characterized by including:
    一个或多个处理器;one or more processors;
    存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1至19中任一所述的显示控制方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the display control method as described in any one of claims 1 to 19.
  23. 根据权利要求22所述的电子设备,其特征在于,所述处理器包括现场可编程门阵列FPGA。The electronic device of claim 22, wherein the processor includes a field programmable gate array (FPGA).
  24. 一种计算机可读介质,其上存储有计算机程序,其中,所述计算机程序在被处理器执行时实现如权利要求1至19中任一所述的显示控制方法中的步骤。 A computer-readable medium having a computer program stored thereon, wherein the computer program implements the steps in the display control method as claimed in any one of claims 1 to 19 when executed by a processor.
PCT/CN2023/077076 2022-04-29 2023-02-20 Display control method and apparatus, display device, electronic device and medium WO2023207275A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210467410.1A CN114822421B (en) 2022-04-29 2022-04-29 Display control method and device, display equipment, electronic equipment and medium
CN202210467410.1 2022-04-29

Publications (1)

Publication Number Publication Date
WO2023207275A1 true WO2023207275A1 (en) 2023-11-02

Family

ID=82510167

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/077076 WO2023207275A1 (en) 2022-04-29 2023-02-20 Display control method and apparatus, display device, electronic device and medium

Country Status (2)

Country Link
CN (1) CN114822421B (en)
WO (1) WO2023207275A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114822421B (en) * 2022-04-29 2023-12-22 京东方科技集团股份有限公司 Display control method and device, display equipment, electronic equipment and medium
CN116013209B (en) * 2022-12-28 2023-08-15 北京显芯科技有限公司 Backlight area adjusting method and device, electronic equipment and storage medium
CN117292653B (en) * 2023-09-28 2024-04-09 北京显芯科技有限公司 Data processing method and backlight display system
CN117198220B (en) * 2023-11-07 2024-01-12 惠科股份有限公司 Driving method and device of display panel, display module and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102324222A (en) * 2011-08-09 2012-01-18 旭曜科技股份有限公司 Compensation device and method for display screen image in backlight local dimming system
US20130016141A1 (en) * 2011-07-12 2013-01-17 Orise Technology Co., Ltd. Method and apparatus of compensating image in a backlight local dimming system
CN107689214A (en) * 2016-08-05 2018-02-13 青岛海信电器股份有限公司 The backlight adjusting method and device of a kind of intelligent display device
CN107886905A (en) * 2016-09-29 2018-04-06 上海顺久电子科技有限公司 Backlight subarea control method and device
CN108648700A (en) * 2018-05-18 2018-10-12 京东方科技集团股份有限公司 A kind of the dynamic light adjustment display control method and device of backlight
CN108665866A (en) * 2018-05-18 2018-10-16 京东方科技集团股份有限公司 The method and display control method and device of acquisition backlight diffusion transport parameter
CN109716427A (en) * 2017-01-18 2019-05-03 华为技术有限公司 A kind of brightness adjusting method and terminal
CN110189714A (en) * 2019-06-25 2019-08-30 京东方科技集团股份有限公司 The display methods and device, electronic equipment, medium of backlight are adjusted with region
CN110379379A (en) * 2019-07-31 2019-10-25 京东方科技集团股份有限公司 A kind of backlight driving method and device, display device and storage medium
CN110992898A (en) * 2019-12-05 2020-04-10 聚好看科技股份有限公司 Multi-partition backlight control method and equipment
CN112513968A (en) * 2019-02-27 2021-03-16 京东方科技集团股份有限公司 Image display processing method and device, display device and storage medium
CN113870800A (en) * 2021-09-22 2021-12-31 东莞市金锐显数码科技有限公司 Backlight adjusting method and device, terminal equipment and storage medium
CN114822421A (en) * 2022-04-29 2022-07-29 京东方科技集团股份有限公司 Display control method and device, display device, electronic device, and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104078011B (en) * 2014-06-25 2016-03-16 京东方科技集团股份有限公司 The local backlight brightness adjusting method of direct-type backlight
CN105185327B (en) * 2015-09-01 2018-02-06 青岛海信电器股份有限公司 Liquid crystal display brightness control method and device and liquid crystal display
CN108538260B (en) * 2018-07-20 2020-06-02 京东方科技集团股份有限公司 Image display processing method and device, display device and storage medium
CN110136657B (en) * 2019-06-28 2021-02-23 京东方科技集团股份有限公司 Backlight value and compensation value acquisition method and display device
CN113314080A (en) * 2021-05-31 2021-08-27 锐迪科微电子科技(上海)有限公司 Backlight brightness control method and electronic equipment
CN113823235B (en) * 2021-11-22 2022-03-08 南京熊猫电子制造有限公司 Mini-LED backlight partition control system and method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130016141A1 (en) * 2011-07-12 2013-01-17 Orise Technology Co., Ltd. Method and apparatus of compensating image in a backlight local dimming system
CN102324222A (en) * 2011-08-09 2012-01-18 旭曜科技股份有限公司 Compensation device and method for display screen image in backlight local dimming system
CN107689214A (en) * 2016-08-05 2018-02-13 青岛海信电器股份有限公司 The backlight adjusting method and device of a kind of intelligent display device
CN107886905A (en) * 2016-09-29 2018-04-06 上海顺久电子科技有限公司 Backlight subarea control method and device
CN109716427A (en) * 2017-01-18 2019-05-03 华为技术有限公司 A kind of brightness adjusting method and terminal
CN108665866A (en) * 2018-05-18 2018-10-16 京东方科技集团股份有限公司 The method and display control method and device of acquisition backlight diffusion transport parameter
CN108648700A (en) * 2018-05-18 2018-10-12 京东方科技集团股份有限公司 A kind of the dynamic light adjustment display control method and device of backlight
CN112513968A (en) * 2019-02-27 2021-03-16 京东方科技集团股份有限公司 Image display processing method and device, display device and storage medium
CN110189714A (en) * 2019-06-25 2019-08-30 京东方科技集团股份有限公司 The display methods and device, electronic equipment, medium of backlight are adjusted with region
CN110379379A (en) * 2019-07-31 2019-10-25 京东方科技集团股份有限公司 A kind of backlight driving method and device, display device and storage medium
CN110992898A (en) * 2019-12-05 2020-04-10 聚好看科技股份有限公司 Multi-partition backlight control method and equipment
CN113870800A (en) * 2021-09-22 2021-12-31 东莞市金锐显数码科技有限公司 Backlight adjusting method and device, terminal equipment and storage medium
CN114822421A (en) * 2022-04-29 2022-07-29 京东方科技集团股份有限公司 Display control method and device, display device, electronic device, and medium

Also Published As

Publication number Publication date
CN114822421B (en) 2023-12-22
CN114822421A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
WO2023207275A1 (en) Display control method and apparatus, display device, electronic device and medium
US11170739B2 (en) Display optimization method and apparatus, display driving method and apparatus, display apparatus, and storage medium
CN109979401B (en) Driving method, driving apparatus, display device, and computer readable medium
JP4806102B2 (en) Control device for liquid crystal display device, liquid crystal display device, control method for liquid crystal display device, program, and recording medium
CN103295542B (en) The liquid crystal display of backlight dimming method and use the method
WO2019100675A1 (en) Partition-based backlight control method and device
WO2019127718A1 (en) Method and apparatus for displaying image
CN102298894B (en) Display device and contrast enhancement method thereof
US11398195B2 (en) Backlight brightness processing method and system, backlight brightness adjustment method, storage medium
CN109243384B (en) Display device, driving method thereof, driving apparatus thereof, and computer readable medium
WO2023184340A1 (en) Display control method and apparatus, display device, electronic device and medium
WO2019101005A1 (en) Pixel compensation method and apparatus, and terminal device
WO2020224366A1 (en) Backlight control method and device of backlight module, and display device
US10650758B2 (en) Multi zone backlight controlling method and device thereof
CN107978283B (en) System and method for controlling dual modulation display
US11393416B2 (en) Method and device for backlight control, electronic device, and computer readable storage medium
WO2018205369A1 (en) Liquid crystal display panel and driving method therefor, and liquid crystal display
CN109716427A (en) A kind of brightness adjusting method and terminal
US8614662B2 (en) Display control apparatus and method, and program
KR20160068627A (en) Image processing device, image processing method and display device
WO2024001502A1 (en) Screen display method, screen display apparatus, electronic device, program and medium
Blankenbach et al. Optimizing and evaluating new automotive HMI image enhancement algorithms under bright light conditions using display reflectance characteristics
CN114582292B (en) Liquid crystal display and apparatus and method for controlling liquid crystal panel and backlight panel
US20200226984A1 (en) Parallel pipelines for computing backlight illumination fields in high dynamic range display devices
CN111383604B (en) Method, system and storage medium for improving regional dimming algorithm

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23794711

Country of ref document: EP

Kind code of ref document: A1