Disclosure of Invention
An object of the present application is to provide an image processing method, apparatus, storage medium, and display apparatus for a display panel, which improve the problem of abnormal display caused by common line voltage jitter due to polarity inversion.
The application discloses an image processing method of a display panel, which comprises the following steps:
Receiving target image data;
performing picture detection on the target image data, and selecting first image data meeting preset conditions;
performing a polarity adjustment process for a signal transmission line of the display panel when the first image data satisfies both a first length condition and a first width condition;
exiting the polarity adjustment process when the first image data satisfies both a second length condition and a second width condition;
the preset condition comprises a plurality of pictures formed by the minimum detection units in a circulating and continuous mode.
In an embodiment, the step of performing picture detection on the image data and selecting the target image data meeting the preset condition includes:
Comparing the format of the target image data with the format of preset template data, selecting first image data meeting preset conditions, and calculating the first length and the first width of the first image data;
the first length is a length of the first image data in a first direction, the first width is a length of the first image in a second direction, and the first direction is perpendicular to the second direction.
In an embodiment, the first length condition is that the first length is greater than or equal to a first preset length, the first width condition is that the first width is greater than or equal to a first preset width, the second length condition is that the first length is less than or equal to a difference between the first preset length and a first standard value, and the second width condition is that the first width is less than or equal to a difference between the first preset width and a second standard value.
In an embodiment, when the first image data does not meet the first length condition or the first width condition, determining whether to execute a polarity adjustment process for the signal transmission line of the display panel according to the last detection result;
Or alternatively
When the first image data does not meet the second length adjustment or the second width condition, judging whether to execute a polarity adjustment process of a signal transmission line of the display panel according to the last detection result;
when the last detection result is that the polarity adjustment process of the signal transmission line of the display panel is executed, the polarity adjustment process of the signal transmission line of the display panel is continuously executed; and when the last detection result is that the polarity adjustment process is exited, continuing to keep exiting the polarity adjustment process.
In one embodiment, the performing a polarity adjustment process for a signal transmission line of the display device includes:
outputting a first control signal, a second control signal and a third control signal;
And converting the potential of any one of the first control signal, the second control signal and the third control signal to enable the abnormal parameters of the target image data after the polarity adjustment process to be within a preset specification.
In one embodiment, after the performing the polarity adjustment process on the signal transmission line of the display device, the method further includes:
Judging whether the abnormal parameters of the target image data after the polarity adjustment process are within preset specifications, if not, adjusting at least one of a first preset length and a first standard value in the second length condition and a first preset width and a second standard value in the second width condition, and executing the polarity adjustment process of the signal transmission line of the display device again.
In an embodiment, the step of performing picture detection on the image data and selecting the target image data meeting the preset condition includes:
comparing the format of the target image data with the format of preset template data, and selecting first image data meeting preset conditions;
Calculating a first length and a first width of the first image data, and calculating an area of the first image data;
judging whether the ratio of the area of the first image data to the whole detection area is larger than or equal to a first preset ratio;
if yes, judging whether the first length and the first width of the first image data meet a first length condition and a first width condition respectively;
If the judgment result is negative, the polarity adjustment process is exited;
The preset condition comprises a picture which is in accordance with a plurality of minimum detection units, wherein the first length is the length of the first image data in a first direction, the first width is the length of the first image in a second direction, and the first direction is perpendicular to the second direction.
The application further discloses an image processing device of the display panel, which comprises a receiving module, a detecting module, a judging module and an executing module, wherein the receiving module is used for receiving target image data, the detecting module is used for carrying out picture detection on the target image data, the judging module is used for judging whether first image data meets a first length condition, a first width condition, a second length condition and a second width condition, the executing module is used for executing a polarity adjusting process of a signal transmission line of the display panel, the polarity adjusting process of the signal transmission line of the display panel is executed when the first image data meets the first length condition and the first width condition at the same time, and the polarity adjusting process is exited when the first image data meets the second length condition and the second width condition at the same time.
The application also discloses a storage medium storing a computer program which when executed by a processor realizes the image processing method of the display panel.
The application also discloses a display device, which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the image processing method of any one of the display panels when executing the computer program on the memory.
The application selects the first image data meeting the preset condition in the picture detection stage, compares whether the first image data meets the first length condition and the first width condition or meets the second length condition and the second width condition at the same time, thereby executing the polarity adjustment process of the signal transmission line of the display panel under the condition that the first length condition and the first width condition are met at the same time, and exits the polarity adjustment process under the condition that the second length condition and the second width condition are met at the same time. The application is different from the other scheme, namely, the area ratio method can only calculate the area ratio by judging the scheme of the area ratio method, and cannot distinguish whether the target image data is a transverse rectangle or a longitudinal rectangle. For the common voltage, the common voltage caused by the data line is dithered to generate vertical stripes, and the common voltage is dithered to generate horizontal stripes similar to other signal lines. While the selected polarity adjustment process differs for the horizontal and vertical stripes, a different polarity adjustment scheme is required. Moreover, the area ratio method is required to satisfy the requirement that the ratio of the repeating unit area reaches 95% or more, and it is easy to exclude the case where the polarity adjustment process is performed. The application selects the first image data meeting the preset conditions from the target image data, takes the length and the width of the first image data as screening conditions, can distinguish the transverse stripes from the vertical stripes, prevents the execution of the polarity adjustment process from being triggered by mistake, and can more accurately control the execution of the polarity adjustment process. Thereby improving crosstalk (cross talk), greening (greenish), increasing the applicability of the product polarity adjustment process, increasing the product quality and improving the product competitiveness.
Detailed Description
It is to be understood that the terminology used herein, the specific structural and functional details disclosed are merely representative for the purpose of describing particular embodiments, but that the application may be embodied in many alternate forms and should not be construed as limited to only the embodiments set forth herein.
In the description of the present application, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating relative importance or implicitly indicating the number of technical features indicated. Thus, unless otherwise indicated, features defining "a first", "a second", and "a plurality" may include one or more of such features explicitly or implicitly, and "a plurality" means two or more. In addition, terms of the azimuth or positional relationship indicated by "upper", "lower", "left", "right", "vertical", "horizontal", etc., are described based on the azimuth or relative positional relationship shown in the drawings, and are merely for convenience of description of the present application, and do not indicate that the apparatus or element referred to must have a specific azimuth, be constructed and operated in a specific azimuth, and thus should not be construed as limiting the present application. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
The application is described in detail below with reference to the attached drawings and alternative embodiments.
At present, the liquid crystal display has been developed to have higher resolution, higher display image quality and larger size. In the case of the TFT-LCD driving, the driving mode is Line-by-Line (Line-by-Line scanning), and in particular, as shown in fig. 1, when gn signal is high, the TFT corresponding to the present Line is turned on, and data in the column direction can be written into the pixels. Each sub-pixel simplified schematic diagram may be shown in fig. 2, where a T of the control switch, a liquid crystal capacitor Clc, a storage capacitor Cst, a G line responsible for transmitting a switching signal, and an S line responsible for transmitting a data signal have one end of the Cst and Clc as a pixel electrode and the other end as a common electrode (VCOM). The liquid crystal is rotated differently depending on the voltages at the two ends, and the light transmission amount is different, as shown in fig. 3, which is a waveform diagram of the data S-out, and fig. 4, which is one of the polarity inversion modes (dot inversion) corresponding to the whole picture, is that the voltage of "±" is higher than that of VCOM, i.e., is "+" higher than VCOM, and is "-" lower than VCOM. As shown in fig. 5, the common voltage VCOM is easily disturbed by polarity inversion, and compared with fig. 3, the VCOM exhibits voltage jitter, resulting in abnormal display.
The application mainly provides a display device capable of improving the abnormal conditions of the common voltage VCOM such as polarity inversion interference and the like and improving the picture display quality. It is to be understood that the display device may be any device that displays both motion (e.g., video, dynamic images) and stationary (e.g., static images) and whether textual or pictorial.
Referring to fig. 6, the application discloses an image processing method of a display panel, comprising the steps of:
S100, receiving target image data;
S200, performing picture detection on the target image data, and selecting first image data meeting preset conditions;
S300, executing a polarity adjustment process for a signal transmission line of the display panel when the first image data simultaneously meets a first length condition and a first width condition;
s400, exiting the polarity adjustment process when the first image data simultaneously meets a second length condition and a second width condition;
the preset condition comprises a plurality of pictures formed by the minimum detection units in a circulating and continuous mode.
The application selects the first image data meeting the preset condition in the picture detection stage, compares whether the first image data meets the first length condition and the first width condition or meets the second length condition and the second width condition at the same time, thereby executing the polarity adjustment process of the signal transmission line of the display panel under the condition that the first length condition and the first width condition are met at the same time, and exits the polarity adjustment process under the condition that the second length condition and the second width condition are met at the same time.
The application is different from the other scheme, namely, the area ratio method can only calculate the area ratio by judging the scheme of the area ratio method, and cannot distinguish whether the target image data is a transverse rectangle or a longitudinal rectangle. For the common voltage, the common voltage caused by the data line is dithered to generate vertical stripes, and the common voltage is dithered to generate horizontal stripes similar to other signal lines. While the selected polarity adjustment process differs for the horizontal and vertical stripes, a different polarity adjustment scheme is required. Moreover, the area ratio method is required to satisfy the requirement that the ratio of the repeating unit area reaches 95% or more, and it is easy to exclude the case where the polarity adjustment process is performed. The application selects the first image data meeting the preset conditions from the target image data, takes the length and the width of the first image data as screening conditions, can distinguish the transverse stripes from the vertical stripes, prevents the execution of the polarity adjustment process from being triggered by mistake, and can more accurately control the execution of the polarity adjustment process. Thereby improving crosstalk, greening greenish, increasing applicability of the product polarity adjustment process, increasing product quality and improving product competitiveness.
In step S100, in the signal reception stage, the timing controller receives target image data from the front-end chip. The target image data is a data signal for forming a picture, and a specific picture is a pixel unit composition of light, dark, and bright. For another example, referring to fig. 7, the target image data in the figure is the image data of a plurality of repeated "H" frames, where the shadows represent darkness and the blanks represent RGB sub-pixels. In this figure, one "H" occupies 8×10 pixel units, each of which is composed of RGB sub-pixels arranged laterally. Wherein, a group of 8×10 pixel units may be a minimum detection unit, or 4*4 pixel units with "H" head may be a minimum detection unit, as shown in the dashed box region. It can be understood that, in the present embodiment, the minimum size of the minimum detection unit is 2×2 pixel units.
The preset condition comprises a plurality of pictures formed by the minimum detection units in a circulating and continuous mode. The first image data is a picture formed by circularly and continuously forming a plurality of minimum detection units, wherein the circularly refers to a plurality of identical pixels which are sequentially arranged, for example, when the minimum detection units are 8×10 pixels, the display gray scale of each position of the two minimum detection units is identical, and the minimum detection units of the circularly exist in the whole detection picture. The continuous display means that the display gray scale of each position of the adjacent minimum detection units is the same, and the pictures are formed by continuous arrangement. The first image data is composed of a plurality of pictures formed by circularly and continuously detecting units.
In step S200, in the stage of detecting the frame, the timing controller automatically detects the frame of the received target image data. The picture detection of the target image data refers to detecting a local or whole area in a frame of picture, and in this embodiment, a local detection method is adopted, that is, a selection portion performs detection, and the detected area is referred to as a detection area. The first image data is selected by a plurality of minimum detecting units which are continuous in detecting cycle. The first image data is generally rectangular, wherein the size information of the minimum detecting unit can be selected according to different display panels.
In steps S300-S400, the length and width of the first image data selected above are detected or calculated to obtain the length and width of the first image data. It is understood that the first length is a length of the first image data in a first direction, and the first width is a length of the first image in a second direction, and the first direction is perpendicular to the second direction. In this embodiment, the length is not limited to be greater than the width, but the length and the width only represent the lengths of the first image data in the first direction and the second direction. When the length is greater than the width, the transverse rectangle is the one, and when the length is less than the width, the longitudinal rectangle is the one.
Referring to fig. 8, the present application can distinguish the region a and the region B in the drawing by the aspect ratio comparison method, wherein the region a is a transverse rectangle, the region B is a longitudinal rectangle, and a=a ', b=b', i.e. the area sizes of the region a and the region B are consistent. It can be understood that the stripes caused by the common voltage jitter of the conventional display panel include horizontal stripes and vertical stripes, when the horizontal stripes appear, the first image data can be selected to be a horizontally arranged rectangle after the detection of the present application. When the display panel has vertical stripes, the detected first image data is vertically arranged rectangles. Whether detected by the gray scale comparison method or the above-mentioned area ratio method, the two cases cannot be accurately distinguished.
The first length condition and the first width condition need to be met at the same time, and when the first length condition and the first width condition are met, a polarity adjustment process of the signal transmission line of the display panel is executed. The second length condition and the second width condition are also satisfied at the same time, and the polarity adjustment process is exited when satisfied. It is to be understood that the first length condition is different from the second length condition, and the first width condition is different from the second width condition.
In performing the polarity adjustment on the signal transmission line of the display panel, the signal transmission line includes not only the data line, but also other scan lines, other signal lines, etc. that cause crosstalk to VCOM are applicable. Specific regulation procedures include, but are not limited to, outputting a set DOT_C signal, POLC signal, and POL signal to effect a polarity change on the data line.
Specifically, in step S200, it includes:
S210, comparing the format of the target image data with the format of preset template data, selecting first image data meeting preset conditions, and calculating the first length and the first width of the first image data.
The preset template data is similar to the minimum detection unit, various display anomalies can be foreseen according to the situation that display crosstalk occurs actually, and various preset module data are set according to the display anomalies, wherein the first image data are normal areas in the preset template data, and conform to the minimum detection unit with the multiple continuous cycles, so that the first image data can be selected more rapidly.
Referring to fig. 9, the area E is a detection area, and the area F is an area composed of the minimum detection units specified by the timing controller. In this embodiment, the selected first image data is a precise algorithm, and different conditions are distinguished directly according to the length and width of the normal area formed by the minimum detection units that are circularly continuous, so that whether to execute the polarity adjustment process can be selected.
The first length condition is that the first length is larger than or equal to a first preset length, the first width condition is that the first width is larger than or equal to a first preset width, the second length condition is that the first length is smaller than or equal to a difference value between the first preset length and a first standard value, and the second width condition is that the first width is smaller than or equal to a difference value between the first preset width and a second standard value.
The first preset length and the first preset width are related to the resolution of the display panel, for example, 1920 pixel units are arranged in the first direction in the display panel with the resolution of 1920×1080, and 1080 pixel units are arranged in the second direction in the display panel with the resolution of 1080. Wherein the first preset length ranges from 0 to 1920, and the first preset width ranges from 0 to 1080, wherein it is to be understood that the first preset length and the first preset width cannot be selected from the end values. The first preset length and the first preset width refer to the total length or the total width of the plurality of pixel units (pixels), for example, when the first preset length is 1000, the first preset length is 1000 pixels. The first standard value and the second standard value are hysteresis reference values, the first standard value is smaller than the first preset length, and the second standard value is smaller than the first preset width. The first preset length, the first preset width, the first standard value and the second standard value of the application all need to be selected according to actual conditions.
Specifically, the first preset length, the first preset width, the first standard value and the second standard value may be adjusted according to a feedback process, and after the performing the polarity adjustment process on the signal transmission line of the display device, the method further includes:
S600, judging whether the abnormal parameters of the target image data after the polarity adjustment process are within preset specifications, if not, adjusting at least one of a first preset length and a first standard value in the second length condition and a first preset width and a second standard value in the second width condition, and executing the polarity adjustment process of the signal transmission line of the display device again.
Specifically, after step S400, it further includes:
S500a, judging whether to execute a polarity adjustment process of a signal transmission line of the display panel according to a last detection result when the first image data does not meet a first length condition or a first width condition;
Or alternatively
S500b, judging whether to execute a polarity adjustment process of a signal transmission line of the display panel according to the last detection result when the first image data does not meet a second length adjustment or a second width condition;
when the last detection result is that the polarity adjustment process of the signal transmission line of the display panel is executed, the polarity adjustment process of the signal transmission line of the display panel is continuously executed; and when the last detection result is that the polarity adjustment process is exited, continuing to keep exiting the polarity adjustment process.
In this embodiment, that is, in other cases where the first length condition and the first width condition are not satisfied at the same time, and in other cases where the second length condition and the second width condition are not satisfied at the same time, it is necessary to maintain the execution state of the previous frame according to whether the polarity adjustment process is executed in the previous frame.
Specifically, referring to fig. 10, the step of S300 includes:
S310, outputting a first control signal, a second control signal and a third control signal;
S320, converting the potential of any one of the first control signal, the second control signal and the third control signal to enable the abnormal parameters of the target image data after the polarity adjustment process to be within a preset standard.
The first control signal is a DOT_C signal, the second control signal is a POL signal, and the third control signal is a POLC signal. In the process of scanning and displaying the display panel, one frame time can comprise a scanning period and a blank period, wherein the scanning period is used for progressive scanning of a plurality of scanning lines, so that a plurality of data are gradually input into different pixel units, and the blank period is used for processing various data. Referring to fig. 11, the TCON output dot_c signal/POL signal/POLC signal may be changed at any interval of the blank period, and the H/L potential switching correspondence output of dot_c signal/POL signal/POLC signal is as shown in fig. 10, when the polarity adjustment process function is entered. For example, the DOT_C signal/POL signal/POLC signal is at L potential, and the potentials on the data lines Y1, Y2, Y3, Y4, Y5, Y6 are in the order of +, -, and-. After entering the PDF function, the dot_c signal/POL signal/POLC signal change rule is not particularly limited. For example, the potential of POLC signal becomes H, at this time, the potential transition on the data lines Y1, Y2, Y3, Y4, Y5, Y6 is in turn-, +, -, +, by detecting whether the abnormal parameters of abnormal display such as crosstalk, greenish, etc. are within the preset specification, if not, the potential transition to one of DOT_C signal/POL signal/POLC signal is continued until the abnormal parameters of abnormal display such as crosstalk, greenish, etc. are within the preset specification. The adjustment of the potential of one of the DOT_C signal/POL signal/POLC signal is performed in the eight ways listed in the table and is not limited to the order in the table.
After the polarity adjustment process is performed, the TCON may switch back to a preset value, which is the dot_c signal/POL signal/POLC signal value required for the next frame of display screen, at any interval of the blank period according to the conventional output dot_c signal/POL signal/POLC signal. The dot_c signal/POL signal/POLC signal preset value of each frame of display picture may be the same or different. I.e., the TCON switches back to the preset value of dot_c signal/POL signal/POLC signal when exiting the PDF function is not associated with the initial value of the frame dot_c signal/POL signal/POLC signal.
In another embodiment, as shown in fig. 12, the method may be used in combination with an area comparison method, specifically, the step of selecting target image data meeting a preset condition by performing picture detection on the image data includes:
S210a, comparing the format of the target image data with the format of preset template data, and selecting first image data meeting preset conditions;
s220a, calculating a first length and a first width of the first image data, and calculating an area of the first image data;
S230a, judging whether the ratio of the area of the first image data to the whole detection area is larger than or equal to a first preset ratio;
S240a, if the judgment result is yes, judging whether the first length and the first width of the first image data meet a first length condition and a first width condition respectively;
s250a, if the judgment result is negative, exiting the polarity adjustment process;
The preset condition comprises a picture which is in accordance with a plurality of minimum detection units, wherein the first length is the length of the first image data in a first direction, the first width is the length of the first image in a second direction, and the first direction is perpendicular to the second direction.
In this example, the screening was performed initially by the area-to-area ratio method and then further by the aspect ratio method.
Referring to fig. 13, a detection frame is shown in the dashed frame, for example, an area formed by a minimum repeating unit of sub-pixel lighting and sub-pixel darkness in a detection area is a first image data M, and the detection area is partially displayed as the sub-pixel lighting, and the sub-pixel lighting is an area N, and the entire detection area is m+n, where the detection frame has the following cases:
a) Condition 1 (first image data M/whole detection area (M+N)). Gtoreq.S;
b) Conditions 2:S-R < (first image data M/entire detection area (M+N)) < S;
c) The condition 3 is that the first image data M/the whole detection area (M+N)) is less than or equal to S-R;
Wherein S represents a first preset proportion, S-R represents a second preset proportion, and R represents a third regulating value.
In the detection, only the condition 1 is satisfied, the step S300 is entered, after the PDF function is entered, the PDF function is exited only the condition 3 is satisfied, and the state of the previous frame is maintained when the condition 2 is satisfied.
After the condition 1 is satisfied, the comparison of the length and the width of the first image data M may be performed, and the first length L and the first width W of the first image data M are determined, where the first preset length is a, the first preset width is b, the first standard value is M, and the second standard value is n, and the following conditions are satisfied;
d) The condition 1:L is more than or equal to a, the width W is more than or equal to b;
e) Condition 2. ① condition 1 satisfies only one, L is equal to or greater than a, W is equal to or greater than b, ② condition 3 satisfies only one, L is equal to or less than a-m, W is equal to or greater than b-n, and ③ conditions 1 and 3 do not satisfy a-m < L < a and b-n < W < b;
f) The condition 3 is that the length L of the detection area is less than or equal to a-m, and the width W is less than or equal to b-n;
if the first image data sequentially satisfies condition 1/condition 2/condition 3/condition 2/condition 1 on five consecutive frames, the PDF sequentially hits/exits/hits.
In this embodiment, since the length and width of the first image data are also detected and compared, the S in the area comparison method does not need to be designed to be very high, in this scheme, 90% or more S is greater than or equal to 80% and R is less than or equal to 5%.
The application also discloses a storage medium storing a computer program which when executed by a processor realizes the image processing method of the display panel.
Referring to fig. 14, the application further discloses an image processing device of the display panel, wherein the image processing device 10 comprises a receiving module 11, a detecting module 12, a judging module 13 and an executing module 14, the receiving module 11 is used for receiving target image data, the detecting module 12 is used for detecting pictures of the target image data, the judging module 13 is used for judging whether first image data meets a first length condition, a first width condition, a second length condition and a second width condition, the executing module 14 is used for executing a polarity adjusting process of a signal transmission line of the display panel, the polarity adjusting process of the signal transmission line of the display panel is executed when the first image data meets the first length condition and the first width condition at the same time, and the polarity adjusting process is exited when the first image data meets the second length condition and the second width condition at the same time.
Referring to fig. 15, the present application further discloses a display device, the display device 20 includes a memory 21 and a processor 22, the memory 21 stores a computer program, and the processor 22 implements the image processing method of the display panel according to any one of the above when executing the computer program on the memory.
The application selects the first image data meeting the preset condition in the picture detection stage, compares whether the first image data meets the first length condition and the first width condition or meets the second length condition and the second width condition at the same time, thereby executing the polarity adjustment process of the signal transmission line of the display panel under the condition that the first length condition and the first width condition are met at the same time, and exits the polarity adjustment process under the condition that the second length condition and the second width condition are met at the same time. The application is different from the other scheme, namely, the area ratio method can only calculate the area ratio by judging the scheme of the area ratio method, and cannot distinguish whether the target image data is a transverse rectangle or a longitudinal rectangle. For the common voltage, the common voltage caused by the data line is dithered to generate vertical stripes, and the common voltage is dithered to generate horizontal stripes similar to other signal lines. While the selected polarity adjustment process differs for the horizontal and vertical stripes, a different polarity adjustment scheme is required. Moreover, the area ratio method is required to satisfy the requirement that the ratio of the repeating unit area reaches 95% or more, and it is easy to exclude the case where the polarity adjustment process is performed. The application selects the first image data meeting the preset conditions from the target image data, takes the length and the width of the first image data as screening conditions, can distinguish the transverse stripes from the vertical stripes, prevents the execution of the polarity adjustment process from being triggered by mistake, and can more accurately control the execution of the polarity adjustment process. Thereby improving crosstalk (cross talk), greening (greenish), increasing the applicability of the product polarity adjustment process, increasing the product quality and improving the product competitiveness.
It should be noted that, the inventive concept of the present application can form a very large number of embodiments, but the application documents are limited in space and cannot be listed one by one, so that on the premise of no conflict, the above-described embodiments or technical features can be arbitrarily combined to form new embodiments, and after the embodiments or technical features are combined, the original technical effects will be enhanced.
The above description of the application in connection with specific alternative embodiments is further detailed and it is not intended that the application be limited to the specific embodiments disclosed. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the application, and these should be considered to be within the scope of the application.