A method, apparatus, device and medium for generating a spray-printed image
By acquiring the current and theoretical target point coordinates of the target substrate, determining the compensation parameters, and generating the target raster image, the problems of high cost and low printing quality of inkjet images are solved, and the printing quality of inkjet images is improved without increasing hardware costs.
Patent Information
- Application Number
- CN202310996922.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-09
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2043-08-09
AI Technical Summary
In existing technologies, the generation cost of inkjet-printed images is high and the print quality is low, especially since it is difficult to improve the print quality of inkjet-printed images without increasing hardware costs.
By acquiring the base grid image matched by the target printing equipment, the current target point coordinates and theoretical target point coordinates of the target substrate, the target compensation parameters are determined, the target grid image is generated, and the printing equipment is controlled to perform the printing operation to generate the printing image corresponding to the target substrate.
Without increasing hardware costs, the printing quality of inkjet images has been improved, and the problem of high cost of inkjet image generation has been solved.
Smart Images

Figure CN117067772B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image printing technology, and in particular to a method, apparatus, device, and medium for generating printed images. Background Technology
[0002] Printed circuit boards (PCBs), photovoltaic silicon wafers, or solar panels, which do not have printed background grid lines, typically require printing background grid lines using inkjet printing equipment before actual use. However, since the design image of the inkjet printing equipment usually matches the actual size of the substrate, a alignment algorithm is needed to ensure printing accuracy.
[0003] In the prior art, a charge-coupled device (CCD) camera can be used to capture the coordinates of four target points on the substrate. Combined with the theoretical coordinates of the four target points, a four-point alignment algorithm is used to calculate the correction parameters. Then, the substrate or the design image is rotated using the correction parameters so that the design image matches the actual position of the substrate.
[0004] However, rotating the substrate using correction parameters increases hardware costs, and rotating the design image using correction parameters can reduce the quality of the printed image in some low-resolution applications. Therefore, how to complete the printing of inkjet images without increasing hardware costs and improving the printing quality is a pressing problem that needs to be solved. Summary of the Invention
[0005] This invention provides a method, apparatus, device, and medium for generating inkjet images, which can solve the problems of high generation cost and low printing quality of inkjet images.
[0006] According to one aspect of the present invention, a method for generating an inkjet image is provided, comprising:
[0007] Acquire the base grid image that matches the target printing equipment, the current target point coordinates of the target substrate, and the theoretical target point coordinates;
[0008] The target compensation parameters of the target substrate relative to the base grid image are determined based on the current target coordinates and the theoretical target coordinates.
[0009] The redundant pixel values in the base grid image are determined based on the target compensation parameters and the current target point coordinates of the target substrate, and a target grid image is generated.
[0010] The target printing equipment is controlled to perform printing operations based on the target grid image to generate a target printing image corresponding to the target substrate.
[0011] According to another aspect of the present invention, an apparatus for generating inkjet images is provided, comprising:
[0012] The data acquisition module is used to acquire the base grid image that matches the target inkjet printing equipment, the current target point coordinates of the target substrate, and the theoretical target point coordinates;
[0013] The parameter calculation module is used to determine the target compensation parameters of the target substrate relative to the base grid image based on the current target coordinates and the theoretical target coordinates.
[0014] A raster image generation module is used to determine the redundant pixel values in the basic raster image based on the target compensation parameters and the current target point coordinates of the target substrate, and generate a target raster image.
[0015] The inkjet image generation module is used to control the target inkjet equipment to perform inkjet operations based on the target grid image to generate a target inkjet image corresponding to the target substrate.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] At least one processor; and
[0018] A memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the inkjet image generation method according to any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the method for generating inkjet images according to any embodiment of the present invention.
[0021] The technical solution of this invention determines the target compensation parameters of the target substrate relative to the base grid image based on the current target point coordinates and the theoretical target point coordinates of the target substrate. Then, it determines the redundant pixel values in the base grid image based on the target compensation parameters and the current target point coordinates of the target substrate to generate a target grid image. Finally, it controls the target inkjet printing equipment to perform inkjet printing operations based on the target grid image to generate a target inkjet image corresponding to the target substrate. This solves the problems of high generation cost and low printing quality of inkjet images, and enables the printing of inkjet images without increasing hardware costs, thereby improving the printing quality of inkjet images.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a flowchart of a rotating substrate provided according to existing technology;
[0025] Figure 2 This is a flowchart of a rotating design image provided based on existing technology;
[0026] Figure 3 This is a schematic diagram of a broken line image provided by existing technology;
[0027] Figure 4 This is a flowchart of a method for generating inkjet images according to Embodiment 1 of the present invention;
[0028] Figure 5 This is a flowchart of a method for generating an inkjet image according to Embodiment 2 of the present invention;
[0029] Figure 6 This is a flowchart of an optional inkjet image generation method provided according to Embodiment 2 of the present invention;
[0030] Figure 7 This is a schematic diagram of the structure of an image generation device according to Embodiment 3 of the present invention;
[0031] Figure 8 This is a schematic diagram of the structure of an electronic device that implements the inkjet image generation method of the present invention. Detailed Implementation
[0032] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "objective," "basic," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0034] When using inkjet printing equipment to print images onto a substrate, the design image of the printing equipment is usually consistent with the actual size of the substrate. Therefore, the printing accuracy needs to be ensured through alignment algorithms.
[0035] Specifically, the four target point coordinates on the substrate can be captured by a CCD camera and combined with the theoretical four target point coordinates to perform a four-point alignment algorithm to obtain the correction parameters. Then, the substrate or the design image can be rotated using the correction parameters to match the actual position of the design image with the substrate.
[0036] Figure 1 This is a flowchart of a rotating substrate provided according to existing technology. Specifically, Figure 1 The left and middle images show the substrate in its initial position. By adding a rotation axis and rotating the substrate to align it with the design image, the desired result can be obtained. Figure 1 The substrate, rotated according to the correction parameters in the middle image, is then used by the inkjet printing equipment to perform the inkjet printing operation, resulting in... Figure 1 The right-hand image shows the substrate after grid lines have been printed.
[0037] Figure 2 This is a flowchart of a rotating design image provided based on existing technology. Specifically, Figure 2 The left-middle image shows the substrate in its initial position. By rotating the design image to align it with the substrate, we can obtain... Figure 2 The intermediate image is the design image after being rotated according to the correction parameters, and then the printing equipment performs the printing operation to obtain... Figure 2 The right-hand image shows the substrate after grid lines have been printed.
[0038] However, rotating the substrate using correction parameters requires an additional rotation axis, increasing hardware costs. While rotating the design image using correction parameters eliminates the need for a rotation axis, saving on equipment hardware costs, rotating the design image introduces pixel steps in horizontal and vertical lines; the larger the rotation angle, the more numerous the steps. In some low-resolution applications with larger ink dot pitch, these steps can cause line breaks, resulting in printing defects on the substrate such as… Figure 3 The broken lines shown in the image reduce the printing quality of the inkjet image. Therefore, to address the problems of high generation cost and low printing quality of inkjet images, this invention provides a method for generating inkjet images.
[0039] Example 1
[0040] Figure 4 This is a flowchart of a method for generating a printed image according to Embodiment 1 of the present invention. This embodiment is applicable to the case of printing a background raster image onto a substrate. The method can be executed by a device for generating a printed image, which can be implemented in hardware and / or software and can be configured in an electronic device. Figure 4 As shown, the method includes:
[0041] S110: Acquire a base grid image that matches the target printing equipment, the current target point coordinates of the target substrate, and the theoretical target point coordinates.
[0042] The target printing equipment can refer to the hardware device currently performing grid line printing. The target substrate can refer to the substrate on which background grid lines need to be printed. For example, it can be a PCB, photovoltaic silicon wafer, or solar panel.
[0043] The base grid image refers to a design image pre-generated based on the dimensions of the target substrate, containing the grid line printing requirements. Typically, the target printing equipment can print background grid lines on the target substrate that meet the pre-design requirements based on the base grid image.
[0044] In an optional implementation, before acquiring the base grid image matching the target printing equipment, the method may further include: determining the base grid image based on the theoretical size of the target substrate and a set size threshold. The theoretical size may refer to the substrate size specified during the design and generation of the target substrate. The set size threshold may refer to a value used to limit the size of the base grid image. For example, the set size threshold may be 2 mm, 5 mm, etc., and this embodiment of the invention does not impose any limitations on this. Specifically, taking a theoretical size of the target substrate of 100*200 mm and a set size threshold of 5 mm as an example, the size of the base grid image can be determined to be 105*205 mm. Thus, a base grid image larger than the theoretical size of the target substrate is obtained, providing an effective basis for subsequent operations.
[0045] The current target point coordinates refer to the current position coordinates of the target substrate on the target inkjet printing equipment. Typically, the current target point coordinates for a single target substrate can include four point coordinates, i.e., the coordinates of the four corners of the target substrate. In an optional implementation, obtaining the current target point coordinates of the target substrate can include: acquiring the current target point coordinates of the target substrate placed on the target inkjet printing equipment using a charge-coupled device (CCD) camera. Specifically, the current target point coordinates of the target substrate placed on the target inkjet printing equipment can be obtained by taking a picture using a CCD camera on the target inkjet printing equipment.
[0046] The theoretical target coordinates refer to the ideal position coordinates of the target substrate on the target inkjet printing equipment. Typically, the theoretical target coordinates of the target substrate can be preset according to the equipment parameters of the target inkjet printing equipment.
[0047] S120. Determine the target compensation parameters of the target substrate relative to the basic grid image based on the current target coordinates and the theoretical target coordinates.
[0048] Among them, the target compensation parameter can refer to the difference parameter between the theoretical size of the target substrate and the actual size obtained by shooting.
[0049] In one optional implementation, the target compensation parameters may include: target rotation angle, target translation amount, and target expansion / contraction value.
[0050] The target rotation angle refers to the rotation angle required to rotate the theoretical target point coordinates of the target substrate to the current target point coordinates. Specifically, if the coordinates of the upper left corner of the target substrate in the theoretical target point coordinates are (x1, y1), and the coordinates of the upper left corner of the target substrate in the current target point coordinates are (x2, y2), the rotation angle can be calculated using the formula: distance = sqrt((x2 - x1)). 2 +(y2-y1) 2Calculate the distance between two coordinates, where sqrt represents the square root. Then, we can use the formula: Calculate the target rotation angle between the two coordinates. Where pi = 3.14.
[0051] The target translation amount refers to the amount of translation required to move the theoretical target point coordinates of the target substrate to the current target point coordinates. Specifically, if the coordinates of the upper left corner of the target substrate in the theoretical target point coordinates are (x1, y1), and the coordinates of the upper left corner of the target substrate in the current target point coordinates are (x2, y2), then the translation amount in the horizontal direction can be: tx = x2 - x1. Similarly, the translation amount in the vertical direction can be: ty = y2 - y1.
[0052] The target expansion / contraction value refers to the expansion / contraction value required when transforming the theoretical target point coordinates of the target substrate to the current target point coordinates. Specifically, if the coordinates of the upper left corner of the target substrate in the theoretical target point coordinates are (x1, y1), and the coordinates of the upper left corner of the target substrate in the current target point coordinates are (x2, y2), the expansion / contraction value in the horizontal direction can be: Sx = x2 / x1. Similarly, the expansion / contraction value in the vertical direction can be: Sy = y2 / y1.
[0053] Therefore, by using the current target point coordinates and theoretical target point coordinates corresponding to the target substrate, the target compensation parameters relative to the basic grid image of the target substrate can be calculated, providing an effective basis for subsequent operations.
[0054] S130. Based on the target compensation parameters and the current target point coordinates of the target substrate, determine the redundant pixel values in the basic grid image, and generate the target grid image.
[0055] Redundant pixel values can refer to pixel values in the base raster image that need to be removed. For example, these could be pixel values that cannot be printed onto the target substrate. The target raster image can refer to the base raster image from which redundant pixel values have been removed.
[0056] S140. Control the target printing equipment to perform printing operation according to the target grid image to generate a target printing image corresponding to the target substrate.
[0057] The target printed image can refer to the background grid lines printed onto the target substrate.
[0058] Specifically, after generating the target raster image, the target printing equipment can be controlled to print background raster lines onto the target substrate according to the target raster image, thereby generating the target printed image.
[0059] The technical solution of this invention determines the target compensation parameters of the target substrate relative to the base grid image based on the current target point coordinates and the theoretical target point coordinates of the target substrate. Then, it determines the redundant pixel values in the base grid image based on the target compensation parameters and the current target point coordinates of the target substrate to generate a target grid image. Finally, it controls the target inkjet printing equipment to perform inkjet printing operations based on the target grid image to generate a target inkjet image corresponding to the target substrate. This solves the problems of high generation cost and low printing quality of inkjet images, and enables the printing of inkjet images without increasing hardware costs, thereby improving the printing quality of inkjet images.
[0060] Example 2
[0061] Figure 5 This is a flowchart of a method for generating a printed image according to Embodiment 2 of the present invention. This embodiment is a refinement based on the above embodiment. Specifically, this embodiment refines the operation of determining redundant pixel values in the basic grid image based on the target compensation parameters and the current target point coordinates of the target substrate, and generating a target grid image. Specifically, it may include: determining the theoretical pixel coordinates of the substrate based on the target compensation parameters and the current target point coordinates of the target substrate; determining the theoretical rectangular region of the target substrate corresponding to the basic grid image based on the theoretical pixel coordinates of the substrate; and removing redundant pixel values from the basic grid image based on the theoretical rectangular region to generate the target grid image. Figure 5 As shown, the method includes:
[0062] S210: Acquire a base grid image that matches the target printing equipment, the current target point coordinates of the target substrate, and the theoretical target point coordinates.
[0063] Specifically, when improving the quality of the printed image, it is necessary to pre-design a basic grid image that is much larger than the theoretical size of the target substrate. Then, the current target point coordinates of the target substrate on the target printing equipment are acquired by a CCD camera, and the corresponding theoretical target point coordinates of the target substrate are obtained.
[0064] S220. Determine the target compensation parameters of the target substrate relative to the basic grid image based on the current target coordinates and the theoretical target coordinates.
[0065] Specifically, after obtaining the current target point coordinates and the theoretical target point coordinates of the target substrate, the target compensation parameters, including the target rotation angle, the target translation amount, and the target expansion / contraction value, can be calculated based on the deviation between the current target point coordinates and the theoretical target point coordinates.
[0066] S230. Determine the theoretical pixel coordinates of the substrate based on the target compensation parameters and the current target point coordinates of the target substrate.
[0067] Among them, the theoretical pixel coordinates of the substrate can refer to the coordinate values of the target substrate within the pixel coordinates corresponding to the basic raster image under ideal conditions.
[0068] In an optional implementation, determining the theoretical pixel coordinates of the substrate based on the target compensation parameters and the current target point coordinates of the target substrate includes: determining the current pixel coordinates of the substrate corresponding to the basic raster image based on the current target point coordinates of the target substrate; and determining the theoretical pixel coordinates of the substrate corresponding to the target substrate based on the current pixel coordinates of the substrate and the target compensation parameters.
[0069] The current pixel coordinates of the substrate can refer to the coordinates of the target substrate within the pixel coordinates corresponding to the base grid image in a real-world scenario. In other words, it refers to the coordinates of the current target point obtained through CCD imaging within the pixel coordinates corresponding to the base grid image.
[0070] Specifically, if the printing resolution of the target inkjet printing equipment is 360*360 dpi, that is, the size of a single pixel is 25.4 / 360 = 0.07055 mm, and the current target point coordinates of the four vertices of the target substrate in the image millimeter coordinate system are P1(1,2), P2(1,2+201), P3(1+101,2+201), and P4(1+101,2), and the size of the basic raster image is 120*220 mm, then the number of pixels in the basic raster image is 120 / (25.4 / 360) = 1701 pixels and 220 / (25.4 / 360) = 3188 pixels. Therefore, the current pixel coordinates of the four vertices of the target substrate in the image pixel coordinate system can be P1(1 / 0.07055, 2 / 0.07055), P2(1 / 0.07055, (2+201) / 0.07055), P3((1+101) / 0.07055, (2+201) / 0.07055) and P4((1+101) / 0.07055, 2 / 0.07055), i.e., P1(14, 28), P2(14, 2877), P3(1446, 2877), and P4(1446, 28). Furthermore, after obtaining the current pixel coordinates of the substrate in the corresponding basic raster image of the target substrate, the theoretical pixel coordinates of the substrate corresponding to the target substrate can be calculated using the target compensation parameters.
[0071] S240. Determine the theoretical rectangular region of the target substrate corresponding to the basic grid image based on the theoretical pixel coordinates of the substrate, and remove redundant pixel values in the basic grid image based on the theoretical rectangular region to generate the target grid image.
[0072] The theoretical rectangular region can refer to the region formed by sequentially connecting the four vertices corresponding to the target substrate in the theoretical pixel coordinates of the substrate.
[0073] In one optional implementation, determining the theoretical rectangular region of the target substrate corresponding to the base grid image based on the theoretical pixel coordinates of the substrate, and removing redundant pixel values from the base grid image based on the theoretical rectangular region to generate the target grid image includes: determining the theoretical rectangular region of the target substrate corresponding to the base grid image based on the theoretical pixel coordinates of each sequentially connected substrate in the target substrate; traversing all pixel values of the base grid image and taking the target pixel values not within the theoretical rectangular region as redundant pixel values in the base grid image; removing redundant pixel values from the base grid image to generate the target grid image.
[0074] The target pixel value can refer to the pixel value in the base raster image that is outside the theoretical rectangular area.
[0075] Specifically, after calculating the theoretical pixel coordinates of the substrate, the four vertices corresponding to the target substrate in the theoretical pixel coordinates can be connected sequentially to form a theoretical rectangular region. Then, all pixel values of the base raster image are traversed. For example, a ray tracing method can be used to determine whether a pixel value of the base raster image is within the theoretical rectangular region. That is, a ray is drawn from a pixel value of the base raster image in any direction. If the number of intersections between the pixel value and the theoretical rectangular region is odd, the pixel value is considered to be within the theoretical rectangular region; otherwise, if the number of intersections is even, the pixel value is considered not to be within the theoretical rectangular region. Furthermore, the target pixel values not within the theoretical rectangular region are treated as redundant pixel values in the base raster image, and these redundant pixel values are modified to white to generate the target raster image.
[0076] S250: Control the target printing equipment to perform printing operations according to the target grid image to generate a target printing image corresponding to the target substrate.
[0077] The technical solution of this invention determines the target compensation parameters of the target substrate relative to the base grid image based on the current target point coordinates and theoretical target point coordinates of the target substrate. Then, it determines the theoretical pixel coordinates of the substrate based on the target compensation parameters and the current target point coordinates of the target substrate. Furthermore, it determines the theoretical rectangular region of the base grid image corresponding to the target substrate based on the theoretical pixel coordinates of the substrate, and removes redundant pixel values from the base grid image based on the theoretical rectangular region to generate the target grid image. Finally, it controls the target inkjet printing equipment to perform inkjet printing operations based on the target grid image to generate the target inkjet image corresponding to the target substrate. This solves the problems of high generation cost and low printing quality of inkjet images, and enables the printing of inkjet images without increasing hardware costs, thus improving the printing quality of inkjet images.
[0078] Figure 6The diagram shows a flowchart of an optional method for generating a printed image according to an embodiment of the present invention. Specifically, Figure 6 The left-middle image shows the target substrate in its initial position. Before printing, the current target point coordinates and theoretical target point coordinates of the target substrate are read using a CCD camera. A base grid image larger than the theoretical size of the target substrate is designed during image design. Then, target compensation parameters between the actual and theoretical sizes of the target substrate are calculated based on the current and theoretical target point coordinates. Next, after determining the current pixel coordinates of the substrate in the base grid image corresponding to the target substrate based on the current target point coordinates, the theoretical pixel coordinates of the substrate corresponding to the target substrate are determined based on the current pixel coordinates and the target compensation parameters. Furthermore, the theoretical rectangular region of the base grid image corresponding to the target substrate is determined based on the theoretical pixel coordinates of each sequentially connected substrate in the target substrate. All pixel values in the base grid image are traversed, and target pixel values not within the theoretical rectangular region are treated as redundant pixel values in the base grid image. These redundant pixel values are then modified to white, generating a result as shown below. Figure 6 The target raster image shown in the middle image is used as the basis for controlling the target printing equipment to perform the printing operation, generating a product as shown in the middle image. Figure 6 The target inkjet image corresponding to the target substrate shown in the middle right figure.
[0079] Example 3
[0080] Figure 7 This is a schematic diagram of the structure of an image generation device according to Embodiment 3 of the present invention. Figure 7 As shown, the device includes: a data acquisition module 310, a parameter calculation module 320, a raster image generation module 330, and a printing image generation module 340;
[0081] The data acquisition module 310 is used to acquire the basic grid image matching the target inkjet printing equipment, the current target point coordinates of the target substrate, and the theoretical target point coordinates.
[0082] The parameter calculation module 320 is used to determine the target compensation parameters of the target substrate relative to the basic grid image based on the current target coordinates and the theoretical target coordinates.
[0083] The raster image generation module 330 is used to determine the redundant pixel values in the basic raster image based on the target compensation parameters and the current target point coordinates of the target substrate, and generate a target raster image.
[0084] The inkjet image generation module 340 is used to control the target inkjet equipment to perform inkjet operations based on the target grid image to generate a target inkjet image corresponding to the target substrate.
[0085] The technical solution of this invention determines the target compensation parameters of the target substrate relative to the base grid image based on the current target point coordinates and the theoretical target point coordinates of the target substrate. Then, it determines the redundant pixel values in the base grid image based on the target compensation parameters and the current target point coordinates of the target substrate to generate a target grid image. Finally, it controls the target inkjet printing equipment to perform inkjet printing operations based on the target grid image to generate a target inkjet image corresponding to the target substrate. This solves the problems of high generation cost and low printing quality of inkjet images, and enables the printing of inkjet images without increasing hardware costs, thereby improving the printing quality of inkjet images.
[0086] Optional target compensation parameters include: target rotation angle, target translation amount, and target expansion / contraction value.
[0087] Optionally, the raster image generation module 330 includes: a theoretical pixel coordinate determination unit and a raster image generation unit;
[0088] The theoretical pixel coordinate determination unit is used to determine the theoretical pixel coordinates of the substrate based on the target compensation parameters and the current target point coordinates of the target substrate.
[0089] The raster image generation unit is used to determine the theoretical rectangular region of the target substrate corresponding to the basic raster image based on the theoretical pixel coordinates of the substrate, and to remove redundant pixel values in the basic raster image based on the theoretical rectangular region to generate the target raster image.
[0090] Optional, theoretical pixel coordinate determination unit, specifically can be used for:
[0091] The current pixel coordinates of the target substrate corresponding to the basic grid image are determined based on the current target point coordinates of the target substrate.
[0092] The theoretical pixel coordinates of the target substrate are determined based on the current pixel coordinates of the substrate and the target compensation parameters.
[0093] Optionally, the raster image generation unit can be used for:
[0094] The theoretical rectangular region of the target substrate corresponding to the basic grid image is determined based on the theoretical pixel coordinates of each sequentially connected substrate in the target substrate;
[0095] Traverse all pixel values of the base raster image and treat the target pixel values that are not within the theoretical rectangular area as redundant pixel values in the base raster image.
[0096] Remove redundant pixel values from the base raster image to generate the target raster image.
[0097] Optionally, the apparatus for generating the inkjet image may further include: a basic grid image determination module, used to determine the basic grid image based on the theoretical size of the target substrate and a set size threshold before acquiring the basic grid image that matches the target inkjet equipment.
[0098] Optionally, the data acquisition module 310 can be used to: acquire the current target point coordinates of the target substrate placed on the target inkjet printing equipment through a charge-coupled device camera.
[0099] The inkjet image generation apparatus provided in the embodiments of the present invention can execute the inkjet image generation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0100] Example 4
[0101] Figure 8 A schematic diagram of an electronic device 410 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0102] like Figure 8 As shown, the electronic device 410 includes at least one processor 420 and a memory, such as a read-only memory (ROM) 430 or a random access memory (RAM) 440, communicatively connected to the at least one processor 420. The memory stores computer programs executable by the at least one processor. The processor 420 can perform various appropriate actions and processes based on the computer program stored in the ROM 430 or loaded into the RAM 440 from storage unit 490. The RAM 440 may also store various programs and data required for the operation of the electronic device 410. The processor 420, ROM 430, and RAM 440 are interconnected via a bus 450. An input / output (I / O) interface 460 is also connected to the bus 450.
[0103] Multiple components in electronic device 410 are connected to I / O interface 460, including: input unit 470, such as keyboard, mouse, etc.; output unit 480, such as various types of monitors, speakers, etc.; storage unit 490, such as disk, optical disk, etc.; and communication unit 4100, such as network card, modem, wireless transceiver, etc. Communication unit 4100 allows electronic device 410 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0104] Processor 420 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 420 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 420 performs the various methods and processes described above, such as methods for generating inkjet images.
[0105] The method includes:
[0106] Acquire the base grid image that matches the target printing equipment, the current target point coordinates of the target substrate, and the theoretical target point coordinates;
[0107] The target compensation parameters of the target substrate relative to the base grid image are determined based on the current target coordinates and the theoretical target coordinates.
[0108] The redundant pixel values in the base grid image are determined based on the target compensation parameters and the current target point coordinates of the target substrate, and a target grid image is generated.
[0109] The target printing equipment is controlled to perform printing operations based on the target grid image to generate a target printing image corresponding to the target substrate.
[0110] In some embodiments, the method for generating an inkjet image may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 490. In some embodiments, part or all of the computer program may be loaded into and / or mounted on electronic device 410 via ROM 430 and / or communication unit 4100. When the computer program is loaded into RAM 440 and executed by processor 420, one or more steps of the method for generating an inkjet image described above may be performed. Alternatively, in other embodiments, processor 420 may be configured to perform the method for generating an inkjet image by any other suitable means (e.g., by means of firmware).
[0111] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0112] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0113] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0114] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0115] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0116] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0117] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0118] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for generating an inkjet-printed image, characterized in that, include: Acquire the base grid image that matches the target printing equipment, the current target point coordinates of the target substrate, and the theoretical target point coordinates; The target compensation parameters of the target substrate relative to the base grid image are determined based on the current target point coordinates and the theoretical target point coordinates; wherein, the target compensation parameters include: target rotation angle, target translation amount, and target expansion / contraction value; The redundant pixel values in the base grid image are determined based on the target compensation parameters and the current target point coordinates of the target substrate, and a target grid image is generated. Based on the target grid image, the target printing equipment is controlled to perform printing operations to generate a target printing image corresponding to the target substrate; The step of determining redundant pixel values in the base grid image based on the target compensation parameters and the current target point coordinates of the target substrate, and generating a target grid image, includes: determining the theoretical pixel coordinates of the substrate based on the target compensation parameters and the current target point coordinates of the target substrate; determining the theoretical rectangular region of the target substrate corresponding to the base grid image based on the theoretical pixel coordinates of the substrate; and removing redundant pixel values in the base grid image based on the theoretical rectangular region to generate the target grid image. The step of determining the theoretical pixel coordinates of the substrate based on the target compensation parameters and the current target point coordinates of the target substrate includes: determining the current pixel coordinates of the substrate corresponding to the basic raster image based on the current target point coordinates of the target substrate; and determining the theoretical pixel coordinates of the substrate corresponding to the target substrate based on the current pixel coordinates of the substrate and the target compensation parameters. The step of determining the theoretical rectangular region of the target substrate corresponding to the basic grid image based on the theoretical pixel coordinates of the substrate, and removing redundant pixel values from the basic grid image based on the theoretical rectangular region to generate the target grid image includes: determining the theoretical rectangular region of the target substrate corresponding to the basic grid image based on the theoretical pixel coordinates of each sequentially connected substrate in the target substrate; traversing all pixel values of the basic grid image, and taking the target pixel values that are not within the theoretical rectangular region as redundant pixel values in the basic grid image; removing redundant pixel values from the basic grid image to generate the target grid image.
2. The method according to claim 1, characterized in that, Before acquiring the base raster image that matches the target printing device, the method further includes: The basic grid image is determined based on the theoretical dimensions of the target substrate and the set size threshold.
3. The method according to claim 1, characterized in that, Obtain the current target point coordinates of the target substrate, including: The current target coordinates of the target substrate placed on the target inkjet printing equipment are obtained by a charge-coupled device camera.
4. An apparatus for generating inkjet-printed images, characterized in that, include: The data acquisition module is used to acquire the base grid image that matches the target inkjet printing equipment, the current target point coordinates of the target substrate, and the theoretical target point coordinates; The parameter calculation module is used to determine the target compensation parameters of the target substrate relative to the base grid image based on the current target point coordinates and the theoretical target point coordinates; wherein, the target compensation parameters include: target rotation angle, target translation amount, and target expansion / contraction value; A raster image generation module is used to determine the redundant pixel values in the basic raster image based on the target compensation parameters and the current target point coordinates of the target substrate, and generate a target raster image. The inkjet image generation module is used to control the target inkjet equipment to perform inkjet operations based on the target grid image to generate a target inkjet image corresponding to the target substrate. The raster image generation module includes a theoretical pixel coordinate determination unit and a raster image generation unit. The theoretical pixel coordinate determination unit is used to determine the theoretical pixel coordinates of the substrate based on the target compensation parameters and the current target point coordinates of the target substrate. The raster image generation unit is used to determine the theoretical rectangular region of the target substrate corresponding to the basic raster image based on the theoretical pixel coordinates of the substrate, and remove redundant pixel values in the basic raster image based on the theoretical rectangular region to generate the target raster image. The theoretical pixel coordinate determination unit is specifically used for: determining the current pixel coordinates of the target substrate corresponding to the basic grid image based on the current target point coordinates of the target substrate; and determining the theoretical pixel coordinates of the substrate corresponding to the target substrate based on the current pixel coordinates of the substrate and the target compensation parameters. The raster image generation unit is specifically used for: determining the theoretical rectangular region of the base raster image corresponding to the target substrate based on the theoretical pixel coordinates of each sequentially connected substrate in the target substrate; traversing all pixel values of the base raster image and taking the target pixel values that are not within the theoretical rectangular region as redundant pixel values in the base raster image; removing redundant pixel values in the base raster image to generate the target raster image.
5. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the method for generating an inkjet image according to any one of claims 1-3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method for generating an inkjet image according to any one of claims 1-3.
Citation Information
Patent Citations
Silk screen print positioning equipment and method for photovoltaic solar silicon chip
CN102673106A
OLED ink-jet printing data processing and control method
CN116061583A