Spot color separation method and system for ink recycling
By performing pixel segmentation and multi-level region clustering on RGB resolution images of printed recycled materials, combined with local dissolution and spot color mixing processes, the problem of accurately separating different color regions in traditional ink recycling has been solved, achieving efficient ink regeneration and resource recycling.
Patent Information
- Application Number
- CN202510932656.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2045-07-07
AI Technical Summary
Traditional ink recycling technologies struggle to accurately separate similar colors in multi-color gamut printed materials, resulting in low purity recycled inks that cannot be directly reused, leading to resource waste and increased processing costs.
By acquiring RGB resolution images of printed recycled materials, pixel segmentation and multi-level region clustering are performed, including first-order clustering based on color consistency and second-order clustering based on color similarity. Target recycling areas are identified and locally dissolved and separated. The spot color adjustment module is used to blend and mix inks to obtain high-quality spot color inks.
It achieves efficient separation and high-quality regeneration of similar color systems in complex color-matched printed materials, improves the recycling rate of new inks, and enhances the accuracy and efficiency of ink recycling.
Smart Images

Figure CN120782792B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of new ink, in particular to a spot color separation method and system for ink recycling. BACKGROUND
[0002] Under the background of the transformation of the printing industry to green, new inks are widely used because of their high color fastness, low VOCs emission and excellent printing applicability, but their complex chemical components and spot color ratio characteristics bring significant challenges to recycling and reuse. Traditional ink recycling technology is limited by single color step segmentation algorithm and global dissolution process, and it is difficult to realize precise separation of similar color systems (such as light blue and light light blue) in multi-color domain printed products, resulting in the need for multiple adjustments or degraded use of recycled inks due to the mixing of impurity colors, causing resource waste and rising processing costs. SUMMARY
[0003] The present application provides a spot color separation method and system for ink recycling, aiming to solve the technical problem that the purity of recycled new ink is low and cannot be directly reused due to the inability to accurately separate different color regions in traditional ink recycling technology.
[0004] The first aspect of the present application provides a spot color separation method for ink recycling, the method comprising: acquiring an RGB resolution image of a printed recycling product; performing pixel segmentation on the RGB resolution image, and marking the color data and coordinate data of each pixel; performing multi-level region clustering on the RGB resolution image according to the color data of each pixel, to obtain a plurality of target recycling regions, wherein the multi-level region clustering comprises first-order clustering based on color consistency and second-order clustering based on color similarity; identifying the coordinate data of each target recycling region, and controlling a recycling device to locally dissolve and separate the color ink of each target recycling region to obtain mixed ink of each target recycling region; constructing a spot color adjustment module, and using the base ink built-in in the spot color adjustment module to blend the mixed ink to obtain a first spot color ink.
[0005] In another aspect of the present disclosure, a spot color separation system for ink recycling is provided, which comprises: an image acquisition unit configured to acquire an RGB resolution image of a printed recycling product; a pixel segmentation unit configured to perform pixel segmentation on the RGB resolution image, and mark color data and coordinate data of each pixel; a multi-level region clustering unit configured to perform multi-level region clustering on the RGB resolution image according to the color data of each pixel, and obtain a plurality of target recycling regions, wherein the multi-level region clustering comprises first-order clustering based on color consistency and second-order clustering based on color similarity; a local dissolution separation unit configured to identify the coordinate data of each target recycling region, and control a recycling device to perform local dissolution separation on color ink of each target recycling region, and obtain mixed ink of each target recycling region; and an ink blending unit configured to construct a spot color adjustment module, and blend the mixed ink with a base ink built-in in the spot color adjustment module to obtain a first spot color ink.
[0006] The one or more technical solutions provided in the present disclosure have at least the following technical effects or advantages:
[0007] The above-mentioned spot color separation method for ink recycling first acquires an RGB image of a printed recycling product, and performs pixel-level segmentation on the image, and marks the color and coordinates of each pixel. Then, according to the color data of each pixel, multi-level region clustering is performed on the image, and the clustering process includes first-order clustering based on color consistency and second-order clustering based on color similarity, thereby obtaining a plurality of target recycling regions. Subsequently, the coordinates of each recycling region are identified, and the ink of each region is subjected to local dissolution separation by a recycling device, thereby obtaining mixed ink. Finally, the mixed ink is blended with a base ink built-in in a spot color adjustment module, thereby obtaining the required spot color ink, so as to realize efficient separation and high-quality regeneration of similar color systems in complex color printing products, and improve the recycling rate of new ink.
[0008] The above description is only a summary of the technical solutions of the present disclosure. In order to enable one of ordinary skill in the art to better understand the technical means of the present disclosure and implement the same according to the contents of the description, and in order to enable the above and other purposes, features and advantages of the present disclosure to be more apparent, the following specific embodiments of the present disclosure are described. BRIEF DESCRIPTION OF DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can also be obtained by those of ordinary skill in the art without any creative effort.
[0010] Figure 1A flowchart of a spot color separation method for ink recycling in an embodiment.
[0011] Figure 2 A system architecture diagram of a spot color separation system for ink recycling in an embodiment.
[0012] Legend: image acquisition unit 11, pixel segmentation unit 12, multi-level region clustering unit 13, local dissolution separation unit 14, ink blending unit 15. DETAILED DESCRIPTION
[0013] The embodiments of the present application provide a spot color separation method and system for ink recycling, which solve the technical problem of low purity and direct reusability of new ink caused by the inability to accurately separate different color regions in traditional ink recycling technology.
[0014] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0015] It should be noted that the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or server comprising a series of steps or units does not have to be limited to those clearly listed steps or units, but can include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices.
[0016] Embodiment one, as shown in the present application provides a spot color separation method for ink recycling, which comprises: Figure 1 Acquiring an RGB resolution image of a printed recycling product.
[0017] In the embodiments of the present application, first, the image data of the printed recycling product is acquired by a high-definition scanning device or a special camera. The device used needs to have high-resolution image capture capability to ensure that all color information on the surface of the printed product can be recorded during image acquisition. The acquired image data is an RGB resolution image, that is, each pixel point contains the intensity values of red (R), green (G) and blue (B) three basic colors, which provides accurate basic data for subsequent image processing and new ink recycling, and helps to further perform pixel segmentation, region clustering and ink separation operations, thereby realizing accurate ink recycling and spot color separation.
[0018]
[0019] performing pixel segmentation on the RGB resolution image, and marking color data and coordinate data of each pixel.
[0020] In one embodiment, after obtaining the RGB resolution image, each pixel in the RGB resolution image is traversed one by one, and the color data, i.e., the RGB color value, of the traversed pixel is marked. At the same time, the row and column of the pixel in the two-dimensional image are also marked as the coordinate data of each pixel. For example, the pixel coordinate of the i-th row and j-th column of the RGB resolution image is (i, j), and the corresponding RGB color value is (R i ,G i ,B i ). After completing the pixel segmentation, the color data of each pixel is combined with the coordinate data thereof, and stored as a data structure for subsequent image processing.
[0021] performing multi-level region clustering on the RGB resolution image according to the color data of each pixel, to obtain a plurality of target recycling regions, wherein the multi-level region clustering comprises a first-order clustering based on color consistency and a second-order clustering based on color similarity.
[0022] In one embodiment, after marking the color data of each pixel, multi-level region clustering is performed on the RGB resolution image according to the color data. Specifically, first, the RGB color space is converted into the Lab color space, because the color difference in the Lab space is more consistent with the perception of the human eye, and can better reflect the color consistency. After the conversion is completed, by calculating the color difference between the pixels, a certain color consistency standard (for example, the difference in each channel in the Lab color space) is used to divide the pixels with small color difference into the same recycling region, so as to divide the image into a plurality of preliminary recycling regions, and the color features of each region are relatively consistent. After completing the first-order clustering based on color consistency, the main color Lab value of each preliminary recycling region is extracted, the color difference of the main color Lab values between different recycling regions is calculated, and a preset threshold is used to analyze the calculated color difference, so that the recycling regions with small color difference are clustered, so that the regions with slight color difference (such as light blue and light light blue) are merged into a target recycling region. After completing the second-order clustering based on color similarity, a plurality of target recycling regions are obtained, the color features of each target recycling region are consistent or similar, and the spatial position and color information thereof have been effectively extracted and clustered. These target recycling regions will serve as the basis for subsequent dissolution separation and ink recycling, ensuring that the division of the recycling region is more accurate, and effectively improving the efficiency and quality of ink recycling.
[0023] Further, the application provides a first-order clustering method based on color consistency in the multi-level region clustering of the resolution image according to the color data of each pixel, comprising:
[0024] convert the RGB resolution image from RGB color space to Lab color space to obtain a Lab resolution image; obtain a color feature vector of each pixel in the Lab resolution image; perform color consistency calculation on the color feature vector of each pixel, output a color consistency calculation result, and cluster pixels corresponding to color consistency into the same recycling area according to the color consistency calculation result to obtain a plurality of initial recycling areas; and output the indexes of the plurality of initial recycling areas, the dominant color Lab value, and the pixel coordinate set as a first-order clustering result.
[0025] Preferably, when performing first-order clustering, first, a standard color space conversion formula is used to convert the RGB value of each pixel of the RGB resolution image into a value in the Lab color space. Each pixel of the converted Lab resolution image includes L* (brightness), a* (red-green axis), and b* (yellow-blue axis). Subsequently, in the converted Lab resolution image, the L*, a*, and b* components of each pixel are extracted to form a color feature vector of each pixel, and the color feature vector can be in the form of [L*, a*, b*]. Then, in order to evaluate the color consistency between pixels, the Euclidean distance is used to calculate the color feature vectors of each pair of pixels to obtain the color difference (Delta E) between the Lab values of each pair of pixels, which represents the perceived difference between the two colors. By summarizing the calculated color differences, a color consistency calculation result is formed. Then, each color difference in the color consistency calculation result is compared with a preset color difference threshold. If the comparison result shows that the color difference is less than the color difference threshold, it is considered that the colors of the two pixels are consistent and belong to the same recycling area, and therefore, the two pixels are clustered into an initial recycling area. After each clustering, the mean of the color feature vectors in the cluster is calculated, and this mean is used in subsequent clustering. This process is repeated until all pixels are divided, thereby forming a plurality of initial recycling areas. Finally, a unique index value is assigned to each initial recycling area to represent the number of the area, and the average of the Lab values of all pixels in the area is used as the dominant color Lab value. By organizing each initial recycling area with the corresponding index value, dominant color Lab value, and pixel coordinate data, a first-order clustering result is formed and output. This first-order clustering result provides a necessary data basis for subsequent second-order clustering and ink recycling.
[0026] Further, the application provides a second-order clustering method based on color similarity, which includes:
[0027] After obtaining the plurality of initial recycling areas, main color Lab values of each initial recycling area in the plurality of initial recycling areas are extracted; color difference values of the main color Lab values between any two initial recycling areas are calculated to obtain Lab color difference value calculation results; a similarity color difference threshold is set, and the Lab color difference value calculation results are judged according to the similarity color difference threshold, initial recycling areas meeting the similarity color difference threshold are clustered into the same recycling area, and a plurality of clustered recycling areas are obtained; and a plurality of target recycling areas are extracted from the plurality of clustered recycling areas.
[0028] Optionally, when performing the second-order clustering, main color Lab values of each initial recycling area are extracted from the plurality of initial recycling areas, and color differences of the main color Lab values between each two initial recycling areas are calculated through the Euclidean distance, and the color differences are stored in an empty matrix to form Lab color difference value calculation results, each element in the matrix representing a color difference value between two initial recycling areas. Subsequently, a similarity color difference threshold is set based on actual business requirements, and each color difference value in the Lab color difference value calculation results is compared with the similarity color difference threshold, if the color difference value between two initial recycling areas is less than the similarity color difference threshold, it indicates that the colors of the two initial recycling areas are similar, and belong to the same recycling area, at this time, the two initial recycling areas are merged into the same recycling area, and the main color Lab value of the merged recycling area is updated. After the analysis of all initial recycling areas is completed, a plurality of clustered recycling areas are obtained. Subsequently, the plurality of clustered recycling areas are analyzed according to the spot color Lab threshold of the spot color ink, and a plurality of target recycling areas meeting the requirements of the spot color Lab threshold are extracted therefrom, which provides a basis for subsequent ink recycling and blending, and helps to improve the accuracy and efficiency of ink recycling.
[0029] Further, the application provides a method for extracting a plurality of target recycling areas from the plurality of clustered recycling areas, which comprises the following steps:
[0030] obtaining a spot color Lab value of the first spot color ink; setting a tolerance range according to the spot color Lab value to obtain a spot color Lab threshold; comparing Lab thresholds of each clustered recycling area in the plurality of clustered recycling areas with the spot color Lab threshold to obtain a plurality of target recycling areas meeting the spot color Lab threshold.
[0031] Optionally, after the two clustering processes are completed, the Lab value of the first spot color ink is obtained, the first spot color ink refers to the ink with specific color characteristics, usually the color on the standard Pantone color card, for example, if the first spot color ink is Pantone 300 Blue, its Lab value may be [L*, a*, b*] = [32, 15, -45]. Then, a tolerance range is defined according to the actual business requirements, that is, the allowed color difference range, so as to determine which areas can be considered to meet the spot color requirements. By applying the tolerance range to the spot color Lab value, the spot color Lab threshold value can be determined. Then, the Lab value in each cluster recycling area is compared with the spot color Lab threshold value, if the Lab value is within the range of the spot color Lab threshold value, it means that the cluster recycling area meets the spot color requirements, at this time, the cluster recycling area will be marked as a target recycling area. Finally, all the cluster recycling areas with the target recycling area mark are extracted to form a plurality of target recycling areas, these target recycling areas are the ink areas that meet the spot color requirements, which will be used for subsequent dissolution separation and blending processing.
[0032] Further, the present application provides that after obtaining the plurality of target recycling areas, the method further comprises:
[0033] performing pixel connection rule processing on the plurality of target recycling areas according to the coordinate data of each target recycling area in the plurality of target recycling areas, and optimizing the plurality of target recycling areas; wherein the pixel connection rule processing is a pixel adjacency judgment rule based on 4-connection relationship.
[0034] Preferably, after obtaining the plurality of target recycling areas, pixel connectivity rule processing is performed on the plurality of target recycling areas to optimize the shape and size of the recycling areas and eliminate isolated or irregular areas that can be generated during pixel segmentation. Specifically, first, the coordinate data of the pixels in each target recycling area is extracted, and then a pixel connectivity rule processing is defined, which is used to determine whether the pixels belong to the same recycling area according to the adjacency relationship between the pixels. A common pixel connectivity rule is 4-connection relationship (four-neighborhood), that is, the adjacent pixels of a pixel are the pixels directly connected to it in the up, down, left and right directions. Subsequently, according to the defined connectivity rule, it is determined whether the pixels in each target recycling area are adjacent to other pixels. In this process, for a pixel (x, y), it is determined whether (x, y) and (x-1, y), (x+1, y), (x, y-1), (x, y+1) belong to the same area. If there are adjacent pixels belonging to the same area, these pixels are considered to be connected and can be merged into a connected area; if some pixels are not correctly connected due to segmentation errors, the connectivity rule will reconnect these pixels to the correct area. Finally, the coordinate data of the pixels in all target recycling areas is analyzed for connectivity, and the optimized target recycling areas are reconstructed to avoid irregular areas caused by segmentation errors.
[0035] The coordinate data of each target recycling area is identified, and the recycling device is controlled to locally dissolve and separate the color ink of each target recycling area to obtain a mixed ink of each target recycling area.
[0036] In one embodiment, after the identification of the plurality of target recycling areas is completed, the coordinate data of the pixels in each target recycling area is extracted, and the position of each target recycling area in the image is identified to ensure that the recycling device can accurately operate on each target recycling area. Subsequently, the positioning control module of the recycling device accurately positions the target recycling area according to the coordinate data to ensure that the recycling device can release the solvent to the correct area. During the dissolution operation, the dissolution module and the adsorption module of the recycling device jointly perform local dissolution and separation operation, so that the new ink of the target recycling area is effectively decomposed or dissolved to form a mixed solution of the new ink, which is used for subsequent blending and reuse, ensuring the color quality and use efficiency of the recycled ink.
[0037] Further, the application provides a control recycling device for locally dissolving and separating color inks of each target recycling area, which comprises a positioning control module, a dissolving module and an adsorption module; the positioning control module controls the movement of the dissolving module and the adsorption module according to the coordinate data of each target recycling area, so that the dissolving module releases solvent at a fixed point to locally dissolve the color inks of each target recycling area, and the adsorption module is used to adsorb and collect the mixed inks after dissolution, thereby obtaining the mixed inks of each target recycling area.
[0038] Preferably, the process of locally dissolving and separating color inks of each target recycling area by the control recycling device involves the cooperative work of multiple modules. Specifically, the control recycling device comprises a positioning control module, a dissolving module and an adsorption module. When locally dissolving and separating, the positioning control module first moves the dissolving module and the adsorption module to the target recycling area according to the coordinate data of the target recycling area, so as to ensure that the dissolving and adsorbing operations can be performed at a fixed point. Then, under the guidance of the positioning control module, the dissolving module releases solvent at a fixed point to the color inks of the target recycling area, so that the solvent contacts the new inks, and the new inks of the target recycling area are locally dissolved. Once the new inks are dissolved, the adsorption module starts to collect the mixed inks after dissolution. The adsorption module is equipped with special adsorption equipment, which can quickly and effectively collect the mixed inks after dissolution from the target recycling area into the recycling container, thereby avoiding the spread or pollution of the mixed inks in the recycling device to other areas, so as to facilitate subsequent ink processing and blending.
[0039] Further, the application provides that the solvent released at a fixed point by the dissolving module is ethyl acetate.
[0040] Optionally, the solvent released at a fixed point by the dissolving module is ethyl acetate, which is a commonly used organic solvent and is widely used in ink dissolving and cleaning processes. Since ethyl acetate has good solubility, it can efficiently dissolve various ink components, and therefore is selected as the dissolving agent. The dissolving module sprays ethyl acetate onto the color inks of each target recycling area. After the ethyl acetate contacts the inks, it can quickly dissolve the dyes or pigments in the inks, so as to separate them from other components, thereby forming a mixed ink solution.
[0041] A spot color adjusting module is constructed, and the mixed inks are blended by using the base inks built in the spot color adjusting module, thereby obtaining first spot color inks.
[0042] In one embodiment, a spot color adjustment module is pre-constructed, which is used to blend the mixed ink and internally includes spot color Lab values and blending ratio analysis model. Since the mixed ink may not be completely consistent with the target spot color, especially when there is a certain difference between the color of the recycling area and the standard color, color similar areas such as light blue and light light blue may appear, which are different from the standard blue we want to recycle. Therefore, the built-in ratio analysis model is used to analyze the spot color Lab value and the Lab value of the mixed ink to determine the required ratio during blending, and then the color in the mixed ink is blended according to the determined blending ratio to correct the color of the mixed ink and make it close to the spot color Lab value. After blending, the ink obtained is the first spot color ink, which is the ink meeting the spot color Lab value and can be used for subsequent printing and application. This process compensates for the deviation between the recycled ink and the standard ink due to color difference through the correction effect of the base ink, ensures the color quality and consistency of the ink, and improves the practicality of the recycled ink.
[0043] Further, the application provides a method for blending the mixed ink with the base ink built in the spot color adjustment module to obtain the first spot color ink, which comprises the following steps:
[0044] In the method, the spot color adjustment module stores the spot color Lab value of the first spot color ink; the mixed color Lab value of the mixed ink is extracted; the base ink built in the spot color adjustment module is analyzed for blending ratio with the spot color Lab value as the target and the mixed color Lab value as the input variable, and the spot color blending ratio is output; and the mixed ink is blended according to the spot color blending ratio to obtain the first spot color ink.
[0045] Optionally, the spot color adjustment module stores a spot color Lab value of the first spot color ink, the spot color Lab value being a standard color characteristic of the spot color ink, for comparison and blending with the recycled mixed ink. The system obtains color data of the mixed ink recycled from the target recycling area, the mixed ink being a mixture of color ink separated from the target recycling area by the recycling device and solvent, and its color may deviate from the target spot color. By calculating the mean value of the Lab values of all pixels of the mixed ink, the mixed color Lab value of the mixed ink can be obtained, representing the current color characteristic of the mixed ink. Then, the built-in proportion analysis model of the spot color adjustment module is activated, taking the spot color Lab value as the target and the mixed color Lab value as the input variable, and transmitting them to the proportion analysis model for blending proportion analysis, so as to calculate the proportion of the blended base color ink. Then, according to the calculated spot color blending proportion, the spot color adjustment module blends the base color ink with the mixed ink. During the blending process, the base color ink is mixed with the mixed ink according to the calculated proportion to adjust the color of the mixed ink to approach the color characteristic of the target spot color. Through this process, the color of the mixed ink is accurately adjusted to meet the standard of the target spot color. After the blending is completed, the first spot color ink obtained finally has a color characteristic very close to the spot color Lab value, meeting the standard of the spot color, and can be used for subsequent printing or other applications requiring the spot color ink, ensuring the high quality and consistency of the recycled ink.
[0046] Further, the application provides a blending proportion analysis of the built-in base color ink of the spot color adjustment module, the base color ink including white ink.
[0047] Optionally, the base ink built-in the spot color adjustment module is usually white ink, which is mainly used to adjust the brightness and hue of the mixed ink to ensure that the mixed ink meets the required spot color standard. When performing the mixing ratio analysis, the spot color Lab value and the mixed color Lab value are input into the built-in ratio analysis model, which can be constructed based on a deep neural network. During the construction process, historical spot color Lab values, historical mixed color Lab values, and historical spot color mixing ratios are input into the deep neural network, and iterative training is performed through steps such as forward propagation, loss calculation, back propagation (such as mean square error), and parameter optimization (such as Adam optimizer) until the maximum number of iterations is reached or the loss function converges. After training is completed, the data not used for training is used for verification to evaluate the accuracy of the model on these data. If the accuracy meets the preset accuracy, the current neural network is output as the ratio analysis model, otherwise, the network hyperparameters are adjusted, such as the number of hidden layers, the number of neurons, the learning rate, etc., and retraining is performed. After receiving the spot color Lab value and the mixed color Lab value, the ratio analysis model generates a spot color mixing ratio based on the learned mapping relationship. Through this spot color mixing ratio, white ink can be added to the mixed ink at an appropriate ratio to adjust the color and meet the standard spot color requirements.
[0048] In summary, the embodiments of the present application have at least the following technical effects:
[0049] The embodiments of the present application first acquire an RGB resolution image of a printing recycled product; then, perform pixel segmentation on the RGB resolution image to mark the color data and coordinate data of each pixel; thereafter, perform multi-level region clustering on the RGB resolution image according to the color data of each pixel to obtain a plurality of target recycling regions, the multi-level region clustering including first-order clustering based on color consistency and second-order clustering based on color similarity; then, identify the coordinate data of each target recycling region to control a recycling device to locally dissolve and separate the color ink of each target recycling region to obtain mixed ink of each target recycling region; finally, construct a spot color adjustment module to mix the mixed ink using the base ink built-in the spot color adjustment module to obtain a first spot color ink. These technical effects collectively solve the technical problem of low purity and inability to directly reuse of recycled new-type ink due to the inability to accurately separate different color regions in traditional ink recycling technology, achieving the technical effects of high-precision color region segmentation through multi-level clustering, improving the purity of recycled new-type ink and the direct reuse rate of new-type ink by combining local dissolution and spot color mixing processes.
[0050] Embodiment two, based on the same inventive concept as the spot color separation method for ink recycling in the foregoing embodiments, such as Figure 2As shown, the present application provides a spot color separation system for ink recycling, which comprises: an image acquisition unit 11: acquiring an RGB resolution image of a printed recycling product; a pixel segmentation unit 12: performing pixel segmentation on the RGB resolution image, marking the color data and coordinate data of each pixel; a multi-level region clustering unit 13: performing multi-level region clustering on the RGB resolution image according to the color data of each pixel, obtaining a plurality of target recycling regions, the multi-level region clustering comprising first-order clustering based on color consistency and second-order clustering based on color similarity; a local dissolution separation unit 14: identifying the coordinate data of each target recycling region, controlling a recycling device to perform local dissolution separation on the color ink of each target recycling region, obtaining mixed ink of each target recycling region; an ink blending unit 15: constructing a spot color adjustment module, blending the mixed ink with the base ink built-in the spot color adjustment module to obtain a first spot color ink.
[0051] Further, the multi-level region clustering unit 13 is further used to perform the following method:
[0052] convert the RGB resolution image from the RGB color space to the Lab color space to obtain a Lab resolution image; acquire the color feature vector of each pixel in the Lab resolution image; perform color consistency calculation on the color feature vector of each pixel, output the color consistency calculation result, and cluster the pixels corresponding to the color consistency into the same recycling region according to the color consistency calculation result to obtain a plurality of initial recycling regions; output the index, dominant color Lab value and pixel coordinate set of the plurality of initial recycling regions as the first-order clustering result.
[0053] Further, the multi-level region clustering unit 13 is further used to perform the following method:
[0054] After obtaining the plurality of initial recycling regions, extract the dominant color Lab value of each initial recycling region in the plurality of initial recycling regions; calculate the color difference value of the dominant color Lab value between any two initial recycling regions to obtain a Lab color difference value calculation result; set a similarity color difference threshold, judge the Lab color difference value calculation result according to the similarity color difference threshold, cluster the initial recycling regions meeting the similarity color difference threshold into the same recycling region to obtain a plurality of clustered recycling regions; extract a plurality of target recycling regions from the plurality of clustered recycling regions.
[0055] Further, the multi-level region clustering unit 13 is further used to perform the following method:
[0056] Obtaining a spot color Lab value of the first spot color ink; setting a tolerance range according to the spot color Lab value to obtain a spot color Lab threshold; extracting a Lab threshold of each of the plurality of clustered recycling areas; and comparing the Lab threshold of each of the plurality of clustered recycling areas with the spot color Lab threshold to obtain a plurality of target recycling areas satisfying the spot color Lab threshold.
[0057] Further, the multi-level area clustering unit 13 is further configured to execute the following method:
[0058] According to the coordinate data of each of the plurality of target recycling areas, performing pixel connection rule processing on the plurality of target recycling areas to optimize the plurality of target recycling areas; wherein the pixel connection rule processing is a pixel adjacency judgment rule based on a 4-connection relationship.
[0059] Further, the local dissolution separation unit 14 is further configured to execute the following method:
[0060] Controlling a recycling device to perform local dissolution separation on the color ink of each target recycling area, the recycling device comprising a positioning control module, a dissolution module, and an adsorption module; the positioning control module controls the dissolution module and the adsorption module to move according to the coordinate data of each target recycling area, so that the dissolution module releases a solvent at a fixed point to perform local dissolution on the color ink of each target recycling area, and the adsorption module is used to adsorb and collect the mixed ink after dissolution, thereby obtaining the mixed ink of each target recycling area.
[0061] Further, the local dissolution separation unit 14 is further configured to execute the following method:
[0062] The solvent released by the dissolution module at a fixed point is ethyl acetate.
[0063] Further, the ink blending unit 15 is further configured to execute the following method:
[0064] The spot color adjustment module stores the spot color Lab value of the first spot color ink; a mixed color Lab value of the mixed ink is extracted; the spot color Lab value is taken as a target, and the mixed color Lab value is taken as an input variable; the blending proportion of the base ink built-in in the spot color adjustment module is analyzed, and a spot color blending proportion is output; and the mixed ink is blended according to the spot color blending proportion to obtain the first spot color ink.
[0065] Further, the ink blending unit 15 is further configured to execute the following method:
[0066] The blending proportion analysis of the base ink built-in in the spot color adjustment module includes white ink.
[0067] It should be noted that the above-mentioned embodiment sequence of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. And the above describes a specific embodiment of the present application. The processes depicted in the drawings do not necessarily require the specific order and continuous order shown to achieve the desired results. In some embodiments, multi-task processing and parallel processing are also possible or can be advantageous.
[0068] The above only describes the preferred embodiments of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0069] The present application and the drawings are only exemplary descriptions of the present application, and are considered to cover any and all modifications, changes, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art can make various modifications and changes to the present application without departing from the scope of the present application. Thus, if these modifications and changes of the present application belong to the scope of the present application and its equivalent technology, the present application intends to include these modifications and changes.
Claims
1. A spot color separation method for ink recycling, characterized by, The method comprises: acquiring an RGB resolution image of a printed recycling product; performing pixel segmentation on the RGB resolution image to mark color data and coordinate data of each pixel; performing multi-level region clustering on the RGB resolution image according to the color data of each pixel to obtain a plurality of target recycling regions, wherein the multi-level region clustering comprises a first-order clustering based on color consistency and a second-order clustering based on color similarity; identifying the coordinate data of each target recycling region to control a recycling device to perform local dissolution separation on the color ink of each target recycling region to obtain mixed ink of each target recycling region; constructing a spot color adjustment module to blend the mixed ink with a base ink built-in in the spot color adjustment module to obtain a first spot color ink.
2. The method of claim 1, wherein, The first-order clustering based on color consistency comprises: converting the RGB resolution image from an RGB color space to an Lab color space to obtain an Lab resolution image; acquiring a color feature vector of each pixel in the Lab resolution image; performing color consistency calculation on the color feature vector of each pixel to output a color consistency calculation result, and clustering pixels corresponding to color consistency into the same recycling region according to the color consistency calculation result to obtain a plurality of initial recycling regions; outputting the index, the dominant color Lab value and the pixel coordinate set of the plurality of initial recycling regions as a first-order clustering result.
3. The method of claim 2, wherein, The second-order clustering based on color similarity comprises: after obtaining the plurality of initial recycling regions, extracting the dominant color Lab value of each initial recycling region in the plurality of initial recycling regions; calculating a color difference value of the dominant color Lab value between any two initial recycling regions to obtain an Lab color difference value calculation result; setting a similarity color difference threshold, judging the Lab color difference value calculation result according to the similarity color difference threshold, clustering initial recycling regions meeting the similarity color difference threshold into the same recycling region to obtain a plurality of clustered recycling regions; extracting a plurality of target recycling regions from the plurality of clustered recycling regions.
4. The method of claim 3, wherein, The method for extracting a plurality of target recycling regions from the plurality of clustered recycling regions comprises: acquiring a spot color Lab value of the first spot color ink; setting a tolerance range according to the spot color Lab value to obtain a spot color Lab threshold; comparing the Lab threshold of each clustered recycling region in the plurality of clustered recycling regions with the spot color Lab threshold to obtain a plurality of target recycling regions meeting the spot color Lab threshold.
5. The method of claim 1, wherein, After obtaining the plurality of target recycling regions, the method further comprises: performing pixel connectivity rule processing on the plurality of target recycling regions according to the coordinate data of each target recycling region in the plurality of target recycling regions to optimize the plurality of target recycling regions; wherein the pixel connectivity rule processing is a pixel adjacency judgment rule based on a 4-connection relationship.
6. The method of claim 1, wherein, controlling a recycling device to perform local dissolution separation on the color ink of each target recycling region, wherein the recycling device comprises a positioning control module, a dissolution module and an adsorption module; The positioning control module controls the dissolving module and the adsorption module to move according to the coordinate data of each target recycling area, so that the dissolving module releases solvent at a fixed point to locally dissolve the color ink of each target recycling area, and the adsorption module is used to adsorb and collect the mixed ink after dissolution, thereby obtaining the mixed ink of each target recycling area.
7. The method of claim 6, wherein, The solvent released by the dissolving module at a fixed point is ethyl acetate.
8. The method of claim 4, wherein, The mixed ink is blended with the base ink built in the spot color adjustment module to obtain a first spot color ink, and the method comprises: The spot color adjustment module stores the spot color Lab value of the first spot color ink. The mixed color Lab value of the mixed ink is extracted. The base ink built in the spot color adjustment module is blended and proportioned by taking the spot color Lab value as a target and the mixed color Lab value as an input variable, and a spot color blending ratio is output. The mixed ink is blended according to the spot color blending ratio to obtain the first spot color ink.
9. The method of claim 1, wherein, The base ink built in the spot color adjustment module is proportioned, and the base ink includes white ink.
10. A spot color separation system for ink recycling, characterized by, The system is used to perform the spot color separation method for ink recycling according to any one of claims 1-9, and comprises: An image acquisition unit: acquiring an RGB resolution image of a printed recycling product; A pixel segmentation unit: performing pixel segmentation on the RGB resolution image, and marking color data and coordinate data of each pixel; A multi-level region clustering unit: performing multi-level region clustering on the RGB resolution image according to the color data of each pixel, thereby obtaining a plurality of target recycling areas, and the multi-level region clustering comprises first-order clustering based on color consistency and second-order clustering based on color similarity; A local dissolution separation unit: identifying the coordinate data of each target recycling area, and controlling a recycling device to locally dissolve and separate the color ink of each target recycling area, thereby obtaining the mixed ink of each target recycling area; An ink blending unit: constructing a spot color adjustment module, and blending the mixed ink with a base ink built in the spot color adjustment module to obtain a first spot color ink.
Citation Information
Patent Citations
Single-stage clothing color identification system and method based on deep learning
CN113628287A
Image area detection method and device
WO2016127883A1