CN118571161B - Display control method, device and equipment of LED display screen and storage medium - Google Patents
Display control method, device and equipment of LED display screen and storage medium Download PDFInfo
- Publication number
- CN118571161B CN118571161B CN202411037549.8A CN202411037549A CN118571161B CN 118571161 B CN118571161 B CN 118571161B CN 202411037549 A CN202411037549 A CN 202411037549A CN 118571161 B CN118571161 B CN 118571161B
- Authority
- CN
- China
- Prior art keywords
- image
- color
- display screen
- display
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000012937 correction Methods 0.000 claims abstract description 88
- 238000009826 distribution Methods 0.000 claims abstract description 65
- 238000012545 processing Methods 0.000 claims abstract description 58
- 238000009877 rendering Methods 0.000 claims abstract description 58
- 239000000463 material Substances 0.000 claims abstract description 55
- 238000004458 analytical method Methods 0.000 claims abstract description 47
- 238000005286 illumination Methods 0.000 claims abstract description 37
- 238000006243 chemical reaction Methods 0.000 claims abstract description 36
- 238000001914 filtration Methods 0.000 claims abstract description 17
- 238000003708 edge detection Methods 0.000 claims abstract description 15
- 238000012360 testing method Methods 0.000 claims abstract description 15
- 230000004927 fusion Effects 0.000 claims abstract description 14
- 238000004422 calculation algorithm Methods 0.000 claims description 39
- 238000004364 calculation method Methods 0.000 claims description 29
- 238000013507 mapping Methods 0.000 claims description 23
- 238000010606 normalization Methods 0.000 claims description 17
- 230000006870 function Effects 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 13
- 230000005855 radiation Effects 0.000 claims description 13
- 230000008447 perception Effects 0.000 claims description 12
- 230000016776 visual perception Effects 0.000 claims description 11
- 238000005457 optimization Methods 0.000 claims description 7
- 230000002457 bidirectional effect Effects 0.000 claims description 6
- 230000015572 biosynthetic process Effects 0.000 claims description 6
- 238000007499 fusion processing Methods 0.000 claims description 6
- 238000003786 synthesis reaction Methods 0.000 claims description 6
- 230000003044 adaptive effect Effects 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 5
- 230000001172 regenerating effect Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 description 19
- 239000003086 colorant Substances 0.000 description 6
- 230000000007 visual effect Effects 0.000 description 6
- 230000009466 transformation Effects 0.000 description 4
- 239000002184 metal Substances 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000002349 favourable effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000009827 uniform distribution Methods 0.000 description 2
- 239000002023 wood Substances 0.000 description 2
- 239000000654 additive Substances 0.000 description 1
- 230000000996 additive effect Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 238000011478 gradient descent method Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 238000012821 model calculation Methods 0.000 description 1
- 239000004033 plastic Substances 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 239000004753 textile Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/22—Control 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 using controlled light sources
- G09G3/30—Control 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 using controlled light sources using electroluminescent panels
- G09G3/32—Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0233—Improving the luminance or brightness uniformity across the screen
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0271—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
- G09G2320/0276—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0666—Adjustment of display parameters for control of colour parameters, e.g. colour temperature
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention relates to a display control method, a device, equipment and a storage medium of an LED display screen, wherein the method comprises the steps of performing display test based on initial display control parameters, acquiring a display image, and performing self-adaptive gamma correction on the display image to obtain a brightness correction image; analyzing the color distribution information of the brightness correction image and performing color compensation processing to obtain a compensation image; performing display screen module light source analysis and material analysis on the compensation image to obtain display screen luminous light source parameters and material properties, and rendering through an illumination model to obtain a rendered image; performing color space conversion and color balance processing on the rendered image to obtain a balanced image; performing image edge detection and sharpening filtering treatment on the balanced image to obtain a filtered image, and performing weighted fusion on the filtered image and the balanced image to obtain an output image; and adjusting the control parameters of the initial display control parameters to obtain target display control parameters. The invention can optimize the image.
Description
Technical Field
The present invention relates to the field of technologies, and in particular, to a display control method, device, equipment, and storage medium for an LED display screen.
Background
In LED display screen applications, the quality and effect of the displayed image is critical to the user experience. However, there are problems to be solved due to the characteristics of the conventional LED display screen itself and some limitations in the image processing process. These problems include uneven brightness, color distortion, non-ideal lighting effects, etc. Therefore, a display control method of the high-efficiency LED display screen is developed, and the correction, compensation and optimization processing can be automatically carried out on the image.
Disclosure of Invention
The invention mainly aims to provide a display control method, a device, equipment and a storage medium of an LED display screen, which can automatically optimize images so that the brightness of output images is uniform, the color is not distorted and the illumination effect is ideal.
In order to achieve the above object, the present invention provides a display control method for an LED display screen, including:
Performing display test based on initial display control parameters of an LED display screen, acquiring a display image, and performing self-adaptive gamma correction on the display image to obtain a brightness correction image;
Analyzing the color distribution information of the brightness correction image through a color algorithm and performing color compensation processing to obtain a compensation image;
performing display screen module light source analysis and material analysis on the compensation image to obtain display screen luminous light source parameters and material properties of display objects in the image, and performing rendering through an illumination model to obtain a rendered image;
Performing color space conversion and color balance processing on the rendered image to obtain a balanced image;
Performing image edge detection and sharpening filtering treatment on the balanced image to obtain a filtered image, and performing weighted fusion on the filtered image and the balanced image to obtain an output image of the LED display screen;
and carrying out control parameter adjustment on the initial display control parameters according to the output image to obtain target display control parameters.
Further, the initial display control parameter based on the LED display screen performs a display test and obtains a display image, and performs adaptive gamma correction on the display image to obtain a brightness correction image, including:
controlling the LED display screen to perform display test based on the initial display control parameters, acquiring a display image of the LED display screen, converting the acquired display image into an LCH image through an LCH color space, and extracting an original brightness component, an original chromaticity component and an original saturation component from the LCH image;
And carrying out normalization calculation on the original brightness component to obtain a brightness normalization value, obtaining a corresponding preset gamma conversion function according to the brightness normalization value, carrying out mapping calculation on the brightness normalization value through the gamma conversion function to obtain a brightness correction value, correcting the original brightness component according to the brightness correction value to obtain a corrected brightness component, and recombining the corrected brightness component with the original chromaticity component and the original saturation component to obtain the brightness correction image.
Further, the analyzing the color distribution information of the brightness correction image by a color algorithm and performing color compensation processing to obtain a compensated image includes:
Converting the brightness correction image into a Lab image through a Lab color space, extracting a brightness opposite degree channel, a first color opposite degree channel and a second color opposite degree channel of the Lab image, carrying out distribution straight statistics on the first color opposite degree channel and the second color opposite degree channel to obtain an original color distribution histogram, and carrying out distribution straight statistics on the Lab image according to a preset target distribution threshold to obtain a target color distribution histogram;
Extracting an original color value of an original color distribution histogram and a target color value of a target color distribution histogram respectively through the color algorithm, calculating the similarity of each original color value and each target color value, detecting the similarity according to a preset similarity range, and performing bidirectional mapping processing on the corresponding original color value and the target color value when the similarity accords with the similarity range to obtain a bidirectional mapping relation;
And respectively replacing the original color value of the first color opponent channel and the original color value of the second color opponent channel with corresponding target color values according to the bidirectional mapping relation to obtain a first target opponent channel and a second target opponent channel, and reconstructing the first target opponent channel, the second target opponent channel and the brightness opponent channel to obtain the compensation image.
Further, the performing display screen module light source analysis and material analysis on the compensation image to obtain display screen luminous light source parameters and material properties of display objects in the image, and performing rendering through the illumination model to obtain a rendered image, including:
Converting the compensation image into a corresponding gray image, extracting gray pixel points of the gray image, calculating gray gradient data and gray direction data of each gray pixel, analyzing a display screen module light source based on the gray gradient data and the gray direction data to obtain a module light source position parameter and a module light source intensity parameter, sequentially carrying out radiation calculation on the module light source position parameter and the module light source intensity parameter to obtain a module radiation degree, judging whether the module radiation degree accords with a preset convergence condition, carrying out iterative optimization on the module light source position parameter and the module light source intensity parameter when the module radiation degree does not accord with the convergence condition, and recalculate the corresponding module radiation degree until the module radiation degree accords with the convergence condition, outputting a final module light source position parameter and a final module light source intensity parameter, and integrating the display screen module light source position parameter and the display screen module light source intensity parameter to obtain a display screen module luminous light source parameter;
Dividing the characteristic region of the compensation image, extracting regional texture features of the characteristic region, analyzing the texture features of the region to obtain regional texture attributes, and carrying out attribute fusion on the regional texture attributes to obtain the texture attributes of the display object in the image;
Generating a series of random noise on the blank image according to the luminous source parameters of the display screen module and the material attribute through the illumination model to obtain an initial rendering image, calculating a rendering pixel value of each rendering pixel point of the initial rendering image, judging whether the rendering pixel value accords with a preset target rendering range, performing iterative adjustment on the rendering pixel value when the rendering pixel value does not accord with the target rendering range, and generating the rendering image when the rendering pixel value accords with the target rendering range.
Further, the performing color space conversion and color equalization processing on the rendered image to obtain an equalized image includes:
Performing perception calculation on the perceived color image through the perceived color image corresponding to the perceived color space conversion to obtain visual perception parameters, and performing deviation analysis on the visual perception parameters according to a preset target perception threshold to obtain deviation data;
Judging whether the deviation data meets the preset deviation range requirement, extracting color channels, local features and global features of the perceived color image when the deviation data does not meet the preset deviation range requirement, carrying out color correction processing on all the color channels based on the deviation data to obtain corresponding color correction channels, carrying out nonlinear adjustment on the color correction channels according to the local features and the global features through a color correction algorithm, and sequentially carrying out channel synthesis and perceived color space inverse conversion on the adjusted color correction channels to obtain the balanced image which is the same as the rendered image.
Further, the performing image edge detection and sharpening filtering processing on the balanced image to obtain a filtered image, and performing weighted fusion on the filtered image and the balanced image to obtain an output image of the LED display screen, including:
Performing edge gradient calculation on the balanced image to obtain edge position data, performing edge extraction on the balanced image according to the edge position data to obtain an initial edge image, and sequentially performing edge thinning and edge connection on the initial edge image according to a preset edge threshold algorithm to obtain a target edge image;
performing convolution operation on the target edge image by applying a Laplace filtering algorithm to obtain a convolution result, and performing superposition processing on the convolution result and the target edge image to obtain the filtering image;
And mapping the filtered image and the balanced image into a similar gray scale range, and carrying out weighted fusion processing on the filtered pixel point of the filtered image and the balanced pixel point of the balanced image according to a preset weighted proportion to obtain the output image of the LED display screen.
Further, the performing control parameter adjustment on the initial display control parameter according to the output image to obtain a target display control parameter includes:
Performing quality comparison on the output image according to a preset target display image to obtain an image difference value, judging whether the image difference value is in a preset difference value range, performing iterative adjustment on the initial display control parameter according to the image difference value when the image difference value is not in the difference value range to obtain an adjustment parameter, regenerating the output image according to the adjustment parameter and performing quality comparison until the image difference value is in the difference value range, and performing control parameter adjustment on the initial display control parameter according to the image difference value when the image difference value is in the difference value range to obtain the target display control parameter;
Wherein, the quality comparison is carried out on the output image according to the target display image, and the calculation formula comprises:
,
Is the image difference of the output image and the target image, Is a wavelet coefficient gradient image obtained by wavelet conversion of the target image,Is the horizontal gradient value of the gradient image of the output image in the horizontal direction,Is the vertical gradient value of the gradient image of the output image in the vertical direction,Is the absolute value of the horizontal gradient value,Is the absolute value of the vertical gradient value.
The invention also provides a display control device of the LED display screen, which is applied to the display control method of the LED display screen, and comprises the following steps:
The acquisition module is used for performing display test based on initial display control parameters of the LED display screen, acquiring a display image, and performing self-adaptive gamma correction on the display image to obtain a brightness correction image;
the compensation module is used for analyzing the color distribution information of the brightness correction image through a color algorithm and performing color compensation processing to obtain a compensation image;
The analysis module is used for carrying out light source analysis and material analysis on the compensation image by the display screen module to obtain display screen luminous light source parameters and material properties of display objects in the image, and rendering the display screen luminous light source parameters and the material properties by the illumination model to obtain a rendered image;
the processing module is used for performing color space conversion and color balance processing on the rendered image to obtain a balanced image;
The control module is used for carrying out image edge detection and sharpening filtering treatment on the balanced image to obtain a filtered image, and carrying out weighted fusion on the filtered image and the balanced image to obtain an output image of the LED display screen;
And the adjusting module is used for adjusting the control parameters of the initial display control parameters according to the output image to obtain target display control parameters.
The invention also provides a display control device of the LED display screen, comprising:
A memory for storing a program;
And the processor is used for executing the program and realizing the steps of the display control method of the LED display screen.
The invention also provides a storage medium storing computer instructions for causing a computer to perform the method of any one of the above.
The invention has the following beneficial effects:
By performing the adaptive gamma correction processing on the display image, the brightness can be accurately adjusted, and the dynamic range of the display image can be improved. This helps to eliminate the problem of uneven brightness on the LED display screen, making the overall screen display more balanced and uniform. And analyzing the color distribution information of the brightness correction image through a color algorithm to obtain a color analysis result. And according to the color analysis result, performing color compensation processing on the brightness correction image, so that color distortion can be reduced, and the color accuracy and saturation of the display image can be improved. The light source analysis and the material analysis are carried out on the compensation image, the light source parameters and the material properties are obtained, the illumination model is utilized, the compensation image is rendered by combining the light source parameters and the material properties, the illumination effect of the display image can be improved, and the texture and the fidelity of the image are enhanced. The rendered image is color space converted and analyzed for color balance. And carrying out color balance processing on the rendered image according to the color balance, and enabling the displayed image to be more natural, balanced and full by adjusting the color distribution of the image. And carrying out edge detection on the balanced image to obtain a target edge image. The edge image is sharpened and filtered, the edge definition and detail of the image are enhanced, the filtered image and the balanced image are subjected to weighted fusion processing, and the definition and detail restoration effect of the image is further improved.
Drawings
FIG. 1 is a flow chart of a display control method of an LED display screen provided by the invention;
FIG. 2 is a diagram of a display control device of an LED display screen according to the present invention;
Fig. 3 is a diagram of a display control device of an LED display screen according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention will be further described with reference to the drawings and detailed description.
Referring to fig. 1, the present invention provides a display control method of an LED display screen, including:
step S1: performing display test based on initial display control parameters of an LED display screen, acquiring a display image, and performing self-adaptive gamma correction on the display image to obtain a brightness correction image;
Step S2: analyzing the color distribution information of the brightness correction image through a color algorithm and performing color compensation processing to obtain a compensation image;
step S3: performing display screen module light source analysis and material analysis on the compensation image to obtain display screen luminous light source parameters and material properties of display objects in the image, and performing rendering through an illumination model to obtain a rendered image;
step S4: performing color space conversion and color balance processing on the rendered image to obtain a balanced image;
Step S5: performing image edge detection and sharpening filtering treatment on the balanced image to obtain a filtered image, and performing weighted fusion on the filtered image and the balanced image to obtain an output image of the LED display screen;
Step S6: and carrying out control parameter adjustment on the initial display control parameters according to the output image to obtain target display control parameters.
As shown in the above steps, the detailed procedure is as follows:
Step S1: the LED display screen is controlled to perform display test through initial display control parameters including, but not limited to, parameters such as brightness, contrast, color and the like of the LED display screen, an original display image is obtained, self-adaptive gamma correction is performed on the display image, brightness distribution information of the image is calculated, and methods such as a histogram and the like can be used. Then, by adjusting the brightness value of each pixel point, the brightness distribution of the image is more uniform and adapted to the perception characteristics of the observer. And obtaining a brightness correction image after self-adaptive gamma correction processing.
Step S2: and analyzing color distribution information of the brightness correction image by using a color algorithm, wherein the color distribution information comprises methods such as a color histogram, color space conversion and the like, and the color algorithm is used for acquiring the distribution condition of various colors in the image. And obtaining the duty ratio and the distribution rule of different colors in the image by analyzing the color distribution information.
Based on the color distribution information, color compensation processing is performed, the color compensation aiming at adjusting the brightness and saturation of each color channel in the image. Color deviation or distortion occurring during display is recognized by analysis of the color distribution information, and corrected.
The color compensation process includes enhancing or suppressing color channels of an image to adjust saturation and brightness of colors, and the color compensation is implemented by using various image processing techniques such as histogram equalization, color mapping, color correction matrix, and the like. And obtaining a compensated image after color algorithm analysis and color compensation processing.
Analyzing the color distribution information of the brightness correction image through a color algorithm and performing color compensation processing to obtain a compensation image;
Step S3: the LED module of the display screen is used for measuring and analyzing the light source characteristics, including parameters such as brightness, color temperature, color range and the like of the light source, and the light source characteristics of the display screen are obtained through light source analysis.
The texture properties of the displayed object in the image, such as metal, plastic, textile, etc., are identified by texture analysis. And (3) carrying out different illumination model calculation on objects with different materials through material analysis so as to obtain a more real rendering effect.
And rendering the compensation image by using the illumination model based on the results of the light source analysis and the material analysis. The illumination model is a mathematical model describing illumination effects, and takes the factors such as the position, color, illumination intensity of a light source, material properties of an object and the like into consideration. By means of calculation of the illumination model, the illumination effect in the real world is simulated, and details such as shadows, highlights and reflections are added to the image, so that a more realistic rendering image is obtained.
Step S4: the rendered image is converted from the current color space to a target color space, such as an RGB (red green blue) color space, a CMYK (cyan, magenta, yellow, black) color space, and an HSV (hue, saturation, brightness) color space, for which channel rearrangement or adjustment can be performed. The conversion process is implemented using mathematical operations or specialized image processing libraries, the specific conversion algorithm and method depending on the color space selected and the conversion target.
A histogram is calculated for each color channel in the rendered image, the histogram being a distribution frequency statistic of the color values in the image. For each color channel, the brightness and contrast of the pixels are adjusted by histogram equalization or other color equalization algorithms, so that the distribution of different color channels in the image is more balanced. Histogram equalization is a common color equalization method that adjusts the brightness of a pixel by mapping the cumulative distribution function of the color channels to a uniform distribution function.
Step S5: edge detection is carried out on an image, wherein the image gradient calculation is carried out on the image, gradient values of pixel points are calculated, edges are detected, image segmentation is carried out on the image, and an edge image is obtained, for example, a Canny edge detection algorithm firstly carries out Gaussian smoothing filtering on the image to reduce noise, then the gradient and the edge direction of the image are calculated, and finally the edge is extracted according to the size and the direction of the gradient.
The sharpness of the image is enhanced by convolving the edge image with a high-pass filter to emphasize high frequency information in the image, the sharpening filter used includes a laplace filter to emphasize edges in the image by computing differences in gray values in the neighborhood around the pixel, and the output of the filter is added to the edge image to enhance sharpness of the image.
The filtered image and the equalized image are fused using a weighted average or weighted sum at the pixel level, with the weights of the different pixels being set according to their position in the image, color values, or other characteristics.
Step S6: the output image is analyzed, including characteristics in terms of brightness, contrast, color balance, and color saturation of the image.
According to the brightness and contrast characteristics of the image, the brightness and contrast parameters of the display screen are adjusted, so that the image is clearer and clearer during display. According to the color balance characteristics of the image, the color balance parameters of the display screen are adjusted, so that the colors in the image are more real and accurate. According to the color saturation characteristics of the image, the color saturation parameters of the display screen are adjusted, so that the color in the image is plump and vivid.
The target display control parameters are obtained through adjustment of the initial display control parameters, and the target display control parameters can comprise numerical settings in terms of brightness, contrast, color balance, color saturation and the like.
According to the display control method of the LED display screen, provided by the invention, the brightness can be accurately adjusted by performing self-adaptive gamma correction processing on the display image, and the dynamic range of the display image is improved. This helps to eliminate the problem of uneven brightness on the LED display screen, making the overall screen display more balanced and uniform. And analyzing the color distribution information of the brightness correction image through a color algorithm to obtain a color analysis result. And according to the color analysis result, performing color compensation processing on the brightness correction image, so that color distortion can be reduced, and the color accuracy and saturation of the display image can be improved. The light source analysis and the material analysis are carried out on the compensation image, the light source parameters and the material properties are obtained, the illumination model is utilized, the compensation image is rendered by combining the light source parameters and the material properties, the illumination effect of the display image can be improved, and the texture and the fidelity of the image are enhanced. The rendered image is color space converted and analyzed for color balance. And carrying out color balance processing on the rendered image according to the color balance, and enabling the displayed image to be more natural, balanced and full by adjusting the color distribution of the image. And carrying out edge detection on the balanced image to obtain a target edge image. The edge image is sharpened and filtered, the edge definition and detail of the image are enhanced, the filtered image and the balanced image are subjected to weighted fusion processing, and the definition and detail restoration effect of the image is further improved.
In one embodiment, the performing a display test based on initial display control parameters of the LED display screen and obtaining a display image, and performing adaptive gamma correction on the display image to obtain a brightness correction image includes:
according to the initial display control parameters, performing display test on the LED display screen, and acquiring a display image of the LED display screen, wherein the step is realized by controlling brightness, contrast, color parameters and the like of the display screen.
The acquired display image is converted into an LCH image through an LCH (luminance-chrominance-saturation) color space, which is a color representation method of converting an RGB color space into three components of luminance, chrominance and saturation. Color information in the display image is converted into the form of luminance, chrominance and saturation components by LCH color space conversion.
An original luminance component, an original chrominance component, and an original saturation component are extracted from the LCH image. Extraction of these components may be achieved by performing a separation operation on the LCH image. The separated original luminance component represents luminance information in the image, the original chrominance component represents color information in the image, and the original saturation component represents saturation information in the image.
And carrying out normalization calculation on the original brightness component to obtain a brightness normalization value. Normalization may map the value of the luminance component to a range between 0 and 1 for subsequent gamma correction operations. For example, assuming that the range of the original luminance component is 0 to 255, the normalized luminance normalization value may be calculated by dividing the original luminance component by 255.
And acquiring a corresponding preset gamma conversion function according to the brightness normalization value. The gamma transformation function is a nonlinear transformation function used to adjust the luminance response curve of an image. Different gamma conversion functions can be preset according to different application requirements and characteristics of the display device. According to the brightness normalization value, the corresponding gamma transformation function can be obtained by table lookup or mathematical calculation.
And obtaining a corresponding brightness correction value by taking the brightness normalization value as input and performing mapping calculation of a gamma transformation function. And correcting the original brightness component according to the brightness correction value to obtain a corrected brightness component. And correspondingly adjusting the original brightness component according to the calculated brightness correction value to obtain a corrected brightness component.
And recombining the corrected luminance component with the original chrominance component and the original saturation component to obtain a luminance corrected image. And re-synthesizing the corrected brightness component, the original chrominance component and the original saturation component to obtain a brightness correction image subjected to self-adaptive gamma correction, and converting the brightness correction image through an RGB color space to obtain a brightness correction image in an RGB format.
According to the embodiment, the display test is carried out on the LED display screen, the display image is obtained, the actual display effect is obtained, the performance of the LED display screen can be intuitively estimated, and an accurate reference is provided for subsequent brightness correction. By converting the display image into the LCH color space, the color information is separated into three independent components, luminance, chrominance and saturation, which conversion can better process the color information, making the luminance correction process more accurate and reliable. By carrying out normalization calculation on the original brightness component and acquiring a corresponding gamma conversion function according to the normalization value, self-adaptive brightness correction is realized, and a proper gamma conversion function can be selected according to different brightness conditions, so that the brightness response of an image can be better adjusted. The original brightness component is corrected, and the corrected brightness component, the original chroma component and the original saturation component are recombined to obtain a brightness correction image, so that the brightness of the image is corrected while the color and saturation information is kept, and the overall visual effect is improved.
In one embodiment, analyzing color distribution information of a brightness correction image through a color algorithm and performing color compensation processing to obtain a compensated image, including:
The brightness correction image is converted into a Lab image through a Lab color space, and color information of the image is separated into three channels of brightness (L) and chromaticity (a and b), wherein the brightness channel (L channel) represents the brightness information of the image, and the chromaticity channel (a and b) represents the color information of the image.
And extracting a brightness contrast channel, a first color contrast channel and a second color contrast channel from the Lab image, wherein the brightness contrast channel reflects brightness differences of different areas in the image, and the first color contrast channel and the second color contrast channel reflect differences among different colors in the image.
And carrying out distribution orthometric statistics on the first color contrast channel and the second color contrast channel to obtain an original color distribution histogram, wherein the histogram represents the quantity distribution condition of each color value in the image and can reflect the color characteristics.
And carrying out distribution square statistics on the Lab image according to a preset target distribution threshold value to obtain a target color distribution histogram, wherein the target color distribution histogram is generated according to expected color distribution characteristics and is used for guiding a color compensation process.
And respectively extracting an original color value of the original color distribution histogram and a target color value of the target color distribution histogram through a color algorithm, and calculating the similarity of each original color value and each target color value. This similarity calculation may use different distance measurement methods, such as euclidean distance or cosine similarity.
After the similarity is calculated, the similarity is detected according to a preset similarity range, when the similarity accords with the similarity range, the corresponding original color value and the target color value are subjected to bi-directional mapping processing, a bi-directional mapping relation is established, and the bi-directional mapping relation establishes a corresponding relation between the original color value and the target color value for subsequent color compensation operation.
And according to the bi-directional mapping relation, replacing the original color values in the first color opponent channel and the second color opponent channel with corresponding target color values to obtain the first target opponent channel and the second target opponent channel. This replacement operation will map the original color values to target color values according to the bi-directional mapping relationship, enabling color compensation.
And finally, reconstructing the first target opposite channel, the second target opposite channel and the brightness opposite channel to obtain a compensation image, and recombining the compensated color channel and the brightness channel to generate the compensation image.
For example, assume that one original color value in the original color distribution histogram is Lab (200, 100, 50), and one target color value in the target color distribution histogram is Lab (220, 120, 80). By calculating the similarity between the original color value Lab (200, 100, 50) and the target color value Lab (220, 120, 80), a bi-directional mapping relationship is established if the similarity meets a preset similarity range.
Next, in the first color opponent degree channel and the second color opponent degree channel, all pixels whose original color values are Lab (200, 100, 50) are replaced with target color values Lab (220, 120, 80).
And finally, reconstructing a compensation image according to the replaced first target opposite channel, the replaced second target opposite channel and the replaced brightness opposite channel. This results in a compensated image having undergone color compensation processing in which the color distribution has been adjusted according to a preset target distribution.
According to the embodiment, the color algorithm is used for carrying out color compensation processing on the brightness correction image, and correcting the color deviation in the image, so that the compensated image is more real and accurate, and the visual quality and accuracy of the image are improved. By setting a preset target distribution threshold value and a target color distribution histogram, the distribution condition of each color value in the image can be accurately controlled, so that the color distribution of the image is more balanced and unified, and the expected visual effect is met. By establishing the bi-directional mapping relation, bi-directional conversion between the original color value and the target color value is realized, so that consistency between the color value in the compensated image and the color value in the original image is ensured, and the conversion of the color between the compensated image and the original image is reversible.
In one embodiment, performing display screen module light source analysis and material analysis on the compensation image to obtain display screen luminous light source parameters and material properties of display objects in the image, and rendering the display screen luminous light source parameters and the material properties of the display objects through the illumination model to obtain a rendered image, including:
Converting the compensation image into a corresponding gray image, extracting gray pixel points of the gray image, calculating gray gradient data and gray direction data of each gray pixel, and analyzing the light source of the display screen module based on the gray gradient data and the gray direction data. And analyzing the position parameters of the module light sources and the intensity parameters of the module light sources in the display screen module by analyzing the change of the gray gradient and the trend of the gray direction. For example, if the gray scale gradient of a particular region is large and the direction is directed upward and rightward in an image, it can be inferred that there is a strong light source near the region.
And performing radiation calculation based on the module light source position parameter and the light source intensity parameter to obtain the radiance of the module. And then judging whether the module radiance meets a preset convergence condition, if not, carrying out iterative optimization, adjusting the light source position parameter and the light source intensity parameter, and recalculating the radiance until the convergence condition is met. And finally, outputting the optimal module light source position parameter and the optimal light source intensity parameter, and integrating the display screen module light source position parameter and the display screen module light source intensity parameter to obtain the display screen module light-emitting light source parameter.
Then, the compensation image is subjected to feature region division, and region texture features of the feature region are extracted. And analyzing the texture characteristics of the characteristic areas, and performing material analysis to obtain the material properties of each area. For example, the texture features of a feature region indicate a smooth surface and the texture properties of that region are judged to be clean.
And carrying out attribute fusion on the obtained regional material attributes, comprehensively considering the material attributes of each characteristic region, and obtaining the overall material attribute of the display object in the image. For example, if the image includes a metal surface display object and a wood surface display object, the attribute fusion may result in metal and wood material attributes.
According to the parameters of the luminous light source of the display screen module and the material properties, a series of random noises are generated on the blank image by using the illumination model, and the random noises simulate the illumination effect. Then, a rendering pixel value of each rendering pixel point is calculated.
Judging whether the rendering pixel value accords with a preset target rendering range. If the range is not met, iterative adjustment is needed, and rendering pixel values are adjusted until the target rendering range is met, so that a final rendering image is obtained.
Rendering by a lighting model includes, among other things, that the lighting model can use a classical Phong model or a more complex physical rendering model.
And acquiring the parameters and the material properties of the luminous light source of the display screen module, and rendering the geometric information and the light source setting of the scene. A series of random noise is generated on the blank image, the noise being random numbers based on a statistical distribution, such as gaussian distribution, uniform distribution, etc. The purpose of random noise is to simulate the randomness and non-uniformity of the illumination. And for each rendering pixel, carrying out illumination calculation according to the position and the attribute of the light source, the geometric information and the material attribute of the object to obtain the illumination intensity and the color of the pixel, wherein the illumination calculation comprises the calculation of diffuse reflection, specular reflection, ambient light and other components.
And calculating a shadow effect according to the light source position and the geometric information of the object, and determining which areas are illuminated and which areas are in shadow. The shadow calculation is implemented based on ray tracing, depth information, or shadow mapping algorithms. According to the material properties, the calculated illumination intensity and color are adjusted, and the factors such as the reflectivity, the refractive index and the transparency of the object, the texture of the material, the normal map and the like are considered.
And synthesizing the pixel color value obtained by illumination calculation and material adjustment with random noise to obtain a final rendered pixel value. The synthesis process may be simple additive synthesis, or may take into account color mixing, weighting, etc. And outputting the pixel color values obtained by rendering to a final image or a screen to form a rendering result, wherein the rendering output comprises real-time rendering and off-line rendering, and depends on application scenes and requirements.
According to the embodiment, through the gray gradient and gray direction data analysis of the compensation image, the position and intensity parameters of the light source in the display screen module are accurately estimated. The method is favorable for optimizing the illumination effect of the display screen, improves the brightness and contrast of the image, and enables the display effect to be clearer and brighter. And analyzing texture features of the compensated image feature region to obtain material properties of different regions. The method is favorable for rendering according to the material properties, so that the display object presents vivid material texture in the rendered image, and the visual effect is improved. And iteratively optimizing the position and intensity parameters of the module light source, calculating the radiance, judging whether the radiance meets the preset convergence condition, ensuring that the luminous light source of the display screen is reasonably configured, meeting the radiance requirement, and avoiding excessive or insufficient illumination effect. Random noise is generated through the illumination model, and rendering is carried out according to the module light source parameters and the material properties. And iteratively adjusting the rendering pixel value to enable the rendering pixel value to accord with a preset target rendering range. This helps control the brightness, contrast, and color saturation of the rendered image so that the final rendered image is more desirable.
In one embodiment, performing color space conversion and color equalization processing on a rendered image to obtain an equalized image includes:
The rendered image is mapped to a perceived color image by perceived color space conversion. Perceptual color space conversion is a method of converting a color representation of an image into a color space that is more consistent with human perception.
The perceived color image is subjected to perceived computation to obtain visual perception parameters, wherein the visual perception parameters are used for reflecting visual perception characteristics such as brightness, contrast, saturation and the like of the image, and the visual perception parameters comprise average brightness, color distribution, contrast range and the like.
And then, performing deviation analysis on the visual perception parameters according to a preset target perception threshold to obtain deviation data. The preset target perception threshold is a reference value set according to application requirements and user experience.
And judging whether the deviation data meets the preset deviation range requirement or not. If the deviation data does not meet the preset deviation range requirement, namely exceeds the allowable threshold range, further color correction processing is needed.
And extracting color channels, local features and global features of the perceived color image for the condition of unsatisfactory conditions. The color channels represent information of different color components in the image. The local and global features are used to describe local and global features of the image, such as histograms of the image, gradient information, etc.
And carrying out color correction processing on all the color channels based on the deviation data to obtain corresponding color correction channels. The goal of color correction is to adjust the color distribution of the image closer to the target perceived threshold range by using various color correction algorithms such as histogram equalization, color mapping, etc.
And through a color correction algorithm, carrying out nonlinear adjustment on the color correction channel according to the local characteristics and the global characteristics, including adjustment on the contrast, brightness, tone and the like of the image.
And sequentially carrying out channel synthesis and perceived color space inverse conversion on the adjusted color correction channels to obtain an equalized image of the same type as the rendered image, wherein the channel synthesis recombines the adjusted color channels to recover the complete color information of the image. The inverse transform of the perceived color space converts the equalized image color back to the original color space, e.g., from CIELAB or CIELUV back to the RGB color space.
According to the embodiment, the rendered image is converted into the perception color space, so that the brightness information of the image can be better reserved, and the distance between the colors is more in line with human eyes perception. Doing so may enhance the visual realism and naturalness of the image. By performing a perceptual calculation on the perceived color image, a series of visual perception parameters, such as brightness, contrast, saturation, etc., are obtained that objectively describe the visual characteristics of the image. By performing deviation analysis on the visual perception parameters and a preset target perception threshold, deviation data, namely the difference between the image and the target perception threshold, is obtained, the color balance degree of the image is quantized, and a basis is provided for subsequent processing. Whether the image needs to be subjected to color correction processing can be judged according to whether the deviation data meets the preset deviation range requirement. When the deviation data does not meet the requirements, feedback information can be provided to indicate that further processing is required. Based on the deviation data, correcting the color channels of the perceived color image to adjust the color distribution of the image. Through a color correction algorithm and nonlinear adjustment, the color of the image is more balanced and natural.
In one embodiment, performing image edge detection and sharpening filtering processing on the balanced image to obtain a filtered image, and performing weighted fusion on the filtered image and the balanced image to obtain an output image of the LED display screen, including:
Performing edge gradient calculation on the balanced image to obtain edge position data, performing edge extraction on the balanced image according to the edge position data to obtain an initial edge image, and sequentially performing edge refinement and edge connection on the initial edge image according to a preset edge threshold algorithm to obtain a target edge image;
Performing convolution operation on the target edge image by applying a Laplace filtering algorithm to obtain a convolution result, and performing superposition processing on the convolution result and the target edge image to obtain a filtered image;
And mapping the filtered image and the balanced image into a similar gray scale range, and carrying out weighted fusion processing on the filtered pixel points of the filtered image and the balanced pixel points of the balanced image according to a preset weighted proportion to obtain an output image of the LED display screen.
According to the method, the edge gradient calculation and the edge extraction algorithm are applied to the balanced image, the target edge is extracted from the image, the outline information of the object in the image is obtained, the edge details of the image can be enhanced, and the boundary of the object is clearer and clearer. And the sharpness and contrast of the edge are enhanced by applying a Laplace filtering algorithm to convolve the target edge image. The superposition of the convolution result and the target edge image can improve the intensity and definition of the edge, so that the image looks sharper and clearer.
In one embodiment, performing control parameter adjustment on the initial display control parameter according to the output image to obtain a target display control parameter, including:
And comparing the quality of the output image with that of the target display image according to the preset target display image. By calculating the difference between the two images. The difference value represents the degree of difference between the output image and the target display image.
And judging whether the image difference value is within a preset difference value range. If the image difference value is within the difference value range, the output image is indicated to be close to the target display image, the control parameter does not need to be further adjusted, and the current initial display control parameter is taken as the target display control parameter.
If the image difference is not within the difference range, i.e. the difference between the output image and the target display image is still large, an iterative adjustment of the control parameters is required.
And carrying out iterative adjustment on the initial display control parameters according to the image difference value. The value of the control parameter is adjusted according to the magnitude and direction of the image difference by applying an optimization algorithm such as a gradient descent method or a genetic algorithm, and the image difference is gradually reduced by iterative adjustment so that the output image gradually approaches the target display image.
And regenerating an output image according to the adjusted parameters, and comparing the quality of the new output image with that of the target display image. If the image difference is still not within the difference range, the iterative adjustment of the parameters and the generation of a new output image are continued until the image difference is within the difference range.
Once the image difference is within the difference range, it is indicated that the output image has reached the preset quality requirement. And at this time, final control parameter adjustment is carried out on the initial display control parameters according to the image difference value, so as to obtain target display control parameters.
Wherein, according to the target display image, the quality comparison is carried out on the output image, and the calculation formula comprises:
,
Is the image difference of the output image and the target image, Is a wavelet coefficient gradient image obtained by wavelet conversion of the target image,Is a horizontal gradient value of the gradient image of the output image in the horizontal direction,Is the vertical gradient value of the gradient image of the output image in the vertical direction,Is the absolute value of the horizontal gradient value,Is the absolute value of the vertical gradient value.
The embodiment accurately evaluates the difference between the output image and the target image by comparing the quality of the output image and the target display image and calculating the difference, which is helpful for quantitatively analyzing the image quality and determining the control parameters to be adjusted, thereby improving the display effect of the image. The quality of the output image is gradually improved according to the size and the direction of the image difference value by carrying out iterative adjustment and optimization on the initial display control parameters. The parameter adjustment process can effectively optimize the parameter setting of the display equipment so as to better meet the target display requirement. And finally determining target display control parameters through iterative adjustment and quality comparison. These parameters enable accurate control of the parameters of the display device to generate a high quality output image that matches the target display image. By automatically adjusting the parameters and determining the target parameters, performance and user experience of the display device may be improved. The adaptive optimization is realized by continuously iterating the process of adjusting parameters and regenerating an output image for quality comparison. This means that the system can automatically adjust parameters and generate an output closer to the target image according to the actual image difference situation, thereby improving the overall display quality and accuracy.
Referring to fig. 2, the present invention further provides a display control device of an LED display screen, which is applied to the display control method of the LED display screen of any one of the above, where the device includes:
the acquisition module is used for performing display test based on initial display control parameters of the LED display screen, acquiring a display image, and performing self-adaptive gamma correction on the display image to obtain a brightness correction image.
The compensation module is used for analyzing the color distribution information of the brightness correction image through a color algorithm and performing color compensation processing to obtain a compensation image.
The analysis module is used for carrying out display screen module light source analysis and material analysis on the compensation image to obtain display screen luminous light source parameters and material properties of display objects in the image, and rendering the display screen luminous light source parameters and the material properties of the display objects in the image through the illumination model to obtain a rendered image.
The processing module is used for performing color space conversion and color balance processing on the rendered image to obtain a balanced image.
The control module is used for carrying out image edge detection and sharpening filtering processing on the balanced image to obtain a filtered image, and carrying out weighted fusion on the filtered image and the balanced image to obtain an output image of the LED display screen.
And the adjusting module is used for adjusting the control parameters of the initial display control parameters according to the output image to obtain target display control parameters.
According to the display control device of the LED display screen, provided by the invention, the brightness can be accurately adjusted and the dynamic range of the display image can be improved by performing self-adaptive gamma correction processing on the display image. This helps to eliminate the problem of uneven brightness on the LED display screen, making the overall screen display more balanced and uniform. And analyzing the color distribution information of the brightness correction image through a color algorithm to obtain a color analysis result. And according to the color analysis result, performing color compensation processing on the brightness correction image, so that color distortion can be reduced, and the color accuracy and saturation of the display image can be improved. The light source analysis and the material analysis are carried out on the compensation image, the light source parameters and the material properties are obtained, the illumination model is utilized, the compensation image is rendered by combining the light source parameters and the material properties, the illumination effect of the display image can be improved, and the texture and the fidelity of the image are enhanced. The rendered image is color space converted and analyzed for color balance. And carrying out color balance processing on the rendered image according to the color balance, and enabling the displayed image to be more natural, balanced and full by adjusting the color distribution of the image. And carrying out edge detection on the balanced image to obtain a target edge image. The edge image is sharpened and filtered, the edge definition and detail of the image are enhanced, the filtered image and the balanced image are subjected to weighted fusion processing, and the definition and detail restoration effect of the image is further improved.
Referring to fig. 3, the present invention also provides a display control apparatus of an LED display screen, including:
A memory for storing a program;
And the processor is used for executing a program and realizing the steps of the display control method of the LED display screen.
In this embodiment, the processor and the memory may be connected by a bus or other means. The memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
The invention also provides a storage medium storing computer instructions for causing a computer to perform the method of any one of the above.
It should be noted that, for convenience and brevity of description, the specific working process of the above-described system and each module may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes using the descriptions and drawings of the present invention or direct or indirect application in other related technical fields are included in the scope of the present invention.
Claims (10)
1. The display control method of the LED display screen is characterized by comprising the following steps of:
Performing display test based on initial display control parameters of an LED display screen, acquiring a display image, and performing self-adaptive gamma correction on the display image to obtain a brightness correction image;
Analyzing the color distribution information of the brightness correction image through a color algorithm and performing color compensation processing to obtain a compensation image;
performing display screen module light source analysis and material analysis on the compensation image to obtain display screen luminous light source parameters and material properties of display objects in the image, and performing rendering through an illumination model to obtain a rendered image;
Performing color space conversion and color balance processing on the rendered image to obtain a balanced image;
Performing image edge detection and sharpening filtering treatment on the balanced image to obtain a filtered image, and performing weighted fusion on the filtered image and the balanced image to obtain an output image of the LED display screen;
and carrying out control parameter adjustment on the initial display control parameters according to the output image to obtain target display control parameters.
2. The method for controlling display of an LED display according to claim 1, wherein the performing a display test based on initial display control parameters of the LED display and obtaining a display image, performing adaptive gamma correction on the display image to obtain a brightness correction image, comprises:
controlling the LED display screen to perform display test based on the initial display control parameters, acquiring a display image of the LED display screen, converting the acquired display image into an LCH image through an LCH color space, and extracting an original brightness component, an original chromaticity component and an original saturation component from the LCH image;
And carrying out normalization calculation on the original brightness component to obtain a brightness normalization value, obtaining a corresponding preset gamma conversion function according to the brightness normalization value, carrying out mapping calculation on the brightness normalization value through the gamma conversion function to obtain a brightness correction value, correcting the original brightness component according to the brightness correction value to obtain a corrected brightness component, and recombining the corrected brightness component with the original chromaticity component and the original saturation component to obtain the brightness correction image.
3. The method for controlling a display of an LED display screen according to claim 1, wherein the analyzing the color distribution information of the luminance correction image by a color algorithm and performing a color compensation process to obtain a compensated image comprises:
Converting the brightness correction image into a Lab image through a Lab color space, extracting a brightness opposite degree channel, a first color opposite degree channel and a second color opposite degree channel of the Lab image, carrying out distribution straight statistics on the first color opposite degree channel and the second color opposite degree channel to obtain an original color distribution histogram, and carrying out distribution straight statistics on the Lab image according to a preset target distribution threshold to obtain a target color distribution histogram;
Extracting an original color value of an original color distribution histogram and a target color value of a target color distribution histogram respectively through the color algorithm, calculating the similarity of each original color value and each target color value, detecting the similarity according to a preset similarity range, and performing bidirectional mapping processing on the corresponding original color value and the target color value when the similarity accords with the similarity range to obtain a bidirectional mapping relation;
And respectively replacing the original color value of the first color opponent channel and the original color value of the second color opponent channel with corresponding target color values according to the bidirectional mapping relation to obtain a first target opponent channel and a second target opponent channel, and reconstructing the first target opponent channel, the second target opponent channel and the brightness opponent channel to obtain the compensation image.
4. The method for controlling display of an LED display according to claim 1, wherein said performing light source analysis and material analysis on the compensation image to obtain a display screen light source parameter and a material property of a display object in the image, and performing rendering by using an illumination model to obtain a rendered image comprises:
Converting the compensation image into a corresponding gray image, extracting gray pixel points of the gray image, calculating gray gradient data and gray direction data of each gray pixel, analyzing a display screen module light source based on the gray gradient data and the gray direction data to obtain a module light source position parameter and a module light source intensity parameter, sequentially carrying out radiation calculation on the module light source position parameter and the module light source intensity parameter to obtain a module radiation degree, judging whether the module radiation degree accords with a preset convergence condition, carrying out iterative optimization on the module light source position parameter and the module light source intensity parameter when the module radiation degree does not accord with the convergence condition, and recalculate the corresponding module radiation degree until the module radiation degree accords with the convergence condition, outputting a final module light source position parameter and a final module light source intensity parameter, and integrating the display screen module light source position parameter and the display screen module light source intensity parameter to obtain a display screen module luminous light source parameter;
Dividing the characteristic region of the compensation image, extracting regional texture features of the characteristic region, analyzing the texture features of the region to obtain regional texture attributes, and carrying out attribute fusion on the regional texture attributes to obtain the texture attributes of the display object in the image;
Generating a series of random noise on the blank image according to the luminous source parameters of the display screen module and the material attribute through the illumination model to obtain an initial rendering image, calculating a rendering pixel value of each rendering pixel point of the initial rendering image, judging whether the rendering pixel value accords with a preset target rendering range, performing iterative adjustment on the rendering pixel value when the rendering pixel value does not accord with the target rendering range, and generating the rendering image when the rendering pixel value accords with the target rendering range.
5. The method for controlling the display of the LED display screen according to claim 1, wherein performing color space conversion and color equalization processing on the rendered image to obtain an equalized image comprises:
Performing perception calculation on the perceived color image through the perceived color image corresponding to the perceived color space conversion to obtain visual perception parameters, and performing deviation analysis on the visual perception parameters according to a preset target perception threshold to obtain deviation data;
Judging whether the deviation data meets the preset deviation range requirement, extracting color channels, local features and global features of the perceived color image when the deviation data does not meet the preset deviation range requirement, carrying out color correction processing on all the color channels based on the deviation data to obtain corresponding color correction channels, carrying out nonlinear adjustment on the color correction channels according to the local features and the global features through a color correction algorithm, and sequentially carrying out channel synthesis and perceived color space inverse conversion on the adjusted color correction channels to obtain the balanced image which is the same as the rendered image.
6. The method for controlling the display of the LED display screen according to claim 1, wherein the performing image edge detection and sharpening filtering on the equalized image to obtain a filtered image, and performing weighted fusion on the filtered image and the equalized image to obtain an output image of the LED display screen comprises:
Performing edge gradient calculation on the balanced image to obtain edge position data, performing edge extraction on the balanced image according to the edge position data to obtain an initial edge image, and sequentially performing edge thinning and edge connection on the initial edge image according to a preset edge threshold algorithm to obtain a target edge image;
performing convolution operation on the target edge image by applying a Laplace filtering algorithm to obtain a convolution result, and performing superposition processing on the convolution result and the target edge image to obtain the filtering image;
And mapping the filtered image and the balanced image into a similar gray scale range, and carrying out weighted fusion processing on the filtered pixel point of the filtered image and the balanced pixel point of the balanced image according to a preset weighted proportion to obtain the output image of the LED display screen.
7. The method for controlling the display of the LED display screen according to claim 1, wherein said performing control parameter adjustment on the initial display control parameter according to the output image to obtain a target display control parameter comprises:
Performing quality comparison on the output image according to a preset target display image to obtain an image difference value, judging whether the image difference value is in a preset difference value range, performing iterative adjustment on the initial display control parameter according to the image difference value when the image difference value is not in the difference value range to obtain an adjustment parameter, regenerating the output image according to the adjustment parameter and performing quality comparison until the image difference value is in the difference value range, and performing control parameter adjustment on the initial display control parameter according to the image difference value when the image difference value is in the difference value range to obtain the target display control parameter;
Wherein, the quality comparison is carried out on the output image according to the target display image, and the calculation formula comprises:
,
Is the image difference of the output image and the target image, Is a wavelet coefficient gradient image obtained by wavelet conversion of the target image,Is the horizontal gradient value of the gradient image of the output image in the horizontal direction,Is the vertical gradient value of the gradient image of the output image in the vertical direction,Is the absolute value of the horizontal gradient value,Is the absolute value of the vertical gradient value.
8. A display control device of an LED display screen, applied to the display control method of an LED display screen according to any one of claims 1 to 7, characterized in that the device comprises:
The acquisition module is used for performing display test based on initial display control parameters of the LED display screen, acquiring a display image, and performing self-adaptive gamma correction on the display image to obtain a brightness correction image;
the compensation module is used for analyzing the color distribution information of the brightness correction image through a color algorithm and performing color compensation processing to obtain a compensation image;
The analysis module is used for carrying out light source analysis and material analysis on the compensation image by the display screen module to obtain display screen luminous light source parameters and material properties of display objects in the image, and rendering the display screen luminous light source parameters and the material properties by the illumination model to obtain a rendered image;
the processing module is used for performing color space conversion and color balance processing on the rendered image to obtain a balanced image;
The control module is used for carrying out image edge detection and sharpening filtering treatment on the balanced image to obtain a filtered image, and carrying out weighted fusion on the filtered image and the balanced image to obtain an output image of the LED display screen;
And the adjusting module is used for adjusting the control parameters of the initial display control parameters according to the output image to obtain target display control parameters.
9. A display control apparatus of an LED display screen, comprising:
A memory for storing a program;
a processor for executing the program to realize the respective steps of a display control method of an LED display screen according to any one of claims 1 to 7.
10. A storage medium having stored thereon computer instructions for causing a computer to perform the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411037549.8A CN118571161B (en) | 2024-07-31 | 2024-07-31 | Display control method, device and equipment of LED display screen and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411037549.8A CN118571161B (en) | 2024-07-31 | 2024-07-31 | Display control method, device and equipment of LED display screen and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118571161A CN118571161A (en) | 2024-08-30 |
CN118571161B true CN118571161B (en) | 2024-10-01 |
Family
ID=92468068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411037549.8A Active CN118571161B (en) | 2024-07-31 | 2024-07-31 | Display control method, device and equipment of LED display screen and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118571161B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119151978B (en) * | 2024-11-19 | 2025-02-14 | 深圳精智达技术股份有限公司 | Image processing method and related device for multidirectional edge texture filtering |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106030503A (en) * | 2014-02-25 | 2016-10-12 | 苹果公司 | Adaptive Video Processing |
CN114677295A (en) * | 2022-03-11 | 2022-06-28 | 新疆大学 | Method and device for enhancing mirror highlight image of real scene and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9196189B2 (en) * | 2011-05-13 | 2015-11-24 | Pixtronix, Inc. | Display devices and methods for generating images thereon |
KR102565847B1 (en) * | 2015-07-06 | 2023-08-10 | 삼성전자주식회사 | Electronic device and method of controlling display in the electronic device |
CN108039143B (en) * | 2017-12-06 | 2021-02-02 | 京东方科技集团股份有限公司 | Gamma circuit adjusting method and device |
CN115588409A (en) * | 2022-10-11 | 2023-01-10 | 北京奕斯伟计算技术股份有限公司 | Sub-pixel rendering method and device and display equipment |
CN116052591A (en) * | 2022-12-22 | 2023-05-02 | 云谷(固安)科技有限公司 | Compensation method and compensation device for display panel and computer readable storage medium |
-
2024
- 2024-07-31 CN CN202411037549.8A patent/CN118571161B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106030503A (en) * | 2014-02-25 | 2016-10-12 | 苹果公司 | Adaptive Video Processing |
CN114677295A (en) * | 2022-03-11 | 2022-06-28 | 新疆大学 | Method and device for enhancing mirror highlight image of real scene and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN118571161A (en) | 2024-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Chang et al. | Automatic contrast-limited adaptive histogram equalization with dual gamma correction | |
JP4870617B2 (en) | Image data automatic mapping method and image processing device | |
Smith et al. | Apparent greyscale: A simple and fast conversion to perceptually accurate images and video | |
CN106663313B (en) | Improvements in and relating to the display of images | |
US8644638B2 (en) | Automatic localized adjustment of image shadows and highlights | |
JP4870618B2 (en) | Image data automatic mapping method and image processing device | |
JP4085058B2 (en) | A general-purpose image enhancement algorithm that enhances visual recognition of details in digital images | |
Ancuti et al. | Enhancing by saliency-guided decolorization | |
CN105915909B (en) | A kind of high dynamic range images layered compression method | |
Smith et al. | Beyond tone mapping: Enhanced depiction of tone mapped HDR images | |
CN103702116B (en) | A kind of dynamic range compression method and apparatus of image | |
CN118571161B (en) | Display control method, device and equipment of LED display screen and storage medium | |
CN111105359A (en) | Tone mapping method for high dynamic range image | |
WO2019012112A1 (en) | Method and system for color gamut mapping | |
WO2023020705A1 (en) | Method, computer program and electronic device for tone mapping | |
Meylan | Tone mapping for high dynamic range images | |
Sazzad et al. | Establishment of an efficient color model from existing models for better gamma encoding in image processing | |
Zhao et al. | Learning tone curves for local image enhancement | |
JP5203159B2 (en) | Image processing method, image processing system, and image processing program | |
JP5327766B2 (en) | Memory color correction in digital images | |
JP4742068B2 (en) | Image processing method, image processing system, and image processing program | |
KR20210107955A (en) | Color stain analyzing method and electronic device using the method | |
Yun et al. | A contrast enhancement method for HDR image using a modified image formation model | |
Yu et al. | Adaptive inverse hyperbolic tangent algorithm for dynamic contrast adjustment in displaying scenes | |
CN113591630A (en) | Certificate photo automatic processing method, system, terminal equipment and storage medium |
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 |