An intelligent color deviation compensation method and system for a liquid crystal display screen
By splitting it into multiple pixel blocks on the LCD screen and calculating the brightness and chromaticity correction coefficients, the local color shift problem caused by uneven temperature distribution in the LCD screen is solved, and higher display consistency and color correction accuracy are achieved.
Patent Information
- Application Number
- CN202411632027.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2044-11-15
AI Technical Summary
In the LCD screen, the temperature distribution is uneven due to the heating of the backlight module and LED lamp, resulting in local color shift, and it is difficult for the prior art to achieve global color consistency.
Through the temperature distribution map of the LCD screen, the display screen is divided into multiple pixel blocks using the SLIC superpixel segmentation algorithm, and the brightness and chromaticity correction coefficients of each pixel block are calculated, and the brightness and chromaticity correction coefficients are fused for color offset correction.
It improves the overall display consistency and the accuracy of color correction of the LCD screen, reduces the calculation amount and processing time, and eliminates the problem of local color shift due to uneven temperature distribution.
Smart Images

Figure CN119516965B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of color deviation compensation, and specifically to an intelligent color deviation compensation method and system for a liquid crystal display screen. Background Art
[0002] A liquid crystal display screen (LCD) is a flat panel display commonly used on the screens of televisions and computers. It is mainly composed of liquid crystal materials, and liquid crystal materials are filled between two parallel plates. By applying a voltage, the state of the internal molecules of the liquid crystal material can be changed, thereby achieving the effects of light shielding and light transmission, and then presenting images with different shades and in an orderly manner. Since the power consumption of the liquid crystal screen is very low, it is favored by engineers and is particularly suitable for battery-powered electronic devices.
[0003] In a Chinese invention application with the application publication number CN114783354A, a color deviation compensation method is disclosed, which relates to the field of LED displays. It mainly solves the problems of long shooting time and inconvenience caused by using an external temperature sensing component as an enable switch for color deviation correction and compensation, and performing color deviation compensation on the LED display by taking a color deviation image of the LED display screen caused by temperature through a camera. In this application, the conduction voltage of the LED lamp bead changes with temperature. By detecting the conduction voltage difference of the LED lamp bead and combining with the color deviation compensation formula, the data compensation ratio is obtained for color deviation compensation.
[0004] In a Chinese invention application with the application publication number CN116453457A, a color correction method and system for an LED display screen are disclosed, including: an information acquisition unit for detecting environmental impact information of the target screen usage scenario; a data analysis unit for determining the screen color temperature of the target screen according to the change degree of the light source color temperature, and determining the environmental impact period according to the area of the light influence region of the target screen usage scenario; a simulation detection unit connected to the data analysis unit for performing light detection and temperature detection on the target screen according to the instruction information of the data analysis unit; a correction strategy generation unit for determining the adjustment amount of the target screen working parameters for the corresponding environmental impact period according to the display effect parameters of the target screen to generate a light control strategy, and generating a target screen temperature compensation strategy according to the brightness of the target screen at different detected temperatures; improving the accuracy and practicality of the color correction strategy.
[0005] Combined with the existing technology, the above inventions have the following deficiencies:
[0006] 1. In a liquid crystal display screen, due to the heat generated by components such as the backlight module and LED lights, the temperature distribution in local areas is uneven, which leads to local color deviation. Due to the non-uniformity of the temperature distribution, the liquid crystal arrangement and orientation in different areas will be different, resulting in color deviation in the display. There is no local control of color deviation for the temperature distribution of the liquid crystal display screen;
[0007] 2. Although changing the temperature can affect the liquid crystal arrangement and orientation, thereby changing the display color, this method has great limitations. Due to the uneven temperature distribution in the liquid crystal display screen, it is difficult to achieve global color consistency through simple temperature control. Secondly, the physical and chemical properties of the liquid crystal material have limited sensitivity to temperature, so the effect of adjusting color by changing temperature is limited. Summary of the Invention
[0008] (1) Technical problems to be solved
[0009] In view of the deficiencies of the prior art, the present invention provides an intelligent color deviation compensation method and system for a liquid crystal display screen. Through the temperature distribution map of the liquid crystal display screen and using the SLIC superpixel segmentation algorithm, the liquid crystal display screen is segmented into n pixel blocks, the brightness data of each pixel block is calculated, and through the average brightness value and target brightness value of the pixel block, the brightness correction coefficient of each pixel block is calculated. Through the pixel values of each pixel in the R, G, and B channels of the pixel block, the differences between the pixel averages of the R, G, and B channels of the pixel block and adjacent pixel blocks are calculated respectively to determine whether there is a deviation in the chromaticity of the pixel block. Combining the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks, the weights of the correction coefficients of the R, G, and B channels of each pixel block are calculated, and through the pixel averages of the R, G, and B channels of all pixel blocks, the chromaticity correction coefficients of the R, G, and B channels of each pixel block are calculated; the brightness correction coefficient and the chromaticity correction coefficients of the R, G, and B channels of the pixel block are fused to calculate the color deviation correction coefficient of each pixel block, and the pixel block is corrected for color deviation according to the color deviation correction coefficient of the pixel block, solving the deficiencies mentioned in the background technology.
[0010] (2) Technical solutions
[0011] To achieve the above objectives, the present invention is realized through the following technical solutions: An intelligent color deviation compensation method for a liquid crystal display screen, including the following steps:
[0012] Collect the temperature distribution, brightness, and chromaticity data of the liquid crystal display screen;
[0013] Obtain the temperature distribution map of the liquid crystal display screen, and segment it using the SLIC superpixel segmentation algorithm. Register the segmented temperature distribution map with the liquid crystal display screen. According to the registered result, segment the liquid crystal display screen according to the segmented temperature distribution map into n pixel blocks;
[0014] Calculate the brightness data of each pixel block to obtain the average brightness value of each pixel block. Through the gray value of each pixel and combined with the gamma value of the liquid crystal display screen, calculate the target brightness value of each pixel block. Through the average brightness value and the target brightness value of the pixel block, calculate the brightness correction coefficient of each pixel block;
[0015] Through the pixel values of the R, G, and B channels of each pixel in the pixel block, obtain the pixel average value and pixel standard deviation of the R, G, and B channels of each pixel block. Calculate the difference between the pixel average values of the R, G, and B channels of the pixel block and the adjacent pixel blocks respectively to determine whether there is a deviation in the chromaticity of the pixel block;
[0016] Calculate the sum of the pixel standard deviations of the R, G, and B channels of the pixel blocks with chromaticity deviation and the adjacent pixel blocks respectively. Combine the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks to calculate the weights of the correction coefficients of the R, G, and B channels of each pixel block, and calculate the chromaticity correction coefficients of the R, G, and B channels of each pixel block through the pixel average values of the R, G, and B channels of all pixel blocks;
[0017] Fuse the brightness correction coefficient and the chromaticity correction coefficients of the R, G, and B channels of the pixel block to calculate the color deviation correction coefficient of each pixel block, and perform color deviation correction on the pixel block according to the color deviation correction coefficient of the pixel block.
[0018] Furthermore, calculate the brightness data of each pixel block to obtain the average brightness value of each pixel block. The calculation formula is as follows:
[0019]
[0020] Among them, represents the average brightness value of the i-th pixel block, m i represents the number of pixels in the i-th pixel block, represents the brightness value of the j-th pixel in the i-th pixel block.
[0021] Furthermore, obtain the gray value of each pixel, and calculate the target brightness value of each pixel block in combination with the gamma value of the liquid crystal display screen. The calculation formula is as follows:
[0022]
[0023] Among them, represents the target brightness value of the i-th pixel block, Lmax Denote the maximum luminance value of all pixel blocks as L min Denote the minimum luminance value of all pixel blocks as m i Denote the number of pixels in the i-th pixel block as Denote the gray value of the j-th pixel in the i-th pixel block, and γ represents the gamma value of the liquid crystal display screen.
[0024] Furthermore, calculate the luminance correction coefficient of each pixel block through the average luminance value and the target luminance value of the pixel block. The calculation formula is as follows:
[0025]
[0026] Among them, Denote the luminance correction coefficient of the i-th pixel block as Denote the target luminance value of the i-th pixel block as L min Denote the minimum luminance value of all pixel blocks as Denote the average luminance value of the i-th pixel block.
[0027] Furthermore, obtain the average pixel value and pixel standard deviation of the R, G, and B channels of each pixel block through the pixel values of the R, G, and B channels of each pixel in the pixel block;
[0028] Calculate the difference between the average pixel values of the R, G, and B channels of the pixel block and its adjacent pixel blocks respectively to determine whether there is a deviation in the chromaticity of the pixel block, satisfying the constraint condition:
[0029]
[0030] Among them, Denote the average pixel value of the R channel of the i-th pixel block as Denote the average pixel value of the G channel of the i-th pixel block as Denote the average pixel value of the B channel of the i-th pixel block as Denote the average pixel value of the R channel of the x-th adjacent pixel block of the i-th pixel block as Denote the average pixel value of the G channel of the x-th adjacent pixel block of the i-th pixel block as Denote the average pixel value of the B channel of the x-th adjacent pixel block of the i-th pixel block. μ represents the pixel threshold, and the value range is 0 < μ < 255.
[0031] Furthermore, calculate the sum of the pixel standard deviations of the R, G, and B channels of the pixel block with chromaticity deviation and its adjacent pixel blocks respectively. The calculation formula is as follows:
[0032]
[0033] Among them, The sum of the pixel standard deviations of the R channels of the i-th pixel block with chromaticity deviation and adjacent pixel blocks The sum of the pixel standard deviations of the G channels of the i-th pixel block with chromaticity deviation and adjacent pixel blocks The sum of the pixel standard deviations of the B channels of the i-th pixel block with chromaticity deviation and adjacent pixel blocks The pixel standard deviation of the R channel of the i-th pixel block with chromaticity deviation and adjacent pixel blocks The pixel standard deviation of the G channel of the i-th pixel block with chromaticity deviation and adjacent pixel blocks The pixel standard deviation of the B channel of the i-th pixel block with chromaticity deviation and adjacent pixel blocks
[0034] Furthermore, the weights of the correction coefficients of the R, G, and B channels of each pixel block are calculated through the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks. The calculation formula is as follows:
[0035]
[0036] Among them, Represents the weight of the correction coefficient of the R channel of the i-th pixel block with chromaticity deviation Represents the weight of the correction coefficient of the G channel of the i-th pixel block with chromaticity deviation Represents the weight of the correction coefficient of the B channel of the i-th pixel block with chromaticity deviation Represents the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks
[0037] Furthermore, the chromaticity correction coefficients of the R, G, and B channels of each pixel block are calculated through the pixel average values of the R, G, and B channels of all pixel blocks. The calculation formula is as follows:
[0038]
[0039] Among them, Represents the chromaticity correction coefficient of the R channel of the i-th pixel block Represents the chromaticity correction coefficient of the G channel of the i-th pixel block Represents the chromaticity correction coefficient of the B channel of the i-th pixel block Represents the pixel average value of the R channels of all pixel blocks Represents the pixel average value of the G channels of all pixel blocks Represents the pixel average value of the B channels of all pixel blocks
[0040] Furthermore, the brightness correction coefficient of the pixel block and the chromaticity correction coefficients of the R, G, and B channels are fused to calculate the color deviation correction coefficient of each pixel block. The calculation formula:
[0041]
[0042] Among them, δ i represents the color deviation correction coefficient of each pixel block;
[0043] Perform color deviation correction on the pixel block according to the color deviation correction coefficient of the pixel block.
[0044] An intelligent color deviation compensation system for a liquid crystal display screen, comprising: a data collection module, a pixel block segmentation module, a brightness correction module, a chromaticity correction module, and a color deviation correction module; among them,
[0045] The data collection module collects the temperature distribution, brightness, and chromaticity data of the liquid crystal display screen;
[0046] The pixel block segmentation module obtains the temperature distribution map of the liquid crystal display screen, performs segmentation using the SLIC superpixel segmentation algorithm, registers the segmented temperature distribution map with the liquid crystal display screen, and divides the liquid crystal display screen into n pixel blocks according to the registration result;
[0047] The brightness correction module calculates the brightness data of each pixel block to obtain the average brightness value of each pixel block, calculates the target brightness value of each pixel block through the gray value of each pixel and in combination with the gamma value of the liquid crystal display screen, and calculates the brightness correction coefficient of each pixel block through the average brightness value and the target brightness value of the pixel block;
[0048] The chromaticity correction module obtains the average pixel value and pixel standard deviation of the R, G, and B channels of each pixel in the pixel block, calculates the difference between the average pixel values of the R, G, and B channels of the pixel block and adjacent pixel blocks respectively to determine whether there is a deviation in the chromaticity of the pixel block; calculates the sum of the pixel standard deviations of the R, G, and B channels of the pixel block with chromaticity deviation and adjacent pixel blocks respectively, combines the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks, calculates the weight of the correction coefficient of the R, G, and B channels of each pixel block, and calculates the chromaticity correction coefficient of the R, G, and B channels of each pixel block through the average pixel values of the R, G, and B channels of all pixel blocks;
[0049] The color deviation correction module fuses the brightness correction coefficient and the chromaticity correction coefficients of the R, G, and B channels of the pixel block, calculates the color deviation correction coefficient of each pixel block, and performs color deviation correction on the pixel block according to the color deviation correction coefficient of the pixel block.
[0050] (III) Beneficial effects
[0051] The present invention provides one, having the following beneficial effects:
[0052] (1) By using the SLIC superpixel segmentation algorithm to segment the temperature distribution map, the regional characteristics of the temperature distribution can be captured more accurately. By segmenting the liquid crystal display screen according to the segmented temperature distribution map, the subsequent analysis and processing tasks can be simplified to operate on each segmented pixel block, which helps to reduce the computational amount and processing time and improve work efficiency.
[0053] (2) By obtaining the brightness data of each pixel block and calculating the average brightness, the error caused by the fluctuation of the brightness value of a single pixel can be reduced, and the accuracy of brightness measurement can be improved. Calculating the brightness correction coefficient of each pixel block can ensure that the brightness difference between different pixel blocks is compensated, and the overall display consistency of the liquid crystal display screen can be improved.
[0054] (3) By calculating the difference between the pixel average values of the R, G, and B channels of a pixel block and its adjacent pixel blocks, it can be detected whether there is a deviation in the chromaticity of the pixel block. Then, by calculating the sum of the pixel standard deviations of the pixel block with chromaticity deviation and its adjacent pixel blocks, the weights of the correction coefficients of the R, G, and B channels of each pixel block can be determined, which helps to eliminate chromaticity deviation and improve the overall color consistency of the liquid crystal display screen.
[0055] (4) By fusing the brightness correction coefficient and the chromaticity correction coefficient, the brightness and color information of the pixel block can be comprehensively considered, so as to obtain a more accurate color deviation correction coefficient. Performing color deviation correction on the pixel blocks segmented based on the temperature distribution can avoid local color deviation problems caused by uneven temperature distribution, and can more accurately eliminate color deviation and improve the accuracy of color correction. Description of the Drawings
[0056] Figure 1 Schematic diagram of the steps of the intelligent color deviation compensation method for the liquid crystal display screen of the present invention;
[0057] Figure 2 Schematic diagram of the flow of the intelligent color deviation compensation method for the liquid crystal display screen of the present invention;
[0058] Figure 3 Schematic diagram of the structure of the intelligent color deviation compensation system for the liquid crystal display screen of the present invention. Detailed Embodiments
[0059] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0060] Please refer to Figure 1 - Figure 2 , the present invention provides an intelligent color deviation compensation method for a liquid crystal display screen, comprising the following steps:
[0061] Step 1: Collect the temperature distribution, brightness, and chromaticity data of the liquid crystal display screen;
[0062] The said Step 1 includes the following contents:
[0063] Step 101: Collect the temperature distribution data of the liquid crystal display screen through a sensor. The temperature data includes the temperature distribution map of the entire liquid crystal display screen;
[0064] It should be noted that the temperature data of the liquid crystal display screen is not just a single measurement value, but an image of the temperature distribution. Since the temperatures of different regions of the liquid crystal display screen are different during operation, it is necessary to measure the temperature distribution of the entire liquid crystal display screen;
[0065] Step 102: Collect the brightness data and chromaticity data of the liquid crystal display screen through a sensor. The brightness data and chromaticity data include the brightness and chromaticity of each pixel;
[0066] Step 103: Integrate the data from the sensor to ensure data synchronization and accuracy, and preprocess the collected data, including removing outliers, filtering, and smoothing, to improve the accuracy and stability of the data.
[0067] It should be noted that in order to ensure the accuracy and reliability of the measurement of the working state of the liquid crystal display screen, it is necessary to keep the environmental and lighting conditions as constant as possible. By establishing a standardized measurement environment, controlling the lighting conditions, avoiding external interference, repeating measurements, and considering environmental factors during data processing, errors can be reduced and more accurate measurement results can be obtained.
[0068] During use, combine the contents of Step 101 to Step 103:
[0069] By collecting the temperature distribution, brightness, and chromaticity data of the liquid crystal display screen, the operating state of the liquid crystal display screen can be monitored, which helps to detect potential problems in a timely manner, such as local overheating and chromaticity deviation caused by insufficient brightness. By preprocessing the collected data, the accuracy and stability of the data can be improved.
[0070] Step 2: Obtain the temperature distribution map of the liquid crystal display screen, and use the SLIC superpixel segmentation algorithm for segmentation. Register the segmented temperature distribution map with the liquid crystal display screen. According to the registered result, segment the liquid crystal display screen according to the segmented temperature distribution map into n pixel blocks;
[0071] The said Step 2 includes the following contents:
[0072] Step 201: Obtain the temperature distribution map of the liquid crystal display screen, and segment the temperature distribution map using the SLIC superpixel segmentation algorithm;
[0073] It should be noted that SLIC is a superpixel segmentation algorithm. This algorithm converts a color image into a 5D feature vector in the CIELAB color space and XY coordinates, then constructs a distance metric standard for the 5D feature vector, and performs a process of local clustering on the image pixels. The SLIC algorithm reduces redundant information in the image and improves processing efficiency by combining pixels in the image into larger superpixel blocks with consistent properties. At the same time, when generating superpixels, the SLIC algorithm takes into account the spatial adjacency and color similarity between pixels, making the generated superpixels have continuous boundaries; the parameter settings of the SLIC algorithm have an important impact on the quality and efficiency of the segmentation results. Therefore, in practical applications, experiments and adjustments need to be carried out according to specific situations to obtain the best segmentation effect;
[0074] Step 202: Register the segmented temperature distribution map with the liquid crystal display screen to ensure that the liquid crystal display screen and the segmented temperature distribution map are accurately corresponding in spatial position;
[0075] Step 203: According to the registered result, segment the liquid crystal display screen according to the segmented temperature distribution map, and denote the segmented pixel blocks as i, where i = 1, 2, …, n, and n is a positive integer.
[0076] It should be noted that according to the registered result, when segmenting the liquid crystal display screen according to the segmented temperature distribution map, attention needs to be paid to the relationship between the segmentation granularity and accuracy. If the segmentation granularity is too large, detailed information may be lost; if the segmentation granularity is too small, the calculation amount and processing time will increase. Therefore, an appropriate segmentation granularity needs to be selected according to specific application requirements and data characteristics.
[0077] When in use, combine the content of Step 201 to Step 203:
[0078] By using the SLIC superpixel segmentation algorithm to segment the temperature distribution map, the regional characteristics of the temperature distribution can be captured more accurately. By segmenting the liquid crystal display screen according to the segmented temperature distribution map, subsequent analysis and processing tasks can be simplified to operate on each segmented pixel block, which helps to reduce the calculation amount and processing time and improve work efficiency.
[0079] Step Three: Calculate the brightness data of each pixel block to obtain the average brightness value of each pixel block. Through the gray value of each pixel and in combination with the gamma value of the liquid crystal display screen, calculate the target brightness value of each pixel block. Through the average brightness value and the target brightness value of the pixel block, calculate the brightness correction coefficient of each pixel block;
[0080] Step 3 includes the following content:
[0081] Step 301: Obtain the luminance data of each pixel block, including the luminance values of each pixel within the pixel block;
[0082] Step 302: Calculate the luminance data of each pixel block to obtain the average luminance value of each pixel block. The calculation formula is as follows:
[0083]
[0084] where, represents the average luminance value of the i-th pixel block, and m i represents the number of pixels in the i-th pixel block, represents the luminance value of the j-th pixel in the i-th pixel block;
[0085] Step 303: Obtain the grayscale value of each pixel, and calculate the target luminance value of each pixel block in combination with the gamma value of the liquid crystal display. The calculation formula is as follows:
[0086]
[0087] where, represents the target luminance value of the i-th pixel block, and L max represents the maximum luminance value of all pixel blocks, and L min represents the minimum luminance value of all pixel blocks, represents the grayscale value of the j-th pixel in the i-th pixel block, and γ represents the gamma value of the liquid crystal display;
[0088] Step 304: Calculate the luminance correction coefficient of each pixel block through the average luminance value and the target luminance value of the pixel block. The calculation formula is as follows:
[0089]
[0090] where, represents the luminance correction coefficient of the i-th pixel block.
[0091] It should be noted that the gamma value is a parameter used to describe the relationship between image luminance and grayscale. Based on the gamma value and the grayscale value, the target luminance value can be deduced. Different liquid crystal displays have different gamma values, which need to be selected and adjusted according to the actual situation. The correction coefficient can be used to adjust the luminance of each pixel block to make it closer to the target luminance value.
[0092] When in use, combine the content of Steps 301 to 304:
[0093] By obtaining the luminance data of each pixel block and calculating the average luminance, the error caused by the fluctuation of the luminance value of a single pixel can be reduced, and the accuracy of luminance measurement can be improved. Calculating the luminance correction coefficient of each pixel block can ensure that the luminance difference between different pixel blocks is compensated, and the overall display consistency of the liquid crystal display screen can be improved.
[0094] Step Four: Through the pixel values of the R, G, and B channels of each pixel in the pixel block, obtain the pixel average value and pixel standard deviation of the R, G, and B channels of each pixel block, calculate the difference between the pixel average values of the R, G, and B channels of the pixel block and its adjacent pixel blocks respectively to determine whether there is a deviation in the chromaticity of the pixel block, calculate the sum of the pixel standard deviations of the R, G, and B channels of the pixel block with chromaticity deviation and its adjacent pixel blocks respectively, combine the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks, calculate the weight of the correction coefficient of the R, G, and B channels of each pixel block, and calculate the chromaticity correction coefficient of the R, G, and B channels of each pixel block through the pixel average values of the R, G, and B channels of all pixel blocks;
[0095] The said Step Four includes the following contents:
[0096] Step 401: Obtain the chromaticity data of the pixel block, including the pixel values of the R, G, and B channels of each pixel;
[0097] Step 402: Through the pixel values of the R, G, and B channels of each pixel in the pixel block, obtain the pixel average value and pixel standard deviation of the R, G, and B channels of each pixel block;
[0098] Step 403: Calculate the difference between the pixel average values of the R, G, and B channels of the pixel block and its adjacent pixel blocks respectively to determine whether there is a deviation in the chromaticity of the pixel block, and meet the constraint conditions:
[0099]
[0100] Wherein, represents the pixel average value of the R channel of the i-th pixel block, represents the pixel average value of the G channel of the i-th pixel block, represents the pixel average value of the B channel of the i-th pixel block, represents the pixel average value of the R channel of the x-th adjacent pixel block of the i-th pixel block, represents the pixel average value of the G channel of the x-th adjacent pixel block of the i-th pixel block, represents the pixel average value of the B channel of the x-th adjacent pixel block of the i-th pixel block, and μ represents the pixel threshold, with the value range of 0 < μ < 255;
[0101] Step 404: Calculate the sum of the pixel standard deviations of the R, G, and B channels of the pixel blocks with chromaticity deviation and the adjacent pixel blocks respectively. The calculation formula is as follows:
[0102]
[0103] Among them, represents the sum of the pixel standard deviations of the R channel of the i-th pixel block with chromaticity deviation and the adjacent pixel blocks, represents the sum of the pixel standard deviations of the G channel of the i-th pixel block with chromaticity deviation and the adjacent pixel blocks, represents the sum of the pixel standard deviations of the B channel of the i-th pixel block with chromaticity deviation and the adjacent pixel blocks, represents the pixel standard deviation of the R channel of the i-th pixel block with chromaticity deviation and the adjacent pixel blocks, represents the pixel standard deviation of the G channel of the i-th pixel block with chromaticity deviation and the adjacent pixel blocks, represents the pixel standard deviation of the B channel of the i-th pixel block with chromaticity deviation and the adjacent pixel blocks;
[0104] Step 405: Calculate the weights of the correction coefficients of the R, G, and B channels of each pixel block through the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks. The calculation formula is as follows:
[0105]
[0106] Among them, represents the weight of the correction coefficient of the R channel of the i-th pixel block with chromaticity deviation, represents the weight of the correction coefficient of the G channel of the i-th pixel block with chromaticity deviation, represents the weight of the correction coefficient of the B channel of the i-th pixel block with chromaticity deviation, represents the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks;
[0107] Step 406: Calculate the chromaticity correction coefficients of the R, G, and B channels of each pixel block through the pixel average values of the R, G, and B channels of all pixel blocks. The calculation formula is as follows:
[0108]
[0109] Among them, represents the chromaticity correction coefficient of the R channel of the i-th pixel block, represents the chromaticity correction coefficient of the G channel of the i-th pixel block, represents the chromaticity correction coefficient of the B channel of the i-th pixel block, represents the pixel average value of the R channel of all pixel blocks, Represents the average pixel value of the G channel for all pixel blocks, Represents the average pixel value of the B channel for all pixel blocks.
[0110] It should be noted that by calculating the differences between the average pixel values of the R, G, and B channels of a pixel block and its adjacent pixel blocks, the chromaticity deviation of the pixel block can be determined. This method combines statistics and image processing, takes into account the influence of adjacent pixels, and uses statistical indicators such as the average value and standard deviation to determine the chromaticity correction coefficient for each pixel block.
[0111] When in use, in combination with the content of steps 401 to 406:
[0112] By calculating the differences between the average pixel values of the R, G, and B channels of a pixel block and its adjacent pixel blocks, it is possible to detect whether there is a chromaticity deviation in the pixel block. Then, by calculating the sum of the pixel standard deviations of the pixel block with a chromaticity deviation and its adjacent pixel blocks, the weights of the correction coefficients for the R, G, and B channels of each pixel block can be determined, which helps to eliminate chromaticity deviations and improve the overall color consistency of the liquid crystal display.
[0113] Step Five: Combine the brightness correction coefficient of the pixel block and the chromaticity correction coefficients of the R, G, and B channels, calculate the color deviation correction coefficient for each pixel block, and perform color deviation correction on the pixel block based on the color deviation correction coefficient of the pixel block.
[0114] The said Step Five includes the following content:
[0115] Step 501: Obtain the brightness correction coefficient of the pixel block and the chromaticity correction coefficients of the R, G, and B channels;
[0116] Step 502: Combine the brightness correction coefficient of the pixel block and the chromaticity correction coefficients of the R, G, and B channels, calculate the color deviation correction coefficient for each pixel block, and the calculation formula is:
[0117]
[0118] where, δ i Represents the color deviation correction coefficient for each pixel block;
[0119] Step 503: Perform color deviation correction on the pixel block based on the color deviation correction coefficient of the pixel block.
[0120] When in use, in combination with the content of steps 501 to 502:
[0121] By fusing the brightness correction coefficient and the chromaticity correction coefficient, the brightness and color information of the pixel block can be comprehensively considered, so as to obtain a more accurate color deviation correction coefficient, perform color deviation correction on the pixel block segmented based on the temperature distribution, avoid the local color deviation problem caused by uneven temperature distribution, can more accurately eliminate color deviation, and improve the accuracy of color correction.
[0122] Please refer to Figure 3 , the present invention also provides an intelligent color deviation compensation system for a liquid crystal display screen, including a data collection module, a pixel block segmentation module, a brightness correction module, a chromaticity correction module, and a color deviation correction module; wherein,
[0123] The data collection module collects the temperature distribution, brightness, and chromaticity data of the liquid crystal display screen;
[0124] The pixel block segmentation module obtains the temperature distribution map of the liquid crystal display screen, uses the SLIC superpixel segmentation algorithm for segmentation, registers the segmented temperature distribution map with the liquid crystal display screen, and according to the registered result, segments the liquid crystal display screen according to the segmented temperature distribution map into n pixel blocks;
[0125] The brightness correction module calculates the brightness data of each pixel block, obtains the average brightness value of each pixel block, calculates the target brightness value of each pixel block through the gray value of each pixel and in combination with the gamma value of the liquid crystal display screen, and calculates the brightness correction coefficient of each pixel block through the average brightness value and the target brightness value of the pixel block;
[0126] The chromaticity correction module obtains the pixel average value and pixel standard deviation of the R, G, and B channels of each pixel of the pixel block, respectively calculates the difference between the pixel average values of the R, G, and B channels of the pixel block and the adjacent pixel blocks to determine whether there is a deviation in the chromaticity of the pixel block; respectively calculates the sum of the pixel standard deviations of the R, G, and B channels of the pixel block with chromaticity deviation and the adjacent pixel blocks, combines the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks, calculates the weight of the correction coefficient of the R, G, and B channels of each pixel block, and calculates the chromaticity correction coefficient of the R, G, and B channels of each pixel block through the pixel average values of the R, G, and B channels of all pixel blocks;
[0127] The color deviation correction module fuses the brightness correction coefficient of the pixel block and the chromaticity correction coefficients of the R, G, and B channels, calculates the color deviation correction coefficient of each pixel block, and performs color deviation correction on the pixel block according to the color deviation correction coefficient of the pixel block.
[0128] In the application, several formulas involved are calculated by taking their numerical values after dimensionless treatment. The formula is obtained by collecting a large amount of data and performing software simulation to get a formula closest to the actual situation. The parameters in the formula are set by those skilled in the art according to the actual situation.
[0129] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. Those of ordinary skill in the art will realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution.
[0130] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units. They may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0131] As described above, the above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application, and all should be covered by the protection scope of this application.
Claims
1. An intelligent color deviation compensation method for a liquid crystal display screen, characterized in that, It includes the following steps: Collect the temperature distribution, brightness, and chromaticity data of the liquid crystal display screen; Obtain the temperature distribution map of the liquid crystal display screen, perform segmentation using the SLIC superpixel segmentation algorithm, register the segmented temperature distribution map with the liquid crystal display screen, and divide the liquid crystal display screen into n pixel blocks according to the registered result; Calculate the brightness data of each pixel block to obtain the average brightness value of each pixel block. Calculate the target brightness value of each pixel block through the gray value of each pixel and in combination with the gamma value of the liquid crystal display screen. Calculate the brightness correction coefficient of each pixel block through the average brightness value and the target brightness value of the pixel block; Obtain the pixel average value and pixel standard deviation of the R, G, and B channels of each pixel block through the pixel values of the R, G, and B channels of each pixel in the pixel block. Calculate the difference between the pixel average values of the R, G, and B channels of the pixel block and adjacent pixel blocks respectively to determine whether there is a deviation in the chromaticity of the pixel block; Calculate the sum of the pixel standard deviations of the R, G, and B channels of the pixel block with chromaticity deviation and adjacent pixel blocks respectively. Combine the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks to calculate the weight of the chromaticity correction coefficient of the R, G, and B channels of each pixel block, and calculate the chromaticity correction coefficient of the R, G, and B channels of each pixel block through the pixel average values of the R, G, and B channels of all pixel blocks; Fuse the brightness correction coefficient and the chromaticity correction coefficients of the R, G, and B channels of the pixel block to calculate the color deviation correction coefficient of each pixel block, and perform color deviation correction on the pixel block through the color deviation correction coefficient of each pixel block.
2. The intelligent color deviation compensation method for a liquid crystal display screen according to claim 1, wherein Calculate the brightness data of each pixel block to obtain the average brightness value of each pixel block. The calculation formula is as follows: Among them, represents the average luminance value of the i-th pixel block, and m i represents the number of pixels in the i-th pixel block, represents the luminance value of the j-th pixel in the i-th pixel block.
3. The intelligent color deviation compensation method for a liquid crystal display screen according to claim 2, wherein Obtain the gray value of each pixel and calculate the target brightness value of each pixel block in combination with the gamma value of the liquid crystal display screen. The calculation formula is as follows: Among them, represents the target brightness value of the i-th pixel block, L max represents the maximum brightness value of all pixel blocks, L min represents the minimum brightness value of all pixel blocks, m i represents the number of pixels in the i-th pixel block, represents the gray value of the j-th pixel in the i-th pixel block, and γ represents the gamma value of the liquid crystal display screen.
4. The intelligent color deviation compensation method for a liquid crystal display screen according to claim 3, wherein Calculate the brightness correction coefficient of each pixel block through the average brightness value and the target brightness value of the pixel block. The calculation formula is as follows: Among them, represents the brightness correction coefficient of the i-th pixel block, represents the target brightness value of the i-th pixel block, L min represents the minimum brightness value of all pixel blocks, represents the average brightness value of the i-th pixel block.
5. The intelligent color deviation compensation method for a liquid crystal display screen according to claim 1, wherein Obtain the pixel average value and pixel standard deviation of the R, G, and B channels of each pixel block through the pixel values of the R, G, and B channels of each pixel in the pixel block; Calculate the difference between the pixel average values of the R, G, and B channels of the pixel block and adjacent pixel blocks respectively to determine whether there is a deviation in the chromaticity of the pixel block, satisfying the constraint condition: Among them, represents the average pixel value of the R channel of the i-th pixel block, represents the average pixel value of the G channel of the i-th pixel block, represents the average pixel value of the B channel of the i-th pixel block, represents the average pixel value of the R channel of the x-th adjacent pixel block of the i-th pixel block, represents the average pixel value of the G channel of the x-th adjacent pixel block of the i-th pixel block, represents the average pixel value of the B channel of the x-th adjacent pixel block of the i-th pixel block, and μ represents the pixel threshold, with the value range of 0 < μ < 255.
6. The intelligent color deviation compensation method for a liquid crystal display screen according to claim 5, wherein Calculate the sum of the pixel standard deviations of the R, G, and B channels of the pixel block with chromaticity deviation and adjacent pixel blocks respectively. The calculation formula is as follows: Among them, denotes the sum of the pixel standard deviations of the R channels of the i-th pixel block with chromaticity deviation and adjacent pixel blocks, denotes the sum of the pixel standard deviations of the G channels of the i-th pixel block with chromaticity deviation and adjacent pixel blocks, denotes the sum of the pixel standard deviations of the B channels of the i-th pixel block with chromaticity deviation and adjacent pixel blocks, denotes the pixel standard deviation of the R channel of the i-th pixel block with chromaticity deviation and adjacent pixel blocks, denotes the pixel standard deviation of the G channel of the i-th pixel block with chromaticity deviation and adjacent pixel blocks, denotes the pixel standard deviation of the B channel of the i-th pixel block with chromaticity deviation and adjacent pixel blocks.
7. An intelligent color deviation compensation method for a liquid crystal display screen according to claim 6, characterized in that The weights of the calibration coefficients of the R, G, and B channels of each pixel block are calculated through the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks. The calculation formula is as follows: Among them, represents the weight of the R-channel correction coefficient of the i-th pixel block with chromaticity deviation, represents the weight of the G-channel correction coefficient of the i-th pixel block with chromaticity deviation, represents the weight of the B-channel correction coefficient of the i-th pixel block with chromaticity deviation, represents the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks.
8. An intelligent color deviation compensation method for a liquid crystal display screen according to claim 7, characterized in that The chromaticity calibration coefficients of the R, G, and B channels of each pixel block are calculated through the average pixel values of the R, G, and B channels of all pixel blocks. The calculation formula is as follows: Among them, represents the chromaticity correction coefficient of the R channel of the i-th pixel block, represents the chromaticity correction coefficient of the G channel of the i-th pixel block, represents the chromaticity correction coefficient of the B channel of the i-th pixel block, represents the average pixel value of the R channel of all pixel blocks, represents the average pixel value of the G channel of all pixel blocks, represents the average pixel value of the B channel of all pixel blocks.
9. An intelligent color deviation compensation method for a liquid crystal display screen according to claim 8, characterized in that The brightness calibration coefficient of the pixel block and the chromaticity calibration coefficients of the R, G, and B channels are fused to calculate the color deviation calibration coefficient of each pixel block. The calculation formula: Among them, δ i represents the color deviation correction coefficient of each pixel block; Color deviation correction of the pixel block is performed based on the color deviation calibration coefficient of the pixel block.
10. An intelligent color deviation compensation system for a liquid crystal display screen, which is used to implement the method described in any one of claims 1 to 9, and is characterized in that, Including: A data collection module, a pixel block segmentation module, a brightness calibration module, a chromaticity calibration module, and a color deviation correction module; wherein, The data collection module collects the temperature distribution, brightness, and chromaticity data of the liquid crystal display screen. The pixel block segmentation module obtains the temperature distribution map of the liquid crystal display screen, performs segmentation using the SLIC superpixel segmentation algorithm, registers the segmented temperature distribution map with the liquid crystal display screen, and divides the liquid crystal display screen into n pixel blocks according to the registration result. The brightness calibration module calculates the brightness data of each pixel block to obtain the average brightness value of each pixel block, calculates the target brightness value of each pixel block through the gray value of each pixel and in combination with the gamma value of the liquid crystal display screen, and calculates the brightness calibration coefficient of each pixel block through the average brightness value and the target brightness value of the pixel block. The chromaticity calibration module obtains the average pixel value and pixel standard deviation of the R, G, and B channels of each pixel block through the pixel values of the R, G, and B channels of each pixel of the pixel block, calculates the difference between the average pixel values of the R, G, and B channels of the pixel block and adjacent pixel blocks respectively to determine whether there is a deviation in the chromaticity of the pixel block; calculates the sum of the pixel standard deviations of the R, G, and B channels of the pixel block with chromaticity deviation and adjacent pixel blocks respectively, and combines the average value of the sum of the pixel standard deviations of the R, G, and B channels of all pixel blocks to calculate the weights of the calibration coefficients of the R, G, and B channels of each pixel block, and calculates the chromaticity calibration coefficients of the R, G, and B channels of each pixel block through the average pixel values of the R, G, and B channels of all pixel blocks. The color deviation correction module fuses the brightness calibration coefficient of the pixel block and the chromaticity calibration coefficients of the R, G, and B channels to calculate the color deviation calibration coefficient of each pixel block, and performs color deviation correction on the pixel block based on the color deviation calibration coefficient of the pixel block.
Citation Information
Patent Citations
Color cast compensation method, framework and medium
CN114783354A
Color correction method and system for LED display screen
CN116453457A
Method for correcting color cast images
CN103854261A
Liquid crystal display screen color supplementing and correcting method
CN110992913A
Cited By
A method and system for LED partitioned backlight thermal color shift correction
CN122715614A