A control method, device and storage medium for low gray display of LED display screen
By establishing the mapping relationship between the low gray compensation coordinate system and the image coordinate system, the pixels are periodically processed for grayscale compensation, which solves the problem that the existing LED driver IC cannot effectively display 16-bit video data and improves the grayscale of the LED display. Display accuracy and reduced color distortion.
Patent Information
- Application Number
- CN202110491636.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-06
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-05-06
AI Technical Summary
Existing LED driver ICs use a 14-bit counter, resulting in a maximum grayscale level of 14 bits, which cannot effectively display 16-bit video data, resulting in color distortion.
The low-gray compensation method is used to establish the mapping relationship between the low-gray compensation coordinate system and the image coordinate system, periodically process pixel points, and perform gray-scale compensation to reduce gray-scale missing and improve the gray-scale accuracy of the display.
Through the grayscale compensation algorithm, the impact of the lack of grayscale on the color distortion of the displayed image is reduced, and the grayscale display accuracy of the LED display is improved.
Smart Images

Figure CN115311985B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of LED display screen display control, and in particular relates to a control method, device and storage medium for low-gray display of an LED display screen. Background Art
[0002] At present, most of the high-resolution LED displays on the market use LED driver circuits to accurately control each lamp bead on the LED display. These driver circuits are composed of electronic components such as LED driver ICs and line tubes and their peripheral circuits. Each LED driver IC generally has 16 output channels, and can convert serial input data into corresponding output currents through the internal 16-bit register to control the LED lamp beads to display different colors. When a certain number of LED lamp beads are controlled by cascaded LED driver ICs, different color information is displayed according to the image information of the video source, forming a frame. When the frame rate reaches a certain speed, it constitutes a video. Among them, the LED driver IC needs to be continuously fed with 16-bit video data, and the internal comparator and 14-bit counter determine the grayscale. The output current of the 16 channels is adjusted by PWM to show the color change of 14-bit grayscale. Therefore, since a 14-bit counter is used, the LED driver IC will convert the 16-bit video data into 14-bit grayscale colors.
[0003] Since the LED driver IC uses a 14-bit counter, the maximum grayscale level is 14 bits. When the video data input to the LED driver IC is 16 bits, the output grayscale level can only reach 14 bits at most. After PWM modulation, the LED drive current is less than the LED drive current corresponding to the actual video data, causing color distortion. Summary of the invention
[0004] The object of the present invention is to provide a control method and device for low-gray display of an LED display screen and a storage medium thereof to solve the above-mentioned technical problems.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] An embodiment of the present invention provides a method for controlling low gray display of an LED display screen, the method comprising:
[0007] Starting from the origin of the image coordinate system, several pixels are used as an element of the low gray compensation module;
[0008] Taking the first pixel of each element as the origin, establish the pixel coordinate system in each element;
[0009] Determine the coordinate value and pixel value of the pixel in the low gray compensation coordinate system;
[0010] Establishing a mapping relationship between the low gray compensation coordinate system and the image coordinate system;
[0011] Assign initial values to the low gray compensation coordinate system and the video synchronization signal counter;
[0012] When the rising edge of the video synchronization signal is valid, the entire low-gray compensation coordinate system is traversed;
[0013] Count each video synchronization signal; iterate when the rising edge of the video synchronization signal is valid;
[0014] The pixel points in each element are processed one pixel per frame in sequence with several frames as a cycle, and new values are assigned to several pixels in the element accordingly.
[0015] Preferably, the number of the plurality of pixels is equal to the number of the plurality of frames.
[0016] Preferably, starting from the origin of the image coordinate system, every four pixels serve as an element of the low gray compensation module, starting from the origin (0, 0) of the image coordinate system (X, Y), every four pixels serve as an element of the low gray compensation module, and the coordinates of the element are (n, m).
[0017] Preferably, the pixel coordinate system in each element is established with the first pixel point of each element as the origin, and the pixel coordinate system in each element is established with the first pixel point of each element as the origin, and the pixel coordinate system is (x, y).
[0018] Preferably, determining the coordinate value and pixel value of the pixel in the low gray compensation coordinate system is to determine the coordinate value of the pixel in the low gray compensation coordinate system as (n, m, x, y), and the pixel value Data (n, m, x, y) = D (X, Y).
[0019] Preferably, the establishing of the mapping relationship between the low gray compensation coordinate system and the image coordinate system is to establish a mapping relationship between the low gray compensation coordinate system (n, m, x, y) and the image coordinate system (X, Y); the mapping relationship between the low gray compensation coordinate system (n, m, x, y) and the image coordinate system (X, Y) is:
[0020] n=X>>1, m=Y>>1, x=X[0], y=Y[0], that is, X=(n<<1)+x, Y=(m<<1)+y.
[0021] Preferably, the initialization of the low gray compensation coordinate system and the video synchronization signal counter is power-on initialization, and initialization of n, m, x, y and the video synchronization signal counter cnt is performed, n=0, m=0, x=0, y=0, [1:0]cnt=3.
[0022] Preferably, the pixel points in each element are processed one pixel point in each frame in sequence with a period of several frames, and new values are assigned to the several pixels in the element accordingly, which is to process one pixel point in each frame in sequence with a period of four frames;
[0023] When cnt == 0, the value of the first pixel in all elements is determined, and new values are assigned to the four pixels in the element accordingly;
[0024] When cnt==1, cnt==2, cnt==3, the values of the 2nd, 3rd, and 4th pixels in all elements are judged respectively, and new values are assigned to the 4 pixels in the element accordingly.
[0025] Specifically, when cnt==1, cnt==2, cnt==3, the values of the 2nd, 3rd, and 4th pixels in all elements are judged respectively, and new values are assigned to the 4 pixels in the element accordingly.
[0026] When cnt == 1, the value of the second pixel in all elements is determined;
[0027] When cnt == 2, the value of the third pixel in all elements is determined;
[0028] When cnt == 3, the value of the 4th pixel in all elements is judged.
[0029] An embodiment of the present invention also provides a control device for low gray display of an LED display screen, the device is used to implement a control method for low gray display of an LED display screen according to any one of claims 1 to 8 of the present invention; the device comprises:
[0030] Initialization module, used to return to the origin (0, 0) of the image coordinate system (X, Y), starting from the origin (0, 0) of the image coordinate system (X, Y); also used to initialize the power-on module, assigning initial values to n, m, x, y and video synchronization signal counter cnt, n = 0, m = 0, x = 0, y = 0, [1:0] cnt = 3;
[0031] A mapping module is used to take every four pixels as an element of a low gray compensation module, the coordinates of the element are (n, m); take the first pixel of each element as the origin, establish a pixel coordinate system in each element, the pixel coordinate system is (x, y); the coordinates of the pixel in the low gray compensation coordinate system are (n, m, x, y), and the pixel value Data (n, m, x, y) = D (X, Y); establish a mapping relationship between the low gray compensation coordinate system (n, m, x, y) and the image coordinate system (X, Y);
[0032] The low gray compensation coordinate module is used to start traversing the entire low gray compensation coordinate system (n, m, x, y) when the rising edge of the video synchronization signal VSYNC is valid; count each video synchronization signal; when the rising edge of the video synchronization signal VSYNC is valid, [1:0]cnt=cnt+1; process one pixel point (x, y) in each element (n, m) in sequence in a cycle of four frames per frame;
[0033] The judgment module is used to judge the value of a certain pixel (p, q, 0, 0) when the video synchronization signal count cnt==0, and perform low gray compensation on (p, q, 0, 0); when a certain pixel value Data (p, q, 0, 0)==0, no compensation is performed; when cnt==1, cnt==2, cnt==3, the values of the 2nd, 3rd, and 4th pixels in all elements are judged respectively;
[0034] The pixel assignment module is used to judge the values of the 2nd, 3rd and 4th pixels in all elements respectively when cnt==1, cnt==2 and cnt==3, and assign new values to the 4 pixels in the element accordingly.
[0035] An embodiment of the present invention application further provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements a control method, device and system method for low-gray display of an LED display screen as described in any one of claims 1-8.
[0036] The present invention provides a control method, device and system for low-gray display of an LED display screen. Through grayscale compensation, the minimum grayscale color that an LED driver IC can achieve is periodically displayed on a plurality of pixel points. After the data before being sent to the LED driver IC passes through the grayscale compensation algorithm, low-gray compensation will be performed on the grayscale that the LED driver IC cannot display, thereby reducing the color distortion caused by the lack of grayscale on the displayed image. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A flow chart of a method for controlling low gray display on an LED display screen according to an embodiment of the present invention;
[0038] Figure 2 A schematic diagram of the mapping relationship between a low gray compensation coordinate system (n, m, x, y) and an image coordinate system (X, Y) of a method for controlling low gray display on an LED display screen according to another embodiment of the present invention;
[0039] Figure 3 A method for controlling low gray display of an LED display screen according to another embodiment of the present invention, a schematic diagram when cnt==1;
[0040] Figure 4 A method for controlling low gray display of an LED display screen according to another embodiment of the present invention, a schematic diagram when cnt==2;
[0041] Figure 5 A method for controlling low gray display of an LED display screen according to another embodiment of the present invention, a schematic diagram when cnt==3;
[0042] Figure 6 This is a structural schematic diagram of a low-gray display device on an LED display screen according to another embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to be able to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0044] See also Figure 1 , Figure 1 A flowchart of a method for controlling low-gray display on an LED display screen according to an embodiment of the present invention; a method, device and system method for controlling low-gray display on an LED display screen, the method comprising:
[0045] Step S110, starting from the origin of the image coordinate system, taking a number of pixels as an element of a low gray compensation module;
[0046] Specifically, starting from the origin (0, 0) of the image coordinate system (X, Y), every four pixels are used as an element of the low gray compensation module, and the coordinates of the element are (n, m);
[0047] Step S120, taking the first pixel point of each element as the origin, establishing a pixel coordinate system in each element;
[0048] Specifically, the pixel coordinate system in each element is established with the first pixel point of each element as the origin, and the pixel coordinate system is (x, y);
[0049] Step S130, determining the coordinate value and pixel value of the pixel in the low gray compensation coordinate system;
[0050] Specifically, the coordinate value of the pixel in the low gray compensation coordinate system is determined to be (n, m, x, y), and the pixel value Data (n, m, x, y) = D (X, Y);
[0051] Step S140, establishing a mapping relationship between the low gray compensation coordinate system and the image coordinate system;
[0052] Specifically, a mapping relationship between the low gray compensation coordinate system (n, m, x, y) and the image coordinate system (X, Y) is established; Figure 2 As shown, the mapping relationship between the low gray compensation coordinate system (n, m, x, y) and the image coordinate system (X, Y) is:
[0053] n=X>>1,m=Y>>1,x=X[0],y=Y[0],that is, X=(n<<1)+x,Y=(m<<1)+y,each square is a pixel:
[0054] Step S150, assigning initial values to the low gray compensation coordinate system and the video synchronization signal counter;
[0055] Specifically, power-on initialization assigns initial values to n, m, x, y and video synchronization signal counter cnt, n=0, m=0, x=0, y=0, [1:0]cnt=3;
[0056] Step S160: when the rising edge of the video synchronization signal is valid, traverse the entire low gray compensation coordinate system;
[0057] Specifically, when the rising edge of the video synchronization signal VSYNC is valid, the entire low gray compensation coordinate system (n, m, x, y) begins to be traversed;
[0058] Step S170, counting each video synchronization signal; when the rising edge of the video synchronization signal is valid, iterating;
[0059] Specifically, count each video synchronization signal; when the rising edge of the video synchronization signal VSYNC is valid, [1:0]cnt=cnt+1;
[0060] Step S180, taking a number of frames as a cycle, processing one pixel point in each element in sequence in each frame, and assigning new values to a number of pixels in the element accordingly.
[0061] For example, the pixel points (x, y) in each element (n, m) are processed one pixel point per frame in sequence with four frames as a cycle; taking the four pixel points (p, q, 0, 0), (p, q, 0, 1), (p, q, 1, 0), (p, q, 1, 1) in the element (p, q), that is, (Xp, Yq), (Xp, Yq+1), (Xp+1, Yq), (Xp+1, Yq+1) as an example, when Data(p, q, 0, 0), Data(p, q, 0, 1), Data(p, q, 1, 0), Data(p, q, 1, 1) are all less than 4, then:
[0062] When cnt == 0, the value of the first pixel in all elements is determined, and new values are assigned to the four pixels in the element accordingly;
[0063] For example, when the video synchronization signal count cnt==0, the value of Data(p, q, 0, 0) is determined, and low gray compensation is performed on (p, q, 0, 0); when Data(p, q, 0, 0)==0, no compensation is performed;
[0064] When cnt==1, cnt==2, cnt==3, the values of the 2nd, 3rd, and 4th pixels in all elements are judged respectively, and new values are assigned to the 4 pixels in the element accordingly;
[0065] For example, Figure 3 As shown, when Data(p, q, 0, 0)==1, a new value is assigned to D(Xp, Yq), D(Xp, Yq)=4, where the black block indicates that the pixel point is assigned a new value of 4;
[0066] For example, Figure 4 As shown, when Data(p, q, 0, 0)==2, new values are assigned to D(Xp, Yq) and D(Xp+1, Yq+1), D(Xp, Yq)=4, D(Xp+1, Yq+1)=4;
[0067] For example, Figure 5 As shown, when Data(p, q, 0, 0)==3, new values are assigned to D(Xp, Yq), D(Xp, Yq+1) and D(Xp+1, Yq+1), D(Xp, Yq)=4, D(Xp, Yq+1)=4.
[0068] In some optional embodiments, the number of the plurality of pixels is equal to the number of the plurality of frames.
[0069] An embodiment of the present invention also provides a control device for low gray display of an LED display screen, and the device is used to implement a control method for low gray display of an LED display screen as described in any embodiment of the present invention. Figure 6 , Figure 6 This is a schematic diagram of a control device for low gray display on an LED display screen according to an embodiment of the present invention; the device comprises:
[0070] Initialization module 10, used for returning to the origin of the image coordinate system, starting from the origin of the image coordinate system; also used for power-on initialization, assigning initial values to the low gray compensation coordinate system and the video synchronization signal counter;
[0071] For example, the origin (0, 0) of the image coordinate system (X, Y) is returned, and the origin (0, 0) of the image coordinate system (X, Y) is started; it is also used for power-on module initialization, and the low gray compensation coordinate system (n, m, x, y) and the video synchronization signal counter (cnt) are assigned initial values, n = 0, m = 0, x = 0, y = 0, [1:0] cnt = 3;
[0072] A mapping module 12 is used to use a plurality of pixel points as an element of a low gray compensation module; establish a pixel coordinate system in each element with the first pixel point of each element as the origin; determine the coordinate value and pixel value of the pixel in the low gray compensation coordinate system; and establish a mapping relationship between the low gray compensation coordinate system and the image coordinate system;
[0073] For example, every four pixels are used as an element of the low gray compensation module, and the coordinates of the element are (n, m); the first pixel of each element is used as the origin, and the pixel coordinate system in each element is established, and the pixel coordinate system is (x, y); the coordinates of the pixel in the low gray compensation coordinate system are (n, m, x, y), and the pixel value Data (n, m, x, y) = D (X, Y); a mapping relationship between the low gray compensation coordinate system (n, m, x, y) and the image coordinate system (X, Y) is established;
[0074] The low gray compensation coordinate module 14 is used to traverse the entire low gray compensation coordinate system when the rising edge of the video synchronization signal is valid;
[0075] For example, when the rising edge of the video synchronization signal VSYNC is valid, the entire low gray compensation coordinate system (n, m, x, y) is traversed; each video synchronization signal is counted; when the rising edge of the video synchronization signal VSYNC is valid, [1:0]cnt=cnt+1; the pixel point (x, y) in each element (n, m) is processed one pixel point per frame in sequence with four frames as a cycle;
[0076] A determination module 16, configured to determine a pixel value according to a video synchronization signal count;
[0077] For example, when the video synchronization signal count cnt==0, the value of a certain pixel (p, q, 0, 0) is judged to compensate for low gray of (p, q, 0, 0); when the value of a certain pixel Data(p, q, 0, 0)==0, no compensation is made; when cnt==1, cnt==2, cnt==3, the values of the 2nd, 3rd, and 4th pixels in all elements are judged respectively;
[0078] The pixel assignment module 18 is used to respectively assign new values to the pixels in the element according to the judgment results of the values of the pixels in all the elements; for example, when cnt==1, cnt==2, cnt==3, the values of the second, third, and fourth pixels in all the elements are judged respectively, and the four pixels in the element are assigned new values accordingly. Specifically, when the video synchronization signal count cnt==1, the video synchronization signal count cnt==2, and the video synchronization signal count cnt==3, the values of the second, third, and fourth pixels in all the elements are judged respectively, and the four pixels in the element are assigned new values accordingly.
[0079] An embodiment of the present invention application further provides a control system for low-gray display of an LED display screen, and the system is used to implement a control method for low-gray display of an LED display screen described in any embodiment of the present invention application.
[0080] An embodiment of the present invention application also provides an electronic device, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and when called and executed by the processor, the processor-executable instructions prompt the processor to: implement a control method, device and system method for low-gray display of an LED display screen as described in any embodiment of the present invention application.
[0081] An embodiment of the present invention application further provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements a method for controlling low-gray display of an LED display screen as described in any of the above embodiments.
[0082] If the components / modules / units integrated in the system / computer device are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned implementation method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method implementations when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electrical carrier signals and telecommunication signals.
[0083] Matters not covered by the present invention are known technologies.
[0084] In the several specific embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system implementation described above is only illustrative, for example, the division of the components is only a logical function division, and there may be other division methods in actual implementation.
[0085] In addition, each functional module / component in each embodiment of the present invention may be integrated into the same processing module / component, or each module / component may exist physically separately, or two or more modules / components may be integrated into the same module / component. The above-mentioned integrated modules / components may be implemented in the form of hardware or in the form of hardware plus software functional modules / components.
[0086] It is obvious to those skilled in the art that the embodiments of the present invention are not limited to the details of the above exemplary embodiments, and that the embodiments of the present invention can be implemented in other specific forms without departing from the spirit or basic features of the embodiments of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the embodiments of the present invention is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the embodiments of the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units, modules or devices stated in the system, device or terminal claims can also be implemented by the same unit, module or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0087] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be based on the attached claims.
Claims
1. A method for controlling low gray display of an LED display screen, characterized in that: The method comprises: Starting from the origin of the image coordinate system, several pixels are used as an element of the low gray compensation module; Taking the first pixel of each element as the origin, establish the pixel coordinate system in each element; Determine the coordinate value and pixel value of the pixel in the low gray compensation coordinate system; Establishing a mapping relationship between the low-gray compensation coordinate system and the image coordinate system; Assign initial values to the low gray compensation coordinate system and the video synchronization signal counter; When the rising edge of the video synchronization signal is valid, the entire low-gray compensation coordinate system is traversed; Count each video synchronization signal; iterate when the rising edge of the video synchronization signal is valid; The pixel points in each element are processed one pixel per frame in sequence with several frames as a cycle, and new values are assigned to several pixels in the element accordingly.
2. The control method for low gray display of LED display screen according to claim 1, characterized in that: The number of the plurality of pixels is equal to the number of the plurality of frames.
3. The control method for low gray display of LED display screen according to claim 1, characterized in that: Starting from the origin of the image coordinate system, every four pixels serve as an element of the low gray compensation module. Starting from the origin (0, 0) of the image coordinate system (X, Y), every four pixels serve as an element of the low gray compensation module, and the coordinates of the element are (n, m).
4. The control method for low gray display of LED display screen according to claim 3, characterized in that: The pixel coordinate system in each element is established by taking the first pixel point of each element as the origin. The pixel coordinate system in each element is established by taking the first pixel point of each element as the origin. The pixel coordinate system is (x, y).
5. The control method for low gray display of LED display screen according to claim 4, characterized in that: The determining of the coordinate value and pixel value of the pixel in the low-gray compensation coordinate system is to determine that the coordinate value of the pixel in the low-gray compensation coordinate system is (n, m, x, y), and the pixel value Data (n, m, x, y) = D (X, Y).
6. The method for controlling low gray display of an LED display screen according to claim 5, characterized in that: The mapping relationship between the low gray compensation coordinate system and the image coordinate system is established by establishing a mapping relationship between the low gray compensation coordinate system (n, m, x, y) and the image coordinate system (X, Y); the mapping relationship between the low gray compensation coordinate system (n, m, x, y) and the image coordinate system (X, Y) is: n=X>>1, m=Y>>1, x=X[0], y=Y[0], that is, X=(n<<1)+x, Y=(m<<1)+y.
7. The method for controlling low gray display of an LED display screen according to claim 6, characterized in that: The initialization of the low gray compensation coordinate system and the video synchronization signal counter is a power-on initialization, and the initialization of n, m, x, y and the video synchronization signal counter cnt is n=0, m=0, x=0, y=0, [1:0]cnt=3.
8. The method for controlling low gray display of an LED display screen according to claim 7, characterized in that: The pixel points in each element are processed one pixel point in each frame in sequence with a number of frames as a cycle, and new values are assigned to the pixels in the element accordingly, that is, the pixel points (x, y) in each element (n, m) are processed one pixel point in each frame in sequence with four frames as a cycle; When cnt == 0, the value of the first pixel in all elements is determined, and new values are assigned to the four pixels in the element accordingly; When cnt==1, cnt==2, cnt==3, the values of the 2nd, 3rd, and 4th pixels in all elements are judged respectively, and new values are assigned to the 4 pixels in the element accordingly.
9. A control device for low gray display of LED display screen, characterized in that: The device is used to implement a control method for low-gray display of an LED display screen according to any one of claims 1 to 8; the device comprises: Initialization module, used to return to the origin (0, 0) of the image coordinate system (X, Y), starting from the origin (0, 0) of the image coordinate system (X, Y); also used to initialize the power-on module, assigning initial values to n, m, x, y and video synchronization signal counter cnt, n = 0, m = 0, x = 0, y = 0, [1:0] cnt = 3; A mapping module is used to take every four pixels as an element of a low gray compensation module, the coordinates of the element are (n, m); take the first pixel of each element as the origin, establish a pixel coordinate system in each element, the pixel coordinate system is (x, y); the coordinates of the pixel in the low gray compensation coordinate system are (n, m, x, y), and the pixel value Data (n, m, x, y) = D (X, Y); establish a mapping relationship between the low gray compensation coordinate system (n, m, x, y) and the image coordinate system (X, Y); The low gray compensation coordinate module is used to start traversing the entire low gray compensation coordinate system (n, m, x, y) when the rising edge of the video synchronization signal VSYNC is valid; count each video synchronization signal; when the rising edge of the video synchronization signal VSYNC is valid, [1:0]cnt=cnt+1; process one pixel point (x, y) in each element (n, m) in sequence in a cycle of four frames per frame; The judgment module is used to judge a certain pixel value Data(p, q, 0, 0) when the video synchronization signal count cnt==0, and perform low gray compensation on (p, q, 0, 0); when Data(p, q, 0, 0)==0, no compensation is performed; when cnt==1, cnt==2, cnt==3, the values of the 2nd, 3rd, and 4th pixels in all elements are judged respectively; The pixel assignment module is used to judge the values of the 2nd, 3rd and 4th pixels in all elements respectively when cnt==1, cnt==2 and cnt==3, and assign new values to the 4 pixels in the element accordingly.
10. A storage medium, characterized in that: A computer program is stored thereon, wherein when the computer program is executed by a processor, the control method for low-gray display of an LED display screen as described in any one of claims 1-8 is implemented.
Citation Information
Patent Citations
Image correction method based on LED splicing display screen and image sensor
CN104882098A
Driving method, device, system and equipment of LED display screen, and storage medium
CN111445839A
Display method and display device
US20190139194A1
