Inverse Gamma dynamic mapping algorithm
A dynamic mapping and algorithm technology, applied to static indicators, instruments, etc., can solve problems such as low efficiency, large amount of calculation, and difficulty in achieving real-time effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] This embodiment provides an anti-Gamma dynamic mapping algorithm, such as figure 1 to show:
[0042] Include the following steps:
[0043] S1. Obtain the gray value Pin of the LED input signal;
[0044] S2. According to the gray value Pin, calculate the gray statistical value Pout of the set pixel line segment of the screen, and obtain the highest gray level sum Pconst of the set pixel line segment;
[0045] S3. Calculate the gray ratio S according to the gray statistical value Pout of the set pixel line segment and the highest gray sum Pconst, wherein S=Pout / Pconst×100%
[0046] S4. Set the corrected Gamma value interval, obtain the inverse Gamma value interval according to the Gamma value interval, and then calculate the finite value Q according to the inverse Gamma value interval;
[0047] S5. Obtain the inverse Gamma dynamic adjustment increment Δ according to the finite value Q, Δ=QS;
[0048] S6. Set the anti-Gamma dynamic adjustment formula Pcorr=1 / (1+Δ), bri...
Embodiment 2
[0050] As an optimization of the above embodiment, in the step S1, the calculation formula of the LED input signal grayscale value Pin is: Pin=R×0.299+G×0.587+B×0.114, that is, the image is converted from RGB color to grayscale Color calculation formula, where R, G, and B are the parameters of red, green, and blue in the three primary colors.
[0051] In the step S2, the screen sets the pixel line segment as 1 to m lines, and each line of pixels is n, and the calculation formula of the grayscale statistical value Pout is:
[0052]
[0053] The calculation formula of the highest gray level sum Pconst is:
[0054]
Embodiment 3
[0056] As an optimization of the above-mentioned embodiment, when applied to an LED screen, the value of m is 10, and the value of n is 1920. That is to say, each row of LED screen has 1920 pixels. By performing grayscale statistics and processing on this part of the screen image, the edge pixel compensation of the LED screen can be realized, so that the overall final brightness of the screen is more uniform. After the value is taken in this way, the calculation formula of the grayscale statistical value Pout is:
[0057]
[0058] The calculation formula of the highest gray level sum Pconst is:
[0059]
[0060] In step S4, the Gamma value interval is [a, b], wherein a, b are not less than 1, the inverse Gamma value interval is [1 / b, 1 / a], and the finite value Q=1 / a-1 / b ;The typical Gamma value is 1.0 / 2.2, which will make the brightness of the LCD image linear. This is the corrected value of the LCD, but it is obviously brighter when used on the LED. , it is ideal to t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


