Image cutting method and electronic equipment
By retrieving and sending the target image after the driver chip receives the image cutting command, the problem of abnormal image cutting is solved, the detection accuracy is improved, the normal display of the display panel is ensured, and the product yield loss is reduced.
Patent Information
- Application Number
- CN202410675854.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-09-17
AI Technical Summary
During the display module detection process, abnormal image cutting caused the camera to take wrong pictures, thus making error compensation and causing product yield loss.
After the driver chip receives the image cutting command, it retrieves and sends the target image to the display panel to avoid the loss of image data during transmission from the image generator to the driver chip. The internal self-test cutting method or the memory chip is used to retrieve the image. data to ensure data accuracy.
It effectively avoids cutting abnormality, improves the accuracy of detection, ensures the normal display of the display panel, and reduces product yield loss.
Smart Images

Figure CN118658382A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of display technology, and specifically relates to a picture cutting method and an electronic device. Background Art
[0002] At present, when inspecting the display module, the screen needs to be turned on and different types of pictures need to be switched for debugging or inspection. During the current inspection process, there are abnormalities in the cut picture, but the inspection camera does not know that this is an abnormal picture, causing the camera to take an abnormal picture and make an error compensation, causing the originally normal screen to be compensated as an abnormal screen, resulting in a loss of product yield.
[0003] Therefore, it is urgent to solve the problem of abnormal image cutting and improve the accuracy of detection. Summary of the invention
[0004] The present application provides a method for cutting images and an electronic device to solve the problem of abnormal cutting images.
[0005] To solve the above technical problems, a technical solution adopted in the present application is: to provide a display panel cutting method, which is applied to a driving chip, and the method includes: after receiving a cutting instruction, calling the corresponding target image according to the cutting instruction, wherein the cutting instruction is sent by an image generator; sending the target image to the display panel so that the display panel displays the target image.
[0006] Another technical solution adopted in the present application is: a cutting method is also provided, which is applied to an image generator, including: sending a cutting instruction to a driving chip, so that the driving chip retrieves the corresponding target image according to the cutting instruction after receiving the cutting instruction, and sends the target image to a display panel, so that the display panel displays the target image.
[0007] Another technical solution adopted in the present application is: to provide an electronic device, which includes a calling module and a first sending module, wherein the calling module is used to call the corresponding target image according to the cutting instruction after receiving the cutting instruction, wherein the cutting instruction is sent by the image generator; the first sending module is connected to the calling module, and is used to send the target image to the display panel so that the display panel displays the target image.
[0008] Another technical solution adopted in the present application is: to provide an electronic device, which includes a second sending module, used to send a cutting instruction to the driving chip, so that the driving chip can retrieve the corresponding target image according to the cutting instruction after receiving the cutting instruction, and send the target image to the display panel, so that the display panel displays the target image.
[0009] The beneficial effect of the present application is that after receiving the picture cutting instruction, the driver chip in the present application calls up the corresponding target image according to the picture cutting instruction, and then sends the target image to the display panel so that the display panel displays the target image, which can avoid the loss of image data sent by the image generator to the driver chip and solve the problem of abnormal picture cutting. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0011] Figure 1 It is a flow chart of an embodiment of a method for cutting a picture in the present application;
[0012] Figure 2 yes Figure 1 A schematic structural diagram of an embodiment of the mid-cutting method;
[0013] Figure 3 yes Figure 1 A schematic diagram of a flow chart of an embodiment of step S1 in FIG.
[0014] Figure 4 yes Figure 1 A schematic diagram of another embodiment of step S1;
[0015] Figure 5 It is a flow chart of another embodiment of the image cutting method in the present application;
[0016] Figure 6 It is a flowchart of another embodiment of the image cutting method in the present application;
[0017] Figure 7 It is a flow chart of an embodiment of a method for cutting a picture in the present application;
[0018] Figure 8 It is a structural schematic diagram of an implementation scheme of an electronic device in the present application;
[0019] Fig. 9 is a structural schematic diagram of another embodiment of the electronic device in the present application;
[0020] Fig.10 is a structural schematic diagram of another embodiment of the electronic device in the present application;
[0021] Explanation of reference numerals: 10 / 20 / 30 electronic device; 11 retrieving module; 12 first sending module; 21 second sending module; 31 processor; 32 memory; 33 communication circuit; 40 image generator; 41 driving chip; 42 display panel. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] In order to facilitate the understanding of the content in this application, the technical solution of the image cutting method is introduced. When the display panel is tested, the screen needs to be turned on. At this time, a point screen test system needs to be used, which includes a computer device (commonly known as a "host computer" in the industry), an image generator and a display panel, and the host computer is connected to the display panel via an image generator. During the operation, the computer device sends the image data required for the point screen and various instructions including the image cutting instruction to the image generator. The image generator converts the image data and the image cutting instruction into signals and transmits them to the driver chip in the display panel based on the image data and the image cutting instruction obtained from the computer device. The above signal can be one of mipi, IIC or SPI. The display panel connected to the image generator is controlled by the target application installed therein to switch and display different test screens according to the corresponding timing. For example, the display panel is controlled to display a pure red picture, a pure blue picture, a pure green picture, etc. for 10 seconds each in sequence. During the period when the display panel displays the corresponding pictures, the optical device can perform automatic optical inspection (Automated Optical Inspection, AOI) on the display quality of the panel. When the display quality does not meet the standards, subsequent related processing can be performed.
[0024] At present, data loss is prone to occur during the transmission of image data from the pattern generator (PG) to the driver chip, which causes the driver chip to parse the wrong signal, resulting in abnormal signals sent to the display panel, and abnormal images on the display panel. For example, mobile phones, watches and other consumer display products in the industry currently use the mi pi HS mode to transmit image data, and the signal amplitude of the mi pi HS mode is only 200mv, which is easily affected by hardware link impedance and electromagnetic interference, causing signal attenuation or loss, resulting in data loss and abnormal image display.
[0025] Next, the technical solution in this application is introduced. Figure 1 and Figure 2 The present application provides a cutting method, which is applied to a driver chip 41 and includes:
[0026] S1: After receiving the image cutting instruction, the corresponding target image is retrieved according to the image cutting instruction, wherein the image cutting instruction is sent by the image generator 40.
[0027] Specifically, when the image generator 40 wants to control the display panel 42 to display a new image, the image generator 40 generates a picture cutting instruction and sends it to the driver chip 41. Since different picture cutting instructions correspond to different target images, the driver chip 41 can retrieve the corresponding target image according to the picture cutting instruction.
[0028] S2: Send the target image to the display panel 42 so that the display panel 42 displays the target image.
[0029] Specifically, the driving chip 41 sends the retrieved target image to the display panel 42 , so that the display panel 42 displays the target image.
[0030] From the above content, it can be seen that after receiving the image cutting instruction, the driver chip 41 of the present application retrieves the corresponding target image according to the image cutting instruction. Compared with the related art in which the image generator 40 sends the target image to the driver chip 41, the image cutting method of the present application can avoid the target image from being lost during the transmission from the image generator 40 to the driver chip 41. Therefore, the solution of the present application can avoid the defect of abnormal image cutting.
[0031] See also Figure 3 In step S1, after receiving the image cutting instruction, the step of retrieving the corresponding target image according to the image cutting instruction includes:
[0032] S11: After receiving the picture cutting instruction, parse the picture cutting instruction to obtain the first storage address carried by the picture cutting instruction.
[0033] S12: According to the first storage address, retrieve the internally stored target image.
[0034] Specifically, in this embodiment, the target image corresponding to the image cutting instruction is saved in the driver chip. When the image generator generates the image cutting instruction, it generates the image cutting instruction according to the first saving address where the target image is saved in the driver chip. Therefore, after receiving the image cutting instruction, the driver chip identifies and parses the image cutting instruction to obtain the first saving address. Thereafter, the saved target image can be retrieved from the driver chip according to the first saving address. The above-mentioned image cutting method is the internal self-test (Bist) image cutting method.
[0035] That is to say, this implementation method utilizes the image data inside the driver chip and retrieves the internal target image according to the image cutting instruction, which can avoid the problem of image data loss and realize normal display of the display panel.
[0036] In one embodiment, the target image is a pure grayscale image. Since the driver chip has self-test image data inside, and these self-test image data are pure grayscale image data, the driver chip itself can be used to save the pure grayscale image. When it is necessary to control the display panel to display the pure grayscale image, the driver chip directly retrieves the matching pure grayscale image from itself according to the image cutting instruction, without the need for the image generator to directly send the image, thereby avoiding data loss or abnormality. That is, when cutting the pure grayscale image, the Bi st image cutting method can be used.
[0037] See also Figure 4 In step S1, after receiving the image cutting instruction, the step of retrieving the corresponding target image according to the image cutting instruction also includes:
[0038] S13: After receiving the picture cutting instruction, parse the picture cutting instruction to obtain the second storage address carried by the picture cutting instruction.
[0039] S14: According to the second storage address, the driving chip connects to the interface corresponding to the second storage address with the storage chip, and retrieves the corresponding target image from the storage chip.
[0040] Specifically, in this embodiment, the target image corresponding to the image cutting instruction is stored in a storage chip with which the driving chip can communicate. When the image generator generates the image cutting instruction, it generates the image cutting instruction according to the second storage address where the target image is stored in the storage chip. Therefore, after receiving the image cutting instruction, the driving chip identifies and parses the image cutting instruction to obtain the second storage address, and then connects the corresponding interface between the driving chip and the storage chip according to the second storage address.
[0041] Through this interface, the storage chip transfers the stored image data to the driver chip, thereby retrieving the corresponding target image from the storage chip.
[0042] In one embodiment, the target image is a pure color grayscale image or a Demura positioning map. Specifically, the pure color grayscale image or the Demura positioning map can be stored in a storage chip, and then different interface connections are established between the driver chip and the storage chip. When the corresponding interfaces are connected, the driver chip can retrieve the image data from the storage chip. Among them, the Demura positioning map is a special type of image and the number is very small. Usually, only 1 to 3 Demura positioning maps are needed during the test process. For such very few special images, the corresponding image data can be burned in the storage chip in advance (such as before the storage chip leaves the factory or at a certain stage of the display panel process). When the image is needed for detection, the image generator sends a cutting command to retrieve the image data, realizing ultra-short distance loading from the storage chip to the driver chip, effectively avoiding data loss.
[0043] In a specific application scenario, a pure color grayscale image is stored inside a driver chip, while a demura positioning map is stored in a storage chip. That is to say, when the target image to be displayed by the display panel is a pure color grayscale image, the driver chip directly retrieves the corresponding image from the inside. At this time, since the image is retrieved from the inside, the loss of the image can be effectively avoided. When the target image to be displayed by the display panel is a demura positioning map, the driver chip retrieves the corresponding image from the storage chip. Since the distance between the driver chip and the storage chip is short, data loss can also be effectively avoided.
[0044] In another specific application scenario, the pure color grayscale image and the Demura positioning map are both stored in a storage chip, and the driver chip retrieves the corresponding image from the storage chip.
[0045] See also Figure 5 In one embodiment, before step S2, the method further includes:
[0046] S21: Determine whether the target image is the same as the image to be displayed corresponding to the image cutting instruction.
[0047] Before the driver chip sends the target image to the display panel, it is determined whether the display data corresponding to the target image is the same as the display data corresponding to the image to be displayed corresponding to the image cutting instruction. If they are the same, it is determined that the target image retrieved by the driver chip is accurate and step S2 is executed, otherwise step S3 is executed.
[0048] S3: Return the feedback instruction so that the image generator resends the image cutting instruction after receiving the feedback instruction.
[0049] Specifically, when the target image is different from the image to be displayed corresponding to the cutting instruction, it is determined that the target image retrieved by the driver chip is wrong, and a feedback instruction is returned, so that the image generator resends the cutting instruction after receiving the feedback instruction. The subsequent driver chip re-parses according to the new cutting instruction and re-retrieves the target image.
[0050] In another embodiment, the feedback instruction can be directly transmitted to the host computer, which analyzes the feedback instruction and transmits the instruction to the image generator, so that the image generator resends the image cutting instruction, and the subsequent driver chip re-parses according to the new image cutting instruction and re-calls the target image.
[0051] See also Figure 6 In one embodiment, before step S3, the method further includes:
[0052] S31: Determine whether the number of times the step of retrieving the corresponding target image according to the image cutting instruction has reached a threshold before.
[0053] If it is not reached, the process returns to step S1, and if it is reached, the process proceeds to step S3.
[0054] Specifically, when it is determined that the target image is different from the image to be displayed corresponding to the cutting instruction, the corresponding target image is called again according to the cutting instruction. However, if the target image is still different from the image to be displayed corresponding to the cutting instruction after the corresponding target image is called multiple times according to the cutting instruction, it means that there is a problem with the cutting instruction itself. Only then is the feedback instruction returned to notify the image generator to resend the cutting instruction.
[0055] Compared with directly executing step S3 after the judgment result of step S21 is negative, this embodiment can avoid the phenomenon that the image generator resends the image cutting instruction because the driver chip itself makes an error in parsing the image cutting instruction. And the setting of the number threshold can prevent the whole process from falling into an infinite loop.
[0056] In one embodiment, the number threshold is greater than or equal to 2. For example, the number threshold may be 3, 5, or 10, etc., which is not limited here.
[0057] See also Figure 7 The present application also provides a cutting method, which is applied to an image generator and includes:
[0058] S10: Sending a picture cutting instruction to the driving chip, so that the driving chip retrieves the corresponding target image according to the picture cutting instruction after receiving the picture cutting instruction, and sends the target image to the display panel, so that the display panel displays the target image.
[0059] The image generator sends a picture cutting instruction to the driver chip instead of directly sending image data. After receiving the picture cutting instruction, the driver chip retrieves the corresponding target image and sends the retrieved target image to the display panel for display.
[0060] In one embodiment, in step S10, before sending the image cutting instruction to the driver chip, the process further includes:
[0061] S20: Generate a picture cutting instruction according to a first storage address where the driver chip stores the target image, so that the picture cutting instruction carries the first storage address.
[0062] Specifically, in this embodiment, the target image is stored in the driver chip, and the image generator generates a cutting instruction according to the first storage address where the driver chip stores the target image, so that the cutting instruction carries the first storage address. After receiving the cutting instruction, the driver chip parses it to retrieve the target image stored in the first storage address.
[0063] In one embodiment, the target image is a pure grayscale image, that is, the pure grayscale image is stored in the driver chip for use during testing.
[0064] In another embodiment, in step S10, before sending the image cutting instruction to the driver chip, it also includes:
[0065] S30: Generate a picture cutting instruction according to the second storage address of the target image stored in the storage chip, so that the picture cutting instruction carries the second storage address.
[0066] Specifically, in this embodiment, the target image is stored in the storage chip, and the image generator generates a cutting instruction according to the second storage address of the storage chip storing the target image, so that the cutting instruction carries the second storage address. After receiving the cutting instruction, the driving chip parses it, thereby connecting with the storage chip through the corresponding interface according to the second storage address, and then retrieving the same target image.
[0067] In one embodiment, the target image is a pure grayscale image or a Demura positioning map. Specifically, the target image data corresponding to the pure grayscale image or the Demura positioning map is stored in a storage chip so that the driver chip directly retrieves the target image data from the storage chip to achieve normal display of the display panel.
[0068] See also Figure 8The present application also provides an electronic device 10, which includes a calling module 11 and a first sending module 12, wherein the calling module 11 is used to call the corresponding target image according to the cutting instruction after receiving the cutting instruction, wherein the cutting instruction is sent by the image generator; the first sending module 12 is connected to the calling module 11, and is used to send the target image to the display panel so that the display panel displays the target image.
[0069] Among them, the electronic device 10 in this embodiment can specifically be a driver chip, which executes the method steps executed by the above-mentioned driver chip when working. The detailed method steps can be found in the above-mentioned related content and will not be repeated here.
[0070] See also Fig. 9 The present application also provides an electronic device 20, which includes a second sending module 21, which is used to send a cutting instruction to the driving chip, so that the driving chip can retrieve the corresponding target image according to the cutting instruction after receiving the cutting instruction, and send the target image to the display panel, so that the display panel displays the target image.
[0071] Among them, the electronic device 20 in this embodiment can specifically be an image generator, which executes the method steps executed by the above-mentioned image generator when working. The detailed method steps can be found in the above-mentioned related content, which will not be repeated here.
[0072] See also Fig.10 The present application also provides an electronic device 30, which includes a processor 31, a memory 32 and a communication circuit 33. The processor 31 is coupled to the memory 32 and the communication circuit 33 respectively. The memory 32 stores program data. The processor 31 executes the program data in the memory 32 to implement the steps in any of the methods in the above method embodiments. The electronic device 30 executes the method steps in any of the above implementations when working. The detailed method steps can be found in the above related content and will not be repeated here.
[0073] In addition, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program can be executed by a processor to implement any of the steps in the above method embodiments.
[0074] Among them, the computer-readable storage medium can specifically be a device that can store a computer program, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or it can also be a server that stores the computer program. The server can send the stored computer program to other devices for execution, or it can also run the stored computer program itself.
[0075] The above description is only an embodiment of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for cutting a picture, characterized in that: The method is applied to a driver chip, and the method comprises: After receiving the image cutting instruction, calling the corresponding target image according to the image cutting instruction, wherein the image cutting instruction is sent by the image generator; The target image is sent to a display panel so that the display panel displays the target image.
2. The image cutting method according to claim 1, characterized in that: After receiving the image cutting instruction, the step of retrieving the corresponding target image according to the image cutting instruction includes: After receiving the picture cutting instruction, parsing the picture cutting instruction to obtain a first storage address carried by the picture cutting instruction; According to the first storage address, retrieve the target image stored internally; Preferably, the target image is a pure grayscale image.
3. The image cutting method according to claim 1, characterized in that: After receiving the image cutting instruction, the step of retrieving the corresponding target image according to the image cutting instruction includes: After receiving the picture cutting instruction, parsing the picture cutting instruction to obtain a second storage address carried by the picture cutting instruction; According to the second storage address, the driving chip connects to an interface corresponding to the second storage address with the storage chip, and retrieves the corresponding target image from the storage chip; Preferably, the target image is a pure color grayscale image or a Demura positioning image.
4. The image cutting method according to claim 1, characterized in that: Before sending the target image to a display panel so that the display panel displays the target image, the method further includes: Determine whether the display data corresponding to the target image is the same as the display data corresponding to the image to be displayed corresponding to the image cutting instruction; If they are the same, executing the step of sending the target image to the display panel; Otherwise, a feedback instruction is returned, so that the image generator resends the image cutting instruction after receiving the feedback instruction.
5. The image cutting method according to claim 4, characterized in that: Before the returning feedback instruction, it also includes: Determine whether the number of times the step of retrieving the corresponding target image according to the image cutting instruction is executed before reaches a number threshold; If not reached, return to the step of retrieving the corresponding target image according to the image cutting instruction; If it is reached, the step of returning the feedback instruction is executed, so that the image generator resends the image cutting instruction after receiving the feedback instruction.
6. A method for cutting a picture, characterized in that: The method is applied to an image generator, and the method comprises: A picture cutting instruction is sent to the driving chip, so that the driving chip retrieves the corresponding target image according to the picture cutting instruction after receiving the picture cutting instruction, and sends the target image to the display panel, so that the display panel displays the target image.
7. The image cutting method according to claim 6, characterized in that: Before sending the image cutting instruction to the driver chip, the method further includes: generating the image cutting instruction according to the first storage address where the driver chip stores the target image, so that the image cutting instruction carries the first storage address; Preferably, the target image is a pure grayscale image.
8. The image cutting method according to claim 6, characterized in that: Before sending the image cutting instruction to the driver chip, the method further includes: generating the image cutting instruction according to the second storage address of the target image stored in the storage chip, so that the image cutting instruction carries the second storage address; Preferably, the target image is a pure color grayscale image or a Demura positioning image.
9. An electronic device, characterized in that: The electronic device comprises: A calling module, configured to call a corresponding target image according to a picture cutting instruction after receiving the picture cutting instruction, wherein the picture cutting instruction is sent by the image generator; The first sending module is connected to the calling module and is used for sending the target image to the display panel so that the display panel displays the target image.
10. An electronic device, characterized in that: The electronic device comprises: The second sending module is used to send a picture cutting instruction to the driving chip, so that the driving chip retrieves the corresponding target image according to the picture cutting instruction after receiving the picture cutting instruction, and sends the target image to the display panel, so that the display panel displays the target image.
