Image processing methods, apparatus, electronic devices and storage media
By adjusting the polarity of the target area and the interference area in the display device, the crosstalk problem caused by common electrode jitter is solved, improving picture quality and user experience.
Patent Information
- Application Number
- CN202410373810.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-28
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-03-28
AI Technical Summary
In existing technologies, the common electrode of a display device is susceptible to interference from the data line, resulting in voltage fluctuations, crosstalk, and other abnormal image phenomena. Furthermore, the image detection function exits prematurely, reducing the user's viewing experience.
By performing image detection on the displayed image, the target area and interference area in the detection area are determined. Based on preset partitioning and area conditions, the polarity of the sub-pixels of the target area is adjusted to avoid the screen detection function exiting due to interference sources.
It improves image processing efficiency, enhances display quality, and improves the user's viewing experience.
Smart Images

Figure CN118430472B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of display technology, and in particular relates to an image processing method, apparatus, electronic device and storage medium. Background Technology
[0002] Currently, when a display device displays a single or multiple lines, the combined effect of all positive and negative data lines within a single line on the common electrode (Vcom) makes the common electrode extremely susceptible to interference from the data lines. This can cause voltage fluctuations on the common electrode, either upward or downward. Such fluctuations can lead to abnormal display phenomena such as crosstalk.
[0003] Existing technology uses a pattern detection function (PDF) to adjust the polarity of abnormal images within the detection area. However, if there is an interference source in the detection area, the pattern detection function will be deactivated, meaning the polarity adjustment of the sub-pixels in the detection area will be stopped, leaving the abnormal images still present and reducing the user's viewing experience.
[0004] Existing image processing technologies suffer from interference sources that cause the image detection function to exit prematurely, thus reducing the user's viewing experience. Summary of the Invention
[0005] This application provides an image processing method, apparatus, electronic device, and storage medium that can solve the problem of interference sources causing the image detection function to exit prematurely, thus reducing the user's viewing experience.
[0006] In a first aspect, embodiments of this application provide an image processing method applied to a display device, comprising:
[0007] Image detection is performed on the displayed image to determine the target area and interference area that meet the preset partitioning conditions within the detection area of the displayed image;
[0008] Based on the interference region, the target region, and the preset area condition, the polarity of the sub-pixels of the target region is adjusted.
[0009] In one embodiment, the preset partitioning conditions include a first preset partitioning condition and a second preset partitioning condition;
[0010] Image detection is performed on the displayed image to determine the target area and interference area that meet the preset partitioning conditions within the detection area of the displayed image, including:
[0011] If the sub-pixels within the detection area of the displayed image satisfy the first preset partitioning condition, the detection area of the displayed image is determined to be the target area;
[0012] If a sub-pixel within the detection area of the displayed image satisfies the second preset partitioning condition, the detection area of the displayed image is determined to be the interference area.
[0013] In one embodiment, the first preset partitioning conditions include that the number of positive polarity sub-pixels in each row of the detection area is not equal to the number of negative polarity sub-pixels, and that the grayscale order of any sub-pixel in each row of the detection area and its neighboring sub-pixels is an alternating distribution of bright and dark grayscale.
[0014] In one embodiment, the second preset partitioning condition is that the number of positive polarity sub-pixels in any row of the detection area is equal to the number of negative polarity sub-pixels, and the grayscale order of the sub-pixels in any row and / or any column of the detection area has a continuous distribution of either bright or dark grayscale.
[0015] In one embodiment, polarity adjustment of sub-pixels in the target region is performed based on the interference region, the target region, and a preset area condition, including:
[0016] Based on the interference region and the target region, a first area ratio between the first area of the interference region and the second area of the target region is determined;
[0017] Based on the interference region, the target region, and the first area ratio, a second area ratio of the remaining target region outside the overlapping area of the target region and the interference region is determined;
[0018] Based on the second area ratio and the preset area condition, the polarity of the sub-pixels of the target region is adjusted.
[0019] In one embodiment, the preset area conditions include a first preset area condition, a second preset area condition, a third preset area condition, and a fourth preset area condition;
[0020] Based on a second area ratio and preset area conditions, the polarity of sub-pixels in the target region is adjusted, including:
[0021] If the second area ratio satisfies the first preset area condition, polarity adjustment of the sub-pixels of the target region is performed; or,
[0022] If the second area ratio satisfies the second preset area condition, maintain the polarity adjustment of the sub-pixels of the target region; or,
[0023] If the second area ratio satisfies the third preset area condition, exit the polarity adjustment of the sub-pixels of the target region; or,
[0024] If the second area ratio satisfies the fourth preset area condition, continue to exit the polarity adjustment of the sub-pixels of the target region until the first preset area condition is satisfied.
[0025] In one embodiment, the first preset area condition is P = 100%;
[0026] The second preset area condition is 1-a <P<1;
[0027] The third preset area condition is P≦1-a;
[0028] The fourth preset area condition is that the second area ratio satisfies the second preset area condition after satisfying the third preset area condition;
[0029] Where P is the second area ratio and a is the first area ratio.
[0030] Secondly, embodiments of this application provide an image processing apparatus, applied to a display device, comprising:
[0031] The determination module is used to perform image detection on the displayed image and determine the target area and interference area that meet the preset partitioning conditions in the detection area of the displayed image;
[0032] The adjustment module is used to adjust the polarity of sub-pixels in the target region based on the interference region, the target region, and preset area conditions.
[0033] Thirdly, embodiments of this application provide a display device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method as described in any one of the first aspects above.
[0034] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method as described in any one of the first aspects above.
[0035] Fifthly, embodiments of this application provide a computer program product that, when run on an electronic device, causes the terminal device to execute the method described in any one of the first aspects above.
[0036] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect above, and will not be repeated here.
[0037] The beneficial effects of the embodiments in this application compared with the prior art are:
[0038] This application discloses an image processing method applied to a display device. By performing image detection on the displayed image, a target area and an interference area that meet preset partitioning conditions are determined within the detection area of the displayed image. Based on the interference area, the target area, and preset area conditions, the polarity of the sub-pixels of the target area is adjusted. Since the target area and interference area are first determined within the detection area, and then polarity adjustment is performed by setting preset area conditions between the target area and the interference area, the execution or exit of the image detection function is determined by the preset area conditions. This avoids exiting the image detection function when an interference source appears in the detection area, thereby improving the efficiency of image processing, enhancing the image quality of the displayed image, and ultimately improving the user's viewing experience. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 This is a schematic flowchart of an image processing method provided in an embodiment of this application;
[0041] Figure 2 This is a scene diagram illustrating the regional partitioning of a frame of an image provided in an embodiment of this application;
[0042] Figure 3 This is a schematic diagram illustrating the effect of a black "H" string on a display screen according to an embodiment of this application;
[0043] Figure 4 This is a flowchart illustrating step S100 of an embodiment of the present application, which performs image detection on a displayed image and determines the target area and interference area in the detection area of the displayed image that meet the preset partitioning conditions.
[0044] Figure 5 This is a scene diagram of a 2×3 preset arrangement of unit pixel areas provided in an embodiment of this application;
[0045] Figure 6 This is a flowchart illustrating step S200 of the present application, which adjusts the polarity of sub-pixels in the target region based on the interference region, the target region, and preset area conditions.
[0046] Figure 7 This is a schematic diagram of a scenario where the interference area and the target area partially overlap, according to an embodiment of this application.
[0047] Figure 8This is a schematic diagram of a scenario where the interference area and the target area completely overlap, according to an embodiment of this application.
[0048] Figure 9 This is a schematic diagram showing the level settings of the first control signal, the second control signal, and the third control signal provided in an embodiment of this application, and the corresponding positive and negative polarity distribution of each row of sub-pixels;
[0049] Figure 10 This is a schematic diagram of the device provided in the embodiments of this application. Detailed Implementation
[0050] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0051] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0052] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0053] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0054] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0055] Currently, Liquid Crystal Displays (LCDs) are developing towards higher resolution, higher display quality, and larger sizes. When driving a Thin Film Transistor Liquid Crystal Display (TFT-LCD), the driving method includes Line-by-Line (progressive scanning). When the Gn signal on the gate line is high, the corresponding thin film transistor (TFT) in the row direction is turned on through the gate of the TFT. Simultaneously, the data line writes image data voltage to the pixel through the source and drain in the column direction. The source and drain are connected to the pixel electrode, and the pixel electrode and common electrode form the liquid crystal capacitor Clc and the storage capacitor Cst, respectively. The data voltage and the common voltage (Vcom) drive the liquid crystal display image. Because liquid crystal charging and discharging is a capacitor structure, if a driving method is used, residual charge will inevitably be generated at the two ends of the capacitor, resulting in image retention on the display. To avoid this phenomenon, the DC circuit is changed to an AC circuit. The liquid crystal rotates at different angles based on different voltages at both ends, and different angles correspond to different amounts of light transmission, thus displaying different gray levels of the image.
[0056] Currently, when a display device displays data in one or more rows, the combined effect of all positive and negative data lines in a row on the common electrode (Vcom) can cause interference. A positive "+" indicates that the data voltage is higher than the common voltage (Vcom), and a negative "-" indicates that the data voltage is lower than the common voltage (Vcom). Therefore, the common electrode is extremely susceptible to interference from the data lines, causing the common voltage to fluctuate upwards or downwards. This fluctuation can lead to abnormal display phenomena such as crosstalk.
[0057] Existing technology uses a pattern detection function (PDF) to adjust the polarity of abnormal images within the detection area. However, if there is an interference source in the detection area, the pattern detection function will be deactivated, meaning the polarity adjustment of the sub-pixels in the detection area will be stopped, leaving the abnormal images still present and reducing the user's viewing experience.
[0058] To address the aforementioned problems, this application provides an image processing method applied to a display device. The method involves image detection of the displayed image to determine a target area and an interference area within the detection region that meet preset partitioning conditions. Based on the interference area, the target area, and preset area conditions, the polarity of the sub-pixels of the target area is adjusted. Since the target area and interference area are first determined within the detection region, and then polarity adjustment is performed by setting preset area conditions between the target area and the interference area, the execution or exit of the image detection function is determined by the preset area conditions. This avoids exiting the image detection function when an interference source appears in the detection area, thereby improving image processing efficiency, enhancing the image quality of the displayed image, and ultimately improving the user's viewing experience.
[0059] The technical solution of this application will be described below through specific embodiments.
[0060] Firstly, such as Figure 1 As shown, this application provides an image processing method applied to a display device, including:
[0061] S100: Perform image detection on the displayed image to determine the target area and interference area that meet the preset partitioning conditions within the detection area of the displayed image.
[0062] In one embodiment, the display device is a liquid crystal display (LCD). During the signal receiving phase, the timing controller (TCON) receives the display image from the front-end chip, which includes a motherboard chip or a system-on-chip (SOC). The image data of the display image is a digital signal used to form the image. The timing controller is the main control chip of the LCD panel, used to convert the received image data signal into synchronous line control signals and data output signals, etc., to realize the display of the image on the LCD panel. The image data includes image information from multiple frames. In one frame, the image data includes at least the grayscale of each sub-pixel.
[0063] In one embodiment, image detection is performed on the displayed image, that is, the timing control chip automatically performs scene detection on the received image data. Scene detection of image data refers to detecting a portion or all of a frame of an image.
[0064] In one embodiment, such as Figure 2As shown, a portion of a frame is detected. The detected area is called the detection area. The detection area includes at least one of the following: target area A, interference area B, normal display area C, or display abnormal area D where the image is abnormal due to the target area. Target area A is the area that needs to be polarized, interference area B is the interference source that interferes with the polarity adjustment, and display abnormal area D is in the same direction as the target area.
[0065] In one embodiment, such as Figure 3 As shown, the black part is the effect of the "H" string on the display screen. Since the black sub-pixels (not driven by the liquid crystal to flip) have almost no effect on the common voltage, when detecting screen crosstalk, it is not necessary to detect the sub-pixels in this part. Only the sub-pixels with light transmission that have been driven by the liquid crystal to flip need to be detected, thereby reducing the screen detection time and improving the response speed of the display device. If the subpixels are displayed as inverted dots, taking the first subpixel in the first row as "+" as an example, the total number of positive and negative subpixels with grayscale in the first row is (4+2-)×2, that is, 8 positive subpixels and 4 negative subpixels, where 2 is the number of "H" strings; the total number of positive and negative subpixels with grayscale in the second row is (8+10-)*2, that is, 16 positive subpixels and 20 negative subpixels. The second row has a polarity asymmetry phenomenon, and the positive and negative polarities cannot cancel each other out. Therefore, the influence of the image data in the second row on the common voltage is biased towards "-" (i.e., darker). When the subpixels in other positions of the second row are displayed, they will be affected by the "H" strings, and the more "H" strings there are, the more severe the bias towards "-" phenomenon becomes. As the number of such polarity asymmetric row data increases, the influence of the row data on the common voltage will become more and more biased towards "-", and the voltage of the common electrode will continue to fluctuate downwards, which will be reflected in the display image as crosstalk and other abnormal picture phenomena. It should be noted that, Figure 5 In the image, each row contains multiple pixels, and each pixel contains three sub-pixels: RGB. R represents the red sub-pixel, G represents the green sub-pixel, and B represents the blue sub-pixel.
[0066] In one embodiment, image detection is performed on the displayed image to determine the target area and interference area that meet the preset partitioning conditions in the detection area of the displayed image. The target area that needs polarity adjustment and the interference area that will interfere with the polarity adjustment are distinguished. This makes it convenient to perform image detection and polarity adjustment based on the area of the two areas. This avoids the problem in the prior art where the detection area stops detecting the image when an interference source appears and polarity adjustment cannot be performed. This improves the image processing capability of the display device, improves the image quality of the displayed image, and thus improves the user's viewing experience.
[0067] In one embodiment, the preset partitioning conditions include a first preset partitioning condition and a second preset partitioning condition, used to distinguish between a target area and an interference area within the detection area. The target area exhibits abnormal display conditions such as crosstalk. Crosstalk refers to the phenomenon where a piece of image with a different color or brightness causes changes in the brightness of adjacent areas, resulting in image distortion.
[0068] In one embodiment, such as Figure 4 As shown, image detection is performed on the displayed image to determine the target area and interference area that meet the preset partitioning conditions within the detection area of the displayed image, including:
[0069] S110, if the sub-pixels within the detection area of the displayed image satisfy the first preset partitioning condition, the detection area of the displayed image is determined as the target area.
[0070] In one embodiment, if the sub-pixels within the detection area of the displayed image satisfy the first preset partitioning condition, the detection area of the displayed image is determined as the target area, which improves the accuracy of determining the polarity adjustment area, reduces the polarity adjustment area, and improves the response speed of polarity adjustment.
[0071] In one embodiment, the first preset partitioning conditions include that the number of positive polarity sub-pixels in each row of the detection area is not equal to the number of negative polarity sub-pixels, and that the grayscale order of any sub-pixel in each row of the detection area and its neighboring sub-pixels is an alternating distribution of bright and dark grayscale. By simultaneously detecting the number of positive polarity sub-pixels, the number of negative polarity sub-pixels, and the grayscale order of any sub-pixel in each row and its neighboring sub-pixels in the detection area, the target area is determined, which avoids misidentification, improves the accuracy of identifying abnormal images, and improves the response speed of polarity adjustment.
[0072] In one embodiment, the grayscale order of any sub-pixel in each row of the detection region under the first preset partitioning condition and its neighboring sub-pixels is an alternating distribution of bright and dark grayscale. It also includes the grayscale order of any sub-pixel in the unit pixel area of the detection region and its neighboring sub-pixels being an alternating distribution of bright and dark grayscale. Here, a bright grayscale is defined as a sub-pixel grayscale greater than or equal to a first preset grayscale threshold, and a dark grayscale is defined as a sub-pixel grayscale less than or equal to a second preset grayscale threshold. The first preset grayscale threshold is greater than or equal to the second preset grayscale threshold; for example, the first preset grayscale threshold ranges from greater than or equal to 60, and the second preset grayscale threshold ranges from less than or equal to 40. The unit pixel area includes multiple pixels arranged in a preset manner, such as 1×3, 2×3, 2×2, 3×2, or 3×1. Figure 5 As shown, Figure 5The unit pixel area is arranged in a 2×3 preset pattern. The grayscale of the first row of sub-pixels in the unit pixel area is in the order of bright-dark-bright-dark-bright-dark, the grayscale of the second row of sub-pixels is in the order of dark-bright-dark-bright-dark, and the grayscale of the third row of sub-pixels is in the order of bright-dark-bright-dark-bright. The grayscale order of each sub-pixel and its adjacent sub-pixels is an alternating distribution of bright and dark grayscale. It should be noted that in this embodiment, there are no specific restrictions on the preset grayscale threshold and preset arrangement, which are set according to the model and requirements of the display device. For example, the first preset grayscale threshold can also be 50, 55, 70, 80, 100, etc., the second preset grayscale threshold can also be 50, 35, 30, etc., and the preset arrangement can also be 1×4, 1×5, 1×6, 2×3, 4×1, 5×1, 6×1, etc.
[0073] S120, if the sub-pixels within the detection area of the displayed image satisfy the second preset partitioning condition, the detection area of the displayed image is determined to be an interference area.
[0074] In one embodiment, if the sub-pixels within the detection area of the displayed image meet the second preset partitioning condition, the detection area of the displayed image is determined to be an interference area. That is, the number of positive and negative polarity sub-pixels and / or the grayscale arrangement order of the interference area are different from those of the target area, which will interfere with the polarity adjustment of the target area. Therefore, it is determined to be an interference area. After determining the interference area, it is beneficial to calculate the area ratio of the interference area to the target area.
[0075] In one embodiment, the second preset partitioning condition is that the number of positive polarity sub-pixels in any row of the detection area is equal to the number of negative polarity sub-pixels, and the grayscale order of sub-pixels in any row and / or any column of the detection area has a continuous distribution of bright or dark grayscale, which is distinguished from the target area by the number of positive and negative polarity sub-pixels and / or grayscale order.
[0076] S200 adjusts the polarity of sub-pixels in the target region based on the interference region, the target region, and preset area conditions.
[0077] In one embodiment, the polarity of the sub-pixels of the target area is adjusted according to whether the interference area and the target area meet the preset area conditions. That is, the execution or exit of the image detection function is determined by the preset area conditions, which avoids the image detection function exiting when an interference source appears in the detection area, thereby improving the efficiency of image processing, improving the image quality of the displayed image, and thus improving the user's viewing experience.
[0078] In one embodiment, such as Figure 6 As shown, based on the interference region, the target region, and preset area conditions, the polarity of the sub-pixels in the target region is adjusted, including:
[0079] S210, based on the interference region and the target region, determine the first area ratio of the first area of the interference region to the second area of the target region.
[0080] In one embodiment, a first area corresponding to the interference region is determined based on the interference region, a second area corresponding to the target region is determined based on the target region, and the first area ratio, S, is determined according to the quotient of the first area and the second area. 干扰 / S 目标 =a,S 干扰 S represents the first area corresponding to the interference region. 目标 Let 'a' be the second area corresponding to the target area, and 'a' be the first area ratio. By using the first area ratio, the area ratio relationship between the interference area and the target area can be determined.
[0081] In one embodiment, the first area ratio 'a' is greater than or equal to 95%, which can accommodate a sufficiently large overlap between the interference area and the target area, continuously maintaining polarity adjustment for abnormal images and improving the image quality. It should be noted that this embodiment does not limit the specific value of the first area ratio, and it can be set according to the model and requirements of the display device. For example, the first area ratio 'a' can also be 90%, 96%, etc.
[0082] In one embodiment, when the interfering region completely overlaps with the target region, and the target region is larger than the interfering region, the first area ratio corresponds to the scenario where the area ratio of the remaining target region outside the overlap with the interfering region is the smallest. When the target region and the interfering region do not overlap at all, this corresponds to the scenario where the area ratio of the target region is the largest.
[0083] S220, based on the interference area, the target area, and the first area ratio, determine the second area ratio of the remaining target area outside the overlapping area of the target area and the interference area.
[0084] When the target area and the interference area overlap, the existing technology will immediately exit the screen detection function, which will prevent the polarity of the abnormal screen from being adjusted, thus failing to improve the display effect of the abnormal screen and reducing the user's viewing experience.
[0085] In one embodiment, when there is an overlap between the target area and the interference area, the screen detection function is not immediately exited. Instead, the second area ratio of the remaining target area that is not overlapped by the interference area is detected. Based on the interference area, the target area, and the first area ratio, it is determined that the second area ratio of the remaining target area outside the overlapping area between the target area and the interference area is 1 - a. That is, when the target area and the interference area do not overlap at all, the ratio of the target area is 100%. Subtracting the first area ratio a when the target area and the interference area overlap completely from 100%, 1 - a is the second area ratio P of the remaining target area that is not overlapped by the interference area, which is used to guide subsequent polarity adjustment, avoiding exiting the screen detection function when there is an overlap between the target area and the interference area.
[0086] S230. Based on the second area ratio and the preset area condition, perform polarity adjustment on the sub-pixels of the target area.
[0087] In one embodiment, based on the second area ratio and the preset area condition, perform polarity adjustment on the sub-pixels of the target area. That is, determine whether to execute or exit the screen detection function by whether the second area ratio meets the preset area condition, avoiding exiting the screen detection function when there is an interference source in the detection area, thereby improving the efficiency of image processing, enhancing the image quality of the display screen, and further improving the user's viewing experience.
[0088] In one embodiment, the preset area condition includes a first preset area condition, a second preset area condition, a third preset area condition, and a fourth preset area condition; corresponding preset area conditions are set according to different scenarios of the interference area and the target area, adapting to more abnormal screen scenarios, being able to maintain the screen detection function to the greatest extent to improve the abnormal screen, enhancing the image quality of the display device, and improving the user's viewing experience.
[0089] Based on the second area ratio and the preset area condition, performing polarity adjustment on the sub-pixels of the target area includes: if the second area ratio meets the first preset area condition, execute polarity adjustment on the sub-pixels of the target area; or, if the second area ratio meets the second preset area condition, maintain the polarity adjustment on the sub-pixels of the target area; or, if the second area ratio meets the third preset area condition, exit the polarity adjustment on the sub-pixels of the target area; or, if the second area ratio meets the fourth preset area condition, continue to exit the polarity adjustment on the sub-pixels of the target area until the first preset area condition is met.
[0090] In one embodiment, the first preset area condition is P = 100%; the second preset area condition is 1 - a < P < 1; the third preset area condition is P ≤ 1 - a; the fourth preset area condition is that the second area ratio meets the second preset area condition after meeting the third preset area condition; where P is the second area ratio and a is the first area ratio.
[0091] In one embodiment, as Figure 2 shown, if the second area ratio satisfies the first preset area condition, i.e., P = 100%, the interference area and the target area do not overlap at all, and the polarity adjustment of the sub-pixels in the target area is performed, which is compatible with the scenario of the startup screen detection function in the prior art; as Figure 7 shown, if the second area ratio satisfies the second preset area condition, i.e., 1 - a < P < 1, the interference area and the target area partially overlap, and the polarity adjustment of the sub-pixels in the target area is maintained, which improves the condition for exiting the screen detection function. In this embodiment, the polarity adjustment of the sub-pixels in the target area is still maintained; as Figure 8 shown, if the second area ratio satisfies the third preset area condition, i.e., P ≤ 1 - a, the interference area and the target area completely overlap, and the overlapping area of the interference area occupying the target area is too large, seriously affecting the effect of the polarity adjustment. Therefore, the polarity adjustment of the sub-pixels in the target area is exited; if the second area ratio satisfies the fourth preset area condition, i.e., the second area ratio satisfies the second preset area condition after satisfying the third preset area condition, it means that the interference area first completely overlaps with the target area and then the interference area fluctuates and partially overlaps with the target area. In this scenario, the polarity adjustment of the sub-pixels in the target area continues to be exited until the first preset area condition is satisfied, i.e., until the interference area and the target area are completely separated and do not overlap. When the interference area and the target area are completely separated and do not overlap, the screen detection function is restarted, and the polarity adjustment is performed on the target area to improve the picture quality of the abnormal picture, thereby improving the user's viewing experience.
[0092] It should be noted that the duration of one frame of the picture includes the pixel electrode charging time (Vact) and the vertical blanking time (Vblank). The pixel electrode charging time is the picture display time, and the vertical blanking time is used for various operations and data processing. During the operation, the display device sends a control signal to the driving chip, and the driving chip then displays the picture data voltage signal during the pixel electrode charging time of the next frame of the picture.
[0093] In one embodiment, the polarity adjustment of the sub-pixels in the target area includes:
[0094] Determine the voltage polarity sorting of the data lines output by the sub-pixels in each row of the target area;
[0095] Based on the voltage polarity sorting and the preset potential polar format, adjust the potential of at least one of the first control signal, the second control signal, or the third control signal until the preset display requirement is satisfied for the voltage polarity of the sub-pixels in each row of the target area.
[0096] In one embodiment, the first control signal is a DOT_C signal, which controls the sub-pixels of each row in the target area to either have a dot inversion or a 1+2 inversion. Dot inversion means that the voltage polarity of each row of sub-pixels alternates between positive and negative polarities. 1+2 inversion means that the voltage polarity of each row of sub-pixels alternates between one positive polarity and two negative polarities, or one negative polarity and two positive polarities. Figure 9 As shown, Y1 to Y6 represent the voltage polarity distribution of 6 sub-pixels in a row, H represents a high-level signal, and L represents a low-level signal; the second control signal is the POL signal, which controls the voltage polarity of each row of sub-pixels in the target area to be positive or negative; the third control signal is the POLC signal, which controls the sub-pixels in each column of the target area to be either dot-inverted or 1+2-inverted.
[0097] In one embodiment, such as Figure 9 As shown, as long as the timing control chip Tcon outputs different combinations of DOT_C signal, POL signal, and POLC signal (i.e., the potential of any one of the DOT_C signal, POL signal, and POLC signal changes), the polarity on the data line can change to reduce the voltage jitter of the common electrode, so that the positive polarity sub-pixel cancels out the negative polarity sub-pixel, thereby improving the abnormal display phenomena of crosstalk and green tint.
[0098] In one embodiment, when the display device enters the screen detection function, the timing control chip Ton outputs a DOT_C signal, POL signal, or POLC signal that changes within any range of Vblank. For example, when the DOT_C signal, POL signal, and POLC signal are all at the L potential, the potentials on the corresponding sub-pixels Y1, Y2, Y3, Y4, Y5, and Y6 of the data line are, in sequence, +, -, +, -, +, -. After entering the PDF function, there are no specific restrictions on the rules for changing the DOT_C signal, POL signal, or POLC signal. For example, the potential of the POLC signal is changed to H, and the DOT_C signal, POL signal, and POLC signal are respectively L, L, and H. At this time, the potential changes on the sub-pixels Y1, Y2, Y3, Y4, Y5, and Y6 corresponding to the data lines are -, +, -, +, -, and +, respectively. The system checks whether the display parameters for abnormal images such as crosstalk and green tint meet the preset display requirements. If not, the potential of any one of the DOT_C, POL, and POLC signals continues to change until the display parameters for abnormal images such as crosstalk and green tint meet the preset display requirements, thereby improving the image quality of abnormal images and enhancing the user's viewing experience. It should be noted that this embodiment does not specifically set the polarity distribution of the sub-pixels corresponding to the DOT_C, POL, and POLC signals; these settings are determined based on the model and requirements of the display device.
[0099] In one embodiment, when exiting the screen detection function, the timing control chip Tcon switches back to preset level signal values within the Vblank range according to the output DOT_C, POL, and POLC signals. These preset level signal values are the DOT_C, POL, and POLC signals required for the next frame of the screen display. The preset level signal values for the DOT_C, POL, and POLC signals in each frame of the screen display can be the same or different.
[0100] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0101] The beneficial effects of the embodiments in this application compared with the prior art are:
[0102] This application discloses an image processing method applied to a display device. By performing image detection on the displayed image, a target area and an interference area that meet preset partitioning conditions are determined within the detection area of the displayed image. Based on the interference area, the target area, and preset area conditions, the polarity of the sub-pixels of the target area is adjusted. Since the target area and interference area are first determined within the detection area, and then polarity adjustment is performed by setting preset area conditions between the target area and the interference area, the execution or exit of the image detection function is determined by the preset area conditions. This avoids exiting the image detection function when an interference source appears in the detection area, thereby improving the efficiency of image processing, enhancing the image quality of the displayed image, and ultimately improving the user's viewing experience.
[0103] Secondly, such as Figure 10 As shown, this application embodiment provides an image processing apparatus 100, applied to a display device, comprising:
[0104] The determination module 110 is used to perform image detection on the displayed image and determine the target area and interference area that meet the preset partitioning conditions in the detection area of the displayed image.
[0105] The adjustment module 120 is used to adjust the polarity of sub-pixels in the target region based on the interference region, the target region, and preset area conditions.
[0106] In one embodiment, the preset partitioning conditions include a first preset partitioning condition, and the preset partitioning conditions include a second preset partitioning condition; the determining module includes:
[0107] The first determining module is used to determine the detection area of the display image as the target area if the sub-pixels in the detection area of the display image satisfy the first preset partitioning condition; wherein, the first preset partitioning condition includes that the number of positive polarity sub-pixels in each row of the detection area is not equal to the number of negative polarity sub-pixels, and that the grayscale order of any sub-pixel in each row of the detection area and its neighboring sub-pixels is an alternating distribution of bright and dark grayscale.
[0108] The second determining module is used to determine the detection area of the display image as the interference area if the sub-pixels in the detection area of the display image satisfy the second preset partitioning condition, wherein the second preset partitioning condition is that the number of positive polarity sub-pixels in any row of the detection area is equal to the number of negative polarity sub-pixels, and the grayscale order of the sub-pixels in any row and / or any column of the detection area has a continuous distribution of grayscale bright or grayscale dark.
[0109] In one embodiment, the regulating module includes:
[0110] The third determining module is used to determine a first area ratio between the first area of the interference region and the second area of the target region based on the interference region and the target region;
[0111] The fourth determining module is used to determine a second area ratio of the remaining target area outside the overlapping area between the target area and the interference area based on the interference area, the target area, and the first area ratio;
[0112] The adjustment submodule is used to adjust the polarity of sub-pixels in the target region based on the second area ratio and the preset area condition.
[0113] In one embodiment, the preset area conditions include a first preset area condition, a second preset area condition, a third preset area condition, and a fourth preset area condition; the adjustment submodule includes:
[0114] The first adjustment submodule is used to perform polarity adjustment on the sub-pixels of the target region if the second area ratio satisfies the first preset area condition.
[0115] The second adjustment submodule is used to maintain the polarity adjustment of the sub-pixels of the target region if the second area ratio satisfies the second preset area condition.
[0116] The third adjustment submodule is used to exit the polarity adjustment of the sub-pixels of the target region if the second area ratio meets the third preset area condition.
[0117] The fourth adjustment submodule is used to continue to exit the polarity adjustment of the sub-pixels of the target region until the first preset area condition is met if the second area ratio meets the fourth preset area condition.
[0118] It should be noted that the information interaction and execution process between the above modules / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0119] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0120] Thirdly, embodiments of this application provide a display device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method as described in any one of the first aspects above.
[0121] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method as described in any one of the first aspects above.
[0122] Fifthly, embodiments of this application provide a computer program product that, when run on an electronic device, causes the terminal device to execute the method described in any one of the first aspects above.
[0123] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.
[0124] The image processing method provided in this application can be applied to a display device. It is understood that the display device can be any device that displays either moving (e.g., video) or fixed (e.g., still image) content, and whether it is text or an image. More specifically, the display device can be one of a variety of electronic devices, including but not limited to televisions, mobile phones (such as cell phones), wireless devices, personal data assistants (PDAs), handheld or portable computers, GPS receivers / navigators, cameras, MP4 video players, camcorders, game consoles, watches, clocks, calculators, television monitors, flat panel displays, computer monitors, automotive displays (e.g., odometer displays), navigators, cockpit controllers and / or displays, camera view displays (e.g., displays of rearview cameras in vehicles), augmented reality (AR) / virtual reality (VR) devices, electronic photographs, electronic billboards or signs, projectors, etc. The embodiments of this application do not impose special limitations on the specific form of the aforementioned display device.
[0125] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms.
[0126] The computer-readable medium may include at least: any entity or device capable of carrying computer program code to a photographic device / terminal device, recording media, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical discs. In some jurisdictions, according to legislation and patent practice, computer-readable media may not be electrical carrier signals or telecommunication signals.
[0127] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0128] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0129] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0130] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0131] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. An image processing method, characterized in that, Applied to display devices, including: Image detection is performed on the displayed image to determine the target area and interference area that meet the preset partitioning conditions within the detection area of the displayed image; Based on the interference region, the target region, and the preset area condition, the polarity of the sub-pixels of the target region is adjusted.
2. The method as described in claim 1, characterized in that, The preset partitioning conditions include a first preset partitioning condition, and the preset partitioning conditions include a second preset partitioning condition; Image detection is performed on the displayed image to determine the target area and interference area that meet the preset partitioning conditions within the detection area of the displayed image, including: If the sub-pixels within the detection area of the displayed image satisfy the first preset partitioning condition, the detection area of the displayed image is determined to be the target area; If a sub-pixel within the detection area of the displayed image satisfies the second preset partitioning condition, the detection area of the displayed image is determined to be the interference area.
3. The method as described in claim 2, characterized in that, The first preset partitioning conditions include that the number of positive polarity sub-pixels in each row of the detection area is not equal to the number of negative polarity sub-pixels, and that the grayscale order of any sub-pixel in each row of the detection area and its neighboring sub-pixels is an alternating distribution of bright and dark grayscale.
4. The method as described in claim 3, characterized in that, The second preset partitioning condition is that the number of positive polarity sub-pixels in any row of the detection area is equal to the number of negative polarity sub-pixels, and the grayscale order of the sub-pixels in any row and / or any column of the detection area has a continuous distribution of bright or dark grayscale.
5. The method as described in claim 1, characterized in that, Based on the interference region, the target region, and a preset area condition, the polarity of the sub-pixels of the target region is adjusted, including: Based on the interference region and the target region, a first area ratio between the first area of the interference region and the second area of the target region is determined; Based on the interference region, the target region, and the first area ratio, a second area ratio of the remaining target region outside the overlapping area of the target region and the interference region is determined; Based on the second area ratio and the preset area condition, the polarity of the sub-pixels of the target region is adjusted.
6. The method as described in claim 5, characterized in that, The preset area conditions include the first preset area condition, the second preset area condition, the third preset area condition, and the fourth preset area condition; Based on a second area ratio and preset area conditions, the polarity of sub-pixels in the target region is adjusted, including: If the second area ratio satisfies the first preset area condition, polarity adjustment of the sub-pixels of the target region is performed; or, If the second area ratio satisfies the second preset area condition, maintain the polarity adjustment of the sub-pixels of the target region; or, If the second area ratio satisfies the third preset area condition, exit the polarity adjustment of the sub-pixels of the target region; or, If the second area ratio satisfies the fourth preset area condition, continue to exit the polarity adjustment of the sub-pixels of the target region until the first preset area condition is satisfied.
7. The method as described in claim 6, characterized in that, The first preset area condition is P = 100%; The second preset area condition is 1-a <P<1; The third preset area condition is P≦1-a; The fourth preset area condition is that the second area ratio satisfies the second preset area condition after satisfying the third preset area condition; Where P is the second area ratio and a is the first area ratio.
8. An image processing apparatus, characterized in that, Applied to display devices, including: The determination module is used to perform image detection on the displayed image and determine the target area and interference area that meet the preset partitioning conditions in the detection area of the displayed image; The adjustment module is used to adjust the polarity of sub-pixels in the target region based on the interference region, the target region, and preset area conditions.
9. A display device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Driving method and driving device for display panel, as well as display device
CN107833561A
Display panel image quality improvement method and device and display device
CN109599050A