CN114743512B - Method, device, equipment and medium for determining backlight value of screen pixel point - Google Patents

Method, device, equipment and medium for determining backlight value of screen pixel point Download PDF

Info

Publication number
CN114743512B
CN114743512B CN202210457577.XA CN202210457577A CN114743512B CN 114743512 B CN114743512 B CN 114743512B CN 202210457577 A CN202210457577 A CN 202210457577A CN 114743512 B CN114743512 B CN 114743512B
Authority
CN
China
Prior art keywords
backlight
target
parameter
determining
partition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210457577.XA
Other languages
Chinese (zh)
Other versions
CN114743512A (en
Inventor
陈颖
毕育欣
高杨
冯薏霖
周帅
崔江伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202210457577.XA priority Critical patent/CN114743512B/en
Publication of CN114743512A publication Critical patent/CN114743512A/en
Application granted granted Critical
Publication of CN114743512B publication Critical patent/CN114743512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

The invention relates to a method, a device, equipment and a medium for determining backlight values of screen pixel points. According to the method, the vertical index parameter and the horizontal index parameter are respectively determined based on the vertical distance and the horizontal distance between the target pixel point and the first backlight partition, so that the target search row is determined from the lookup table corresponding to the first backlight partition based on the vertical index parameter, the target parameter of the first backlight partition is only required to be acquired from the target search row based on the horizontal index parameter, the resource consumption of the lookup table index in the backlight calculation process is reduced without inquiring each element in the lookup table, the efficiency of the lookup table index is improved, the weight coefficient of the first backlight partition is determined based on the target parameter, and the weight coefficient of the second backlight partition is determined based on the weight coefficient and the preset backlight value of the second backlight partition, and the weight coefficients and the preset backlight values of a plurality of the first backlight partitions, so that the determination of the backlight value of the target pixel point is realized.

Description

Method, device, equipment and medium for determining backlight value of screen pixel point
Technical Field
The present invention relates to the field of display integrated circuit design technologies, and in particular, to a method, an apparatus, a device, and a medium for determining a backlight value of a screen pixel.
Background
The point spread function (Point Spread Function, PSF) weight calculation unit is an important step in the analog backlight calculation in the Local Dimming (Local Dimming) technique. When the backlight calculation is simulated by the PSF weight calculation unit, it is necessary to calculate the backlight weight of the target pixel affected by the peripheral n×n domain partition, so that the backlight value of the target pixel is calculated based on the calculated backlight weight.
In the related art, when the backlight weight affected by the partition in the n×n field of the periphery is calculated, different lookup table indexes need to be synchronously performed for different partitions multiple times, and the memory resources consumed in the process of the lookup table index are huge due to the numerous lookup table addresses. Therefore, a method for determining a backlight value is needed to reduce the resource consumption of the lookup table index in the backlight calculation process, so as to improve the efficiency of the lookup table index.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for determining a backlight value of a screen pixel point, which are used for solving the defects in the related art.
According to a first aspect of an embodiment of the present invention, there is provided a method for determining a backlight value of a screen pixel, the method including:
determining a vertical index parameter based on a vertical distance between a target pixel point in a screen and a first backlight partition, determining a target search row from a lookup table corresponding to the first backlight partition based on the vertical index parameter, wherein the first backlight partition is positioned in a target adjacent region of a second backlight partition where the target pixel point is positioned, and the lookup table is used for storing a plurality of parameters based on the distance between the pixel point and the target adjacent region, and the parameters are used for determining a weight coefficient of the first backlight partition;
determining a horizontal index parameter based on the horizontal distance between the target pixel point and the first backlight partition, and acquiring the target parameter of the first backlight partition from a target search row of a lookup table corresponding to the first backlight partition based on the horizontal index parameter;
determining a weight coefficient of the first backlight partition based on the target parameter;
determining a weight coefficient of a second backlight partition based on the weight coefficients of the plurality of first backlight partitions;
and determining the backlight value of the target pixel point based on the weight coefficient and the preset backlight value of the second backlight partition and the weight coefficients and the preset backlight values of the plurality of first backlight partitions.
In one embodiment of the invention, the vertical index parameters include a first vertical index parameter and a second vertical index parameter, and the target parameters include a first target parameter, a second target parameter, a third target parameter, and a fourth target parameter;
determining a target search row from a lookup table corresponding to the first backlight partition based on the vertical index parameter, including:
determining a first target search row and a second target search row from a lookup table corresponding to the first backlight partition based on the first vertical index parameter and the second vertical index parameter;
the first target search row is used for acquiring a first target parameter and a second target parameter, and the second target search row is used for acquiring a third target parameter and a fourth target parameter.
In one embodiment of the invention, the horizontal index parameters include a first horizontal index parameter and a second horizontal index parameter;
based on the horizontal index parameter, acquiring the target parameter of the first backlight partition from the target search row of the lookup table corresponding to the first backlight partition, including:
based on the first horizontal index parameter, acquiring a first target parameter and a second target parameter from a first target search row and a second target search row respectively;
And acquiring a third target parameter and a fourth target parameter from the first target search row and the second target search row respectively based on the second horizontal index parameter.
In one embodiment of the invention, the target parameters include a first target parameter, a second target parameter, a third target parameter, and a fourth target parameter;
determining a weight coefficient of the first backlight partition based on the target parameter, comprising:
determining a first intermediate parameter based on the first target parameter, the third target parameter, the vertical distance, and the longitudinal length of the first backlight partition;
determining a second intermediate parameter based on the second target parameter, the fourth target parameter, the vertical distance, and the longitudinal length of the first backlight partition;
the weight coefficient of the first backlight partition is indeed based on the first intermediate parameter, the second intermediate parameter, the horizontal distance and the lateral length of the first backlight partition.
In one embodiment of the present invention, determining the backlight value of the target pixel point based on the weight coefficient and the preset backlight value of the second backlight partition, the weight coefficients and the preset backlight values of the plurality of first backlight partitions includes:
determining the product of the weight coefficient of each first backlight partition and the corresponding preset backlight value, and determining the product of the weight coefficient of the second backlight partition and the corresponding preset backlight value;
And determining the backlight value of the target pixel point based on the determined multiple product sums and the set parameters.
In one embodiment of the present invention, determining a backlight value of a target pixel based on the determined plurality of product and setting parameters includes:
and accumulating the products, and determining the backlight value of the target pixel point based on the accumulated target result and the set parameter.
In one embodiment of the present invention, accumulating a plurality of products includes:
the accumulation process of the multiple products is split into multiple stages of addition, and the multiple products are accumulated through the multiple stages of addition.
In one embodiment of the present invention, before determining the vertical index parameter based on the vertical distance between the target pixel point in the screen and the first backlight partition, the method further comprises:
and acquiring the vertical distance and the horizontal distance between the target pixel point and the first backlight partition.
According to a second aspect of an embodiment of the present invention, there is provided a backlight value determining apparatus for a screen pixel, the apparatus including:
the first determining module is used for determining a vertical index parameter based on the vertical distance between a target pixel point in a screen and a first backlight partition, determining a target search row from a lookup table corresponding to the first backlight partition based on the vertical index parameter, wherein the first backlight partition is positioned in a target adjacent area of a second backlight partition where the target pixel point is positioned, the lookup table is used for storing a plurality of parameters based on the distance between the pixel point and the target adjacent area, and the parameters are used for determining a weight coefficient of the first backlight partition;
The second determining module is used for determining a horizontal index parameter based on the horizontal distance between the target pixel point and the first backlight partition, and acquiring the target parameter of the first backlight partition from the target search row of the lookup table corresponding to the first backlight partition based on the horizontal index parameter;
the third determining module is used for determining the weight coefficient of the first backlight partition based on the target parameter;
the third determining module is further configured to determine a weight coefficient of the second backlight partition based on the weight coefficients of the plurality of first backlight partitions;
and the fourth determining module is used for determining the backlight value of the target pixel point based on the weight coefficient and the preset backlight value of the second backlight partition and the weight coefficients and the preset backlight values of the plurality of first backlight partitions.
In one embodiment of the invention, the vertical index parameters include a first vertical index parameter and a second vertical index parameter, and the target parameters include a first target parameter, a second target parameter, a third target parameter, and a fourth target parameter;
the first determining module is used for determining a target searching row from a lookup table corresponding to the first backlight partition based on the vertical index parameter, and is used for:
determining a first target search row and a second target search row from a lookup table corresponding to the first backlight partition based on the first vertical index parameter and the second vertical index parameter;
The first target search row is used for acquiring a first target parameter and a second target parameter, and the second target search row is used for acquiring a third target parameter and a fourth target parameter.
In one embodiment of the invention, the horizontal index parameters include a first horizontal index parameter and a second horizontal index parameter;
the second determining module is configured to, when obtaining the target parameter of the first backlight partition from the target search row of the lookup table corresponding to the first backlight partition based on the horizontal index parameter:
based on the first horizontal index parameter, acquiring a first target parameter and a second target parameter from a first target search row and a second target search row respectively;
and acquiring a third target parameter and a fourth target parameter from the first target search row and the second target search row respectively based on the second horizontal index parameter.
In one embodiment of the invention, the target parameters include a first target parameter, a second target parameter, a third target parameter, and a fourth target parameter;
a third determining module, when determining the weight coefficient of the first backlight partition based on the target parameter, is configured to:
determining a first intermediate parameter based on the first target parameter, the third target parameter, the vertical distance, and the longitudinal length of the first backlight partition;
Determining a second intermediate parameter based on the second target parameter, the fourth target parameter, the vertical distance, and the longitudinal length of the first backlight partition;
the weight coefficient of the first backlight partition is indeed based on the first intermediate parameter, the second intermediate parameter, the horizontal distance and the lateral length of the first backlight partition.
In one embodiment of the present invention, the fourth determining module, when determining the backlight value of the target pixel point based on the weight coefficient and the preset backlight value of the second backlight partition, the weight coefficients and the preset backlight values of the plurality of first backlight partitions, includes a first determining subunit and a second determining subunit;
a first determining subunit, configured to determine a product of a weight coefficient of each first backlight partition and a corresponding preset backlight value, and determine a product of a weight coefficient of the second backlight partition and a corresponding preset backlight value;
and a second determination subunit, configured to determine a backlight value of the target pixel point based on the determined multiple product sums and the setting parameters.
In one embodiment of the present invention, the second determining subunit, when configured to determine the backlight value of the target pixel point based on the determined multiple product and setting parameters, is configured to:
And accumulating the products, and determining the backlight value of the target pixel point based on the accumulated target result and the set parameter.
In one embodiment of the invention, the second determining subunit, when configured to accumulate the plurality of products, is configured to:
the accumulation process of the multiple products is split into multiple stages of addition, and the multiple products are accumulated through the multiple stages of addition.
In one embodiment of the invention, the apparatus further comprises:
and the acquisition module is used for acquiring the vertical distance and the horizontal distance between the target pixel point and the first backlight partition.
According to a third aspect of embodiments of the present invention, there is provided a computing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the operations performed by the backlight value determining method for screen pixels provided in the first aspect and any one of the embodiments of the first aspect when the computer program is executed.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the operations performed by the backlight value determining method for a screen pixel point provided in any one of the embodiments of the first aspect and the first aspect.
According to a fifth aspect of embodiments of the present invention, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the operations performed by the method for determining a backlight value of a screen pixel point provided in the first aspect and any one of the embodiments of the first aspect.
According to the method, the vertical index parameter and the horizontal index parameter are respectively determined based on the vertical distance and the horizontal distance between the first backlight partition located in the target adjacent area of the second backlight partition where the target pixel point is located and the target pixel point in the screen, so that the target search row is determined from the lookup table corresponding to the first backlight partition based on the vertical index parameter, the target parameter of the first backlight partition is obtained from the target search row of the lookup table corresponding to the first backlight partition only based on the horizontal index parameter, each element in the lookup table corresponding to the first backlight partition is not required to be inquired, the resource consumption of the lookup table index in the backlight calculation process is reduced, the efficiency of the lookup table index is improved, the weight coefficient of the first backlight partition is determined based on the target parameter, and the weight coefficient of the second backlight partition is determined based on the weight coefficients of the first backlight partitions, so that the backlight is determined based on the weight coefficient of the second backlight partition, the preset backlight value and the weight coefficient of the first backlight partition.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of an analog backlight module according to an embodiment of the invention.
Fig. 2 is a flowchart illustrating a method of determining a backlight value according to an embodiment of the present invention.
FIG. 3 is a schematic diagram of a target neighborhood shown in accordance with an embodiment of the present invention.
Fig. 4 is a schematic diagram showing a lookup table indexing process according to the related art.
Fig. 5 is a schematic diagram illustrating a lookup table indexing process according to an embodiment of the present invention.
Fig. 6 is a schematic diagram showing an addition process of 25 products according to the related art.
Fig. 7 is a schematic diagram showing another addition process of 25 products according to an embodiment of the present invention.
Fig. 8 is a block diagram of a backlight value determining apparatus of a screen pixel according to an embodiment of the present invention.
FIG. 9 is a schematic diagram of a computing device, according to an embodiment of the invention.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The invention provides a method for determining backlight values of screen pixel points, which is used for simulating backlight calculation in a Local Dimming technology. The method for determining the backlight value of the screen pixel point can be executed by a computing device, the computing device can be a terminal device such as a desktop computer, a portable computer, a tablet computer, a smart phone, a smart watch and the like, and optionally, the computing device can also be other types of devices, and the device type and the device number of the computing device are not limited.
In one possible implementation, the Local Dimming technique may be applied in a computing device as described above to determine backlight values for individual pixels in any screen, so that the screen backlight may be subsequently adjusted based on the determined backlight values for individual pixels. Alternatively, the screen may be a screen of a computing device, or a screen of a device other than the computing device, for example, a screen of any type of display device, and the present invention is not limited to the specific type of screen.
The computing device may include an analog backlight module, and the method for determining the backlight value may be applied to the analog backlight module. Referring to fig. 1, fig. 1 is a schematic diagram of an analog backlight module according to an embodiment of the present invention, and as shown in fig. 1, the analog backlight module may include a pixel positioning unit, a weight calculating unit, a backlight calculating unit, and a backlight expanding unit.
Optionally, a clock signal (CLK), a negation signal (RSTN) of the reset signal, a pixel value (rgb_i) of each pixel point, a pixel value valid signal (de_i), a start of frame/start of line (sof/sop_i), an end of frame/end of line (eof/eop _i), a plurality of lookup tables (rb_psf_ lut1, rb_psf_ lut2, …, rb_psf_lutm) may be input to the analog backlight module, so that the analog backlight module may implement analog calculation of the backlight value based on the above inputs.
In one possible implementation manner, the analog backlight module may determine the position of the target pixel point and the positions of the plurality of backlight partitions through the pixel positioning unit, where the positions include a plurality of parameters such as an abscissa (pix_locx/y) of the second backlight partition where the target pixel point is located, an abscissa (blk_locx/y) of the plurality of first backlight partitions located in the target neighborhood of the second backlight partition, a plurality of specifications of the first backlight partitions, and a plurality of specifications of the second backlight partition, where the specifications of the backlight partitions are a lateral length (blk_hnum 0-n) of the backlight partition, that is, a number of pixels corresponding to the lateral direction of the backlight partition, a longitudinal length (blk_vnum 0-n), that is, a number of pixels corresponding to the longitudinal direction of the backlight partition, and the like. After determining the above parameters, the pixel positioning unit may transmit the determined parameters to the weight calculating unit, so that the weight calculating unit may calculate an index parameter (i.e. an index address) based on the received parameters, so as to perform interpolation operation according to an index value obtained based on the index parameter, so as to obtain weight coefficients (psf_weight_00-nn) of the plurality of first backlight partitions corresponding to the target pixel point. The weight calculating unit may transmit the determined weight coefficients to the backlight calculating unit after determining the weight coefficients of the plurality of first backlight partitions, and the backlight calculating unit may determine the backlight value of the target pixel point based on the weight coefficients transmitted from the weight calculating unit and the backlight values (bl 00 to nn) transmitted from the backlight expanding unit.
The above is only an exemplary architecture of an analog backlight module to which the method for determining a backlight value provided by the present invention may be applied, and in more possible implementations, the method for determining a backlight value provided by the present invention may be applied to modules of other architectures, or the method for determining a backlight value provided by the present invention may be applied to other modules that need to perform backlight value calculation, which is not limited to a specific application scenario.
After the application scenario of the present invention is introduced, the method for determining the backlight value provided by the present invention is described in detail below. Referring to fig. 2, fig. 2 is a flowchart illustrating a method for determining a backlight value according to an embodiment of the present invention, the method including:
step 201, determining a vertical index parameter based on a vertical distance between a target pixel point in a screen and a first backlight partition, determining a target search row from a lookup table corresponding to the first backlight partition based on the vertical index parameter, wherein the first backlight partition is located in a target adjacent area of a second backlight partition where the target pixel point is located, and the lookup table is used for storing a plurality of parameters based on the distance between the pixel point and the target adjacent area, and the parameters are used for determining a weight coefficient of the first backlight partition.
The target pixel point can be any pixel point in a picture currently displayed by the screen, and the computing device can process each pixel point currently displayed in the screen by the method for determining the backlight value provided by the invention so as to determine the backlight value of each pixel point included in the picture currently displayed in the screen. It should be noted that, the currently displayed screen of the screen may be divided into a plurality of backlight partitions, and for the target pixel point, the backlight partition located in the target pixel point may be referred to as a second backlight partition, and the backlight partition located in the target vicinity of the second backlight partition may be referred to as a first backlight partition.
The target neighborhood may be a 5*5 neighborhood of the backlight partition where the target pixel point is located, and optionally, the range of the target neighborhood may be larger or smaller. Taking a target neighborhood as an example of a 5*5 neighborhood of a backlight partition where a target pixel is located, referring to fig. 3, fig. 3 is a schematic diagram of a target neighborhood shown in an embodiment of the present invention, as shown in fig. 3, partition 22 is a backlight partition where the target pixel is located, that is, a second backlight partition, partition 00, partition 01, partition 02, partition 03, partition 04, partition 10, partition 11, partition 12, partition 13, partition 14, partition 20, partition 21, partition 23, partition 24, partition 30, partition 31, partition 32, partition 33, partition 34, partition 40, partition 41, partition 42, partition 43, partition 44 is 24 backlight partitions located in 5*5 neighborhood of partition 22, that is, 24 first backlight partitions.
It should be noted that, each first backlight partition corresponds to one lookup table, and the lookup tables corresponding to different first backlight partitions may be the same or different. Still taking the target neighborhood shown in fig. 3 as an example, the lookup tables used by the partitions 00, 04, 40 and 44 may be LUT1, the lookup tables used by the partitions 10, 14, 30 and 34 may be LUT2, the lookup tables used by the partitions 20 and 24 may be LUT3, the lookup tables used by the partitions 11, 13, 31 and 33 may be LUT4, the lookup tables used by the partitions 21 and 23 may be LUT5, the lookup tables used by the partitions 12 and 32 may be LUT6, the lookup tables used by the partitions 02 and 42 may be LUT7, and the lookup tables used by the partitions 01, 03, 41 and 43 may be LUT8. Wherein each look-up table may be a two-dimensional look-up table.
Step 202, determining a horizontal index parameter based on a horizontal distance between a target pixel point and a first backlight partition, and acquiring a target parameter of the first backlight partition from a target search row of a lookup table corresponding to the first backlight partition based on the horizontal index parameter.
Step 203, determining a weight coefficient of the first backlight partition based on the target parameter.
Step 204, determining the weight coefficient of the second backlight partition based on the weight coefficients of the plurality of first backlight partitions.
It should be noted that the plurality of first backlight partitions are backlight partitions located in the target neighboring area of the second backlight partition. Still taking fig. 3 as an example, the weight coefficients of the second backlight partition 22 may be determined based on the weight coefficients of the 24 first backlight partitions of partition 00, partition 01, partition 02, partition 03, partition 04, partition 10, partition 11, partition 12, partition 13, partition 14, partition 20, partition 21, partition 23, partition 24, partition 30, partition 31, partition 32, partition 33, partition 34, partition 40, partition 41, partition 42, partition 43, partition 44.
Step 205, determining the backlight value of the target pixel point based on the weight coefficient and the preset backlight value of the second backlight partition, and the weight coefficients and the preset backlight values of the plurality of first backlight partitions.
The method comprises the steps of respectively determining a vertical index parameter and a horizontal index parameter based on the vertical distance and the horizontal distance between a first backlight partition located in a target adjacent area of a second backlight partition where a target pixel point is located and the target pixel point in a screen, determining a target search row from a lookup table corresponding to the first backlight partition based on the vertical index parameter, acquiring target parameters of the first backlight partition from the target search row of the lookup table corresponding to the first backlight partition based on the horizontal index parameter, and searching each element in the lookup table corresponding to the first backlight partition without inquiring, so that resource consumption of the lookup table index in a backlight calculation process is reduced, efficiency of the lookup table index is improved, and accordingly, determining weight coefficients of the first backlight partition based on the target parameters, and further determining weight coefficients of the second backlight partition based on the weight coefficients of the second backlight partition and preset backlight values, and the weight coefficients and the preset backlight values of the first backlight partition, and determining the value of the target pixel point is realized.
Having described the basic implementation of the present invention, various non-limiting embodiments are described below.
Optionally, before step 201, the horizontal distance and the vertical distance between the target pixel point and the first backlight partition may also be acquired in advance. That is, prior to step 201, the method further comprises:
step 200, obtaining a vertical distance and a horizontal distance between the target pixel point and the first backlight partition.
In one possible implementation, for step 200, when the vertical distance between the target pixel point and the first backlight partition is obtained, a difference between the ordinate of the target pixel point and the ordinate of the center point of the first backlight partition may be determined as the vertical distance between the target pixel point and the first backlight partition; when the horizontal distance between the target pixel point and the first backlight partition is acquired, a difference between the abscissa of the target pixel point and the abscissa of the center point of the first backlight partition may be determined as the horizontal distance between the target pixel point and the first backlight partition.
Optionally, the determination of the vertical distance and the horizontal distance may also be performed based on the abscissa of the second backlight section in which the target pixel point is located and the longitudinal and lateral lengths of the plurality of first backlight sections located within the target neighborhood of the second backlight section. Taking the process of obtaining the vertical distance and the horizontal distance between the first backlight partition 00 and the target pixel point as an example, the distance from the target pixel point to the lower edge of the first backlight partition 10 can be determined based on the ordinate of the target pixel point, so that the sum value of the determined distance and the sum value of the longitudinal length of the first backlight partition 10 and half of the longitudinal length of the first backlight partition 00 is determined as the vertical distance between the first backlight partition 00 and the target pixel point; the distance of the target pixel point to the right edge of the first backlight section 01 may be determined based on the abscissa of the target pixel point, so that the sum of the determined distance and the lateral length of the first backlight section 01, half of the lateral length of the first backlight section 00, is determined as the horizontal distance between the first backlight section 00 and the target pixel point.
For example, the vertical distance and the horizontal distance of the first backlight section may be obtained by the following codes:
DIS_H0=(BH0>>1)+BH1+HInner+1
DIS_V0=(BV0>>1)+BV1+VInner+1
DIS_H1=(BH1>>1)+HInner+1
DIS_V1=(BV1>>1)+VInner+1
DIS_H3=(BH3>>1)+(BH2–Hinner)
DIS_V3=(BV3>>1)+(BV2–Vinner)
DIS_H4=(BH4>>1)+BH3+(BH2–Hinner)
DIS_V4=(BV4>>1)+BV3+(BV2–Vinner)
HInner<(BH2>>1)→DIS_H2=(BH2>>1)-Hlnner
VInner<(BV2>>1)→DIS_V2=(BV2>>1)-VInner
HInner≥(BH2>>1)→DIS_H2=HInner-(BH2>>1)
VInner≥(BV2>>1)→DIS_V2=VInner-(BV2>>1)
wherein dis_h0 may represent a horizontal distance between the first backlight partitions 00, 10, 20, 30, 40 and the target pixel point, dis_v0 may represent a vertical distance between the first backlight partitions 00, 01, 02, 03, 04 and the target pixel point, dis_h1 may represent a horizontal distance between the first backlight partitions 01, 11, 21, 31, 41 and the target pixel point, dis_v1 may represent a vertical distance between the first backlight partitions 10, 11, 12, 13, 14 and the target pixel point, dis_h2 may represent a horizontal distance between the first backlight partitions 02, 12, 32, 42 and the target pixel point, dis_v2 may represent a vertical distance between the first backlight partitions 20, 21, 23, 24 and the target pixel point, dis_h3 may represent a horizontal distance between the first backlight partitions 03, 13, 23, 30, 43 and the target pixel point, dis_v3 may represent a vertical distance between the first backlight partition 30, 31, 32, 33, 34 and the target pixel point, dis_h4 may represent a horizontal distance between the first backlight partition 04, 14, 24, 34, 44 and the target pixel point, dis_v4 may represent a vertical distance between the first backlight partition 40, 41, 42, 43, 44 and the target pixel point, BV0 may represent a longitudinal length of the first backlight partition 00, 01, 02, 03, 04, BV1 may represent a longitudinal length of the first backlight partition 10, 11, 12, 13, 14, BV2 may represent a longitudinal length of the first backlight partition 20, 21, 22, 23, 24, BV3 may represent a longitudinal length of the first backlight partition 30, 31, 32, 33, 34, BV4 may represent a longitudinal length of the first backlight partition 40, 41, 42, 43, 44, BH0 may represent a transverse length of the first backlight partition 01, 11, 21, 31, 41, BH1 may represent the lateral length of the first backlight partition 01, 11, 21, 31, 41, BH2 may represent the lateral length of the first backlight partition 02, 12, 22, 32, 42, BH3 may represent the lateral length of the first backlight partition 03, 13, 23, 30, 43, and BH4 may represent the lateral length of the first backlight partition 04, 14, 24, 34, 44.
The above process of obtaining the vertical distance and the horizontal distance between the first backlight partition 00 and the target pixel is taken as an example, and the process of obtaining the vertical distance and the horizontal distance between other first backlight partitions and the target pixel is the same as the above process, and is not repeated here.
In some embodiments, after determining the vertical distance and the horizontal distance between the target pixel point and each first backlight partition through the above process, in step 201, the vertical index parameter corresponding to each first backlight partition is determined based on the determined vertical distance, so as to index in each first backlight partition based on the determined vertical index parameter.
Wherein the vertical index parameter comprises a first vertical index parameter and a second vertical index parameter. Taking the example of determining the vertical index parameter corresponding to the first backlight partition 00, for step 201, the process of determining the vertical index parameter may be implemented by the following code:
Index_up=(DIS_V0-BV1-BV2>>1)>>3
Index_down=(DIS_V0-BV1-BV2>>1)>>3+1
where index_up represents a first vertical Index parameter, index_down represents a second vertical Index parameter, dis_v0 represents a vertical distance between the first backlight partition 00 and the target pixel, BV1 represents a longitudinal length of the first backlight partition 10 (i.e., blk_vnum 1), and BV2 represents a longitudinal length of the first backlight partition 20 (i.e., blk_vnum 2).
The above process is only a process of determining the vertical index parameter corresponding to the first backlight partition 00, and the determination process of the vertical index parameter corresponding to the other first backlight partition is similar to the above process, which is not repeated here.
After the vertical index parameters of each first backlight partition are determined through the above process, longitudinal searching can be performed in the lookup table based on the vertical index parameters, so that corresponding target lookup rows are respectively determined in the lookup tables corresponding to each first backlight partition.
In step 201, for any first backlight partition, when determining a target search line from a lookup table corresponding to the first backlight partition based on the vertical index parameter, a first target search line and a second target search line may be determined from the lookup table corresponding to the first backlight partition based on the first vertical index parameter and the second vertical index parameter, respectively. The target parameters comprise a first target parameter, a second target parameter, a third target parameter and a fourth target parameter, the first target search row can be used for acquiring the first target parameter and the second target parameter, and the second target search row can be used for acquiring the third target parameter and the fourth target parameter.
The above only takes the process of determining the target search line in one first backlight partition as an example, and the process of determining the target search line in other first backlight partitions is the same as the above, which is not described herein again.
In some embodiments, the horizontal index parameters include a first horizontal index parameter and a second horizontal index parameter. Taking the example of determining the horizontal index parameter corresponding to the first backlight partition 00, for step 202, the process of determining the horizontal index parameter may be implemented by the following code:
Index_left=(DIS_H0-BH1-BH2>>1)>>3
Index_right=(DIS_H0-BH1-BH2>>1)>>3+1
where index_left represents a first horizontal Index parameter, index_right represents a second horizontal Index parameter, dis_h0 represents a horizontal distance between the first backlight partition 00 and the target pixel, BH1 represents a lateral length of the first backlight partition 01 (i.e., blk_hnu1), and BH2 represents a lateral length of the first backlight partition 02 (i.e., blk_hnu2).
The above process is only a process of determining the horizontal index parameter corresponding to the first backlight partition 00, and the determining process of the horizontal index parameter corresponding to the other first backlight partition is similar to the above process, which is not repeated here.
After the horizontal index parameters of the first backlight partitions are determined through the above process, the horizontal search can be performed in the determined target search rows based on the horizontal index parameters, so that the target parameters corresponding to the first backlight partitions are determined in the target search rows of the lookup table corresponding to the first backlight partitions.
For step 202, when the target parameters of the first backlight partition are obtained from the target search rows of the lookup table corresponding to the first backlight partition based on the horizontal index parameters, the first target parameters and the second target parameters may be obtained from the first target search row and the second target search row, respectively, based on the first horizontal index parameters; and acquiring a third target parameter and a fourth target parameter from the first target search row and the second target search row respectively based on the second horizontal index parameter.
Taking the example of indexing in LUT1 to obtain the target parameter corresponding to the first backlight partition 00, in one possible implementation, the indexing in the lookup table may be implemented by the following code:
a=LUT1(Index_up×p+Index_left)
b=LUT1(Index_up×p+Index_right)
c=LUT1(Index_down×p+Index_left)
d=LUT1(Index_down×p+Index_right)
where a denotes a first target parameter, b denotes a second target parameter, c denotes a third target parameter, d denotes a fourth target parameter, index_up denotes a first vertical Index parameter, index_down denotes a second vertical Index parameter, index_left denotes a first horizontal Index parameter, index_right denotes a second horizontal Index parameter, p is a setting parameter, and p may be any integer value, for example, p may be 9.
It should be noted that the order of steps 201 and 202 does not limit the execution order of the present invention, and in more possible implementations, the vertical index parameter and the horizontal index parameter may be determined based on the vertical distance and the horizontal distance between the target pixel point and the first backlight partition, respectively, so that the target search row is determined from the lookup table corresponding to the first backlight partition based on the vertical index parameter, and then the target parameter of the first backlight partition is obtained from the target search row of the lookup table corresponding to the first backlight partition based on the horizontal index parameter.
Because the target pixel point corresponds to a plurality of first backlight partitions, when the lookup table corresponding to the first backlight partitions is indexed, multiple synchronous indexes are needed, and the data volume of each lookup table is larger, so that the multiple synchronous indexes can cause the problems of high fan-out Multiplexer (MUX) and difficult trend of the back end. Based on the above situation, the invention provides a step-by-step indexing scheme, which converts a scheme of directly indexing through horizontal distance and vertical distance into a scheme of determining a row-direction lookup table based on indexing of vertical distance, realizes the reduction of the specification of the lookup table for searching the target parameter, and then indexes the determined row-direction lookup table based on the horizontal distance to determine the required target parameter, thereby effectively reducing MUX fan-out, reducing the MUX resources used at the same time, and further reducing the occurrence of the problem of difficult routing.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a lookup table indexing process according to the related art, and fig. 4 is an example of a target area 5*5 neighborhood, and for each target pixel, the vertical distances and the horizontal distances of 24 first backlight partitions need to be calculated synchronously to obtain 24 index parameters. In the case that the setting parameter is 9, the lookup table may be a table of 9 rows and 9 columns, and in the case that each target pixel point corresponds to 24 index parameters, it is necessary to synchronously perform 24 lookup table indexes with a lookup depth of 81, and the corresponding index circuit also needs to include 24 muxes with a fanout of 81, and assuming that the lookup table stores data with a bit width of 20 bits, the required circuit memory resource amount is 24×81×20=38880, and at this time, if layout and wiring are performed at the back end, the routing amount of 24×81=1944 needs to be processed.
However, for a lookup table with depth of 81, not all index parameters will be indexed once, and a direct indexing method will have redundant operation, resulting in resource waste.
Compared with the MUX fan-out and MUX resources used in the process, the progressive indexing scheme provided by the invention can effectively reduce the MUX fan-out and MUX resources. Referring to fig. 5, fig. 5 is a schematic diagram illustrating a lookup table indexing process according to an embodiment of the present invention, as shown in fig. 5, for the first level index, 5 vertical distances, that is, dis_v0 to dis_v4, need to be calculated synchronously, and for different first backlight partitions, different lookup tables LUT1 to LUT8 need to be used, where a lookup table index with a lookup depth of 9 needs to be performed synchronously for 14 times; for the second level index, 5 horizontal distances dis_h0 to dis_h4 need to be calculated synchronously, the corresponding row lookup tables line_ lut1_v0/v4 and line_ lut8_v0/v4 output by the first level index are used by the first backlight partition in different rows, at this time, the lookup table index with depth of 9 needs to be performed synchronously for 24 times, the circuit comprises (14+24) muxes with fan-out of 9, and still assuming that the lookup table stores data bit width is 20 bits, the memory capacity needed by the circuit is 14×81×20+24×9×20=27000, and at this time, if layout wiring is performed at the back end, only the routing quantity of 38×9=342 needs to be processed. Compared to the indexing process shown in fig. 4, the indexing process shown in fig. 5 reduces the storage to 69.5% of the original, and reduces the routing to 17.5% of the original.
The lookup table shown in fig. 5 indexes with vertical distances and horizontal distances as 2 dimensions, the vertical dimensions contain 9 cases, and each vertical dimension contains 9 cases of horizontal dimensions. Therefore, a step-by-step index mode is needed to perform the searching process, firstly, partial searching table resources which are possibly used are indexed out by the dimension of the vertical distance, then, corresponding weight coefficients are searched out from the row-direction searching table by taking the dimension of the horizontal distance as an index, and finally, interpolation operation is performed to obtain partition weights. The two-stage indexing related to the step-by-step indexing scheme can be referred to in table 1, as shown in table 1, and the first-stage indexing process using the vertical distance as the dimension can index the row-direction lookup table shown in table 1, so that the second-stage indexing can be performed in the indexed row-direction lookup table.
TABLE 1
/>
As shown in table 1, for LUT1, only vertical distances dis_v0, dis_v4 and horizontal distances dis_h0, dis_h4 are involved, and 81 index parameters are described as only 4/25, lut2, LUT4 and LUT8 are the same; in the case of LUT3, only the vertical distance dis_v2 and the horizontal distances dis_h0 and dis_h4 are involved, and 81 index parameters are only 2/25, and the LUT5, LUT6 and LUT7 are the same, so that the index times are effectively reduced.
According to the invention, the high-fan-out MUX can be converted into the low-fan-out MUX by adopting a step-by-step index lookup table mode, so that the use amount of the MUX is reduced, and the problem of difficult back-end wiring can be reduced. In addition, the time division multiplexing of the lookup tables of different backlight partitions can effectively reduce the consumption of storage resources and achieve the effect of saving resources.
In some embodiments, after the target parameters are obtained through the above process, the weight parameters of each first backlight partition and the weight parameters of the second backlight partition may be determined based on the obtained target parameters.
Wherein the target parameters include a first target parameter, a second target parameter, a third target parameter, and a fourth target parameter. In one possible implementation, for step 203, when determining the weight parameters of the first backlight partition based on the target parameters, the following steps may be included:
step 2031, determining a first intermediate parameter based on the first target parameter, the third target parameter, the vertical distance, and the longitudinal length of the first backlight section.
In one possible implementation manner, taking a process of determining the weight coefficient of the first backlight partition 00 as an example, the determination of the first intermediate parameter corresponding to the first backlight partition 00 may be performed by the following code:
e=a–int((a-c)×((DIS_V0-BV1-BV2/2)%8)÷8+0.5)
Where e denotes a first intermediate parameter, a denotes a first target parameter, c denotes a third target parameter, dis_v0 denotes a vertical distance between the first backlight partition 00 and the target pixel, BV1 denotes a longitudinal length of the first backlight partition 10 (i.e., blk_vnum 1), and BV2 denotes a longitudinal length of the first backlight partition 20 (i.e., blk_vnum 2).
Step 2032, determining a second intermediate parameter based on the second target parameter, the fourth target parameter, the vertical distance, and the longitudinal length of the first backlight section.
In one possible implementation, taking the process of determining the weight coefficient of the first backlight partition 00 as an example, the determination of the second intermediate parameter corresponding to the first backlight partition 00 may be performed by the following code:
f=b–int((b-d)×((DIS_V0-BV1-BV2/2)%8)÷8+0.5)
where f denotes a second intermediate parameter, b denotes a second target parameter, d denotes a fourth target parameter, dis_v0 denotes a vertical distance between the first backlight partition 00 and the target pixel, BV1 denotes a longitudinal length of the first backlight partition 10 (i.e., blk_vnum 1), and BV2 denotes a longitudinal length of the first backlight partition 20 (i.e., blk_vnum 2).
Step 2033, determining a weight coefficient of the first backlight partition based on the first intermediate parameter, the second intermediate parameter, the horizontal distance, and the lateral length of the first backlight partition.
Taking the example of determining the weight coefficient of the first backlight partition 00, the determination of the weight coefficient of the first backlight partition 00 may be implemented by the following code:
Weight00=e–int((e-f)×((DIS_H0-BH1-BH2/2)%8)÷8+0.5)
wherein Weight00 represents the Weight coefficient of the first backlight partition 00, e represents the first intermediate parameter, f represents the second intermediate parameter, dis_h0 represents the horizontal distance between the first backlight partition 00 and the target pixel point, BH1 represents the lateral length of the first backlight partition 01 (i.e., blk_hnum 1), and BH2 represents the lateral length of the first backlight partition 02 (i.e., blk_hnum 2).
The above only takes the determination of the weight coefficient of the first backlight partition 00 as an example, and the determination process of the weight coefficient of other first backlight partitions is similar to the above, which is not repeated here.
Note that, when the target area is 5*5 neighborhood, the target pixel point corresponds to 24 first backlight partitions, and thus, through the above process, the weight parameters corresponding to the 24 first backlight partitions can be obtained.
After determining the weight coefficients of the plurality of first backlight partitions through the above process, the weight coefficients of the second backlight partition may be determined in step 204 based on the weight coefficients of the plurality of first backlight partitions.
In one possible implementation manner, the weight coefficients of the plurality of first backlight partitions may be normalized to obtain the weight coefficient of the second backlight partition where the target pixel point is located.
Taking the target area as a 5*5 neighborhood as shown in fig. 3 as an example, for step 204, when determining the weight coefficient of the second backlight partition based on the weight coefficients of the plurality of first backlight partitions, the following code may be implemented:
Weight22=2^21–(Weight00+Weight01+Weight02+…+Weight44)
wherein Weight22 represents the Weight coefficient of the second backlight partition where the target pixel point is located, weight00 represents the Weight coefficient of the first backlight partition 00, weight01 represents the Weight coefficient of the first backlight partition 01, weight02 represents the Weight coefficient of the first backlight partition 02, and Weight44 represents the Weight coefficient of the first backlight partition 44.
It should be noted that, after determining the weight parameters of the first backlight partition and the weight coefficients of the second backlight partition in the steps 203 and 204, the backlight value of the target pixel point may be determined in step 205 based on the weight coefficients of the second backlight partition, the preset backlight value, the weight coefficients of the plurality of first backlight partitions, and the preset backlight value.
The preset backlight values of the first backlight partitions and the preset backlight values of the second backlight partitions can be obtained through a backlight expansion unit.
In some embodiments, this step 205 may include the steps of:
step 2051, determining a product of the weight coefficient of each first backlight partition and a corresponding preset backlight value, and determining a product of the weight coefficient of the second backlight partition and a corresponding preset backlight value.
Taking the target area as a 5*5 neighborhood as an example, that is, the target pixel point corresponds to 24 first backlight partitions, so that the weight coefficient of each first backlight partition is multiplied by the corresponding preset backlight value to obtain 24 products, and then the product of the weight coefficient of the second backlight partition where the target pixel point is located and the preset backlight value is added, and then 25 products can be obtained through the step 2051.
Step 2052, determining a backlight value of the target pixel point based on the determined multiple product and setting parameters.
In one possible implementation, a plurality of products may be accumulated, and a backlight value of the target pixel point is determined based on the accumulated target result and the setting parameter.
In the process of determining the backlight value of the target pixel, a situation that a plurality of products are added simultaneously is involved, taking the target area as a 5*5 neighborhood as an example, a situation that 25 products are added simultaneously is involved in determining the backlight value of the target pixel, see fig. 6, fig. 6 is a schematic diagram of an adding process of 25 products according to the related art, the adding process of 25 products is processed at one time, 24 adders are needed, if the adding process of 25 products is processed in one clock, a critical path is too long, and timing violations are easy to be caused.
Based on the above situation, the invention provides a split addition mode, when a plurality of products are accumulated, the accumulation process of the plurality of products can be split into a plurality of stages of addition, and the plurality of products are accumulated through the plurality of stages of addition, so that the plurality of stages of addition can be completed in a plurality of clocks, the critical path is reduced, and the occurrence of timing violations is reduced.
Still taking the 5*5 neighborhood as an example, by using the splitting and adding method provided by the present invention, the 25 product adding process can be split into 5-stage addition, referring to fig. 7, fig. 7 is a schematic diagram of another 25 product adding process shown in the embodiment of the present invention, the splitting and adding method provided by fig. 7 first splits the 25 product adding process into 12 adding operations to obtain 13 data, then splits the 13 data adding process into 6 adding operations to obtain 7 data, then splits the 7 data adding process into 3 adding operations to obtain 4 data, then splits the 4 data adding process into 2 adding operations, and finally carries out 1 adding operation on 2 data to obtain an accumulated value of 25 products.
In addition, the method for determining the backlight value of the screen pixel point provided by the invention does not involve the use of an IP core, so that the method for determining the backlight value of the screen pixel point provided by the invention can have better portability and stronger universality.
The embodiment of the invention also provides a backlight value determining device of a screen pixel, referring to fig. 8, fig. 8 is a block diagram of a backlight value determining device of a screen pixel, which is shown in the embodiment of the invention, and the device comprises:
a first determining module 801, configured to determine a vertical index parameter based on a vertical distance between a target pixel point in a screen and a first backlight partition, determine a target search row from a lookup table corresponding to the first backlight partition based on the vertical index parameter, where the first backlight partition is located in a target adjacent region of a second backlight partition where the target pixel point is located, where the lookup table is configured to store a plurality of parameters based on a distance between the pixel point and the target adjacent region, and where the parameters are used to determine a weight coefficient of the first backlight partition;
a second determining module 802, configured to determine a horizontal index parameter based on a horizontal distance between the target pixel point and the first backlight partition, and obtain, based on the horizontal index parameter, a target parameter of the first backlight partition from a target search row of a lookup table corresponding to the first backlight partition;
A third determining module 803, configured to determine a weight coefficient of the first backlight partition based on the target parameter;
the third determining module 803 is further configured to determine a weight coefficient of the second backlight partition based on the weight coefficients of the plurality of first backlight partitions;
the fourth determining module 804 is configured to determine a backlight value of the target pixel point based on the weight coefficients and the preset backlight values of the second backlight partition, and the weight coefficients and the preset backlight values of the plurality of first backlight partitions.
In one embodiment of the invention, the vertical index parameters include a first vertical index parameter and a second vertical index parameter, and the target parameters include a first target parameter, a second target parameter, a third target parameter, and a fourth target parameter;
the first determining module 801, when determining, based on the vertical index parameter, a target search row from a lookup table corresponding to the first backlight partition, is configured to:
determining a first target search row and a second target search row from a lookup table corresponding to the first backlight partition based on the first vertical index parameter and the second vertical index parameter;
the first target search row is used for acquiring a first target parameter and a second target parameter, and the second target search row is used for acquiring a third target parameter and a fourth target parameter.
In one embodiment of the invention, the horizontal index parameters include a first horizontal index parameter and a second horizontal index parameter;
the second determining module 802, when configured to obtain, based on the horizontal index parameter, the target parameter of the first backlight partition from the target lookup row of the lookup table corresponding to the first backlight partition, is configured to:
based on the first horizontal index parameter, acquiring a first target parameter and a second target parameter from a first target search row and a second target search row respectively;
and acquiring a third target parameter and a fourth target parameter from the first target search row and the second target search row respectively based on the second horizontal index parameter.
In one embodiment of the invention, the target parameters include a first target parameter, a second target parameter, a third target parameter, and a fourth target parameter;
the third determining module 803, when configured to determine the weight coefficient of the first backlight partition based on the target parameter, is configured to:
determining a first intermediate parameter based on the first target parameter, the third target parameter, the vertical distance, and the longitudinal length of the first backlight partition;
determining a second intermediate parameter based on the second target parameter, the fourth target parameter, the vertical distance, and the longitudinal length of the first backlight partition;
The weight coefficient of the first backlight partition is indeed based on the first intermediate parameter, the second intermediate parameter, the horizontal distance and the lateral length of the first backlight partition.
In one embodiment of the present invention, the fourth determining module 804 includes a first determining subunit and a second determining subunit when determining the backlight value of the target pixel point based on the weight coefficient and the preset backlight value of the second backlight partition, the weight coefficients and the preset backlight values of the plurality of first backlight partitions;
a first determining subunit, configured to determine a product of a weight coefficient of each first backlight partition and a corresponding preset backlight value, and determine a product of a weight coefficient of the second backlight partition and a corresponding preset backlight value;
and a second determination subunit, configured to determine a backlight value of the target pixel point based on the determined multiple product sums and the setting parameters.
In one embodiment of the present invention, the second determining subunit, when configured to determine the backlight value of the target pixel point based on the determined multiple product and setting parameters, is configured to:
and accumulating the products, and determining the backlight value of the target pixel point based on the accumulated target result and the set parameter.
In one embodiment of the invention, the second determining subunit, when configured to accumulate the plurality of products, is configured to:
The accumulation process of the multiple products is split into multiple stages of addition, and the multiple products are accumulated through the multiple stages of addition.
In one embodiment of the invention, the apparatus further comprises:
and the acquisition module is used for acquiring the vertical distance and the horizontal distance between the target pixel point and the first backlight partition.
The implementation process of the functions and roles of each module and unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be repeated here.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the modules and units illustrated as separate components may or may not be physically separate, and the components shown as modules and units may or may not be physical modules or physical units, may be located in one place, or may be distributed over a plurality of network modules or network units. Some or all of the modules or units may be selected according to actual needs to achieve the purposes of the present description. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The present invention also provides a computing device, referring to fig. 9, fig. 9 is a schematic structural diagram of a computing device according to an embodiment of the present invention. As shown in fig. 9, the computing device includes a processor 910, a memory 920, and a network interface 930, where the memory 920 is used to store computer program codes that can be executed on the processor 910, and the processor 910 is used to implement the backlight value method of the screen pixel provided by any embodiment of the present invention when executing the computer program codes, and the network interface 930 is used to implement the input/output function. In further possible implementations, the computing device may also include other hardware, as the invention is not limited in this regard.
The present invention also provides a computer-readable storage medium, which may take many forms, for example, in various examples, the computer-readable storage medium may be: RAM (Radom Access Memory, random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., hard drive), a solid state drive, any type of storage disk (e.g., optical disk, DVD, etc.), or a similar storage medium, or a combination thereof. In particular, the computer readable medium may also be paper or other suitable medium capable of printing the program. The computer readable storage medium stores a computer program which, when executed by a processor, implements the backlight method for the screen pixel point provided by any embodiment of the present invention.
The invention also provides a computer program product, which comprises a computer program, and the computer program realizes the backlight value method of the screen pixel point provided by any embodiment of the invention when being executed by a processor.
In the present invention, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "plurality" refers to two or more, unless explicitly defined otherwise.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (11)

1. A method for determining a backlight value of a screen pixel, the method comprising:
determining a vertical index parameter based on a vertical distance between a target pixel point in a screen and a first backlight partition, determining a target search row from a lookup table corresponding to the first backlight partition based on the vertical index parameter, wherein the first backlight partition is positioned in a target adjacent region of a second backlight partition where the target pixel point is positioned, the lookup table is used for storing a plurality of parameters based on the distance between the pixel point and the target adjacent region, and the parameters are used for determining a weight coefficient of the first backlight partition;
determining a horizontal index parameter based on the horizontal distance between the target pixel point and the first backlight partition, and acquiring the target parameter of the first backlight partition from a target search row of a lookup table corresponding to the first backlight partition based on the horizontal index parameter;
determining a weight coefficient of the first backlight partition based on the target parameter;
determining a weight coefficient of a second backlight partition based on the weight coefficients of the plurality of first backlight partitions;
and determining the backlight value of the target pixel point based on the weight coefficient and the preset backlight value of the second backlight partition and the weight coefficients and the preset backlight values of the plurality of first backlight partitions.
2. The method of claim 1, wherein the vertical index parameters comprise a first vertical index parameter and a second vertical index parameter, and the target parameters comprise a first target parameter, a second target parameter, a third target parameter, and a fourth target parameter;
the determining, based on the vertical index parameter, a target search row from a lookup table corresponding to the first backlight partition includes:
determining a first target search row and a second target search row from a lookup table corresponding to the first backlight partition based on the first vertical index parameter and the second vertical index parameter;
the first target search row is used for acquiring the first target parameter and the second target parameter, and the second target search row is used for acquiring the third target parameter and the fourth target parameter.
3. The method of claim 2, wherein the horizontal index parameters comprise a first horizontal index parameter and a second horizontal index parameter;
the obtaining, based on the horizontal index parameter, the target parameter of the first backlight partition from the target search row of the lookup table corresponding to the first backlight partition includes:
Based on the first horizontal index parameter, acquiring the first target parameter and the second target parameter from the first target search row and the second target search row respectively;
and acquiring the third target parameter and the fourth target parameter from the first target search row and the second target search row respectively based on the second horizontal index parameter.
4. The method of claim 1, wherein the target parameters comprise a first target parameter, a second target parameter, a third target parameter, and a fourth target parameter;
the determining, based on the target parameter, a weight coefficient of the first backlight partition includes:
determining a first intermediate parameter based on the first target parameter, the third target parameter, the vertical distance, and a longitudinal length of the first backlight partition;
determining a second intermediate parameter based on the second target parameter, the fourth target parameter, the vertical distance, and a longitudinal length of the first backlight partition;
the weight coefficient of the first backlight partition is indeed based on the first intermediate parameter, the second intermediate parameter, the horizontal distance and the lateral length of the first backlight partition.
5. The method of claim 1, wherein the determining the backlight value of the target pixel based on the weight coefficient and the preset backlight value of the second backlight partition, the weight coefficients and the preset backlight values of the plurality of first backlight partitions, comprises:
determining the product of the weight coefficient of each first backlight partition and the corresponding preset backlight value, and determining the product of the weight coefficient of the second backlight partition and the corresponding preset backlight value;
and determining the backlight value of the target pixel point based on the determined multiple product and setting parameters.
6. The method of claim 5, wherein determining the backlight value for the target pixel based on the determined plurality of product and set parameters comprises:
and accumulating the products, and determining the backlight value of the target pixel point based on the accumulated target result and the set parameter.
7. The method of claim 6, wherein accumulating the plurality of products comprises:
splitting the accumulation process of the multiple products into multi-stage addition, and accumulating the multiple products through the multi-stage addition.
8. The method of claim 1, wherein prior to determining the vertical index parameter based on a vertical distance between the target pixel point in the screen and the first backlight partition, the method further comprises:
and acquiring a vertical distance and a horizontal distance between the target pixel point and the first backlight partition.
9. A backlight value determining apparatus for a screen pixel, the apparatus comprising:
the first determining module is used for determining a vertical index parameter based on a vertical distance between a target pixel point in a screen and a first backlight partition, determining a target search row from a lookup table corresponding to the first backlight partition based on the vertical index parameter, wherein the first backlight partition is positioned in a target adjacent area of a second backlight partition where the target pixel point is positioned, the lookup table is used for storing a plurality of parameters based on the distance between the pixel point and the target adjacent area, and the parameters are used for determining a weight coefficient of the first backlight partition;
the second determining module is used for determining a horizontal index parameter based on the horizontal distance between the target pixel point and the first backlight partition, and acquiring the target parameter of the first backlight partition from a target search row of a lookup table corresponding to the first backlight partition based on the horizontal index parameter;
A third determining module, configured to determine a weight coefficient of the first backlight partition based on the target parameter;
the third determining module is further configured to determine a weight coefficient of a second backlight partition based on the weight coefficients of the plurality of first backlight partitions;
and a fourth determining module, configured to determine a backlight value of the target pixel point based on the weight coefficients and the preset backlight values of the second backlight partition, and the weight coefficients and the preset backlight values of the plurality of first backlight partitions.
10. A computing device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements operations performed by the method for determining backlight values for screen pixels according to any one of claims 1 to 8 when the computer program is executed by the processor.
11. A computer-readable storage medium, wherein a program is stored on the computer-readable storage medium, which when executed by a processor, implements the operations performed by the backlight value determination method of a screen pixel point according to any one of claims 1 to 8.
CN202210457577.XA 2022-04-27 2022-04-27 Method, device, equipment and medium for determining backlight value of screen pixel point Active CN114743512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210457577.XA CN114743512B (en) 2022-04-27 2022-04-27 Method, device, equipment and medium for determining backlight value of screen pixel point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210457577.XA CN114743512B (en) 2022-04-27 2022-04-27 Method, device, equipment and medium for determining backlight value of screen pixel point

Publications (2)

Publication Number Publication Date
CN114743512A CN114743512A (en) 2022-07-12
CN114743512B true CN114743512B (en) 2023-12-05

Family

ID=82283811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210457577.XA Active CN114743512B (en) 2022-04-27 2022-04-27 Method, device, equipment and medium for determining backlight value of screen pixel point

Country Status (1)

Country Link
CN (1) CN114743512B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593508A (en) * 2008-05-19 2009-12-02 三星电子株式会社 Based on histogrammic dynamic backlight control system and method
CN101894533A (en) * 2010-06-24 2010-11-24 彩虹集团公司 Linear adjusting method for brightness of backlight
CN110136657A (en) * 2019-06-28 2019-08-16 京东方科技集团股份有限公司 The acquisition methods of backlight value and offset, display device
CN113707083A (en) * 2020-05-20 2021-11-26 奇景光电股份有限公司 Time sequence controller capable of being applied to dynamic peak brightness control in display module
CN113808550A (en) * 2020-06-17 2021-12-17 奇景光电股份有限公司 Device applicable to brightness enhancement in display module
CN114373431A (en) * 2022-01-25 2022-04-19 京东方科技集团股份有限公司 Display device, driving method thereof, driving module, electronic apparatus, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593508A (en) * 2008-05-19 2009-12-02 三星电子株式会社 Based on histogrammic dynamic backlight control system and method
CN101894533A (en) * 2010-06-24 2010-11-24 彩虹集团公司 Linear adjusting method for brightness of backlight
CN110136657A (en) * 2019-06-28 2019-08-16 京东方科技集团股份有限公司 The acquisition methods of backlight value and offset, display device
CN113707083A (en) * 2020-05-20 2021-11-26 奇景光电股份有限公司 Time sequence controller capable of being applied to dynamic peak brightness control in display module
CN113808550A (en) * 2020-06-17 2021-12-17 奇景光电股份有限公司 Device applicable to brightness enhancement in display module
CN114373431A (en) * 2022-01-25 2022-04-19 京东方科技集团股份有限公司 Display device, driving method thereof, driving module, electronic apparatus, and storage medium

Also Published As

Publication number Publication date
CN114743512A (en) 2022-07-12

Similar Documents

Publication Publication Date Title
EP2071824A1 (en) Efficient diffusion dithering using dyadic rationals
CN114743512B (en) Method, device, equipment and medium for determining backlight value of screen pixel point
US20200327638A1 (en) Connected component detection method, circuit, device and computer-readable storage medium
US8213716B2 (en) Method of gathering statistics of gray distribution of image
GB2532284A (en) Method to reduce dynamic clock skew and/or slew in an electronic circuit
WO2022142952A1 (en) Image data storage method and device, storage medium, chip, and module device
CN111273882B (en) Demura Table data compression method and decompression method
CN110782389B (en) Image data byte alignment method and terminal
CN112580278B (en) Optimization method and optimization device for logic circuit and storage medium
US20210082082A1 (en) Data processing method and processing circuit
US10956319B2 (en) Method and apparatus for multiple accesses in memory and storage system, wherein the memory return addresses of vertexes that have not been traversed
CN115293076A (en) Method for generating circuit, electronic device and storage medium
CN114359027A (en) MIPI data format-based image simulation implementation method and device
CN106156169B (en) Discrete data processing method and device
EP3506197B1 (en) Circuit unit, circuit module and apparatus for data statistics
US11288776B2 (en) Method and apparatus for image processing
US9977737B2 (en) Method and an apparatus for memory address allignment
CN116009792B (en) Data reading and writing device and method in image processing and electronic equipment
CN116152043B (en) Memory management method and device based on image processing and electronic equipment
CN116048816B (en) Data request processing method, device, electronic equipment and storage medium
CN109993274B (en) Artificial intelligence computing device and related products
CN117170622B (en) Accumulator, method and chip circuit for accumulator and computing device
CN115762426A (en) Screen pixel backlight weight calculation method and device, storage medium and electronic equipment
US8139077B2 (en) Enhanced alpha blending
CN107622157B (en) Method for tracking circuit time sequence path connectivity

Legal Events

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