Image processing method, apparatus, readable storage medium and computer program product
By adjusting the carry-over pixels of the pixel dithering algorithm using the Tcon board, the problem of repeated carry-over of the same pixel on both the system and panel sides is solved, thus improving the display effect of the display device.
Patent Information
- Application Number
- CN202410533567.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2044-04-29
AI Technical Summary
The system-side chip and Tcon board of the display device may perform carry processing on the same pixel twice, resulting in abnormal image display.
The Tcon board acquires the target grayscale image transmitted by the system-side chip, determines the carry-in pixel position of the image processing algorithm, and adjusts the carry-in pixel of the pixel dithering algorithm to avoid repeated carry-in.
It improves the compatibility between the system and the panel, avoids screen anomalies, and enhances the display effect.
Smart Images

Figure CN118447803B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of image processing, and in particular, to an image processing method and device, a readable storage medium and a computer program product. BACKGROUND
[0002] In the development of liquid crystal displays, color depth (also known as color bit depth) plays an important role. As consumers' demands for display devices' color performance continue to increase, liquid crystal displays need higher color depth to provide richer and more natural color performance. High color depth liquid crystal displays can provide a wider color range and higher color saturation, making the picture more vivid and realistic. At the same time, high color depth liquid crystal displays can also better meet the needs of professional fields, such as digital photography, printing, film production, etc. In these fields, higher color accuracy and a wider color range are needed to ensure the quality and authenticity of images. Therefore, color depth plays an important role in the development of liquid crystal displays. With continuous technological progress and innovation, the color depth of liquid crystal displays will continue to improve, bringing consumers a better visual experience.
[0003] Taking an 8-bit color depth display as an example, an 8-bit color depth display has two implementation ways: true 8-bit color depth and 6-bit+FRC (Frame Rate Control) color depth. Compared with 6-bit+FRC, true 8-bit color depth can display richer colors, with more natural transitions and more delicate pictures, but also has higher costs. 6-bit+FRC simulates higher color depth through pixel dithering technology, with lower costs.
[0004] In order to improve display effects, system-side (also known as front-end) chips (such as graphics cards, scalar chips) in display devices may use a preset image processing algorithm to process a to-be-displayed image. When the preset image processing algorithm processes the to-be-displayed image, some pixels are processed by carry processing. However, when a Tcon board simulates higher color depth through pixel dithering technology, some pixels are also processed by carry processing. For the same pixel, carry processing may be performed twice, and thus picture abnormalities may occur. SUMMARY
[0005] Embodiments of the present application provide an image processing method and device, a readable storage medium and a computer program product, which are used to solve the problem that the system-side chip and the Tcon board of a display device may both perform carry processing on the same pixel, and thus picture abnormalities may occur.
[0006] To solve the above technical problems, the present application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides an image processing method, comprising:
[0008] The Tcon board of the display device acquires a target gray scale debugging image transmitted by a system chip of the display device;
[0009] The Tcon board determines the position of a carry pixel of an image processing algorithm used by the system chip according to the gray scale data in the target gray scale debugging image, wherein the image processing algorithm performs carry processing on part of the pixels in the debugging image when processing the debugging image;
[0010] The Tcon board adjusts a carry pixel in a dithering pattern of a pixel dithering algorithm used by the Tcon board according to the position of the carry pixel of the image processing algorithm, to obtain an adjusted dithering pattern.
[0011] Optionally, the target gray scale includes one or more gray scales in 0-(2 b -1) gray scales, wherein b is the bit depth supported by the system chip of the display device.
[0012] Optionally, the Tcon board determines the position of the carry pixel of the image processing algorithm used by the system chip according to the gray scale data in the target gray scale debugging image, comprising:
[0013] The Tcon board detects whether the target gray scale debugging image contains a carry pixel other than a non-carry pixel, wherein the gray scale value of the non-carry pixel is the target gray scale, and the gray scale value of the carry pixel is the next gray scale of the target gray scale.
[0014] If the pixel in the target gray scale debugging image contains the carry pixel, the Tcon board determines that the target gray scale debugging image is an image processed by the image processing algorithm.
[0015] Optionally, the Tcon board determines the position of the carry pixel of the image processing algorithm used by the system chip according to the gray scale data in the target gray scale debugging image, comprising:
[0016] The Tcon board acquires the gray scale values of each pixel in a target pixel block in the target gray scale debugging image;
[0017] The Tcon board acquires the positions of the non-carry pixel and the carry pixel in the target pixel block, wherein the gray scale value of the non-carry pixel is the target gray scale, and the gray scale value of the carry pixel is the next gray scale of the target gray scale.
[0018] The Tcon board determines a first pixel block used by the image processing algorithm according to the position of the carry pixel in the target pixel block, and the image processing algorithm processes the debug image by taking the first pixel block as a sliding window.
[0019] Optionally, the Tcon board determines the first pixel block used by the image processing algorithm according to the position of the carry pixel in the target pixel block, and the image processing algorithm processes the debug image by taking the first pixel block as a sliding window.
[0020] The Tcon board determines whether the period of the carry pixel in the first row of pixels in the target pixel block is i, i=2 m , wherein m is a value greater than or equal to 2;
[0021] If the period of the carry pixel in the first row of pixels is i, the Tcon board determines whether the period of the pixel in the 2-i row is i in turn, and if so, determines the size of the first pixel block as i*i.
[0022] If the period of the carry pixel in the first row of pixels is not i, the Tcon board adds 1 to m to update i, and returns to the step of determining whether the period of the carry pixel in the first row of pixels in the target pixel block is i until the size of the first pixel block is determined.
[0023] The Tcon board determines the pattern of the first pixel block according to the size of the first pixel block and the position of the carry pixel.
[0024] Optionally, the Tcon board determines the position of the carry pixel of the image processing algorithm adopted by the system-side chip according to the gray scale data in the debug image of the target gray scale, and the image processing algorithm includes:
[0025] The Tcon board detects the positions of the carry pixels corresponding to multiple frames of the debug image of the target gray scale.
[0026] Optionally, the Tcon board adjusts the carry pixel in the dithering pattern of the pixel dithering algorithm adopted by the Tcon board according to the position of the carry pixel of the image processing algorithm, and the pixel dithering algorithm includes:
[0027] The Tcon board obtains overlapping carry pixels in the dithering pattern of the pixel dithering algorithm adopted by the Tcon board, wherein the gray scale value of the carry pixel is the next gray scale of the target gray scale.
[0028] For the dithering pattern of the pixel dithering algorithm adopted by the Tcon board, the Tcon board adjusts at least part of the overlapping carry pixels to non-carry pixels.
[0029] Optionally, further comprising:
[0030] The Tcon board receives the to-be-displayed image transmitted by the system chip of the display device;
[0031] The Tcon board processes the to-be-displayed image by using the adjusted dithering pattern, and drives the display panel of the display device to display the processed image.
[0032] Optionally, the image output by the system chip has a first bit depth, and the image that can be processed by the Tcon board has a second bit depth, the first bit depth being greater than the second bit depth.
[0033] In a second aspect, an embodiment of the present application provides an image processing device, comprising:
[0034] A first obtaining module is configured to obtain a debugging image of a target gray scale transmitted by a system chip of a display device;
[0035] A first determining module is configured to determine a position of a carry pixel of an image processing algorithm used by the system chip according to gray scale data in the debugging image of the target gray scale, the image processing algorithm performing carry processing on part of pixels in the debugging image when processing the debugging image.
[0036] A first adjusting module is configured to adjust a carry pixel in a dithering pattern of a pixel dithering algorithm used by the Tcon board according to the position of the carry pixel of the image processing algorithm, to obtain an adjusted dithering pattern.
[0037] In a third aspect, an embodiment of the present application provides a display device, comprising a processor, a memory, and a program stored in the memory and executable on the processor, the program being executed by the processor to implement the steps of the image processing method according to the first aspect.
[0038] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the steps of the image processing method according to the first aspect.
[0039] In a fifth aspect, a computer program product is provided, comprising computer instructions, the computer instructions being executed by a processor to implement the steps of the image processing method according to the first aspect.
[0040] In the embodiment of the present application, the Tcon board of the display device determines the position of the carry-in pixel of the image processing algorithm adopted by the system-side chip according to the gray scale data in the debugging image of the target gray scale, and adjusts the carry-in pixel of the pixel dithering algorithm adopted by itself according to the position of the carry-in pixel of the image processing algorithm, thereby improving the matching problem between the system side and the panel side (Tcon board), avoiding the case that the system-side chip and the Tcon board both need to carry in the pixel, and for the same pixel, the carry-in may be performed twice, thereby the problem of abnormal picture may occur, and the display effect of the display device is improved. BRIEF DESCRIPTION OF DRAWINGS
[0041] Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The detailed description is made with reference to the accompanying drawings.
[0042] Figure 1 It is a schematic diagram of the principle of dithering the pixel in time;
[0043] Figure 2 It is a schematic diagram of the principle of dithering the pixel in space;
[0044] Figure 3 It is a schematic diagram of the principle of Dither algorithm;
[0045] Figure 4 It is a schematic diagram of the dithering pattern used by Dither algorithm;
[0046] Figure 5 It is a schematic diagram of the image display abnormality caused by the dithering pattern of the pixel dithering algorithm adopted by the system side being the same as the dithering pattern of the pixel dithering algorithm adopted by the panel side;
[0047] Figure 6 It is a schematic diagram of the flow of the image processing method of the embodiment of the present application;
[0048] Figure 7 It is a schematic diagram of the debugging image of the target gray scale of the embodiment of the present application;
[0049] Figure 8 It is a schematic diagram of the target pixel block read by the Tcon board of the embodiment of the present application;
[0050] Figure 9 It is a schematic diagram of the flow of the image processing method of the embodiment of the present application;
[0051] Figure 10The schematic diagram of the minimum pixel block of the pixel dithering algorithm used by the system chip for the Tcon plate of the embodiment of the present application;
[0052] Figure 11 The method flow chart of determining the position of the carry pixel of the image processing algorithm used by the system chip according to the position of the carry pixel of the Tcon plate of the embodiment of the present application;
[0053] Figure 12 The third flow chart of the image processing method of the embodiment of the present application;
[0054] Figure 13 And Figure 14 The waveform detected by the oscilloscope of the embodiment of the present application;
[0055] Figure 15 The dithering pattern of the Tcon plate tested by the oscilloscope of the embodiment of the present application;
[0056] Figure 16 The structural schematic diagram of the image processing device of the embodiment of the present application;
[0057] Figure 17 The structural schematic diagram of the display device of the embodiment of the present application. DETAILED DESCRIPTION
[0058] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0059] Firstly, the technical content involved in the present application will be described below.
[0060] Dither algorithm
[0061] The Dither algorithm is an image processing algorithm for realizing FRC (Frame Rate Control). It is a technology using the visual characteristics of human eyes. The higher precision color is simulated by dithering the pixels in space and time, so as to increase the color depth.
[0062] Please refer to Figure 1 And Figure 2 , Figure 1 The schematic diagram of the principle of dithering the pixels in time, Figure 2 The schematic diagram of the principle of dithering the pixels in space.
[0063] From Figure 1As can be seen, if the grayscale of pixels at the same location in four frames of an image is all white, then the eye perceives it as white. If black is added to the pixel at that location in one or more frames, as the number of black additions increases, the visual effect will change from white to black. This is achieved by generating multiple intermediate grayscale levels through motion time jitter.
[0064] from Figure 2 As can be seen, multiple (e.g., 4) pixels that are close together can be considered as a large pixel (also called a pixel block), and these 4 pixels are called the subpixels of the large pixel. For subpixels, there are only two gray levels: black and white. By properly allocating the ratio of black and white, the human eye will naturally mix the colors of these subpixels, thus producing more gray levels for the large pixel.
[0065] It should be noted that the size of a pixel block can be as follows: Figure 2 The 4*4 shown can also be 8*8, 16*16, 32*32, etc.
[0066] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the Dither algorithm, which combines spatial and temporal jitter.
[0067] Sometimes the number of bits in an image from an image source is not equal to the number of bits in the corresponding liquid crystal display device. For example, to reduce costs, a 6-bit liquid crystal display device can be used to display 8-bit image data. To ensure that the final displayed image still has 8-bit grayscale levels, Dithering technology is generally used. Essentially, the 8-bit image data to be displayed is divided into 6 high bits and 2 low bits. Then, based on the dithering pattern (or FRC pattern or pixel block) of the low two bits in corresponding space and time, the grayscale corresponding to the high 6 bits (the corresponding pixels are called non-carry pixels) or the grayscale corresponding to the high 6 bits + 1 (the corresponding pixels are called carry pixels) is sent out for display, thus enabling the final display of 8 bits and 256 grayscale levels.
[0068] Taking a 6-bit+FRC LCD display as an example, the Dither algorithm can be used to simulate an 8-bit color depth effect by dithering the pixels spatially and temporally. A 6-bit color depth can display c=64 gray levels. During dithering, assuming a 4x4 pixel block, the following gray levels can be obtained between a certain gray level N and its next gray level N+1: N, 1 / 4(N+1), 2 / 4(N+1), 3 / 4(N+1), N+1. This means that three new gray levels can be obtained between every two adjacent gray levels. Adding these to the original 64 gray levels, a total of 2... 6+63*3=253 gray scales. When the pixel block size can be 8*8, 16*16, 32*32 (m*m block can get m-1 new gray scales between every two adjacent gray scales), etc., more intermediate gray scales can be inserted between adjacent gray scales, thus achieving a more refined color depth effect.
[0069] Please refer to Figure 4 , Figure 4 Take a 4*4 block as an example in the above table, where the gray represents the carry pixel, and the dithering generates 1 / 4 gray scale brightness. Spatially, in a 4*4 block, there is only 1 carry pixel in each row of 4 pixels, and there are a total of 4 rows of 4 carry pixels, which accounts for 4 / 16=1 / 4 of the total pixels, that is, 1 / 4 of the pixels are carried. Temporally, the pixel at the same position in Frame1-4 is carried in one of the frames, forming an effect of carrying once every 4 frames, that is, 1 / 4 brightness. Due to the visual characteristics of the human eye, in the above Frame1-4 cycle, the human eye appears to be 1 / 4 brightness.
[0070] Figure 4 The "+" and "-" in the above table refer to the polarity of the voltage of the pixel. In a liquid crystal display device, if the liquid crystal molecules are always driven by positive or negative voltage, the liquid crystal molecules are easy to be polarized, and further damaged. Therefore, in order to protect the liquid crystal molecules from being damaged by the driving voltage, the liquid crystal molecules can be driven by alternating positive and negative voltages. The polarity inversion mode mainly includes the following several modes: dot inversion, line inversion, frame inversion (the polarity of the Nth frame and the N+1th frame is opposite), column inversion. Of course, it is not limited thereto, and other polarity inversion modes can also be used.
[0071] Generally, the pixel dithering algorithm is implemented on the panel side (Tcon board, also known as logic board or screen driving board or center control board, etc.). In some products, some image processing algorithms (which process part of the pixels in the image when processing the image) are turned on in the system side to improve the display effect of the image to be displayed, which may cause display abnormalities due to the mismatch between the panel side and the system side. As shown in Figure 5 , the pixel block (containing the position of the carry pixel) of the image processing algorithm used in the system side is the same as the dithering pattern of the pixel dithering algorithm used in the panel side (i.e., the position of the carry pixel is the same), which causes the same pixel position to be carried twice, which may form a diamond grid or diagonal line (refer to Figure 5 ) of pixels carried twice, thus causing display abnormalities.
[0072] To solve the above problem, please refer to Figure 6The embodiment of the present application provides an image processing method, comprising:
[0073] In step S11, a Tcon board of a display device acquires a debugging image of a target gray scale transmitted by a system end chip of the display device.
[0074] In the embodiment of the present application, the target gray scale comprises one or more gray scales in 0-(2 b -1) gray scales, wherein b is a color depth bit number supported by the system end chip of the display device. In some embodiments, the target gray scale comprises all gray scales in 0-(2 b -1), that is, debugging is performed on all gray scales. For example, if b is 8, the target gray scale comprises one or more gray scales in 0-255 gray scales, and if b is 10, the target gray scale comprises one or more gray scales in 0-1023 gray scales.
[0075] In the embodiment of the present application, the debugging image of the target gray scale comprises two kinds of pixels, one kind of pixel is the target gray scale, and this kind of pixel is also called non-carry pixel, and one kind of pixel is the target gray scale plus 1, and this kind of pixel is also called carry pixel.
[0076] In step S12, the Tcon board determines the position of a carry pixel of an image processing algorithm used by the system end chip according to the gray scale data in the debugging image of the target gray scale, and the image processing algorithm performs carry processing on part of the pixels in the debugging image when processing the debugging image.
[0077] In step S13, the Tcon board adjusts a carry pixel in a dithering pattern of a pixel dithering algorithm used by the Tcon board according to the position of the carry pixel of the image processing algorithm, to obtain an adjusted dithering pattern.
[0078] In the embodiment of the present application, the pixel dithering algorithm can be a Dither algorithm.
[0079] In the embodiment of the present application, the Tcon board of the display device determines the position of the carry pixel of the image processing algorithm used by the system end chip according to the gray scale data in the debugging image of the target gray scale, and adjusts the carry pixel of the pixel dithering algorithm used by the Tcon board according to the position of the carry pixel of the image processing algorithm, thereby improving the matching problem between the system end and the panel end (Tcon board), avoiding the case that the system end chip and the Tcon board both need to perform carry processing on the pixels, and thus the same pixel may be processed twice, and thus the problem of abnormal picture may occur, and the display effect of the display device is improved.
[0080] In some embodiments of the present application, optionally, the Tcon board determines the position of the carry pixel of the image processing algorithm used by the system-side chip according to the gray scale data in the debugging image of the target gray scale, comprising:
[0081] Step S121: The Tcon board detects whether the debugging image of the target gray scale contains a carry pixel other than a non-carry pixel, wherein the gray scale value of the non-carry pixel is the target gray scale, and the gray scale value of the carry pixel is the next gray scale of the target gray scale.
[0082] Step S122: If the pixel in the debugging image of the target gray scale contains the carry pixel, the Tcon board determines that the debugging image of the target gray scale is the image processed by the image processing algorithm.
[0083] Please refer to Figure 7 , Figure 7 FIG. 1 is a schematic diagram of a debugging image of a target gray scale, which is 40, according to an embodiment of the present application. The Tcon board detects whether the debugging image of gray scale 40 contains a carry pixel (pixel with gray scale 41) other than a non-carry pixel (pixel with gray scale 40). As can be seen from FIG. 1, the debugging image of gray scale 40 contains a carry pixel (pixel with gray scale 41) other than a non-carry pixel (pixel with gray scale 40), which indicates that the debugging image of the target gray scale is the image processed by the image processing algorithm. Figure 7
[0084] In some embodiments of the present application, optionally, the Tcon board determines the position of the carry pixel of the image processing algorithm used by the system-side chip according to the gray scale data in the debugging image of the target gray scale, comprising:
[0085] Step S123: The Tcon board obtains the gray scale values of each pixel in the target pixel block in the debugging image of the target gray scale.
[0086] In some embodiments of the present application, the size of the first pixel block (block) used by the image processing algorithm can be 4*4, 8*8, 16*16, 32*32 (m*m block can obtain m-1 new gray scales in every two adjacent gray scales), etc. In order to cover the above pixel blocks, the target pixel block that can be read by the Tcon board in some embodiments of the present application can be set to be larger, for example, it can be a 64*32 pixel block, or a larger pixel block, as shown in FIG. 2, so that at least two 32*32 pixel blocks can be obtained for comparison. Figure 8
[0087] Step S124: The Tcon board acquires the positions of the non-carrying pixel and the carrying pixel in the target pixel block, wherein the gray scale value of the non-carrying pixel is the target gray scale, and the gray scale value of the carrying pixel is the next gray scale of the target gray scale.
[0088] Step S125: The Tcon board determines a first pixel block used by the image processing algorithm according to the position of the carrying pixel in the target pixel block, wherein the image processing algorithm processes the debug image by taking the first pixel block as a sliding window.
[0089] Specifically, please refer to Figure 9 and Figure 10 The first pixel block can be determined according to the position of the carrying pixel, and the minimum pixel block of the image processing algorithm used by the system chip is determined, so that the position of the carrying pixel of the image processing algorithm is determined, and the first pixel block includes the size of the minimum pixel block and the position of the carrying pixel in the minimum pixel block.
[0090] In the embodiment of the application, the Tcon board determines the first pixel block used by the image processing algorithm according to the position of the carrying pixel in the target pixel block, which includes: Figure 11
[0091] Step S1251: The Tcon board determines whether the period of the carrying pixel in the first row (the nth row) of pixels in the target pixel block is i, i = 2 m , wherein m is a value greater than or equal to 2.
[0092] In the embodiment of the application, n and m are integers, n is greater than or equal to 1 and less than or equal to 2 m , and m is greater than or equal to 2 and less than or equal to 5.
[0093] Step S1252: If the period of the carrying pixel in the first row of pixels is i, the Tcon board sequentially determines whether the period of the pixel in the 2-i row is i, and if so, determines that the size of the first pixel block is i*i.
[0094] Step S1253: If the period of the carrying pixel in the first row of pixels is not i, the Tcon board adds 1 to m to update i, and returns to the step of determining whether the period of the carrying pixel in the first row of pixels is i until the size of the first pixel block is determined.
[0095] Step S1254: The Tcon board determines the pattern of the first pixel block according to the size of the first pixel block and the position of the carrying pixel.
[0096] For example, the period of the carry pixel in the first row is determined first. Figure 10 For example, the period of the carry pixel in the first row is determined first. 2 If the period of the carry pixel in the first row is 4 (2
[0097] It should be noted that the size of the pixel block corresponding to different gray scales can be different, and therefore, the above steps need to be performed on the debug image corresponding to each gray scale to obtain the first pixel block corresponding to each gray scale.
[0098] In the embodiment of the application, optionally, the Tcon board determines the position of the carry pixel of the image processing algorithm used by the system-side chip according to the gray scale data in the debug image of the target gray scale, and the method comprises: the Tcon board detects the position of the carry pixel corresponding to multiple frames of the debug image of the target gray scale. Figure 3 The position of the carry pixel used by consecutive frames (for example, 4 frames) can be different, and in this case, the Tcon board needs to detect the position of the carry pixel corresponding to multiple frames of the debug image of the target gray scale.
[0099] In the embodiment of the application, optionally, the Tcon board adjusts the carry pixel in the dithering pattern of the pixel dithering algorithm used by the Tcon board according to the position of the carry pixel of the image processing algorithm, and the method comprises:
[0100] Step S131: the Tcon board acquires an overlapping carry pixel in the dithering pattern of the pixel dithering algorithm used by the Tcon board, wherein the overlapping carry pixel is overlapped with the carry pixel of the image processing algorithm, and the gray scale value of the carry pixel is the next gray scale of the target gray scale.
[0101] Step S132: for the dithering pattern of the pixel dithering algorithm used by the Tcon board, the Tcon board adjusts at least part of the overlapping carry pixel to a non-carry pixel.
[0102] That is, if the image processing algorithm used by the system-side needs to carry for a certain pixel, the dithering pattern used by the Tcon board needs to carry as well, and the dithering pattern can be adjusted to not carry to avoid twice carrying and causing abnormal pictures.
[0103] The above processes are all in the debugging stage of the display device, and when the debugging is completed, the Tcon board uses the adjusted dithering pattern to process the to-be-displayed image in normal use of the display device. That is, in the embodiment of the application, optionally, the image processing method further comprises:
[0104] Step S14: The Tcon board receives the image to be displayed transmitted by the system-side chip;
[0105] Step S15: The Tcon board processes the image to be displayed using the adjusted dithering pattern and drives the display panel of the display device to display the processed image.
[0106] In this embodiment of the invention, optionally, the image output by the system-side chip is an image with a color depth of a first bit depth, and the image that the Tcon board can process is an image with a color depth of a second bit depth, wherein the first bit depth is greater than the second bit depth. For example, the image output by the system-side chip is an image with a color depth of 8 bits, and the image that the Tcon board can process is an image with a color depth of 6 bits.
[0107] In this embodiment of the invention, the position of the carry pixel in the dithering pattern of the pixel dithering algorithm used by the Tcon board itself can be automatically adjusted according to the gamma curve of the display device. However, in the existing solution, the influence of the image processing algorithm used by the system is not considered. In this embodiment of the invention, since the position of the carry pixel of the image processing algorithm of the system has been detected, when determining the dithering pattern of the pixel dithering algorithm used by the Tcon board itself, the influence of the carry pixel of the image processing algorithm of the system is considered while taking into account the gamma curve. The carry pixels used by the image processing algorithm of the system are completely or partially avoided to avoid screen abnormalities.
[0108] In this embodiment of the invention, optional details may be found, please refer to [the relevant documentation]. Figure 12 The Tcon board adjusts the carry pixels in the dithering pattern of the pixel dithering algorithm used by the Tcon board according to the position of the carry pixels in the image processing algorithm, to obtain the adjusted dithering pattern, and then further includes:
[0109] Step S21: The Tcon board processes the target grayscale debugging image using the adjusted dithering pattern, and drives the display panel of the display device to display the processed image;
[0110] Step S22: Use an oscilloscope to detect the carry pixels in the processed image displayed by the display device, wherein the gray level value of the carry pixel is the next gray level of the target gray level;
[0111] Step S23: Based on the detection results of the oscilloscope, predict the dithering pattern of the pixel dithering algorithm used by the Tcon board;
[0112] Step S24: the Tcon board acquires the debug image of the target gray scale transmitted again by the system-side chip after changing the carry-in pixel of the image processing algorithm;
[0113] Step S25: the Tcon board determines the position of the changed carry-in pixel of the system-side chip according to the gray scale data in the debug image of the target gray scale transmitted again;
[0114] Step S26: the Tcon board adjusts the carry-in pixel of the pixel dithering algorithm adopted by the Tcon board again according to the position of the changed carry-in pixel of the system-side chip;
[0115] Step S27: the Tcon board processes the debug image of the target gray scale by using the adjusted carry-in pixel, and drives the display panel of the display device to display the processed image;
[0116] Step S28: the oscilloscope is used again to detect the carry-in pixel in the processed image displayed by the display device;
[0117] Step S29: according to the detection result of the oscilloscope, the dithering pattern of the pixel dithering algorithm adopted by the Tcon board is predicted again;
[0118] Step S210: whether the dithering pattern predicted again is changed compared with the dithering pattern predicted last time is compared, and if changed, it is determined that the carry-in pixel of the pixel dithering algorithm adopted by the Tcon board is adjusted according to the position of the carry-in pixel of the image processing algorithm.
[0119] Taking the target gray scale of 251 as an example, please refer to Figure 13 , Figure 13 is a waveform detected by the oscilloscope of the embodiment of the present application, wherein STV is a frame start signal, TP is a start signal of each line, the Data signal shows the actual voltage value, and the Data output 1 indicates the waveform detected by the oscilloscope when the first column of data is input, and it can be seen that the Data output 1 has no carry-in in Line 1 and Line 2, has carry-in in Line 3 and Line 4, has no carry-in in Line 5, Line 6 and Line 7, and has carry-in in Line 8.
[0120] Please refer to Figure 14 , Figure 14The oscilloscope detects the waveform of the oscilloscope, wherein Data output 2 represents the second column of data input, and the oscilloscope detects the waveform of the oscilloscope, and it can be seen that Data output 2 has no carry for Line 1, Line 3, Line 2, Line 4, Line 5, and so on.
[0121] By analogy, please refer to Figure 15 If the complete 16 Data are tested, a complete 16*16 pixel block (Bolck) is obtained, the position information of the carry pixel of the dithering pattern of the Tcon board can be tested by the oscilloscope, and the position table of the carry pixel is drawn, at this time, if the carry pixel of the image processing algorithm of the system end is changed, the position information of the carry pixel of the dithering pattern of the Tcon board is measured again by the oscilloscope, if the position information of the carry pixel of the Tcon board changes along with the change of the carry pixel of the system end, it is indicated that the dithering pattern of the pixel dithering algorithm of the Tcon board has been adjusted according to the position of the carry pixel of the image processing algorithm of the system end.
[0122] Please refer to Figure 16 The embodiment of the present application also provides an image processing device 10, comprising:
[0123] A first acquisition module 11 is used for acquiring a debugging image of a target gray scale transmitted by a system end chip of the display device;
[0124] A first determination module 12 is used for determining the position of a carry pixel of an image processing algorithm of the system end chip according to gray scale data in the debugging image of the target gray scale, wherein the image processing algorithm performs carry processing on part of pixels in the debugging image when processing the debugging image;
[0125] A first adjustment module 13 is used for adjusting a carry pixel in a dithering pattern of a pixel dithering algorithm of the Tcon board according to the position of the carry pixel of the image processing algorithm, to obtain an adjusted dithering pattern.
[0126] In the embodiment of the present application, the Tcon board of the display device determines the position of the carry pixel of the image processing algorithm of the system end chip according to the gray scale data in the debugging image of the target gray scale, and adjusts the carry pixel of the pixel dithering algorithm of the Tcon board according to the position of the carry pixel of the image processing algorithm, thereby improving the matching problem of the system end and the panel end (Tcon board), avoiding the case that the system end chip and the Tcon board both need to perform carry processing on pixels, and the same pixel may be processed twice, so that the problem of abnormal picture may occur, and the display effect of the display device is improved.
[0127] Optionally, the target gray scale comprises one or more gray scales in 0~(2 b -1) gray scales, wherein b is the bit number of the color depth supported by a system chip of the display device.
[0128] Optionally, the first determining module 12 is configured to detect whether the debugging image of the target gray scale contains a carry pixel other than a non-carry pixel, wherein the gray scale value of the non-carry pixel is the target gray scale, and the gray scale value of the carry pixel is a next gray scale of the target gray scale; and if the pixel in the debugging image of the target gray scale contains the carry pixel, determine that the debugging image of the target gray scale is the image processed by the image processing algorithm.
[0129] Optionally, the first determining module 12 is configured to acquire the gray scale values of the pixels in a target pixel block in the debugging image of the target gray scale; acquire the positions of the non-carry pixel and the carry pixel in the target pixel block, wherein the gray scale value of the non-carry pixel is the target gray scale, and the gray scale value of the carry pixel is a next gray scale of the target gray scale; and determine a first pixel block used by the image processing algorithm according to the position of the carry pixel in the target pixel block, wherein the image processing algorithm processes the debugging image by taking the first pixel block as a sliding window, and the first pixel block includes the position of the carry pixel.
[0130] Optionally, the first determining module 12 is configured to determine whether the period of the carry pixel in the first row of pixels in the target pixel block is i, i = 2 m , wherein m is a value greater than or equal to 2; if the period of the carry pixel in the first row of pixels is i, sequentially determine whether the period of the pixel in the 2-i row is i, and if yes, determine that the size of the first pixel block is i*i; if the period of the carry pixel in the first row of pixels is not i, add 1 to m to update i, and return to the step of determining whether the period of the carry pixel in the first row of pixels in the target pixel block is i until the size of the first pixel block is determined; and determine the pattern of the first pixel block according to the size of the first pixel block and the position of the carry pixel.
[0131] Optionally, the first determining module 12 is configured to detect the positions of the carry pixels corresponding to multiple frames of the debugging image of the target gray scale.
[0132] Optionally, the first adjusting module 13 is configured to acquire an overlap carry pixel in a dithering pattern of a pixel dithering algorithm adopted by the Tcon board and overlapping with a carry pixel of the image processing algorithm, wherein the gray scale value of the carry pixel is a next gray scale of the target gray scale; and adjust at least part of the overlap carry pixel to a non-carry pixel for the dithering pattern of the pixel dithering algorithm adopted by the Tcon board.
[0133] Optionally, the image processing device 10 further comprises:
[0134] a receiving module configured to receive a to-be-displayed image transmitted by the system-side chip;
[0135] a driving module configured to process the to-be-displayed image by using the adjusted dithering pattern and drive a display panel of the display device to display the processed image.
[0136] Optionally, the image output by the system-side chip is an image with a first bit depth, and the image capable of being processed by the Tcon board is an image with a second bit depth, wherein the first bit depth is greater than the second bit depth.
[0137] Please refer to Figure 17 The embodiment of the present application also provides a display device 20, which comprises a processor 21, a memory 22, a computer program stored in the memory 22 and executable on the processor 21, and the computer program is executed by the processor 21 to realize each process of the above-mentioned image processing method embodiment and achieve the same technical effect. To avoid repetition, details are not repeated here.
[0138] The embodiment of the present application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize each process of the above-mentioned image processing method embodiment and achieve the same technical effect. To avoid repetition, details are not repeated here. The computer readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0139] The embodiment of the present application also provides a computer program product, which comprises computer instructions, and the computer instructions are executed by a processor to realize each process of the above-mentioned Figure 6 The embodiment of the present application also provides a computer program product, which comprises computer instructions, and the computer instructions are executed by a processor to realize each process of the above-mentioned
[0140] It should be noted that, in this document, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0141] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, also can be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of software product, and the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a plurality of instructions to make a terminal (may be a mobile phone, computer, server, air conditioner, or network equipment, etc.) execute the method described in various embodiments of the present application.
[0142] The embodiments of the present application are described above in conjunction with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative, not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims, which all belong to the protection of the present application.
Claims
1. An image processing method, characterized by, The method comprises the following steps: A Tcon board of a display device acquires a target gray scale debugging image transmitted by a system terminal chip of the display device; The Tcon board determines the position of a carry pixel of an image processing algorithm used by the system terminal chip according to the gray scale data in the target gray scale debugging image, wherein the image processing algorithm performs carry processing on part of the pixels in the debugging image when processing the debugging image; The Tcon board adjusts the carry pixel in a dithering pattern of a pixel dithering algorithm used by the Tcon board according to the position of the carry pixel of the image processing algorithm, and obtains an adjusted dithering pattern.
2. The image processing method of claim 1, wherein, The target gray scale includes one or more gray scales in 0~(2 b -1) gray scales, wherein b is a color depth bit number supported by a system end chip of the display device.
3. The image processing method of claim 1, wherein, The Tcon board determines the position of the carry pixel of the image processing algorithm used by the system terminal chip according to the gray scale data in the target gray scale debugging image, comprising: The Tcon board detects whether the target gray scale debugging image contains a carry pixel other than a non-carry pixel, wherein the gray scale value of the non-carry pixel is the target gray scale, and the gray scale value of the carry pixel is the next gray scale of the target gray scale; If the pixel in the target gray scale debugging image contains the carry pixel, the Tcon board determines that the target gray scale debugging image is an image processed by the image processing algorithm.
4. The image processing method of claim 1 or 3, characterized by, The Tcon board determines the position of the carry pixel of the image processing algorithm used by the system terminal chip according to the gray scale data in the target gray scale debugging image, comprising: The Tcon board acquires the gray scale values of each pixel in a target pixel block in the target gray scale debugging image; The Tcon board acquires the positions of the non-carry pixel and the carry pixel in the target pixel block, wherein the gray scale value of the non-carry pixel is the target gray scale, and the gray scale value of the carry pixel is the next gray scale of the target gray scale; The Tcon board determines a first pixel block used by the image processing algorithm according to the position of the carry pixel in the target pixel block, wherein the image processing algorithm processes the debugging image by taking the first pixel block as a sliding window, and the first pixel block includes the position of the carry pixel.
5. The image processing method of claim 4, wherein, The Tcon board determines the first pixel block used by the image processing algorithm according to the position of the carry pixel in the target pixel block, comprising: The Tcon board judges whether the period of a carry-in pixel in a first row of pixels in the target pixel block is i, i = 2 m wherein m is a number greater than or equal to 2. If the period of the carry pixel in the first row of pixels is i, the Tcon board sequentially judges whether the period of the pixel in the 2-i row is i, and if yes, determines the size of the first pixel block as i*i; If the period of the carry pixel in the first row of pixels is not i, the Tcon board adds 1 to i to update i, and returns to the step of judging whether the period of the carry pixel in the first row of pixels in the target pixel block is i until the size of the first pixel block is determined; The Tcon board determines the pattern of the first pixel block according to the size of the first pixel block and the position of the carry pixel.
6. The image processing method of claim 1, wherein, The Tcon board determines the position of the carry pixel of the image processing algorithm used by the system terminal chip according to the gray scale data in the target gray scale debugging image, comprising: The Tcon board detects the positions of carry pixels corresponding to the multiple frames of the target gray scale debug images.
7. The image processing method of claim 1, wherein, The Tcon board adjusts carry pixels in a dithering pattern of a pixel dithering algorithm adopted by the Tcon board according to the positions of the carry pixels of the image processing algorithm, including: The Tcon board acquires overlapping carry pixels in the dithering pattern of the pixel dithering algorithm adopted by the Tcon board, which overlap with the carry pixels of the image processing algorithm; wherein the gray scale value of the carry pixels is the next gray scale of the target gray scale. For the dithering pattern of the pixel dithering algorithm adopted by the Tcon board, the Tcon board adjusts at least part of the overlapping carry pixels to non-carry pixels.
8. The image processing method of claim 1, wherein, Further comprising: The Tcon board receives a to-be-displayed image transmitted by the system-side chip; The Tcon board processes the to-be-displayed image by using the adjusted dithering pattern, and drives the display panel of the display device to display the processed image.
9. The image processing method of claim 1, wherein, The image output by the system-side chip is an image with a first bit depth, and the image that the Tcon board can process is an image with a second bit depth, wherein the first bit depth is greater than the second bit depth.
10. An image processing apparatus characterized by comprising: Comprising: A first acquisition module configured to acquire a target gray scale debug image transmitted by a system-side chip of a display device; A first determination module configured to determine the positions of carry pixels of an image processing algorithm adopted by the system-side chip according to gray scale data in the target gray scale debug image, wherein the image processing algorithm performs carry processing on part of the pixels in the debug image when processing the debug image; A first adjustment module configured to adjust carry pixels in a dithering pattern of a pixel dithering algorithm adopted by a Tcon board of the display device according to the positions of the carry pixels of the image processing algorithm, to obtain an adjusted dithering pattern.
11. A display device, characterized by comprising: Comprising: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the image processing method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer readable storage medium, and the computer program, when executed by a processor, implements the steps of the image processing method according to any one of claims 1 to 9.
13. A computer program product, characterised in that, Computer instructions are included, and the computer instructions, when executed by a processor, implement the steps of the image processing method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Liquid crystal display and frame rate control method thereof
CN103377629A
High-quality binary stripe generation method based on multi-objective optimization jitter algorithm
CN111141232A