A line scanning vision positioning UV printing system and image processing method thereof
Through the line scanning visual positioning UV printing system, combined with the line scanning camera and visual positioning UV printing equipment, an image printing system is built, which solves the problems of insufficient image accuracy and difficulty in detecting subtle defects in traditional technology, and realizes high-quality image processing and printing Effect.
Patent Information
- Application Number
- CN202311547648.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2043-11-20
AI Technical Summary
Traditional UV printers and machine vision detection systems have shortcomings in image accuracy and subtle defect detection, and cannot meet the high-demand image processing needs.
The line scanning visual positioning UV printing system is adopted, combined with the line scanning camera and the visual positioning UV printing equipment, and the image printing system is built through image acquisition, processing and printing modules to realize the original image processing and accurate printing of the printing target.
It improves image processing and printing quality, meets high-demand image processing needs, and enhances the detection accuracy of subtle defects and the accuracy of image printing.
Smart Images

Figure CN117724665B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image printing and processing, and in particular to a line scanning vision positioning UV printing system and an image processing method thereof. Background Art
[0002] UV printer (Ultraviolet LED Inkjet Printer) is a high-tech full-color digital printing machine without plate making. It is not limited by materials and can perform color photo-level printing on T-shirts, sliding doors, cabinet doors, sliding doors, glass, plates, various signs, crystal, PVC, acrylic, metal, plastic, stone, leather and other surfaces. It can complete printing in one time without plate making. It is simple and convenient to operate and print images quickly. When printing products, ordinary UV printers need to typeset on the computer first, print the positioning frame in advance, and then place the product in the positioning frame to realize single product printing or batch product printing. When printing products, visual positioning UV printers do not need to print product positioning frames, and can accurately print products.
[0003] In the warehousing and logistics, automobile manufacturing, 3C electronics, lithium battery and new energy industries, the application of 2D and 3D machine vision inspection is becoming more and more common, especially in the appearance inspection process of large parts, sheets and cylindrical workpieces. The inspection requirements for workpiece measurement, quality inspection, target positioning and defect detection are high. The accuracy of traditional cameras in acquiring images is not high enough, which makes the resolution of subtle defects in the image lack of accuracy. Line scan cameras can stably detect extracted subtle defects and are widely used in machine vision application solutions.
[0004] Therefore, it is necessary to provide a line scanning vision positioning UV printing system and an image processing method thereof. Summary of the invention
[0005] The present invention provides a line scan vision positioning UV printing system and an image processing method thereof. By utilizing a line scan camera in combination with a vision positioning UV printing device, an image printing system is constructed, and the original image of a target to be printed is processed, thereby improving the quality of image processing and printing, and meeting high-demand image processing requirements.
[0006] The present invention provides a line scanning visual positioning UV printing system, comprising:
[0007] Equipment configuration module, used to configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment;
[0008] An image acquisition module is used to acquire an original image of a target to be printed using an image acquisition device;
[0009] An image processing module, used to process the original image using an image processing device to generate image data to be printed;
[0010] The printing execution module is used to utilize visual positioning of the UV printing device to print and generate a target image of the target to be printed according to the image data to be printed.
[0011] Further, the device configuration module includes an image acquisition device configuration unit, an image processing device configuration unit, a printing device configuration unit and a device connection unit;
[0012] An image acquisition device configuration unit, used to configure the line scan camera as an image acquisition device;
[0013] An image processing device configuration unit, used to configure the visual controller as an image processing device; the visual controller includes a processor and a plurality of expansion interfaces;
[0014] A printing device configuration unit, used for configuring the visual positioning UV printer as a visual positioning UV printing device;
[0015] The device connection unit is used to connect the line scan camera and the visual positioning UV printer to the visual controller respectively by using the expansion interface.
[0016] Further, the image acquisition module includes an image acquisition signal setting unit, an image acquisition execution unit and an image acquisition adjustment unit;
[0017] An image acquisition signal setting unit is used to preset a reference image based on a processor; acquire a row image and a frame image in the reference image, and set a first matching data pair between the row image and the row trigger signal, and set a second matching data pair between the frame image and the frame trigger signal; based on the first matching data pair and the second matching data pair, obtain a row trigger signal and a frame trigger signal for image acquisition;
[0018] An image acquisition execution unit, configured to send a line trigger signal and a frame trigger signal to a line scan camera based on a processor, so that the line scan camera performs image acquisition to obtain a first original image of a target to be printed;
[0019] An image acquisition adjustment unit is used to acquire a row image and a frame image of a first original image, compare the row image and the frame image of the first original image with the row image and the frame image of a reference image in terms of the number of pixel points, and obtain a plurality of row image pixel point difference values and frame image pixel point difference values; if the row image pixel point difference value or the frame image pixel point difference value is greater than a preset difference threshold, the emission frequency amplitude of the row trigger signal and the frame trigger signal is adjusted according to a preset adjustment frequency amplitude, a first row trigger signal and a first frame trigger signal are generated, the first row trigger signal and the first frame trigger signal are sent to a line scan camera, image acquisition is performed again, and pixel point difference comparison is performed again; when the row image pixel point difference value and the frame image pixel point difference value are both less than the preset difference threshold value, an original image of the target to be printed is generated.
[0020] Further, the image processing module includes an image importing unit, an image editing unit and a to-be-printed image data generating unit;
[0021] An image import unit, used for reading and importing the original image into the vision controller based on the machine vision software in the vision controller;
[0022] An image editing unit, used for editing the original image based on the machine vision software in the vision controller to generate an image to be processed;
[0023] The to-be-printed image data generating unit is used to generate the to-be-printed image data according to the to-be-processed image.
[0024] Further, the image editing unit includes an image detection and recognition subunit and an image content item measurement subunit;
[0025] The image detection and recognition subunit is used to match the original image based on a preset image template, and to perform detection and recognition according to the detection and recognition algorithm in the machine vision software to obtain a detection and recognition image;
[0026] The image content item measurement subunit is used to measure the geometric quantities of the preset content items of the detected and recognized image, obtain a number of measurement data, and generate image data to be printed according to the measurement data.
[0027] Further, the image detection and recognition subunit includes a matching image determination molecular unit, a matching image analysis molecular unit and a matching image measurement implementation molecular unit;
[0028] The matching image determination molecular unit is used to perform template matching on the original image based on a preset image template to obtain a number of local matching images;
[0029] The matching image analysis molecular unit is used to perform cluster analysis on the local matching image based on the clustering algorithm to obtain a number of cluster image sets; the cluster image set includes a number of local matching images;
[0030] The matching image measurement implementation molecular unit is used to call the detection and recognition algorithm suitable for the clustered image set in the preset measurement algorithm library based on the AI retrieval program, to realize single or multiple detection and recognition of the local matching images in the clustered image set, and to generate a detection and recognition image according to the detection and recognition results.
[0031] Further, the image content item measurement subunit includes a to-be-printed pixel data acquisition molecular unit and a to-be-printed image data generation molecular unit;
[0032] A pixel data acquisition unit for to-be-printed is used to acquire pixel data for to-be-printed that matches the measurement data based on a preset matching library of measurement data and pixel data for to-be-printed;
[0033] The molecular unit for generating image data to be printed is used to extract pixels from the pixel data to be printed, and obtain a number of image intensity values based on a preset matching correspondence between pixels and image intensity values, and generate a generation order of the image data to be printed based on the size order and proportion distribution of the image intensity values. According to the generation order, the image data to be printed is generated in combination with the pixel data to be printed.
[0034] Further, the print execution module includes a print command generation unit and a print operation execution unit;
[0035] A print command generating unit, used for generating a print command based on an image processing device;
[0036] The printing operation execution unit is used to visually locate the UV printing device, receive the printing command and the image data to be printed, and print and generate the target image of the target to be printed.
[0037] Furthermore, it also includes an image printing management module, which is used to build an image printing management platform based on microservice technology and applied to image printing management; the image printing management module includes an image printing management platform setting unit and an image printing management unit;
[0038] An image printing management platform setting unit is used to build an image printing management platform based on the visual controller and the cloud platform, and to set an image data storage microservice and an image data access microservice based on the microservice architecture, and to set a number of microservice client terminals, and to set the printing and use rights of the microservice client terminals to the target image;
[0039] The image printing management unit is used to manage the printing and use of the target image by the microservice client based on the image printing management platform.
[0040] The present invention provides an image processing method, comprising:
[0041] S1: Configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment;
[0042] S2: using an image acquisition device to acquire an original image of the target to be printed;
[0043] S3: Using an image processing device to process the original image to generate image data to be printed;
[0044] S4: Using visual positioning UV printing equipment, according to the image data to be printed, print and generate a target image of the target to be printed.
[0045] Compared with the prior art, the present invention has the following advantages and beneficial effects: by utilizing a line scan camera in combination with a visual positioning UV printing device, an image printing system is constructed, and the original image of the target to be printed is processed, thereby improving the quality of image processing and printing, and meeting high-demand image processing requirements.
[0046] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0047] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0049] Figure 1 This is a schematic diagram of the structure of a line scanning vision positioning UV printing system;
[0050] Figure 2 It is a structural diagram of a line scanning vision positioning UV printing system equipment configuration module;
[0051] Figure 3 A schematic diagram of the method steps of an image processing method. DETAILED DESCRIPTION
[0052] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0053] The present invention provides a line scanning visual positioning UV printing system, such as Figure 1 As shown, including:
[0054] Equipment configuration module, used to configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment;
[0055] An image acquisition module is used to acquire an original image of a target to be printed using an image acquisition device;
[0056] An image processing module, used to process the original image using an image processing device to generate image data to be printed;
[0057] The printing execution module is used to utilize visual positioning of the UV printing device to print and generate a target image of the target to be printed according to the image data to be printed.
[0058] The working principle of the above technical solution is as follows: the equipment configuration module is used to configure the image acquisition equipment, the image processing equipment and the visual positioning UV printing equipment;
[0059] An image acquisition module is used to acquire an original image of a target to be printed using an image acquisition device;
[0060] An image processing module, used to process the original image using an image processing device to generate image data to be printed;
[0061] The printing execution module is used to utilize visual positioning of the UV printing device to print and generate a target image of the target to be printed according to the image data to be printed.
[0062] The beneficial effects of the above technical solution are: by adopting the solution provided in this embodiment, an image printing system is constructed by using a line scan camera combined with a visual positioning UV printing device, and the original image of the target to be printed is processed, thereby improving the quality of image processing and printing, and meeting high-demand image processing requirements.
[0063] In one embodiment, Figure 2 As shown, the device configuration module includes an image acquisition device configuration unit, an image processing device configuration unit, a printing device configuration unit and a device connection unit;
[0064] An image acquisition device configuration unit, used to configure the line scan camera as an image acquisition device;
[0065] An image processing device configuration unit, used to configure the visual controller as an image processing device; the visual controller includes a processor and a plurality of expansion interfaces;
[0066] A printing device configuration unit, used for configuring the visual positioning UV printer as a visual positioning UV printing device;
[0067] The device connection unit is used to connect the line scan camera and the visual positioning UV printer to the visual controller respectively by using the expansion interface.
[0068] The working principle of the above technical solution is as follows: the device configuration module includes an image acquisition device configuration unit, an image processing device configuration unit, a printing device configuration unit and a device connection unit;
[0069] An image acquisition device configuration unit, used to configure the line scan camera as an image acquisition device;
[0070] An image processing device configuration unit, used to configure the visual controller as an image processing device; the visual controller includes a processor and a plurality of expansion interfaces;
[0071] A printing device configuration unit, used for configuring the visual positioning UV printer as a visual positioning UV printing device;
[0072] The device connection unit is used to connect the line scan camera and the visual positioning UV printer to the visual controller respectively by using the expansion interface.
[0073] The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, by configuring specific image acquisition equipment, image processing equipment and printing equipment, it can be ensured that the hardware equipment of the printing system is complete.
[0074] In one embodiment, the image acquisition module includes an image acquisition signal setting unit, an image acquisition execution unit, and an image acquisition adjustment unit;
[0075] An image acquisition signal setting unit is used to preset a reference image based on a processor; acquire a row image and a frame image in the reference image, and set a first matching data pair between the row image and the row trigger signal, and set a second matching data pair between the frame image and the frame trigger signal; based on the first matching data pair and the second matching data pair, obtain a row trigger signal and a frame trigger signal for image acquisition;
[0076] An image acquisition execution unit, configured to send a line trigger signal and a frame trigger signal to a line scan camera based on a processor, so that the line scan camera performs image acquisition to obtain a first original image of a target to be printed;
[0077] An image acquisition adjustment unit is used to acquire a row image and a frame image of a first original image, compare the row image and the frame image of the first original image with the row image and the frame image of a reference image in terms of the number of pixel points, and obtain a plurality of row image pixel point difference values and frame image pixel point difference values; if the row image pixel point difference value or the frame image pixel point difference value is greater than a preset difference threshold, the emission frequency amplitude of the row trigger signal and the frame trigger signal is adjusted according to a preset adjustment frequency amplitude, a first row trigger signal and a first frame trigger signal are generated, the first row trigger signal and the first frame trigger signal are sent to a line scan camera, image acquisition is performed again, and pixel point difference comparison is performed again; when the row image pixel point difference value and the frame image pixel point difference value are both less than the preset difference threshold value, an original image of the target to be printed is generated.
[0078] The working principle of the above technical solution is as follows: the image acquisition module includes an image acquisition signal setting unit, an image acquisition execution unit and an image acquisition adjustment unit;
[0079] An image acquisition signal setting unit is used to preset a reference image based on a processor; acquire a row image and a frame image in the reference image, and set a first matching data pair between the row image and the row trigger signal, and set a second matching data pair between the frame image and the frame trigger signal; based on the first matching data pair and the second matching data pair, obtain a row trigger signal and a frame trigger signal for image acquisition;
[0080] An image acquisition execution unit, configured to send a line trigger signal and a frame trigger signal to a line scan camera based on a processor, so that the line scan camera performs image acquisition to obtain a first original image of a target to be printed;
[0081] An image acquisition adjustment unit is used to acquire a row image and a frame image of a first original image, compare the row image and the frame image of the first original image with the row image and the frame image of a reference image in terms of the number of pixel points, and obtain a plurality of row image pixel point difference values and frame image pixel point difference values; if the row image pixel point difference value or the frame image pixel point difference value is greater than a preset difference threshold, the emission frequency amplitude of the row trigger signal and the frame trigger signal is adjusted according to a preset adjustment frequency amplitude, a first row trigger signal and a first frame trigger signal are generated, the first row trigger signal and the first frame trigger signal are sent to a line scan camera, image acquisition is performed again, and pixel point difference comparison is performed again; when the row image pixel point difference value and the frame image pixel point difference value are both less than the preset difference threshold value, an original image of the target to be printed is generated.
[0082] The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, the quality of the original image acquisition can be guaranteed by setting the original image acquisition signal, executing the image acquisition and adjusting the image acquisition.
[0083] In one embodiment, the image processing module includes an image importing unit, an image editing unit, and a to-be-printed image data generating unit;
[0084] An image import unit, used for reading and importing the original image into the vision controller based on the machine vision software in the vision controller;
[0085] An image editing unit, used for editing the original image based on the machine vision software in the vision controller to generate an image to be processed;
[0086] The to-be-printed image data generating unit is used to generate the to-be-printed image data according to the to-be-processed image.
[0087] The working principle of the above technical solution is as follows: the image processing module includes an image import unit, an image editing unit and a unit for generating image data to be printed;
[0088] An image import unit, used for reading and importing the original image into the vision controller based on the machine vision software in the vision controller;
[0089] An image editing unit, used for editing the original image based on the machine vision software in the vision controller to generate an image to be processed;
[0090] The to-be-printed image data generating unit is used to generate the to-be-printed image data according to the to-be-processed image.
[0091] The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, through the editing and processing of the image, it is possible to ensure that the original image is converted into image data to be printed, thereby providing the necessary conditions for subsequent printing.
[0092] In one embodiment, the image editing unit includes an image detection and recognition subunit and an image content item measurement subunit;
[0093] The image detection and recognition subunit is used to match the original image based on a preset image template, and to perform detection and recognition according to the detection and recognition algorithm in the machine vision software to obtain a detection and recognition image;
[0094] The image content item measurement subunit is used to measure the geometric quantities of the preset content items of the detected and recognized image, obtain a number of measurement data, and generate image data to be printed according to the measurement data.
[0095] The working principle of the above technical solution is as follows: the image editing unit includes an image detection and recognition subunit and an image content item measurement subunit;
[0096] The image detection and recognition subunit is used to match the original image based on a preset image template, and to perform detection and recognition according to the detection and recognition algorithm in the machine vision software to obtain a detection and recognition image;
[0097] The image content item measurement subunit is used to measure the geometric quantities of the preset content items of the detected and recognized image, obtain a number of measurement data, and generate image data to be printed according to the measurement data.
[0098] The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, accurate image data to be printed can be obtained through detection and recognition of the image and measurement of content items.
[0099] In one embodiment, the image detection and recognition subunit includes a matching image determination molecular unit, a matching image analysis molecular unit, and a matching image measurement implementation molecular unit;
[0100] The matching image determination molecular unit is used to perform template matching on the original image based on a preset image template to obtain a number of local matching images;
[0101] The matching image analysis molecular unit is used to perform cluster analysis on the local matching image based on the clustering algorithm to obtain a number of cluster image sets; the cluster image set includes a number of local matching images;
[0102] The matching image measurement implementation molecular unit is used to call the detection and recognition algorithm suitable for the clustered image set in the preset measurement algorithm library based on the AI retrieval program, to realize single or multiple detection and recognition of the local matching images in the clustered image set, and to generate a detection and recognition image according to the detection and recognition results.
[0103] The working principle of the above technical solution is as follows: the image detection and recognition subunit includes a matching image determination molecular unit, a matching image analysis molecular unit and a matching image measurement implementation molecular unit;
[0104] The matching image determination molecular unit is used to perform template matching on the original image based on a preset image template to obtain a number of local matching images;
[0105] The matching image analysis molecular unit is used to perform cluster analysis on the local matching image based on the clustering algorithm to obtain a number of cluster image sets; the cluster image set includes a number of local matching images;
[0106] The matching image measurement implementation molecular unit is used to call the detection and recognition algorithm suitable for the clustered image set in the preset measurement algorithm library based on the AI retrieval program, to realize single or multiple detection and recognition of the local matching images in the clustered image set, and to generate a detection and recognition image according to the detection and recognition results.
[0107] The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, by using templates and clustering algorithms and AI retrieval programs to search in a preset measurement algorithm library, accurate detection and recognition images can be obtained.
[0108] In one embodiment, the image content item measurement subunit includes a to-be-printed pixel data acquisition subunit and a to-be-printed image data generation subunit;
[0109] A pixel data acquisition unit for to-be-printed is used to acquire pixel data for to-be-printed that matches the measurement data based on a preset matching library of measurement data and pixel data for to-be-printed;
[0110] The molecular unit for generating image data to be printed is used to extract pixels from the pixel data to be printed, and obtain a number of image intensity values based on a preset matching correspondence between pixels and image intensity values, and generate a generation order of the image data to be printed based on the size order and proportion distribution of the image intensity values. According to the generation order, the image data to be printed is generated in combination with the pixel data to be printed.
[0111] The working principle of the above technical solution is as follows: the image content item measurement subunit includes a to-be-printed pixel data acquisition molecular unit and a to-be-printed image data generation molecular unit;
[0112] A pixel data acquisition unit for to-be-printed is used to acquire pixel data for to-be-printed that matches the measurement data based on a preset matching library of measurement data and pixel data for to-be-printed;
[0113] The molecular unit for generating image data to be printed is used to extract pixels from the pixel data to be printed, and obtain a number of image intensity values based on a preset matching correspondence between pixels and image intensity values, and generate a generation order of the image data to be printed based on the size order and proportion distribution of the image intensity values. According to the generation order, the image data to be printed is generated in combination with the pixel data to be printed.
[0114] The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, the pixel data to be printed is acquired, and the image data to be printed is generated based on the matching correspondence between the pixel and the image intensity value, so that the accuracy of the generated image data to be printed can be guaranteed.
[0115] In one embodiment, the print execution module includes a print command generation unit and a print operation execution unit;
[0116] A print command generating unit, used for generating a print command based on an image processing device;
[0117] The printing operation execution unit is used to visually locate the UV printing device, receive the printing command and the image data to be printed, and print and generate the target image of the target to be printed.
[0118] The working principle of the above technical solution is as follows: the print execution module includes a print command generation unit and a print operation execution unit;
[0119] A print command generating unit, used for generating a print command based on an image processing device;
[0120] The printing operation execution unit is used to visually locate the UV printing device, receive the printing command and the image data to be printed, and print and generate the target image of the target to be printed.
[0121] The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, the target image of the target to be printed is generated according to the print command and the image data to be printed, thereby ensuring the reliability of the printing execution.
[0122] In one embodiment, it also includes an image printing management module, which is used to build an image printing management platform based on microservice technology and apply it to image printing management; the image printing management module includes an image printing management platform setting unit and an image printing management unit;
[0123] An image printing management platform setting unit is used to build an image printing management platform based on the visual controller and the cloud platform, and to set an image data storage microservice and an image data access microservice based on the microservice architecture, and to set a number of microservice client terminals, and to set the printing and use rights of the microservice client terminals to the target image;
[0124] The image printing management unit is used to manage the printing and use of the target image by the microservice client based on the image printing management platform.
[0125] The working principle of the above technical solution is: it also includes an image printing management module, which is used to build an image printing management platform based on microservice technology and applied to image printing management; the image printing management module includes an image printing management platform setting unit and an image printing management unit;
[0126] An image printing management platform setting unit is used to build an image printing management platform based on the visual controller and the cloud platform, and to set an image data storage microservice and an image data access microservice based on the microservice architecture, and to set a number of microservice client terminals, and to set the printing and use rights of the microservice client terminals to the target image;
[0127] The image printing management unit is used to manage the printing and use of the target image by the microservice client based on the image printing management platform.
[0128] The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, by building an image printing management platform based on microservice technology and applying it to image printing management, the intelligence level of image printing management can be improved, which is conducive to the efficient use of image printing.
[0129] The present invention provides an image processing method, such as Figure 3 As shown, including:
[0130] S1: Configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment;
[0131] S2: using an image acquisition device to acquire an original image of the target to be printed;
[0132] S3: Using an image processing device to process the original image to generate image data to be printed;
[0133] S4: Using visual positioning UV printing equipment, according to the image data to be printed, print and generate a target image of the target to be printed.
[0134] The working principle of the above technical solution is as follows: S1: configure an image acquisition device, an image processing device and a visual positioning UV printing device;
[0135] S2: using an image acquisition device to acquire an original image of the target to be printed;
[0136] S3: Using an image processing device to process the original image to generate image data to be printed;
[0137] S4: Using visual positioning UV printing equipment, according to the image data to be printed, print and generate a target image of the target to be printed.
[0138] The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, an image printing system is constructed by using a line scan camera combined with a visual positioning UV printing device, and the original image of the target to be printed is processed, thereby improving the quality of image processing and meeting high-demand image processing requirements.
[0139] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A line scan visual positioning UV printing system, characterized in that: include: Equipment configuration module, used to configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment; An image acquisition module is used to acquire an original image of a target to be printed using an image acquisition device; An image processing module, used to process the original image using an image processing device to generate image data to be printed; A printing execution module, used for using visual positioning of the UV printing device to print and generate a target image of the target to be printed according to the image data to be printed; The image acquisition module includes an image acquisition signal setting unit, an image acquisition execution unit and an image acquisition adjustment unit; An image acquisition signal setting unit is used to preset a reference image based on a processor; acquire a row image and a frame image in the reference image, and set a first matching data pair between the row image and the row trigger signal, and set a second matching data pair between the frame image and the frame trigger signal; based on the first matching data pair and the second matching data pair, obtain a row trigger signal and a frame trigger signal for image acquisition; An image acquisition execution unit, configured to send a line trigger signal and a frame trigger signal to a line scan camera based on a processor, so that the line scan camera performs image acquisition to obtain a first original image of a target to be printed; An image acquisition adjustment unit is used to acquire a row image and a frame image of a first original image, compare the row image and the frame image of the first original image with the row image and the frame image of a reference image in terms of the number of pixel points, and obtain a plurality of row image pixel point difference values and frame image pixel point difference values; if the row image pixel point difference value or the frame image pixel point difference value is greater than a preset difference threshold, the emission frequency amplitude of the row trigger signal and the frame trigger signal is adjusted according to a preset adjustment frequency amplitude, a first row trigger signal and a first frame trigger signal are generated, the first row trigger signal and the first frame trigger signal are sent to a line scan camera, image acquisition is performed again, and pixel point difference comparison is performed again; when the row image pixel point difference value and the frame image pixel point difference value are both less than the preset difference threshold value, an original image of the target to be printed is generated.
2. According to claim 1, a line scan visual positioning UV printing system is characterized in that: The device configuration module includes an image acquisition device configuration unit, an image processing device configuration unit, a printing device configuration unit and a device connection unit; An image acquisition device configuration unit, used to configure the line scan camera as an image acquisition device; An image processing device configuration unit, used to configure the visual controller as an image processing device; the visual controller includes a processor and a plurality of expansion interfaces; A printing device configuration unit, used for configuring the visual positioning UV printer as a visual positioning UV printing device; The device connection unit is used to connect the line scan camera and the visual positioning UV printer to the visual controller respectively by using the expansion interface.
3. A line scan visual positioning UV printing system according to claim 2, characterized in that: The image processing module includes an image importing unit, an image editing unit and a unit for generating image data to be printed; An image import unit, used for reading and importing the original image into the vision controller based on the machine vision software in the vision controller; An image editing unit, used for editing the original image based on the machine vision software in the vision controller to generate an image to be processed; The to-be-printed image data generating unit is used to generate the to-be-printed image data according to the to-be-processed image.
4. The line scan visual positioning UV printing system according to claim 3 is characterized in that: The image editing unit includes an image detection and recognition subunit and an image content item measurement subunit; The image detection and recognition subunit is used to match the original image based on a preset image template, and to perform detection and recognition according to the detection and recognition algorithm in the machine vision software to obtain a detection and recognition image; The image content item measurement subunit is used to measure the geometric quantities of the preset content items of the detected and recognized image, obtain a number of measurement data, and generate image data to be printed according to the measurement data.
5. The line scan vision positioning UV printing system according to claim 4, characterized in that: The image detection and recognition subunit includes a matching image determination molecular unit, a matching image analysis molecular unit and a matching image measurement implementation molecular unit; The matching image determination molecular unit is used to perform template matching on the original image based on a preset image template to obtain a number of local matching images; The matching image analysis molecular unit is used to perform cluster analysis on the local matching image based on the clustering algorithm to obtain a number of cluster image sets; the cluster image set includes a number of local matching images; The matching image measurement implementation molecular unit is used to call the detection and recognition algorithm suitable for the clustered image set in the preset measurement algorithm library based on the AI retrieval program, to realize single or multiple detection and recognition of the local matching images in the clustered image set, and to generate a detection and recognition image according to the detection and recognition results.
6. The line scan vision positioning UV printing system according to claim 4, characterized in that: The image content item measurement subunit includes a to-be-printed pixel data acquisition molecular unit and a to-be-printed image data generation molecular unit; A pixel data acquisition unit for to-be-printed is used to acquire pixel data for to-be-printed that matches the measurement data based on a preset matching library of measurement data and pixel data for to-be-printed; The molecular unit for generating image data to be printed is used to extract pixels from the pixel data to be printed, and obtain a number of image intensity values based on a preset matching correspondence between pixels and image intensity values, and generate a generation order of the image data to be printed based on the size order and proportion distribution of the image intensity values. According to the generation order, the image data to be printed is generated in combination with the pixel data to be printed.
7. The line scan vision positioning UV printing system according to claim 1, characterized in that: The print execution module includes a print command generation unit and a print operation execution unit; A print command generating unit, used for generating a print command based on an image processing device; The printing operation execution unit is used to visually locate the UV printing device, receive the printing command and the image data to be printed, and print and generate the target image of the target to be printed.
8. The line scan visual positioning UV printing system according to claim 2, characterized in that: It also includes an image printing management module, which is used to build an image printing management platform based on microservice technology and is applied to image printing management; The image printing management module includes an image printing management platform setting unit and an image printing management unit; An image printing management platform setting unit is used to build an image printing management platform based on the visual controller and the cloud platform, and to set an image data storage microservice and an image data access microservice based on the microservice architecture, and to set a number of microservice client terminals, and to set the printing and use rights of the microservice client terminals to the target image; The image printing management unit is used to manage the printing and use of the target image by the microservice client based on the image printing management platform.
9. An image processing method, characterized in that: include: S1: Configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment; S2: using an image acquisition device to acquire an original image of the target to be printed; Based on the processor, preset the benchmark image; Acquire a row image and a frame image in a reference image, and set a first matching data pair of the row image and a row trigger signal, and set a second matching data pair of the frame image and a frame trigger signal; based on the first matching data pair and the second matching data pair, obtain a row trigger signal and a frame trigger signal for image acquisition; Based on the processor, a line trigger signal and a frame trigger signal are sent to the line scan camera, and the line scan camera performs image acquisition to obtain a first original image of the target to be printed; Acquire a row image and a frame image of a first original image, compare the row image and the frame image of the first original image with the row image and the frame image of the reference image in terms of the number of pixel points, and obtain a plurality of row image pixel point difference values and frame image pixel point difference values; if the row image pixel point difference value or the frame image pixel point difference value is greater than a preset difference threshold, adjust the emission frequency amplitude of the row trigger signal and the frame trigger signal according to a preset adjustment frequency amplitude, generate a first row trigger signal and a first frame trigger signal, send the first row trigger signal and the first frame trigger signal to a line scan camera, perform image acquisition again, and perform pixel point difference comparison again; when the row image pixel point difference value and the frame image pixel point difference value are both less than the preset difference threshold, generate an original image of the target to be printed; S3: Using an image processing device to process the original image to generate image data to be printed; S4: Using visual positioning UV printing equipment, according to the image data to be printed, print and generate a target image of the target to be printed.
