Color continuous tone image reproduction method and system based on laser-induced micro-nano structure
By adopting adaptive primary color distribution method and laser-induced micro-nano structure in laser coloring technology, the problem of continuous changes in hue and order is solved, and richer color expression and complex image reproduction are achieved.
Patent Information
- Application Number
- CN202510049382.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2045-01-13
AI Technical Summary
The prior art is difficult to achieve continuous changes in hue and order, which limits the diversity and fine control of colors, and lacks effective methods to generate complex color continuous tone images.
Adaptive primary color distribution method based on spectral energy information and color ratio is adopted, and the basic weight is dynamically adjusted, combined with laser-induced micro-nano structure, the continuity of tone and tone is achieved.
The continuity of tones and tones is improved, and a richer color types and tone levels are generated, and complex color continuous tones are successfully reproduced on the surface of the substrate.
Smart Images

Figure CN120103527A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of micro-nano structure manufacturing, and in particular relates to a color continuous-tone image reproduction method and system based on laser-induced micro-nano structure. Background Art
[0002] Laser coloring technology is a high-precision and high-efficiency surface treatment technology that has been widely used in the field of material processing in recent years. By controlling its parameters such as power, pulse width and scanning speed, the laser beam can accurately transfer laser energy to the microscopic area of the material surface, so that the microstructure or chemical composition of the material surface changes. These changes will cause the material to change its absorption, reflection and scattering characteristics of light, thereby producing different colors or patterns. It is widely used in color printing, precious metal decoration, display imaging, consumer electronics and other fields. At present, research on laser coloring focuses more on the preparation of color, mainly generating color patterns, and the reproduction of gradation is also mainly completed by adjusting laser parameters. There are some problems in achieving color change by adjusting laser parameters. It is difficult to achieve continuous changes in hue and gradation by only changing laser parameters. Although some theoretical analysis and discussion have been conducted on the influence of laser modulation parameters such as power, frequency, pulse width, scanning speed and filling distance on the brightness and chromaticity of color, it is difficult to obtain any color within the target color gamut, and there is no research on the method of generating color continuous tone images.
[0003] Therefore, it is necessary to design a color continuous tone image reproduction method and system based on laser induced micro-nanostructure to address the above problems. Summary of the invention
[0004] The purpose of the present invention is to address the problems existing in the prior art and to provide a method and system for reproducing a color continuous-tone image based on a laser-induced micro-nano structure. By proposing an adaptive primary color allocation method based on spectral energy information and color ratio and a laser-induced micro-nano structure, the continuity of hue and gradation is improved, and a richer variety of colors and hue levels are achieved compared to the color patterns generated by traditional laser coloring technology, and complex color continuous-tone images are successfully reproduced on the surface of the substrate.
[0005] According to one aspect of the present specification, a method for reproducing a color continuous-tone image based on a laser-induced micro-nanostructure is provided, comprising:
[0006] Traversing the acquired color continuous tone image line by line to obtain the base color ratio required for each pixel position in the color continuous tone image, and mapping the base color ratio to a shading position map;
[0007] Based on the spectral energy information of each color in the color continuous tone image, determining the basic weight of each color in the shading position map by spectral energy normalization;
[0008] Using the color ratio of each pixel, the basic weight of each color is dynamically adjusted to obtain the updated weight of each color;
[0009] combining the updated weight of each color with the color ratio of each pixel to obtain a new color ratio of each pixel, and mapping the new color ratio to a shading position map, wherein the shading position map transforms a color continuous tone image in a vector format;
[0010] The color continuous-tone image in vector format is input into the laser device, and the micro-nano structure is generated on the surface of the substrate by the laser beam to reproduce the color continuous-tone image.
[0011] Furthermore, before performing the line-by-line traversal, the method further includes: performing an affine transformation on the input color continuous tone image.
[0012] Furthermore, the basic weight of each color is dynamically adjusted, including:
[0013] Using the color ratio of each pixel and combining it with the spectral energy information, the inverse of the basic weight of each color is multiplied by the ratio of each color within a pixel, and then added to the basic weight of each color to obtain the updated weight of each color.
[0014] Furthermore, the coloring position map is converted into a color continuous tone image in a vector format, comprising:
[0015] By converting each small square in the colored position map into a closed vector line segment, each closed vector line segment constitutes a color continuous tone image in vector format.
[0016] Furthermore, an affine transformation is performed, including:
[0017] Control the displacement and rotation of the color continuous tone image pixels, complete the tilt of the color continuous tone image and adjust the pixel allocation.
[0018] According to one aspect of the present specification, a color continuous-tone image reproduction system based on laser-induced micro-nanostructure is provided, comprising:
[0019] A mapping module, used for traversing the acquired color continuous tone image line by line, obtaining the base color ratio required for each pixel position in the color continuous tone image, and mapping the base color ratio to a shading position map;
[0020] A normalization module, used for determining a basic weight of each color in the shading position map by spectral energy normalization based on spectral energy information of each color in the color continuous tone image;
[0021] The weight update module is used to dynamically adjust the basic weight of each color using the color ratio of each pixel to obtain the updated weight of each color;
[0022] An output module, for combining the updated weight of each color with the color ratio of each pixel to obtain a new color ratio of each pixel, and mapping the new color ratio to a shading position map, wherein the shading position map is converted into a color continuous tone image in a vector format;
[0023] The reproduction module is used to input the color continuous-tone image in vector format into the laser device, generate micro-nano structures on the surface of the substrate through the laser beam, and reproduce the color continuous-tone image.
[0024] According to one aspect of the present specification, there is provided an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method for reproducing a color continuous tone image based on laser induced micro-nanostructure when executing the computer program.
[0025] According to one aspect of the present specification, there is provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of producing a color continuous-tone image based on a laser-induced micro-nanostructure are implemented.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] 1. The present invention proposes an adaptive primary color allocation method based on spectral energy information and color ratio, dynamically adjusts the basic weight according to the color ratio of the pixel, improves the continuity of hue and gradation, ensures that the color ratio of each pixel adapts to the needs of complex images, and successfully reproduces complex color continuous tone images on the surface of the substrate.
[0028] 2. The present invention proposes a laser-induced micro-nano structure, which has significant advantages in color reproduction, detail expression and image level performance. Compared with the color patterns generated by traditional laser coloring technology, it achieves richer color types and tonal levels, and provides technical support and theoretical basis for complex image reproduction in related fields. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1This is a flow chart of a method for reproducing a color continuous-tone image based on a laser-induced micro-nano structure according to an embodiment of the present invention;
[0031] Figure 2 A schematic diagram of a laser-induced micro-nano structure according to an embodiment of the present invention;
[0032] Figure 3 Schematic diagram of image affine transformation according to an embodiment of the present invention;
[0033] Figure 4 A schematic diagram of the distribution of primary colors in a coloring position diagram based on color mixing in an embodiment of the present invention;
[0034] Figure 5 A schematic diagram of pixel color allocation of a color image in an embodiment of the present invention;
[0035] Figure 6 This is a color continuous-tone image of the stainless steel surface in an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The problems of the prior art are mainly reflected in the following aspects: first, when adjusting laser parameters (such as power, frequency, pulse width, etc.) to achieve color changes, it is difficult to achieve continuous changes in hue and gradation, which limits the diversity and fine control of colors; second, most existing research focuses on the generation of simple patterns, and the types of colors are limited, and gradation control is difficult; third, there is still a lack of effective theoretical support and practical methods for pixel-by-pixel color reproduction of complex images. Therefore, there is an urgent need for a new method that can break through these limitations and achieve high-quality, delicate gradation and rich color reproduction of complex color images, providing a new theoretical basis and technical path for the application of laser coloring technology in multi-color image reproduction.
[0037] The above technical problems are mainly solved by the following technical solutions of the present invention:
[0038] The present invention provides a method for reproducing color continuous-tone images based on laser-induced micro-nano structures. An adaptive primary color ratio allocation method based on spectral energy information and color ratio. The spectral energy characteristics of eight solid colors are used to determine the basic weight parameters through spectral energy normalization, so that the weight of each color channel can truly reflect its spectral contribution. Based on this basic weight, a dynamic weight adjustment strategy based on the primary color ratio is further proposed, which allows the weight to be updated in real time at the pixel level according to the specific color ratio of each pixel, meeting the requirements of complex images for the accuracy of tone gradation and color restoration.
[0039] The present invention gathers single color points. In order to improve the color reproduction, the linear processing path characteristics of the laser are used to replace the original single-point processing path with a processing path composed of long line segments. Through such adjustment, more color points can be gathered along the path, thereby enhancing the saturation and expression of the color. A more continuous and uniform color transition is achieved, thereby reproducing any color image to form an aggregated primary color, and modulating the color by changing the density of the aggregated primary color. A primary color rendering unit coloring position map corresponding to different primary color ratios is created, and the input continuous tone image is traversed line by line, and the primary color ratio required for the pixel position is mapped to the corresponding coloring position map. When generating the output image, the color and gradation of each pixel determine the number of primary colors that need to be obtained from the coloring position map. According to the position of the current output pixel, the corresponding primary color position is found in the coloring position map, and the primary color is copied to the corresponding pixel of the output image, thereby marking the required primary color on the final image. The output images of different primary colors are input into the laser coloring device to generate each color continuous tone image on the surface of the substrate.
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] The embodiment of the present invention provides a method for reproducing a color continuous tone image based on a laser-induced micro-nano structure. Figure 1 As shown, it includes: traversing the color continuous tone image input to the computer end line by line to obtain the primary color ratio required for each pixel in the color continuous tone image, and mapping the primary color ratio to the coloring position map; based on the spectral energy information of each color in the color continuous tone image, determining the basic weight of each color in the coloring position map by spectral energy normalization; using the color ratio of each pixel, dynamically adjusting the basic weight of each color to obtain the updated weight of each color; combining the updated weight of each color with the color ratio of each pixel to obtain a new color ratio of each pixel, and mapping the new color ratio to the coloring position map, the coloring position map conversion constitutes a color continuous tone image in a vector format; inputting the color continuous tone image in a vector format into a laser coloring device, generating a micro-nano structure on the surface of a substrate with a laser beam according to set laser parameters, and reproducing the color continuous tone image.
[0042] Specifically, Figure 2As shown, the embodiment of the present invention provides a schematic diagram of laser-induced micro-nano structure. The processing area and laser parameters are set. Then the computer sends a control signal to the pulse fiber laser to output the laser. After the laser is adjusted by the beam expander and collimator to ensure that the beam distribution is uniform and the direction is consistent, it is irradiated onto the X-axis and Y-axis mirrors of the galvanometer to achieve beam deflection and focus on the stainless steel surface through the F-theta lens. The laser beam forms multiple overlapping parts in the 50-micron area to generate the primary color rendering unit. The primary color rendering unit represents the smallest color generation area. Figure 2 The stainless steel surface box area in the figure represents the basic unit of image pixels.
[0043] Specifically, the embodiment of the present invention also provides a method for generating a color continuous tone image based on a laser-induced micro-nano structure, which performs an affine transformation on the input image, keeps one axis unchanged, and linearly shifts the points along another direction, thereby achieving a tilt effect of the image. Figure 3 (a) Transform to Figure 3 (b), in two-dimensional space, the affine transformation can be expressed as: (1) in, is the coordinate of the image pixel before the change, are the coordinates after affine transformation, are the parameters of the affine transformation matrix, is the translation amount.
[0044] To tilt the image, set the shear angle to , the affine matrix can be expressed as: (2) The first column of the matrix determines how the horizontal coordinate x of the point in the image changes. By observing the matrix, we can see that the transformation in the horizontal direction (i.e., the x direction) is controlled by the first column of the matrix. The first row element 1: This value determines the scaling ratio in the horizontal direction. A value of 1 means that the horizontal coordinate does not scale or change, that is, the x coordinate of each point in the image remains unchanged. The second row element : Determines how the vertical direction (y coordinate) adjusts according to the change of the horizontal coordinate x. The change in the vertical direction is proportional to the ratio of the horizontal coordinate. The larger the angle, the greater the tilt of the vertical direction. Determines the strength of the transformation. A positive shear angle will skew the image to the right, while a negative shear angle will skew the image to the left.
[0045] The second column of the matrix determines how the vertical coordinate y of the point in the image changes. The first row element 0: the vertical coordinate y does not affect the horizontal coordinate x, that is, the transformation in the vertical direction does not cause the point to shift in the horizontal direction. The second row element 1: under the influence of the horizontal coordinate x, the y coordinate of the point will change according to the shear angle.
[0046] The transformation formula for each pixel is: (3) in, is the coordinate of the image pixel before the change, is the coordinate of the pixel after transformation. According to formula (3), the horizontal pixel position does not change. The vertical pixel position will change. The farther from the left edge of the image (the larger the x), the greater the vertical displacement of the image. This transformation does not change the properties of the straight line formed by the aggregation of multiple pixels in the original image. The straight line before the transformation is still a straight line after the transformation, and the parallel lines in the image remain parallel after the transformation.
[0053] Specifically, the embodiment of the present invention also studies a method for constructing a primary color rendering unit shading position map for generating a mixed color. Through the aggregated primary colors distributed along the horizontal direction, a shading position map based on the mixed color can be generated, in which each aggregated primary color line is associated with a specified color. This study did not pre-calculate a shading position map lookup table containing each color combination on all possible area coverage areas, but synthesized multiple primary color combination maps by multiple visits to the monochrome color rendering unit shading position map created for a single color. In the improved color processing strategy, a hierarchical color filling method is adopted, which increases the color coverage in a staged manner to ensure that each layer of color can be accurately displayed according to the target coverage, and visually achieve color fusion. This method mainly utilizes the orderly superposition of color layers and the corresponding adjustment of the color rendering unit position to control the performance of each color in the pixel, so that the final image is more accurate and coherent in color expression. Examples of the distribution of each primary color for generating a mixed color are as follows. Figure 4 As shown, the specific implementation steps are as follows:
[0054] 1. Implementation of total coverage. In the initial step, the total coverage of all colors is calculated, for example, 30% for cyan, 40% for magenta, and 20% for yellow, the total is 90%. A single-color element matching the 90% coverage is generated in the single-color color rendering unit coloring position map, and the element is assigned color 1, such as Figure 4As shown in (a), represented in yellow in the schematic diagram, the position occupied by the yellow element represents the position allocated in the monochrome color rendering unit shading position diagram after the three primary colors are added in proportion. These elements serve as the basis for subsequent adjustments.
[0055] 2. Adjust the colors layer by layer. On the monochrome coloring unit coloring position map formed by color 1, superimpose the coverage layers of color 2 (cyan) and color 3 (magenta), and the total coverage rate reaches 70%. This step is not to subtract the cyan coverage rate, but to directly superimpose a monochrome element corresponding to 70% on the basis of the existing 90% coverage. The color of the monochrome filled position is assigned to color 2. At this time, the newly appeared color position is the position of the magenta color, ensuring that the magenta color alone has a coverage rate of 40%. Figure 4 As shown in (b), the total proportion of cyan plus color is calculated, and the base color position is allocated in the base color rendering unit coloring position map used to generate the mixed color. The newly appeared color 2 map is represented by the color. Then, a separate cyan with a coverage of 30% is added on the basis of 70%. In this way, each step adds a new color layer on the basis of the previous step, and the newly added color is assigned to color 3, as shown in Figure 4 As shown in (c), the newly appeared color 3 is represented by cyan. Finally, the arrangement positions and quantities of the three primary colors are distributed in the primary color rendering unit coloring position map used to generate the mixed color according to the target coverage.
[0056] 3. The final image is constructed layer by layer by directly superimposing the color coverage on the existing image in each step. Each color is processed by directly adding a new color coverage on the basis of the previous color layer, and the color combination and optimization are completed through continuous stacking operations. Each step of filling is based on the result of the previous step, ensuring the accuracy and continuity of color coverage. The coverage of each primary color is allocated through multiple superpositions. There are N primary colors, each with , ,…, Indicates the coverage of each primary color. The calculations related to the primary color coverage are as follows:
[0057] (4)
[0058] The current output image is colored with N primary colors. It is the corresponding single color coverage in the single color rendering unit shading position map, that is, this operation considers the number and position of single color. Figure 4 is the pixel color distribution map of the color image, Figure 3 (a) is the input image. Each pixel of the input image is scanned line by line to obtain the color information of each pixel. Figure 3 (b) is the affine transformed image of the input image. Figure 5(a) is a color image generated by the method of constructing the primary color rendering unit coloring position map, which is composed of three primary colors of cyan, magenta, and yellow and the intermediate colors produced by their mixture, as well as black and white. The horizontal and vertical lengths of the coloring position map library used are both 6, and the mixed color of each pixel is formed by stacking layer by layer according to the rules. Figure 5 (b) is a local enlarged image of the black frame area, showing the location and amount of the aggregated primary color.
[0059] The embodiment of the present invention also provides a method for allocating the primary color ratio of a color continuous tone image, using the Newburg equation to calculate the mixed colors in multi-color printing. The basic formula is:
[0060] (5)
[0061] Where N is the number of color channels, is the spectral reflectance of each color, is the scale factor of the color, is the spectral reflectance of the pixel's mixed color.
[0062] Specifically, the distribution relationship of pixel color ratio in the Newburg equation is as follows:
[0063] (6)
[0064] Among them, formula (6) allocates the proportion of various colors in a pixel based on the eight colors of cyan, magenta, yellow, red, green, blue, black and white. Respectively represent the proportion of these eight colors within one pixel.
[0065] Specifically, in order to optimize the ratio coefficient of each color, the spectral energy information of the eight colors is introduced into the calculation of the color ratio. At the same time, the adaptive primary color ratio allocation method based on the spectral energy information and color ratio makes the output color ratio more consistent with the physical characteristics of the spectrum. For each color i, calculate its 100% field spectral reflectance Energy across the entire visible spectrum:
[0066] (7)
[0067] in, represents the total spectral energy of color i, and is the wavelength range of the spectrum measurement.
[0068] Specifically, the basic weights are determined by normalizing the spectral energy, and the calculated spectral energy is normalized so that the sum of all basic weights is 1. The formula is as follows:
[0069] (8)
[0070] in, represents the spectral energy of the i-th color, E j represents the sum of all color spectral energies, Indicates The ratio of the spectral energy of a color to the sum of the spectral energies of all colors.
[0071] The spectral energy information is introduced into the weight update formula, and the weight is dynamically adjusted by the change of the cyan-magenta-yellow color ratio. The dynamic weight update formula is as follows:
[0072] (9)
[0073] in, Respectively represent the proportion of each color within a pixel, is the weight of each color.
[0074] Finally, the color ratio within a pixel is expressed as follows:
[0075] (10)
[0076] in, Respectively represent the proportion of these eight colors within a pixel, is the scale factor for this color.
[0077] Specifically, the coloring position map is used to assign the order in which each color appears. The coloring position map is composed of small squares, each of which is converted into a closed vector line segment. The final large vector image is input into the computer control terminal of the laser coloring device to drive the device to generate a color continuous tone image on the stainless steel surface.
[0078] Specifically, the embodiment of the present invention also provides a color continuous tone image effect, using laser-induced micro-nanostructures to generate color images on the surface of stainless steel. Using the adaptive primary color ratio allocation method based on spectral energy information and color ratio proposed in this article, 7 primary colors and the base stainless steel color are used to reproduce the color continuous tone image. Figure 6 As shown in (a), a color image of a street graffiti wall was successfully reproduced on the stainless steel surface. The overall image shows rich street elements with clear details. The building on the left has a clear outline, and the walls, windows and other structures of the building are accurately presented through laser coloring of different tones. As can be seen in the figure, the yellow, red and blue elements are intertwined, showing the intricate lines and patterns on the graffiti wall. On the right side of the image, the leaf-shaped decorations are delicately reproduced through high-saturation lines, and smooth color transitions are achieved in different areas of the graffiti wall, especially in the larger color blocks, the colors are uniform and consistent, and there is no obvious edge jaggedness or uneven transition. Figure 6 (b) shows a scene of a street fruit stall, where a large number of stacked fruits are placed on the stall, mainly red and orange with a small amount of green fruits. The overall color layering of the fruits is strong, the wood grain details of the stand are also well expressed, and the transition between colors is natural, especially where the fruits are piled up, the transition between red and orange appears very smooth. Figure 6 (c) shows a burger, and the different ingredients in the sandwich can be clearly seen. The colors of the ingredients in the whole burger are distinct, and the colors of the ingredients are restored more realistically, especially the green color of the vegetables and the reddish brown color of the meat. Figure 6 (d) shows a portrait of a short-haired woman. The facial contours are clear, the short hair is dark brown, the eyebrows and eyes are detailed, and the eyes are prominent, showing a clear outline. The background is yellow and contains a regularly arranged grid texture. Especially in the transition between the face and the background, the details are clearly layered.
[0079] Specifically, through Figure 6 From the four images, it can be seen that the color saturation of the overall image is significantly improved by the aggregation of adjacent primary color units. Whether it is the bright area of the graffiti wall or the color details of the fruit stall, the color brightness and contrast have been effectively improved. Through precise laser path control, the details in complex images can be retained. In the hamburger image, the different levels and texture details of the ingredients are accurately reproduced. In the portrait, the subtle changes in facial contours, hairstyles and shadows are also accurately processed. Subtle brushstrokes, color changes and structural levels are clearly presented, reflecting the delicacy and precision in processing complex images, and showing its wide applicability and superiority in a variety of application scenarios.
[0080] The implementation basis of each embodiment of the present invention is to implement programmed processing through a device with a processor function. Therefore, in engineering practice, the technical solutions and functions of each embodiment of the present invention are encapsulated into various modules. Based on this reality, on the basis of the above embodiments, an embodiment of the present invention provides a color continuous tone image reproduction system based on laser induced micro-nano structure, which is used to execute a color continuous tone image reproduction method based on laser induced micro-nano structure in the above method embodiment.
[0081] The system comprises: a mapping module, which is used to traverse the acquired color continuous tone image line by line, obtain the primary color ratio required for each pixel position in the color continuous tone image, and map the primary color ratio to a shading position map; a normalization module, which is used to determine the basic weight of each color in the shading position map by spectral energy normalization based on the spectral energy information of each color in the color continuous tone image; an update weight module, which is used to dynamically adjust the basic weight of each color by using the color ratio of each pixel to obtain the updated weight of each color; an output module, which is used to combine the updated weight of each color with the color ratio of each pixel to obtain a new color ratio of each pixel, and map the new color ratio to the shading position map, and the shading position map is converted to form a color continuous tone image in a vector format; and a reproduction module, which is used to input the color continuous tone image in a vector format into a laser device, generate a micro-nano structure on the surface of a substrate by a laser beam, and reproduce the color continuous tone image.
[0082] The color continuous tone image reproduction system based on laser induced micro-nano structure provided by the embodiment of the present invention solves the problem that it is difficult to achieve continuous change of hue and tone in the existing process. It adopts several modules and an adaptive primary color allocation method based on spectral energy information and color ratio. The basic weight is dynamically adjusted according to the color ratio of the current pixel, thereby improving the continuity of hue and tone and achieving richer color types and tone levels.
[0083] Based on the same inventive concept as the aforementioned embodiment, an embodiment of the present invention further provides an electronic device, including a memory and a processor, the memory being used to store computer-executable instructions, and the processor being used to execute computer-executable instructions, to implement a color continuous-tone image reproduction method based on laser-induced micro-nano structures as proposed in the aforementioned embodiment.
[0084] The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it overcomes the problems of limited color types, difficult gradation control, and pixel-by-pixel color reproduction of complex images, improves the continuity of hue and gradation, and successfully reproduces complex color continuous-tone images on the surface of stainless steel. The storage medium can be any non-volatile storage device such as a hard disk, a solid-state hard disk, a flash drive, an optical disk, etc., for storing computer program codes and necessary data files, and the stored computer program includes: a mapping module, a normalization module, an update weight module, an output module, and a reproduction module.
[0085] Finally, it should be pointed out that the above specific embodiments are only representative examples of the present invention. Obviously, the present invention is not limited to the above specific embodiments, and there are many variations. Any simple modification, equivalent changes and modifications made to the above specific embodiments based on the technical essence of the present invention should be considered to belong to the protection scope of the present invention.
Claims
1. A method for reproducing color continuous-tone images based on laser-induced micro-nano structures, characterized in that: include: Traversing the acquired color continuous tone image line by line to obtain the base color ratio required for each pixel position in the color continuous tone image, and mapping the base color ratio to a shading position map; Based on the spectral energy information of each color in the color continuous tone image, determining the basic weight of each color in the shading position map by spectral energy normalization; Using the color ratio of each pixel, the basic weight of each color is dynamically adjusted to obtain the updated weight of each color; combining the updated weight of each color with the color ratio of each pixel to obtain a new color ratio of each pixel, and mapping the new color ratio to a shading position map, wherein the shading position map transforms a color continuous tone image in a vector format; The color continuous-tone image in vector format is input into the laser device, and the micro-nano structure is generated on the surface of the substrate by the laser beam to reproduce the color continuous-tone image.
2. The method for reproducing color continuous-tone images based on laser-induced micro-nanostructures according to claim 1, characterized in that: Before performing the line-by-line traversal, the method further includes: performing an affine transformation on the input color continuous tone image.
3. The method for reproducing color continuous-tone images based on laser-induced micro-nanostructures according to claim 1, characterized in that: Dynamically adjust the base weight of each color, including: Using the color ratio of each pixel and combining it with the spectral energy information, the inverse of the basic weight of each color is multiplied by the ratio of each color within a pixel, and then added to the basic weight of each color to obtain the updated weight of each color.
4. The method for reproducing color continuous-tone images based on laser-induced micro-nanostructures according to claim 1, characterized in that: The coloring position map is converted into a color continuous tone image in vector format, including: By converting each small square in the colored position map into a closed vector line segment, each closed vector line segment constitutes a color continuous tone image in vector format.
5. The method for reproducing color continuous-tone images based on laser-induced micro-nano structures according to claim 2, characterized in that: Perform affine transformations, including: Control the displacement and rotation of the color continuous tone image pixels, complete the tilt of the color continuous tone image and adjust the pixel allocation.
6. A color continuous-tone image reproduction system based on laser-induced micro-nanostructure, characterized in that: include: A mapping module, used for traversing the acquired color continuous tone image line by line, obtaining the base color ratio required for each pixel position in the color continuous tone image, and mapping the base color ratio to a shading position map; A normalization module, used for determining a basic weight of each color in the shading position map by spectral energy normalization based on spectral energy information of each color in the color continuous tone image; The weight update module is used to dynamically adjust the basic weight of each color using the color ratio of each pixel to obtain the updated weight of each color; An output module, for combining the updated weight of each color with the color ratio of each pixel to obtain a new color ratio of each pixel, and mapping the new color ratio to a shading position map, wherein the shading position map is converted into a color continuous tone image in a vector format; The reproduction module is used to input the color continuous-tone image in vector format into the laser device, generate micro-nano structures on the surface of the substrate through the laser beam, and reproduce the color continuous-tone image.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the color continuous tone image reproduction method based on laser induced micro-nano structure according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the color continuous tone image reproduction method based on laser induced micro-nano structure according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
A method for forming a color image
CN102280075A
Full-color-gamut structural color prediction and reproduction method based on multi-level micro-nano structure
CN115900950A
Reverse problem optimized static light field color gamut reconstruction algorithm and system
CN117492207A
Transparent medium internal color pixel dot matrix monopulse three-dimensional writing method
CN118060751A
High-performance analysis triangular surface element color computer-generated hologram generation method
CN119091078A