Method, device and equipment for printing test image by adjusting ink concentration based on light source
By adjusting the camera light source parameters and ink concentration, a clear test image is generated, which solves the problem of inaccurate detection results due to camera insensitivity in the prior art, and achieves the accuracy of abnormal nozzle detection.
Patent Information
- Application Number
- CN202311151732.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-07
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2043-09-07
AI Technical Summary
In the prior art, the printed test images are unclear due to the insensitive camera to certain colors, resulting in inaccurate detection results of abnormal nozzles.
By determining the light source parameters of the camera, using different colors of ink to print multiple color blocks of different density, the camera is controlled to acquire images under the specified light source parameters, obtain the optimal ink density corresponding to each different color according to the image, and adjust the print data according to the optimal density to generate a clear test image.
Ensure that the test images collected by the camera are clear enough to ensure the accuracy of abnormal nozzle detection.
Smart Images

Figure CN119567729A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of inkjet printing, and in particular to a method, a device and an apparatus for printing a test image based on adjusting ink concentration based on a light source. Background Art
[0002] Inkjet printing refers to the process of spraying ink droplets onto a print medium through a nozzle on a nozzle to obtain an image or text. However, after the nozzle has been working for a long time, due to ink path contamination, ink precipitation, dust, water vapor and other reasons, the nozzle state of the nozzle is prone to abnormalities, such as blockage, oblique spray, weak ink, insufficient ink, etc. If it is not discovered in time and is still used, it will cause problems such as line drawing and blankness in the printed image, which seriously affects the quality of the product. In the prior art, a test chart is printed before or during printing, and then the test chart is photographed with a camera and the photographed test chart is analyzed to determine whether there is an abnormal nozzle in the inkjet print head and the position of the abnormal nozzle. However, in actual use, there are often errors in the judgment of abnormal nozzles or the inability to judge the existence of abnormal nozzles. Analysis finds that the printed test chart has multiple colors or multiple color values, and the camera is only sensitive to some colors or color values, resulting in the color or color value to which the camera is sensitive. The picture taken is clear, and the result of the final analysis of the nozzle abnormality is accurate, while the color or color value to which the camera is not sensitive is not clear, and the result of the final analysis of the nozzle abnormality is inaccurate. Therefore, developing a technology for taking clear pictures of different colors and different color values is an urgent problem to be solved; and the present invention is based on a light source to adjust the ink concentration to print a test image, so that the test image is clear and abnormal nozzles can be accurately checked. Summary of the invention
[0003] In view of this, the embodiments of the present invention provide a method, device, and apparatus for printing a test image based on a light source to adjust ink concentration, so as to solve the problem in the prior art that the printed test image is unclear and the abnormal nozzle detection result is inaccurate due to the camera's insensitivity to certain colors.
[0004] In a first aspect, an embodiment of the present invention provides a method for adjusting ink concentration based on irradiation light to detect nozzles, the method comprising:
[0005] S1: Determine the light source parameters of the camera;
[0006] S2: using different color inks to print a plurality of color blocks of different concentrations to obtain a first color block image;
[0007] S3: controlling the camera to capture the first color block image under the light source parameters to obtain a second color block image;
[0008] S4: obtaining ink concentrations that meet preset conditions and correspond to different colors according to the second color block image, and recording them as optimal ink concentrations;
[0009] S5: acquiring printing data according to the optimal ink concentration corresponding to each different color ink;
[0010] S6: controlling the nozzle to print ink according to the printing data to obtain a test image;
[0011] S7: Control the camera to capture the test image under the light source parameters and perform nozzle status detection based on the captured image.
[0012] Preferably, the light source parameters of the camera include power parameters and color parameters of the camera.
[0013] Preferably, the step of obtaining the ink concentrations satisfying preset conditions corresponding to different colors according to the second color block image, recorded as optimal ink concentrations, includes:
[0014] Obtain color blocks of different densities corresponding to each color ink and determine the color block with the highest clarity, which is recorded as the best color block;
[0015] The ink concentration corresponding to the optimal color block is obtained and recorded as the optimal ink concentration.
[0016] Preferably, the method further comprises:
[0017] Controlling the camera to capture the first color block image under different light source parameters to obtain a second color block image;
[0018] The mapping relationship between the optimal ink concentration of each different color ink and the light source parameter is obtained according to the second color block image, which is recorded as a concentration-light source mapping relationship.
[0019] Preferably, the method further comprises:
[0020] Controlling the camera to capture the first color block image under different light source parameters to obtain a second color block image;
[0021] Acquire a one-to-one correspondence between the optimal ink concentration of each different color ink and the light source parameter according to the second color block image;
[0022] The concentration-light source relationship formula is obtained by curve fitting according to the one-to-one correspondence.
[0023] Preferably, the step of obtaining printing data according to the optimal ink concentration corresponding to each different color ink includes:
[0024] Acquire a first test image to be printed;
[0025] Performing RIP processing on the first test image to be printed to obtain ink dot data corresponding to the first test image;
[0026] The ink dot data is adjusted according to the optimal ink concentration to obtain the printing data.
[0027] Preferably, the step of generating printing data according to the optimal ink concentration corresponding to each different color ink includes:
[0028] Generate a second image to be tested according to the optimal ink concentration and a preset test rule;
[0029] The second image to be tested is subjected to RIP processing to obtain the printing data.
[0030] In a second aspect, an embodiment of the present invention provides a nozzle detection device for adjusting ink concentration based on irradiation light, the device comprising:
[0031] The module for obtaining light source parameters is used to obtain the light source parameters of the camera;
[0032] A color block printing module, used for printing a plurality of color blocks of different densities using different color inks to obtain a first color block image;
[0033] An image acquisition module, used for acquiring the first color block image under the light source parameters by controlling the camera to obtain a second color block image;
[0034] An ink concentration acquisition module is used to acquire the ink concentration corresponding to each different color and meeting a preset condition according to the second color block image, and record it as an optimal ink concentration;
[0035] A printing data acquisition module, used for acquiring printing data according to the optimal ink concentration corresponding to each different color ink;
[0036] A test image acquisition module controls the nozzle to discharge ink according to the printing data to obtain a test image;
[0037] The nozzle status detection module is used to control the camera to collect the test image under the light source parameters and perform nozzle status detection based on the collected image.
[0038] In a third aspect, an embodiment of the present invention provides a device for printing a test image by adjusting ink concentration based on a light source, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method of the first aspect in the above embodiment is implemented.
[0039] In a fourth aspect, an embodiment of the present invention provides a storage medium having computer program instructions stored thereon, which implements the method of the first aspect in the above-mentioned embodiment when the computer program instructions are executed by a processor.
[0040] In summary, the beneficial effects of the present invention are as follows:
[0041] The embodiments of the present invention provide a method, device and apparatus for printing a test image based on adjusting ink concentration based on a light source, which solves the problem that the collected test image is unclear and the abnormal nozzle detection result is inaccurate due to the camera's insensitivity to certain colors.
[0042] The present invention determines the light source parameters of a camera; uses different color inks to print a plurality of color blocks of different concentrations to obtain a first color block image; controls the camera to collect the first color block image under the light source parameters to obtain a second color block image; obtains the ink concentration corresponding to each different color and meeting a preset condition according to the second color block image, which is recorded as the optimal ink concentration; obtains printing data according to the optimal ink concentration corresponding to each different color ink; controls the nozzle to print ink according to the printing data to obtain a test image; controls the camera to collect the test image under the light source parameters and performs nozzle status detection according to the collected image, so as to ensure that the test image collected by the camera is clear enough, thereby ensuring the accuracy of abnormal nozzle detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.
[0044] Figure 1 is a flow chart of a method for printing a test image by adjusting ink density based on a light source provided in Example 1;
[0045] Figure 2 Schematic diagram of the method for printing a test image based on adjusting ink density based on a light source in Example 1;
[0046] Figure 3 Schematic diagram of the method for printing a test image based on adjusting ink density based on a light source in Example 1;
[0047] Figure 4 is a schematic structural diagram of a device for printing a test image based on a light source to adjust ink density according to an embodiment of the present invention;
[0048] Figure 5 It is a schematic diagram of the structure of a device for printing a test image based on a light source to adjust ink density according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0050] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0051] See also Figure 1 The embodiment of the present invention provides a method for printing a test image by adjusting ink density based on a light source, and the method steps are as follows:
[0052] S1: Determine the light source parameters of the camera;
[0053] S2: using different color inks to print a plurality of color blocks of different concentrations to obtain a first color block image;
[0054] S3: controlling the camera to capture the first color block image under the light source parameters to obtain a second color block image;
[0055] S4: obtaining ink concentrations that meet preset conditions and correspond to different colors according to the second color block image, and recording them as optimal ink concentrations;
[0056] S5: acquiring printing data according to the optimal ink concentration corresponding to each different color ink;
[0057] S6: controlling the nozzle to print ink according to the printing data to obtain a test image;
[0058] S7: Control the camera to capture the test image under the light source parameters and perform nozzle status detection based on the captured image.
[0059] Specifically, the light source parameters of the camera include: power parameters and color parameters. The power parameter is used to control the brightness of the camera light source, and the power parameter can be used to set the brightness of the camera light source; the color parameter is used to adjust the color of the camera light source, and the camera light source can emit a variety of colors of light, such as white light, red light, blue light, green light, etc. Before detection, the power parameters and color parameters of the camera light source can be set according to the actual situation.
[0060] refer to Figure 2 Before the formal detection, color block images of different concentrations of different color inks are printed, and a printed test image is obtained by printing test images of color blocks of different concentrations of different color inks. The printed test image is recorded as the first color block image.
[0061] refer to Figure 3 After obtaining a printed test image by printing a test chart of color blocks of different concentrations of different color inks, the printed test image is photographed according to the determined light source parameters of the camera to obtain a second color block image.
[0062] After obtaining the second color block image, obtain color blocks of different concentrations corresponding to each color ink from the second color block image and determine the color block with the highest clarity, which is recorded as the best color block; obtain the ink concentration corresponding to the best color block, which is recorded as the best ink concentration.
[0063] In one embodiment, a test image of different concentrations of color blocks of different color inks is captured by a camera with determined light source parameters to obtain the image concentration of each color in the printed test image. According to the concentration mapping table stored in the system, the system will identify the optimal color ink concentration value of the light source parameter in the concentration mapping table. After obtaining the optimal color ink concentration value, the system will automatically adjust the concentration value of the color ink in the printed test image. The ink concentration of the printed test image obtained by the system will be more accurate and does not require manpower. For example, in this detection, the test image printed and photographed at a concentration of 10% of the C ink is clearer, and the test image printed and photographed at a concentration of 60% of the D ink is clearer. Then the system will automatically increase or decrease the concentration of the existing ink in the printed test image, adjust the concentration of the C ink to 10%, and adjust the concentration of the D ink in the printed test image to 60%.
[0064] In another embodiment, the image concentration of each color in the printed test image is obtained by shooting a test image of color blocks of different concentrations of different color inks with a camera with determined light source parameters. According to the concentration-light source relationship formula stored in the system, the system will automatically calculate the optimal ink concentration value of the color in the camera with the light source parameters. After obtaining the optimal color ink concentration value, the system will automatically adjust the concentration value of the color ink in the printed test image. For example, in this detection, the test image printed and photographed with a concentration of 10% of the C ink is clearer, and the test image printed and photographed with a concentration of 50% of the D ink is clearer. Then the system will automatically adjust the concentration of the existing ink in the printed test image to 10% and the concentration of the D ink in the printed test image to 50% by increasing or decreasing the concentration of the ink.
[0065] In one embodiment, the method further comprises:
[0066] Controlling the camera to capture the first color block image under different light source parameters to obtain a second color block image;
[0067] The mapping relationship between the optimal ink concentration of each different color ink and the light source parameter is obtained according to the second color block image, which is recorded as a concentration-light source mapping relationship.
[0068] Specifically, different second color block images are obtained by shooting test images of color blocks of different concentrations of different color inks with a statistical camera under different light source parameters. A mapping relationship between different camera parameters and the optimal ink concentrations of different ink colors is obtained based on the second color block images, and a concentration mapping table between light source parameters of different cameras and color blocks of different concentrations of different color inks is established.
[0069] In another embodiment, the method further comprises:
[0070] Controlling the camera to capture the first color block image under different light source parameters to obtain a second color block image;
[0071] Acquire a one-to-one correspondence between the optimal ink concentration of each different color ink and the light source parameter according to the second color block image;
[0072] The concentration-light source relationship formula is obtained by curve fitting according to the one-to-one correspondence.
[0073] Specifically, refer to Figure 4 By statistically shooting test images of color blocks of different concentrations of different color inks under different light source parameters, different second color block images are obtained by the camera, and the one-to-one correspondence between the optimal ink concentration of different color inks and the different light source parameters of the camera is obtained from the second color block image. The concentration-light source relationship formula is obtained by curve fitting through the obtained one-to-one correspondence.
[0074] By shooting test images of color blocks of different concentrations of different color inks with statistical cameras under different light source parameters, a concentration mapping table between light source parameters of different cameras and color blocks of different concentrations of different color inks is established, or by shooting test images of color blocks of different concentrations of different color inks with statistical cameras under different light source parameters, a one-to-one correspondence is obtained, and curve fitting is performed to obtain a concentration-light source relationship formula. According to the stored concentration mapping table and concentration-light source relationship formula, there is no need to test color blocks of different concentrations of different color inks with cameras of different light source parameters in subsequent detections. The optimal concentration values of different color inks can be directly determined according to the determined light source parameters, and the concentration value of the current ink can be directly adjusted according to the optimal concentration value of the ink, making the detection process faster and more accurate.
[0075] In one embodiment, the step of obtaining printing data according to the optimal ink concentration corresponding to each different color ink includes:
[0076] Acquire a first test image to be printed;
[0077] Performing RIP processing on the first test image to be printed to obtain ink dot data corresponding to the first test image;
[0078] The ink dot data is adjusted according to the optimal ink concentration to obtain the printing data.
[0079] Specifically, a first test image to be printed is obtained, and the obtained first test image to be printed is RIP processed to obtain the corresponding ink dot data after processing, and the ink dot data is adjusted according to the obtained optimal ink concentration so that the overall concentration of the ink dot data is equal to the optimal ink concentration, and the printing data is obtained according to the adjusted ink dot data.
[0080] In another embodiment, generating printing data according to the optimal ink concentration corresponding to each different color ink includes:
[0081] Generate a second image to be tested according to the optimal ink concentration and a preset test rule;
[0082] The second image to be tested is subjected to RIP processing to obtain the printing data.
[0083] Specifically, the preset test rule can be determined according to the actual situation. For example, the preset test rule is to control each nozzle to print a line segment, or to first control the odd-numbered nozzles to print the line segment, and then control the even-numbered nozzles to print the line segment, so that the test image of the abnormal nozzle is composed of multiple line segments arranged along the secondary scanning direction. When printing, the ink concentration is controlled at the optimal ink concentration, and the image generated by the final print is recorded as the second image to be tested. The obtained test image to be printed is subjected to RIP processing to obtain print data.
[0084] The nozzles in the print head are controlled to print according to the print data to obtain a test image for abnormal nozzle detection. After obtaining the test image, the camera is controlled to capture the test image under corresponding light source parameters and perform nozzle status detection based on the captured image, including whether there is a nozzle abnormality in the print head and the location and number of abnormal nozzles.
[0085] In summary, the method for printing a test image by adjusting ink concentration based on a light source of the present invention is as follows: determining the light source parameters of a camera; using different color inks to print a plurality of color blocks of different concentrations to obtain a first color block image; controlling the camera to acquire the first color block image under the light source parameters to obtain a second color block image; acquiring the ink concentration corresponding to each different color that meets a preset condition based on the second color block image, recorded as the optimal ink concentration; acquiring printing data based on the optimal ink concentration corresponding to each different color ink; controlling the nozzle to print ink based on the printing data to obtain a test image; controlling the camera to acquire the test image under the light source parameters and performing nozzle status detection based on the acquired image, to ensure that the test image acquired by the camera is clear enough, thereby ensuring the accuracy of abnormal nozzle detection.
[0086] Example 2
[0087] See also Figure 4 The embodiment of the present invention provides a device for printing a test image by adjusting ink density based on a light source, the device comprising:
[0088] A light source parameter acquisition module 1 is used to determine the light source parameters of the camera;
[0089] The color block printing module 2 is used to obtain a first color block image by printing a plurality of color blocks of different densities using different color inks;
[0090] An image acquisition module 3, used for acquiring a second color block image by controlling the camera to acquire the first color block image under the light source parameters;
[0091] An ink concentration acquisition module 4 is used to acquire the ink concentration corresponding to each different color and meeting a preset condition according to the second color block image, which is recorded as the optimal ink concentration;
[0092] A print data acquisition module 5 is used to acquire print data according to the optimal ink concentration corresponding to each different color ink;
[0093] A test image acquisition module 6 controls the nozzle to discharge ink according to the printing data to obtain a test image;
[0094] The nozzle status inspection module 7 is used to control the camera to collect the test image under the light source parameters and perform nozzle status inspection based on the collected image.
[0095] Preferably, the image acquisition module 3 includes:
[0096] An image acquisition unit is used to control the camera to acquire the first color block image under different light source parameters to obtain a second color block image;
[0097] A mapping relationship acquisition unit is used to acquire a mapping relationship between the optimal ink concentration of each different color ink and the light source parameter according to the second color block image, which is recorded as a concentration-light source mapping relationship.
[0098] Preferably, the image acquisition module 3 comprises:
[0099] An image acquisition unit is used to control the camera to acquire the first color block image under different light source parameters to obtain a second color block image;
[0100] A corresponding relationship acquisition unit: acquiring a one-to-one corresponding relationship between the optimal ink concentration of each different color ink and the light source parameter according to the second color block image;
[0101] A concentration-light source relationship formula obtaining unit is used to obtain a concentration-light source relationship formula by performing curve fitting according to the one-to-one correspondence relationship.
[0102] Preferably, the ink concentration obtaining module 4 includes:
[0103] Obtaining color block unit: used to obtain color blocks of different densities corresponding to each color ink and determine the color block with the highest clarity, which is recorded as the best color block;
[0104] The ink concentration obtaining unit is used to obtain the ink concentration corresponding to the optimal color block, which is recorded as the optimal ink concentration.
[0105] Preferably, the print data acquisition module 5 includes:
[0106] A test image acquisition unit: used for acquiring a first test image to be printed;
[0107] An ink dot data acquisition unit is used to perform RIP processing on the first test image to be printed to acquire the ink dot data corresponding thereto;
[0108] A data acquisition unit is used to adjust the ink dot data according to the optimal ink concentration to acquire the printing data.
[0109] Preferably, the print data acquisition module includes:
[0110] A test image acquisition unit: generating a second image to be tested according to the optimal ink concentration and a preset test rule;
[0111] A print data acquisition unit is configured to perform RIP processing on the second image to be tested to obtain the print data.
[0112] An embodiment of the present invention is a device for printing a test image based on adjusting ink concentration based on a light source, which determines the light source parameters of a camera; uses different color inks to print a plurality of color blocks of different concentrations to obtain a first color block image; controls the camera to collect the first color block image under the light source parameters to obtain a second color block image; obtains the ink concentration corresponding to each different color that meets a preset condition based on the second color block image, recorded as the optimal ink concentration; obtains printing data based on the optimal ink concentration corresponding to each different color ink; controls the nozzle to print ink based on the printing data to obtain a test image; controls the camera to collect the test image under the light source parameters and performs nozzle status detection based on the collected image, to ensure that the test image collected by the camera is clear enough, thereby ensuring the accuracy of abnormal nozzle detection.
[0113] Example 3
[0114] In addition, combined Figure 1 The method for printing a test image based on adjusting ink density according to the embodiment of the present invention described above can be implemented by a nozzle detection device based on adjusting ink density according to the light source. Figure 4 A schematic diagram of the hardware structure of a method and device for printing a test image based on adjusting ink density based on a light source provided by an embodiment of the present invention is shown.
[0115] An apparatus for printing a test image based on adjusting ink density of a light source may include a processor and a memory storing computer program instructions.
[0116] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.
[0117] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. Where appropriate, the memory may be inside or outside a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0118] The processor reads and executes computer program instructions stored in the memory to implement any one of the methods for adjusting ink concentration and detecting nozzles based on irradiated light in the above embodiments.
[0119] In one example, a device for printing a test image based on adjusting ink density of a light source may further include a communication interface and a bus. Figure 4 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.
[0120] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.
[0121] The bus includes hardware, software or both, and the parts of the equipment for adjusting the ink density print test image based on the light source are coupled to each other. For example and not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransmission (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, the bus may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0122] In addition, in combination with the method for printing a test image based on adjusting ink density by light source in the above embodiment, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any method for printing a test image based on adjusting ink density by light source in the above embodiment is implemented.
[0123] In summary, the method, device, and equipment for printing a test image based on adjusting ink concentration based on a light source provided by the embodiments of the present invention are as follows: determining the light source parameters of a camera; using different color inks to print a plurality of color blocks of different concentrations to obtain a first color block image; controlling the camera to capture the first color block image under the light source parameters to obtain a second color block image; obtaining the ink concentration corresponding to each different color that meets a preset condition based on the second color block image, recorded as the optimal ink concentration; obtaining printing data based on the optimal ink concentration corresponding to each different color ink; controlling the nozzle to print ink based on the printing data to obtain a test image; controlling the camera to capture the test image under the light source parameters and performing nozzle status detection based on the captured image, to ensure that the test image captured by the camera is clear enough, thereby ensuring the accuracy of abnormal nozzle detection.
[0124] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0125] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0126] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0127] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A method for printing a test image by adjusting ink concentration based on a light source, characterized in that: The method comprises: Determine the light source parameters of the camera; Using different color inks to print a plurality of color blocks of different densities to obtain a first color block image; Controlling the camera to acquire the first color block image under the light source parameters to obtain a second color block image; According to the second color block image, the ink concentration corresponding to each different color and satisfying a preset condition is obtained, and recorded as the optimal ink concentration; Acquire printing data according to the optimal ink concentration corresponding to each different color ink; Control the nozzle to print ink according to the printing data to obtain a test image; The camera is controlled to collect the test image under the light source parameters and the nozzle status is detected according to the collected image.
2. The method for printing a test image by adjusting ink density based on a light source according to claim 1, characterized in that: The light source parameters of the camera include power parameters and color parameters of the camera.
3. The method for printing a test image by adjusting ink density based on a light source according to claim 2, characterized in that: The step of obtaining the ink concentrations satisfying the preset conditions corresponding to the different colors according to the second color block image, recorded as the optimal ink concentration, includes: Obtain color blocks of different densities corresponding to each color ink and determine the color block with the highest clarity, which is recorded as the best color block; The ink concentration corresponding to the optimal color block is obtained and recorded as the optimal ink concentration.
4. The method for printing a test image by adjusting ink density based on a light source according to claim 3, characterized in that: The method further comprises: Controlling the camera to capture the first color block image under different light source parameters to obtain a second color block image; The mapping relationship between the optimal ink concentration of each different color ink and the light source parameter is obtained according to the second color block image, which is recorded as a concentration-light source mapping relationship.
5. The method for printing a test image by adjusting ink density based on a light source according to claim 3, characterized in that: The method further comprises: Controlling the camera to capture the first color block image under different light source parameters to obtain a second color block image; Acquire a one-to-one correspondence between the optimal ink concentration of each different color ink and the light source parameter according to the second color block image; The concentration-light source relationship formula is obtained by curve fitting according to the one-to-one correspondence.
6. The method for printing a test image by adjusting ink density based on a light source according to claim 1, characterized in that: The step of obtaining printing data according to the optimal ink concentration corresponding to each different color ink includes: Acquire a first test image to be printed; Performing RIP processing on the first test image to be printed to obtain ink dot data corresponding to the first test image; The ink dot data is adjusted according to the optimal ink concentration to obtain the printing data.
7. The method for printing a test image by adjusting ink density based on a light source according to claim 1, characterized in that: The step of generating printing data according to the optimal ink concentration corresponding to each different color ink includes: Generate a second image to be tested according to the optimal ink concentration and a preset test rule; The second image to be tested is subjected to RIP processing to obtain the printing data.
8. A device for printing a test image by adjusting ink density based on a light source, characterized in that: The device comprises: The module for obtaining light source parameters is used to obtain the light source parameters of the camera; A color block printing module, used for printing a plurality of color blocks of different densities using different color inks to obtain a first color block image; An image acquisition module, used for acquiring the first color block image under the light source parameters by controlling the camera to obtain a second color block image; An ink concentration acquisition module is used to acquire the ink concentration corresponding to each different color and meeting a preset condition according to the second color block image, and record it as an optimal ink concentration; A printing data acquisition module, used for acquiring printing data according to the optimal ink concentration corresponding to each different color ink; A test image acquisition module controls the nozzle to discharge ink according to the printing data to obtain a test image; The nozzle status detection module is used to control the camera to collect the test image under the light source parameters and perform nozzle status detection based on the collected image.
9. A device for printing a test image by adjusting ink density based on a light source, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 7.
10. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Information-processing device, inkjet printing apparatus, and information-processing method
CN109311317A
Cylinder surface printing drying control method
CN113002185A
Starch food material ink-jet printing color management system, ink-jet printing method and equipment
CN113524919A
Ink-jet printing color difference adjusting method, device and facility and storage medium
CN113928011A
Color printing method and device based on color matching and color printing equipment
CN115412641A