3D relief inkjet printing image processing method and system

By decomposing the embossing and color printing layers, calculating the layer spacing and width, and performing image stretching and alternating printing, the printing problem of high-profile embossing effect in 3D embossing inkjet printing is solved, and the printing effect and nozzle safety are improved.

CN118714233BActive Publication Date: 2024-12-06SHENZHEN JUJIN PAPER PACKAGING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411197734.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-06
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

The existing 3D embossing inkjet printing technology is difficult to achieve printing with high raised embossing effect, and the thickness and height drop of the embossing layer lead to problems with the printing nozzle distance, which affects the printing clarity and nozzle safety.

Method used

By obtaining the maximum height of the embossed printing layer, decompose it into multiple embossed and color printing layers, calculate the layer spacing and the width of each color printing layer, perform image stretching and alternate printing, accurately control printing distance and coverage, and avoid nozzle contact.

Benefits of technology

Accurate printing of high-profile embossing effects is achieved, improving printing effect and nozzle safety is improved, and accurate coverage of color layers is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714233B_ABST
    Figure CN118714233B_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the field of printing image processing, and in particular, a method and system for processing 3D relief inkjet printing images. The method and system include obtaining the maximum height of the relief printing layer; obtaining the number of layers of relief printing and color printing; obtaining the layer spacing and multiple color printing layer images; calculating the width of each color printing layer; stretching the multiple color printing layer images; and alternately printing the relief printing layer and the corresponding color printing layer images. The distance between the printing target distance and the printing nozzle is ensured by the layer spacing, and the effective printing distance of the printing inkjet is precisely controlled to ensure the printing effect, while also avoiding contact between the printing nozzle and the relief printing layer. By stretching the color printing layer images of different heights, the deformation problem of the plane image when printed on the curved surface is ensured, and the accurate coverage of the color printing layer on the relief printing layer is ensured, further improving the printing effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of printing industry, in particular to a 3D relief inkjet printing image processing method and system. Background Art

[0002] With the development of printing technology, when printing images on the surface of products, we are no longer limited to traditional flat printing. We can achieve some relief effects through inkjet printing. For example, when printing the surface patterns of columnar 3D products such as thermos cups, pen holders, and cylindrical packaging boxes, we can print them with relief wool or bamboo weaving effects, bamboo joints or tree patterns, etc. When printing, first spray the base layer with surface concave and convex relief effects with white oil (white ink), and then spray the surface with color ink to achieve various preset color relief textures and image states.

[0003] In order to realize the above printing process, two groups of print heads consisting of CMYK color inkjet print heads and white oil print heads are required during implementation. According to the needs of specific patterns, varnish print heads or gold oil print heads may also be included. Each print head works in batches in turn to complete the entire relief printing process. Since the relief layer printing needs to establish thickness on the entire and / or local outer surface of the 3D product, the existing 3D relief printing of this type can generally only print products with a smaller relief convexity. There are two main reasons for this. On the one hand, the thickness established on the product surface by the relief effect with a larger convexity is also larger, the outward expansion of the relief surface becomes larger, and the pattern sprayed with color on the surface cannot accurately cover the relief surface. On the other hand, the relief effect with a larger convexity has a large height difference on the surface, and the distance difference from the printing nozzle is correspondingly larger. In order to ensure the printing effect, the distance range between the printing nozzle and the printed object is fixed. When the distance is far from the printed object, the ink is dispersed more and the printing clarity is reduced. When the distance is close to the printed object, it is easy to contact and scratch with the convex position on the relief, damaging the printing nozzle. Summary of the invention

[0004] On the first aspect, the embodiments of the present application provide a 3D relief inkjet printing pattern processing method that solves the problem that the existing relief pattern printing can only cope with the printing of relief effects with relatively low protrusion heights, and realizes the printing of high-protrusion relief effects and can achieve good printing effects.

[0005] In order to solve the above problem, the method comprises the steps of:

[0006] Get the maximum height of the relief printing layer;

[0007] Obtaining the number of layers of relief printing and color printing according to the maximum height of the relief printing layer;

[0008] Acquire a color printing layer image, and acquire a layer spacing and a plurality of color printing layer images according to the number of layers;

[0009] Calculate the width of each color printing layer according to the heights of the multiple color printing layer images;

[0010] stretching the plurality of color printing layer images according to the width of each color printing layer;

[0011] The relief printing layer and the corresponding color printing layer images are printed alternately according to the number of layers.

[0012] Due to the adoption of the above method, the embodiment of the present application decomposes the relief printing layer and the color printing layer on the cylindrical outer surface of the columnar product into multiple relief printing layer and color printing layer images for alternate printing, and ensures the distance between the printing target and the printing nozzle through the layer spacing, and accurately controls the effective printing distance of the printing inkjet to ensure the printing effect, while also avoiding contact between the printing nozzle and the relief printing layer. By stretching the color printing layer images at different heights, the deformation problem of the flat image when printing on the curved surface is ensured, and the accurate coverage of the relief printing layer by the color printing layer is ensured, thereby further improving the printing effect.

[0013] In a possible implementation, the step of obtaining the maximum height of the relief printing layer further comprises the steps of:

[0014] Acquire relief printing layer printing data;

[0015] printing a reference sample according to the relief printing layer printing data;

[0016] Acquire a point cloud data file of the reference sample surface;

[0017] Obtain the three-dimensional coordinates of each point in the point cloud data file;

[0018] Calculate the absolute value of the difference between the three-dimensional coordinates of each point and the X-axis coordinate of the central axis coordinate of the reference sample;

[0019] The absolute value of the maximum X-axis coordinate difference is taken as the maximum height of the relief printing layer.

[0020] In a possible implementation, the step of obtaining the maximum height of the relief printing layer further comprises the steps of:

[0021] Acquire relief printing layer printing data, wherein the relief printing layer printing data includes a monochrome printing image and a stacking height of each pixel point in the monochrome printing image;

[0022] The maximum height of the relief printing layer is set according to the maximum height value among the pile heights.

[0023] In a possible implementation, the step of obtaining the number of layers of relief printing and color printing according to the maximum height of the relief printing layer further comprises the steps of:

[0024] Obtaining an effective inkjet distance of a printing nozzle of a printing device;

[0025] The minimum number of layers required to equally divide the maximum height of the relief printing layer within the effective inkjet distance range is calculated as the number of color printing layers.

[0026] In a possible implementation, the step of obtaining the interlayer spacing and multiple color printing layer images further includes the following steps:

[0027] Obtaining the interlayer spacing according to the number of layers;

[0028] Acquire relief printing layer data on each corresponding layer according to the number of layers;

[0029] Acquire corresponding color printing layer data according to the relief printing layer data on each corresponding layer;

[0030] The corresponding color printing layer data is acquired according to the relief printing layer data on each corresponding layer to generate a plurality of color printing layer images.

[0031] In a possible implementation, the step of acquiring the relief printing layer data on each corresponding layer according to the number of layers further comprises the following steps:

[0032] Obtaining relief printing pixel points between the corresponding layer and the lower layer;

[0033] The height of the pile is obtained according to the inter-layer distance between the corresponding layer and the lower layer.

[0034] In a possible implementation, the step of acquiring corresponding color printing layer data according to the relief printing layer data on each corresponding layer further comprises the following steps:

[0035] According to the coordinates of the relief printing pixel points between the corresponding layer and the lower layer;

[0036] The color printing pixel point information of the corresponding coordinates of the color printing layer image is obtained.

[0037] In a possible implementation, the step of generating a color printing layer image further comprises the following steps:

[0038] Generate a blank image with the same size as the color print layer image;

[0039] The color printing pixel information is filled into the blank image.

[0040] In a possible implementation, stretching the plurality of color printing layer images according to the width of each color printing layer further comprises the steps of:

[0041] According to the height at which each color printing layer is located and the radius of the cylindrical product, the outer surface perimeter of each color printing layer is obtained;

[0042] The outer surface perimeter of each color printing layer is used as the width of each color printing layer;

[0043] Each color printing layer image is stretched according to the width of each printing layer.

[0044] On the other hand, the embodiment of the present application also discloses a 3D relief inkjet printing image processing system, comprising:

[0045] A graphic parameter acquisition module is used to acquire the maximum height of the relief printing layer and the color printing layer image;

[0046] A layer processing module is connected to the graphic parameter acquisition module to acquire data, and acquires the maximum height of the relief printing layer and the number of layers of relief printing and color printing from the graphic parameter acquisition module;

[0047] An image generation module is connected to the layer processing module and the graphic parameter acquisition module to acquire data, acquire a color printing layer image, and acquire a layer spacing and multiple color printing layer images according to the number of layers;

[0048] An image size processing module is connected to the image generation module and performs data acquisition, and calculates the width of each color printing layer according to the heights of the multiple color printing layer images;

[0049] An image stretching module, connected to the image size processing module and performing data acquisition, stretching the multiple color printing layer images according to the width of each color printing layer;

[0050] The printing execution module is connected to the graphic parameter acquisition module and the image stretching module to acquire data, and prints the relief printing layer and the corresponding color printing layer images alternately according to the number of layers. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 It is a schematic diagram of the overall process of an embodiment;

[0052] Figure 2 A schematic diagram of a specific step flow chart of step S1 of an embodiment;

[0053] Figure 3 Another specific step flow chart of step S1 of an embodiment;

[0054] Figure 4 It is a schematic diagram of the specific steps of S2;

[0055] Figure 5 The module structure diagram of an embodiment is shown in FIG. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be described in detail by way of implementation methods with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0057] In order to facilitate understanding of the principles and functions of the technical solutions in the embodiments of the present application, the process of relief inkjet printing of columnar products is first briefly introduced. Relief is a sculptural effect that shows a sense of concavity and convexity on the surface of an object. The relief effect makes the layers of the picture clearer and the three-dimensional sense stronger. It is a unique artistic effect. Among the existing relief printing equipment, UV inkjet printing equipment is the main one. The area with a sense of relief is highlighted by the accumulation of UV white ink - the higher the thickness of the white ink accumulation, the more obvious the relief effect. Then, color printing is applied to the surface, and the pattern, shape, and color are visually given a 3D effect through printing.

[0058] The general working process of existing relief printing equipment is:

[0059] Edit printing graphics and input them into the control software of printing equipment;

[0060] In the control software of the printing device, the height of the pile of the partial area is set as a printing parameter according to the relief effect to be presented, wherein the partial area refers to the area composed of some pixel points;

[0061] The printing device executes the printing parameters and performs printing on the printed surface.

[0062] Based on the above basic steps, relief printing can be achieved on the printed surface. There is a common situation that the relief printing layer is used as a stacking layer to construct the relief effect, and also as a coloring layer covering the original color of the printed surface. For example, when printing on stainless steel, the relief printing layer is also used as a coloring layer covering the original color of the stainless steel, and part of the coloring layer is used as a spacing layer between the original color of the stainless steel and the color printing layer on the surface of the finished product, which is conducive to eliminating the influence of the printed surface on the coloring of the color printing layer. This process is similar to the need to cover the cement wall with one or more layers of other materials before painting the wall. In the above process, when editing the printed graphics and inputting them into the control software of the printing equipment, a white picture is input, and then the parameters of the stacking height of the specific area are set in the control software of the printing equipment. After the relief printing layer is printed, color printing is performed on the outer surface to obtain a finished product with a relief effect and a color effect.

[0063] Based on the above basic situation of relief inkjet printing, the embodiment of the present application focuses on solving the technical problems that need to be solved in the composite printing of relief printing and color printing on 3D cylindrical products. In order to realize the relief printing effect on the cylindrical surface similar to the regular curved surface in addition to printing on the conventional plane, based on the improvement of the conveying of the printed object of the relief printing equipment, for example, the bearing of the printed object is realized by the rotating shaft, and the printed object is driven to rotate during the printing process, so that the relief printing effect can be achieved on the cylindrical surface.

[0064] However, some problems arise with the relief printing on the cylindrical surface. Since the relief printing layer builds up thickness on the product surface, the outer diameter of the cylindrical surface is actually increased, and the greater the thickness of the relief printing layer, the greater the increase in the outer diameter. The size of the original surface color printing image cannot cover the increased cylindrical outer surface, which will result in the color printing image being printed before the cylindrical product rotates one circle, forming a white gap in the uncovered area. At the same time, after the relief printing layer builds up height, the various areas on the external relief shape are actually expanded outward relative to the corresponding positions on the plane. The outer surface increases, and the color printing layer cannot accurately cover the original corresponding positions without processing, causing the relief shape and the color printing to be misaligned, affecting the printing quality.

[0065] At the same time, when performing a relief effect with a large protrusion, the height difference of the relief effect surface is large, and the distance difference from the printing nozzle also becomes larger accordingly. In order to ensure the printing effect, the distance range between the printing nozzle and the printed object is fixed. When the distance is far from the printed object, the ink is dispersed more and the printing clarity is reduced. When the distance is close to the printed object, it is easy to contact and scratch the raised position on the relief, damaging the printing nozzle.

[0066] like Figure 1 As shown, the embodiment of the present application aims at the above problems and proposes a 3D relief inkjet printing image processing method that comprehensively solves the above defects. The method comprises the steps of:

[0067] S1. Get the maximum height of the relief printing layer;

[0068] The maximum height of the relief printing layer refers to the vertical height of the highest protrusion on the relief printing layer from the columnar surface. In order to obtain the accurate height of this part, it can be obtained by reverse processing of the reference sample, such as Figure 2 As shown, the specific steps include:

[0069] S11. Obtaining relief printing layer printing data;

[0070] S12. Printing a reference sample according to the relief printing layer printing data;

[0071] S13. Obtaining a point cloud data file of the reference sample surface;

[0072] The point cloud data file is obtained by laser scanning and other equipment. The reference sample is scanned three-dimensionally by the laser scanning equipment to obtain the point cloud data file of the reference sample.

[0073] S14. Obtaining the three-dimensional coordinates of each point in the point cloud data file;

[0074] After obtaining the point cloud data file, point cloud processing software such as CloudCompare and PCL (Point Cloud Library) can be used to load, edit and analyze point cloud data. For scenarios that require automated processing or integration into existing systems, point cloud data can be accessed and processed through programming interfaces (such as CloudCompare's Python interface). By writing scripts or programs, the coordinate information of specific points in the point cloud can be automatically extracted.

[0075] Taking CloudCompare software as an example, after starting CloudCompare software, open your point cloud data file (such as PLY, PCD, LAS and other formats) through the "File" option in the menu bar.

[0076] In the software interface, make sure the point cloud data for which you want to obtain coordinates has been loaded and displayed.

[0077] CloudCompare provides a variety of tools to select points in the point cloud, through the Point Picking tool or the Select Points (List) tool, etc. These tools are usually located in the toolbar of the software, and you can activate them by clicking the corresponding icon.

[0078] Use the Point Selection tool to click on the point you want to see the coordinates of. In some versions of CloudCompare, when you click on a point, its coordinates may be displayed directly somewhere in the software interface (such as the status bar or information panel).

[0079] Check the software's "Properties" window or "Info" panel. In this window, detailed information about the selected point is usually listed, including its x, y, and z coordinates.

[0080] If you need to save the coordinate information, you can use the software's export function to export the selected point cloud data as a new file, or in some cases, you can directly copy the coordinate information to the clipboard for use in other applications.

[0081] The above is a manual viewing method. You can also use some other methods to batch obtain the coordinates of point clouds. For example, using PyCloudCompare to batch obtain point cloud coordinates usually involves writing Python scripts to automate the process. PyCloudCompare is a Python binding library for CloudCompare software, which allows users to control and operate CloudCompare's point cloud data through Python scripts. The following is an example process based on PyCloudCompare to show how to batch obtain point cloud coordinates:

[0082] Step 1: Install the library

[0083] First, make sure you have installed the CloudCompare software and Python environment. Although CloudCompare itself does not directly provide the PyCloudCompare library, you can use PCL (Point Cloud Library) or other point cloud processing libraries that support Python to load and process point cloud data.

[0084] Step 2: Write a Python script to load the point cloud data and get the coordinates of the points in batches. Here is an example script using PCL (or similar libraries):

[0085] Python

[0086] import pcl

[0087] from pcl import pcl_visualization

[0088] # Load point cloud data

[0089] cloud = pcl.load_XYZRGB('your_pointcloud_file.pcd') # In this embodiment, the point cloud data file is in PCD format and contains RGB information. In this embodiment, the RGB information is monochrome, or white.

[0090] # Assume you want to get the coordinates of all points (or you can modify the index to select some points as needed)

[0091] indices = range(cloud.Length* cloud.width * cloud.height) # Traverse the point cloud and get the coordinates, set the traversal space area, and traverse all points in the space area.

[0092] for index in indices:

[0093] point = cloud[index]

[0094] x, y, z = point[0], point[1], point[2] # extract x, y, z coordinates

[0095] print(f"Point {index}: ({x}, {y}, {z})")

[0096] Step 3: Run the script

[0097] Save the above script as a Python file (e.g. get_pointcloud_coordinates.py) and run it from the command line:

[0098] bash

[0099] python get_pointcloud_coordinates.py

[0100] By executing the above script, the three-dimensional coordinates of each point in the point cloud can be automatically obtained.

[0101] S15. Calculate the absolute value of the difference between the three-dimensional coordinates of each point and the X-axis coordinates of the reference sample center axis coordinates;

[0102] S16. Take the absolute value of the maximum X-axis coordinate difference as the maximum height of the relief printing layer.

[0103] By performing coordinate calculation on the three-dimensional coordinates of each point and the central axis of the reference sample, one or more points with the largest distance from the central axis of the reference sample can be obtained. This distance is the maximum height of the relief printing layer.

[0104] Alternatively, the maximum height of the relief printing layer can be determined by pure data calculation. This pure data calculation method is based on the aforementioned relief printing principle. When performing relief printing, it is necessary to set the stacking height of each area of ​​the relief printing layer, and the maximum stacking height can be taken. Some equipment achieves this by repeatedly printing certain areas. In this case, it is necessary to calculate the maximum height by combining the thickness of a single printing layer with the number of repetitions. Figure 3 As shown, the specific steps may include:

[0105] S17. Acquire relief printing layer printing data, wherein the relief printing layer printing data includes a monochrome printing image and a pile height of each pixel in the monochrome printing image;

[0106] S18. Setting the maximum height of the relief printing layer according to the maximum height value among the pile heights.

[0107] It should be noted that the above steps S17-S18 and the above steps S11-S16 are two parallel alternative solutions.

[0108] S2. Obtaining the number of layers of relief printing and color printing according to the maximum height of the relief printing layer;

[0109] Establishing the layers is the core step of this embodiment to achieve the technical purpose. Since the technical solution of this embodiment especially solves a series of technical defects caused by the high-raised relief effect on the surface, the products that can be printed in one time are not within the scope of consideration. Since this embodiment targets the problem of the high-raised relief effect, it is necessary to first reduce the height of a single print and then print it in multiple times. Therefore, the first problem to be solved is the number of layers. Figure 4 As shown, this step can be divided into:

[0110] S21. Obtaining the effective inkjet distance of the printing nozzle of the printing device;

[0111] There are also certain differences in the effective inkjet distance of printing nozzles of different brands and types, which is generally around 2-4 mm. A single layer of material can be piled up to a height of 2 mm. At the same time, when the distance between the printing nozzle and the printed object is within this interval during color printing, the difference in printing effect is not obvious. If the nozzle inkjet exceeds this range, the divergence distance of the inkjet is large, resulting in unclear printing. When it is lower than this range, the divergence distance of the inkjet is not enough, resulting in a small coverage area of ​​a single inkjet, requiring multiple inkjet, and wasting ink. In this embodiment, 3 mm is taken as an example.

[0112] S22. Calculate the minimum number of layers required to equally divide the maximum height of the relief printing layer within the effective inkjet distance range as the number of color printing layers.

[0113] It should be noted that the effective inkjet distance is often not divisible by the maximum height. For example, the equal division mentioned here means taking a value that can be approximately divided equally within the effective inkjet distance range so as not to affect the printing effect.

[0114] S3 obtains a color printing layer image, and obtains the layer spacing and multiple color printing layer images according to the number of layers;

[0115] In addition to being the basis for calculating the subsequent image size adjustment amount, the layer spacing here also serves as the displacement of the rotating axis of the printed object of the relief printing device. After each layer is printed, the rotating axis of the printed object of the relief printing device is displaced according to the layer spacing, always maintaining an effective printing distance from the printing nozzle.

[0116] S4. Calculate the width of each color printing layer according to the height of the plurality of color printing layer images;

[0117] S5. stretching the plurality of color printing layer images according to the width of each color printing layer;

[0118] Stretching the image is mainly used to solve the problem that the outer diameter of the cylindrical surface is actually increased due to the thickness of the relief printing layer on the product surface, and the greater the thickness of the relief printing layer, the greater the increase in the outer diameter. The size of the original surface color printing image cannot cover the increased cylindrical outer surface, which will cause the color printing image to be printed before the cylindrical product has rotated one circle, forming a white gap in the uncovered area. At the same time, after the relief printing layer establishes the height, the various areas on the external relief shape are actually expanded outward relative to the corresponding positions on the plane. The outer surface is increased, and the color printing layer cannot accurately cover the original corresponding positions without processing, resulting in misalignment of the relief shape and color printing. After the image is stretched, each color printing layer image is stretched synchronously according to the expansion of the outer surface at its height.

[0119] In step S5, stretching the plurality of color printing layer images according to the width of each color printing layer can be subdivided and expressed as follows:

[0120] According to the height at which each color printing layer is located and the radius of the cylindrical product, the outer surface perimeter of each color printing layer is obtained;

[0121] The outer surface perimeter of each color printing layer is used as the width of each color printing layer;

[0122] Each color printing layer image is stretched according to the width of each printing layer.

[0123] For image stretching, you can use Python's PIL (Python Imaging Library, now usually referred to as Pillow) library to achieve this function

[0124] from PIL import Image

[0125] # Loading images

[0126] image = Image.open('path_to_your_image.jpg')

[0127] # Set the new width

[0128] new_width = 800 # For example, you want to set the width to 800 pixels

[0129] # Calculate new height to maintain aspect ratio

[0130] width, height = image.size

[0131] aspect_ratio = height / width

[0132] new_height = int(new_width * aspect_ratio)

[0133] # Resize the image

[0134] resized_image = image.resize((new_width, new_height))

[0135] # Save the modified image

[0136] resized_image.save('resized_image.jpg')

[0137] S6. Alternately printing the relief printing layer and the corresponding color printing layer images according to the number of layers.

[0138] Due to the adoption of the above method, the embodiment of the present application decomposes the relief printing layer and the color printing layer on the cylindrical outer surface of the columnar product into multiple relief printing layer and color printing layer images for alternate printing, and ensures the distance between the printing target and the printing nozzle through the layer spacing, and accurately controls the effective printing distance of the printing inkjet to ensure the printing effect, while also avoiding contact between the printing nozzle and the relief printing layer. By stretching the color printing layer images at different heights, the deformation problem of the flat image when printing on the curved surface is ensured, and the accurate coverage of the relief printing layer by the color printing layer is ensured, thereby further improving the printing effect.

[0139] In the above embodiment, the relief printing layer and the color printing layer are printed alternately to achieve an overall printing effect. However, after the relief printing layer located at the lower layer is printed, after the relief printing layer at the lower layer is covered by a complete color printing image, the relief printing of the upper layer is also performed in some areas. When the relief printing of the upper layer is performed, this part of the color printing layer will be covered, and the color printing layer in other areas will also be printed. Such an operation will cause a large amount of repeated and ineffective use of color ink. In order to solve this problem, based on the above embodiment, in one embodiment, the acquisition of the interlayer spacing and multiple color printing layer images further includes the steps of:

[0140] Obtaining the interlayer spacing according to the number of layers;

[0141] Acquire relief printing layer data on each corresponding layer according to the number of layers;

[0142] In one embodiment, the step of obtaining the relief printing layer data on each corresponding layer according to the number of layers further comprises the steps of:

[0143] Obtaining relief printing pixel points between the corresponding layer and the lower layer;

[0144] The height of the pile is obtained according to the inter-layer distance between the corresponding layer and the lower layer.

[0145] Since the pixels on the relief printing layer all have a pile height parameter, the pixels that need to be printed in each layer of the relief printing layer can be obtained through the pile height of each pixel. After obtaining this part of the printed pixels, it means that the pixels that need to be covered with color on the surface when each layer is printed. The pixel position where the pile height is greater than the height of the current layer indicates that it needs to be covered later. Therefore, it can be reserved here without color printing. Since the pixels of the relief printing layer and the color printing layer are one-to-one corresponding on the plane image, it can be further:

[0146] Acquire corresponding color printing layer data according to the relief printing layer data on each corresponding layer;

[0147] Obtaining the corresponding color printing layer means that the pixel area printed by the relief printing layer in each layer can be obtained according to the printing pixels of the relief printing layer. Therefore, each color printing layer is also colored in this area, that is, the area of ​​the lower layer that has been covered by color printing is not printed repeatedly, and the area of ​​the upper layer that will be further covered by relief printing is left blank, so as to greatly save the use of color ink.

[0148] Specifically, the step of obtaining corresponding color printing layer data according to the relief printing layer data on each corresponding layer further includes the following steps:

[0149] According to the coordinates of the relief printing pixel points between the corresponding layer and the lower layer;

[0150] The color printing pixel point information of the corresponding coordinates of the color printing layer image is obtained.

[0151] Therefore, after obtaining each printed pixel, we can further:

[0152] The corresponding color printing layer data is acquired according to the relief printing layer data on each corresponding layer to generate a plurality of color printing layer images.

[0153] In one embodiment, the step of generating a color printing layer image further comprises the steps of:

[0154] Generate a blank image with the same size as the color print layer image;

[0155] The color printing pixel information is filled into the blank image.

[0156] In one embodiment of the present application, a 3D relief inkjet printing image processing system is also disclosed, such as Figure 5 As shown, the 3D relief inkjet printing image processing system of this embodiment includes:

[0157] Graphic parameter acquisition module 1, acquires the maximum height of the relief printing layer and the color printing layer image;

[0158] A layer processing module 2 is connected to the graphic parameter acquisition module and performs data acquisition, obtains the maximum height of the relief printing layer from the graphic parameter acquisition module, and obtains the number of layers of relief printing and color printing;

[0159] An image generation module 3 is connected to the layer processing module and the graphic parameter acquisition module to acquire data, acquire a color printing layer image, and acquire a layer spacing and multiple color printing layer images according to the number of layers;

[0160] An image size processing module 4 is connected to the image generation module and performs data acquisition, and calculates the width of each color printing layer according to the heights of the multiple color printing layer images;

[0161] An image stretching module 5 is connected to the image size processing module and performs data acquisition, and stretches the multiple color printing layer images according to the width of each color printing layer;

[0162] The printing execution module 6 is connected to the graphic parameter acquisition module and the image stretching module to acquire data, and prints the relief printing layer and the corresponding color printing layer images alternately according to the number of layers.

[0163] The 3D relief inkjet printing image processing system in this embodiment is a preprocessing software system that inputs printing files and data to the data interface of the relief printing device. It can be embedded in the control software of the relief printing device, or it can be used as a software module in the upper computer of the relief printing device. After running, it transmits and controls data through the interface between the computer and the relief printing device. It can also be an independent software system that generates printing pictures and data as the result of the operation, and is transferred to the relief printing device to realize the technical content of the above-mentioned embodiments.

[0164] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. 3D relief inkjet printing image processing method, It is characterized in that Includes steps: Get the maximum height of the relief printing layer; Obtaining the number of layers of relief printing and color printing according to the maximum height of the relief printing layer; Acquire a color printing layer image, and acquire a layer spacing and a plurality of color printing layer images according to the number of layers; Calculate the width of each color printing layer according to the heights of the multiple color printing layer images; According to the width of each color printing layer, stretching the plurality of color printing layer images; wherein the outer surface perimeter of each color printing layer is used as the width of each color printing layer; The relief printing layer and the corresponding color printing layer images are printed alternately according to the number of layers.

2. The 3D relief inkjet printing image processing method according to claim 1, It is characterized in that The step of obtaining the maximum height of the relief printing layer further comprises the steps of: Acquire relief printing layer printing data; printing a reference sample according to the relief printing layer printing data; Acquire a point cloud data file of the reference sample surface; Obtain the three-dimensional coordinates of each point in the point cloud data file; Calculate the absolute value of the difference between the three-dimensional coordinates of each point and the X-axis coordinate of the central axis coordinate of the reference sample; The absolute value of the maximum X-axis coordinate difference is taken as the maximum height of the relief printing layer.

3. The 3D relief inkjet printing image processing method according to claim 1, It is characterized in that The step of obtaining the maximum height of the relief printing layer further comprises the steps of: Acquire relief printing layer printing data, wherein the relief printing layer printing data includes a monochrome printing image and a stacking height of each pixel point in the monochrome printing image; The maximum height of the relief printing layer is set according to the maximum height value among the pile heights.

4. The 3D relief inkjet printing image processing method according to any one of claims 1 to 3, It is characterized in that The step of obtaining the number of layers of relief printing and color printing according to the maximum height of the relief printing layer further comprises the steps of: Obtaining an effective inkjet distance of a printing nozzle of a printing device; The minimum number of layers required to equally divide the maximum height of the relief printing layer within the effective inkjet distance range is calculated as the number of color printing layers.

5. The 3D relief inkjet printing image processing method according to claim 4, It is characterized in that The step of obtaining the interlayer spacing and multiple color printing layer images further comprises the following steps: Obtaining the interlayer spacing according to the number of layers; Acquire relief printing layer data on each corresponding layer according to the number of layers; Acquire corresponding color printing layer data according to the relief printing layer data on each corresponding layer; The corresponding color printing layer data is acquired according to the relief printing layer data on each corresponding layer to generate a color printing layer image.

6. The 3D relief inkjet printing image processing method according to claim 5, It is characterized in that The step of obtaining the relief printing layer data on each corresponding layer according to the number of layers further comprises the steps of: Obtaining relief printing pixel points between the corresponding layer and the lower layer; The height of the pile is obtained according to the inter-layer distance between the corresponding layer and the lower layer.

7. The 3D relief inkjet printing image processing method according to claim 6, It is characterized in that The step of obtaining corresponding color printing layer data according to the relief printing layer data on each corresponding layer further comprises the steps of: Obtaining coordinates of relief printing pixel points between the corresponding layer and the lower layer; The color printing pixel point information of the corresponding coordinates of the color printing layer image is obtained.

8. The 3D relief inkjet printing image processing method as claimed in claim 7, It is characterized in that The generating of the color printing layer image further comprises the steps of: Generate a blank image with the same size as the color print layer image; The color printing pixel information is filled into the blank image.

9. The 3D relief inkjet printing image processing method according to any one of claims 1 to 3, It is characterized in that The step of stretching the plurality of color printing layer images according to the width of each color printing layer further comprises the steps of: According to the height at which each color printing layer is located and the radius of the cylindrical product, the outer surface perimeter of each color printing layer is obtained; The outer surface perimeter of each color printing layer is used as the width of each color printing layer; Each color printing layer image is stretched according to the width of each color printing layer. 10.3D relief inkjet printing image processing system, It is characterized in that include A graphic parameter acquisition module is used to acquire the maximum height of the relief printing layer and the color printing layer image; a layer processing module connected to the graphic parameter acquisition module and performing data acquisition, obtaining the maximum height of the relief printing layer from the graphic parameter acquisition module, and obtaining the number of layers of relief printing and color printing according to the maximum height of the relief printing layer; An image generation module is connected to the layer processing module and the graphic parameter acquisition module to acquire data, acquire a color printing layer image, and acquire a layer spacing and multiple color printing layer images according to the number of layers; An image size processing module is connected to the image generation module and performs data acquisition, and calculates the width of each color printing layer according to the heights of the multiple color printing layer images, wherein the outer surface perimeter of each color printing layer is used as the width of each color printing layer; An image stretching module, connected to the image size processing module and performing data acquisition, stretching the multiple color printing layer images according to the width of each color printing layer; The printing execution module is connected to the graphic parameter acquisition module and the image stretching module to acquire data, and prints the relief printing layer and the corresponding color printing layer images alternately according to the number of layers.