Variable period microlens stereoscopic imaging optical device and imaging method

By designing a variable-period microlens stereoscopic imaging optical device, the problems of single depth of field and easy replication of microlens anti-counterfeiting structures are solved. It achieves a continuous gradient depth stereoscopic visual effect and a high level of security anti-counterfeiting effect, which is suitable for ultra-thin anti-counterfeiting labels.

CN123136908APending Publication Date: 2026-11-20WUHAN HUAGONG IMAGE TECH & DEV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611577441.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-13
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing microlens anti-counterfeiting structures have a single depth level, which cannot simulate the continuous depth changes of real object surfaces. They have weak three-dimensional stereoscopic visual performance, and their fixed periodic parameters are easily reverse-measured and replicated, resulting in insufficient anti-counterfeiting security.

Method used

A variable-period microlens stereoscopic imaging optical device is designed. By differentiating the local period of the microtext unit and fitting the nonlinear spatial offset, a global variable-period microtext arrangement is generated, achieving a continuous and gradual depth stereoscopic visual effect that matches the target surface.

Benefits of technology

It enhances the recognition and anti-counterfeiting security level of stereoscopic vision, has a wide range of applications, reduces the cost of new product development, and is suitable for ultra-thin anti-counterfeiting labels to clearly present a stereoscopic dynamic effect under low light and natural light.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136908A_ABST
    Figure CN123136908A_ABST
Patent Text Reader

Abstract

The present application relates to a kind of variable period microlens stereoscopic imaging optical device and imaging method, its device includes from top to bottom sequentially stacked microlens layer, light transmission carrier layer and micrograph layer, the microlens layer is formed by multiple microlens units arranged with fixed period, the thickness of the light transmission carrier layer matches the focal length of the microlens unit;The micrograph layer includes multiple micrograph units, and the local period of each micrograph unit is differentially arranged in different regions;The local period of each micrograph unit in corresponding position is configured according to the target depth of field value of target curved surface at this position, so that the micrograph unit is Moiré magnified and imaged by corresponding microlens unit, and presents the continuous gradient longitudinal depth stereoscopic visual effect matched with the target curved surface.The present application matches the period element by regional differential period and depth of field value, improves the visual effect, adaptability, security and process compatibility of anti-counterfeiting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of optical anti-counterfeiting technology, specifically relating to a variable period microlens stereoscopic imaging optical device and imaging method. Background Technology

[0002] Microlens array moiré magnification anti-counterfeiting elements rely on the matching refraction imaging of the upper periodic microlens array and the lower micro-image array. By controlling the period, angle, and dielectric film thickness of the lenses and images, dynamic visual effects such as translation, rotation, and layered static three-dimensionality can be presented. The overall thickness of this type of element can be controlled within 50μm, and it is clearly identifiable to the naked eye in low light conditions. The micro-nano processing has a high threshold for counterfeiting and it is now widely used in the fields of anti-counterfeiting of financial instruments, identity documents, and luxury packaging.

[0003] Most existing commercial microlens anti-counterfeiting structures use a globally uniform fixed-period micro-image array, which can only achieve simple planar or layered three-dimensional effects. The image depth level is single, which cannot simulate the continuous depth changes of the curved surface of real objects. The three-dimensional visual expression is weak, and the anti-counterfeiting recognition and visual differentiation are insufficient. At the same time, the fixed period parameters are easy to be reverse measured and replicated, and there are shortcomings in the anti-counterfeiting security performance. Summary of the Invention

[0004] To address the problems raised in the background art, a first aspect of the present invention provides a variable-period microlens stereoscopic imaging optical device, comprising: a microtext layer including a plurality of microtext units, wherein the local period of each microtext unit is set differently in different regions; the local period of each microtext unit at a corresponding position is configured according to the target depth value of the target surface at that position, so that when the microtext unit is subjected to moiré magnification imaging by the corresponding microlens unit, it presents a continuous and gradual depth stereoscopic visual effect matching the target surface.

[0005] In some embodiments of the present invention, the fixed period of the microlens unit and the center reference period of the micrographic unit are both configured to be from 10 μm to 200 μm.

[0006] In some embodiments of the present invention, the relative size relationship between the local period and the fixed period is configured such that: in areas where the target depth of field is an upward floating effect, the local period is greater than the fixed period; in areas where the target depth of field is a downward sinking effect, the local period is less than the fixed period.

[0007] In some embodiments of the present invention, the microlens units are arranged in an orthogonal array or a hexagonal close-packed array.

[0008] In a second aspect of the invention, a method for surface stereoscopic imaging based on the optical device of the first aspect is provided, comprising: acquiring three-dimensional spatial depth distribution information of a target surface; determining a reference period of the microtext layer according to preset reference optical parameters, and generating initial microtext lattice coordinates; calculating the target local period of the corresponding microtext unit based on the depth values ​​of each coordinate point in the three-dimensional spatial depth distribution information and a preset depth-of-field and period mapping relationship; performing nonlinear spatial offset fitting on the initial microtext lattice coordinates of the microtext based on the target local period of each coordinate point in the global domain, and generating global variable-period microtext arrangement coordinates; forming the microtext layer according to the global variable-period microtext arrangement coordinates, and aligning and compositing the microtext layer, the light-transmitting carrier layer, and the microlens layer.

[0009] Furthermore, obtaining the three-dimensional spatial depth distribution information of the target surface includes: obtaining a depth grayscale image representing the geometric shape of the target surface, extracting the grayscale value of each pixel in the depth grayscale image, and mapping the grayscale value to the depth height value of the corresponding spatial location.

[0010] Furthermore, determining the reference period of the microtext layer based on preset reference optical parameters includes: solving for a first reference period corresponding to a sinking visual effect or a second reference period corresponding to an upward visual effect based on the fixed period, focal length, and mapping relationship between the physical size of the microlens unit and the target visual imaging size; and generating uniformly arranged initial matrix coordinates of the microtext based on the selected reference period.

[0011] Furthermore, the step of calculating the target local period of the microtext unit at the corresponding point based on the depth value of each coordinate point in the three-dimensional spatial depth distribution information includes: traversing each point in the initial point matrix coordinates of the microtext, and solving the local microtext period corresponding to the point based on the target depth value of the point and a preset depth-to-magnification correlation model.

[0012] Furthermore, the nonlinear spatial offset fitting of the initial point matrix coordinates of the micro-image includes: decomposing the initial spatial coordinates into radial distance and polar angle in polar coordinate system; accumulating the coordinate offset caused by local periodic changes in each angular direction in layers along the radial direction, and constructing an offset mapping relationship including radial distance and polar angle dimensions.

[0013] Furthermore, the nonlinear spatial offset fitting of the initial micro-text matrix coordinates further includes: converting the initial micro-text matrix coordinates into polar coordinate parameters; performing two-dimensional interpolation calculation based on the offset mapping relationship to obtain the radial length of the corresponding point after offset; and converting the offset polar coordinate parameters into rectangular coordinates to output the global variable periodic micro-text layout coordinates.

[0014] The beneficial effects of this invention are: 1. Excellent stereoscopic visual effect. Through regionally differentiated periodic matching, it can adapt to any curved surface shape such as spheres, hearts, and bows, and realize continuous and gradual depth three-dimensional stereoscopic imaging, solving the problems of single depth of field and lack of curved surface stereoscopic effect of traditional fixed periodic elements, and significantly improving the visual recognition of the naked eye; 2. Higher level of anti-counterfeiting security. Each spatial coordinate of the micro-image array corresponds to an independent local period, and there is no uniform repeating period across the entire area. Counterfeiters cannot reverse engineer all array parameters by measuring a single point, greatly increasing the difficulty of reverse engineering. 3. Wide compatibility. The lens and image period range cover mainstream micro-nano processing technologies, and it can be adapted to ultra-thin anti-counterfeiting labels. It can clearly present a three-dimensional dynamic effect under low light and natural light. 4. Strong process compatibility. Any three-dimensional shape can be changed simply by adjusting the coordinates of the micro-image layout through algorithms. The optical parameters of the microlens array do not need to be changed, and the original microlens molding master can be reused, reducing the investment in the preparation of master molds for multiple anti-counterfeiting products and lowering the cost of new product development. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of the layered structure of the variable-period microlens stereoscopic imaging anti-counterfeiting optical device in an embodiment of the present invention; Figure 2 This is the original uniform coordinate array layout diagram of the micro-image and text generated based on the central reference period in this embodiment of the invention; Figure 3 This is the depth-of-field grayscale height map corresponding to the spherical three-dimensional shape of the present invention; Figure 4 The final coordinate array layout of the micro-images and text obtained by variable period conversion and interpolation fitting of the spherical shape of the present invention; Figure 5 This is a schematic diagram illustrating the visual effect of the finished spherical curved surface three-dimensional anti-counterfeiting element of the present invention; Figure 6 This is the depth-of-field grayscale height map corresponding to the three-dimensional heart shape of the present invention; Figure 7 The final coordinate array layout of the micro-images and texts obtained by the heart-shaped design of the present invention after variable period conversion and interpolation fitting; Figure 8 This is a schematic diagram illustrating the visual effect of the finished product of the heart-shaped curved three-dimensional anti-counterfeiting component of the present invention; Figure 9 This is the depth-of-field grayscale height diagram corresponding to the three-dimensional bow shape of the present invention; Figure 10 The final coordinate array layout of the micro-images and text obtained by variable period conversion and interpolation fitting of the bow shape of the present invention; Figure 11This is a schematic diagram illustrating the visual effect of the finished product of the bow-shaped curved three-dimensional anti-counterfeiting element of the present invention.

[0016] Figure 12 This is a flowchart illustrating the imaging method of the variable-period microlens stereoscopic imaging anti-counterfeiting optical device in some embodiments of the present invention. Figure 13 This is a schematic diagram of the structure of an electronic device in some embodiments of the present invention. Detailed Implementation

[0017] The principles and features of the present invention are described below with reference to the accompanying drawings. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.

[0018] Example 1 refer to Figure 1 and Figure 2 In a first aspect of the present invention, a variable-period microlens stereoscopic imaging optical device is provided, comprising a microlens layer 10, a light-transmitting carrier layer 20, and a micro-image layer 30 stacked sequentially from top to bottom. The microlens layer is composed of a plurality of microlens units arranged in a fixed period, and the thickness of the light-transmitting carrier layer matches the focal length of the microlens units. The microtext layer 30 includes multiple microtext units, and the local period of each microtext unit is set differently in different regions. The local period of each microtext unit at the corresponding position is configured according to the target depth value of the target surface at that position, so that when the microtext unit is subjected to moiré magnification imaging by the corresponding microlens unit, it presents a continuous and gradual depth stereoscopic visual effect that matches the target surface.

[0019] Specifically, the microlens layer 10 is composed of several microlens units arranged in an orthogonal array periodically; the light-transmitting imaging carrier layer 20 is tightly attached to the lower surface of the microlens layer, and the medium thickness of the light-transmitting imaging carrier layer matches the focal length of the microlens; the micro-image layer 30 is printed or imprinted on the bottom of the light-transmitting imaging carrier layer, and the micro-image layer is composed of a large number of micro-image units arranged in a global variable periodic coordinate array.

[0020] In some embodiments of the present invention, the fixed period of the microlens unit and the center reference period of the micrographic unit are both configured to be from 10 μm to 200 μm.

[0021] In some embodiments of the present invention, the relative size relationship between the local period and the fixed period is configured such that: in areas where the target depth of field is an upward floating effect, the local period is greater than the fixed period; in areas where the target depth of field is a downward sinking effect, the local period is less than the fixed period.

[0022] In some embodiments of the present invention, the microlens units are arranged in an orthogonal array or a hexagonal close-packed array.

[0023] The image magnification of the optical device satisfies the formula: , in, w This refers to the imaging magnification. Corresponding to the visually floating 3D effect, Corresponding to a visually sunken, three-dimensional effect.

[0024] Furthermore, the depth of field d of the image satisfies the calculation formula: , in, f The focal length of the microlens unit; Corresponding to visual depth of field, Corresponding to visually sunken depth of field.

[0025] Furthermore, the finished product's visual imaging size satisfies the following relationship: , in, t For the target 3D graphic visual size, m The physical size of a single microtext / image unit.

[0026] In a preferred embodiment, the microlens unit has a fixed period. Microlens focal length Set the center reference visual imaging size Physical size of a single micro-graphic unit Substituting the values ​​into the imaging size formula, the sinking reference period can be obtained. Floating base period In this embodiment, a sinking reference period of 59.35 is selected. Construct the original micro-image coordinate array. The original array arrangement structure is as follows: Figure 2 As shown.

[0027] Example 2 refer to Figure 12A second aspect of the present invention provides a method for stereoscopic imaging of a curved surface based on the optical device of the first aspect, comprising: S100. acquiring three-dimensional spatial depth distribution information of a target curved surface; S200. determining the reference period of the microtext layer according to preset reference optical parameters, and generating initial microtext lattice coordinates; S300. calculating the target local period of the corresponding microtext unit based on the depth value of each coordinate point in the three-dimensional spatial depth distribution information and a preset depth-of-field and period mapping relationship; S400. performing nonlinear spatial offset fitting on the initial microtext lattice coordinates based on the target local period of each coordinate point in the global domain, and generating global variable-period microtext arrangement coordinates; S500. forming the microtext layer according to the global variable-period microtext arrangement coordinates, and aligning and compositing the microtext layer, the light-transmitting carrier layer, and the microlens layer.

[0028] refer to Figure 3 It shows the depth-of-field grayscale height map corresponding to the spherical target shape. The grayscale value of each pixel in the grayscale height map corresponds to the depth-of-field height of the target 3D shape at the corresponding position. The larger the grayscale value, the deeper the depth of field at that position.

[0029] In step S100 of some embodiments of the present invention, obtaining the three-dimensional spatial depth distribution information of the target surface includes: obtaining a depth grayscale image characterizing the geometric shape of the target surface, extracting the grayscale value of each pixel in the depth grayscale image, and mapping the grayscale value to the depth height value of the corresponding spatial location.

[0030] Specifically, based on the depth of field calculation formula It can establish the depth of field at each point. d With magnification w By establishing the correspondence between these relationships and combining them with the magnification calculation formula, the local micro-text period of the matched point can be calculated from the target depth of field at any location. b i .

[0031] In step S200 of some embodiments of the present invention, determining the reference period of the micro-text layer according to preset reference optical parameters includes: S201. Based on the fixed period and focal length of the microlens unit and the mapping relationship between the physical size of the microtext unit and the target visual imaging size, solve for the first reference period corresponding to the sinking visual effect or the second reference period corresponding to the floating visual effect; S202. Generate the initial coordinates of the uniformly arranged microtext matrix according to the selected reference period.

[0032] Specifically, by substituting the parameters into the imaging size formula, the reference period of the center of the microtextural layer is calculated. bBased on the target's three-dimensional effect, select the sinking reference period or the floating reference period. Based on the selected reference period, generate a micro-text original coordinate array with a uniform arrangement across the entire domain, using the same arrangement method as the microlens array.

[0033] In step S300 of some embodiments of the present invention, the step of back-calculating the target local period of the microtext unit at the corresponding point based on the depth value of each coordinate point in the three-dimensional spatial depth distribution information includes: traversing each point in the initial point matrix coordinates of the microtext, and solving the local microtext period corresponding to the point based on the target depth value of the point and a preset depth-magnification correlation model.

[0034] Specifically, import the grayscale height map of the target surface: the grayscale value of each pixel in the grayscale map corresponds to the depth of field height of the corresponding position of the target 3D shape, and the larger the grayscale value, the higher the depth of field. Coordinate point depth-of-field conversion: Traverse each micro-text point in the original coordinate array and obtain the target depth of field for that point based on the grayscale mapping. d By combining the depth-of-field formula, the local micro-text period corresponding to this point can be calculated. b i ; In step S400 of some embodiments of the present invention, the nonlinear spatial offset fitting of the initial point matrix coordinates of the micro-image includes: S401. Decompose the initial spatial coordinates into radial distance and polar angle in polar coordinate system; S402. Accumulate the coordinate offset caused by local periodic changes in each angular direction in layers along the radial direction to construct an offset mapping relationship including radial distance and polar angle dimensions.

[0035] Specifically, global coordinate interpolation offset fitting: based on the differentiated local periodicity of each point. b i The radial distance and polar angle of spatial coordinates are split into radial distance and polar angle. The coordinate offsets in all angular directions are accumulated in layers along the radial direction to construct a two-dimensional offset mapping database of radial distance and polar angle. Furthermore, the nonlinear spatial offset fitting of the initial point matrix coordinates of the micro-image also includes: S403. Convert the initial dot matrix coordinates of the micro-image into polar coordinate parameters; Specifically, in obtaining the local micro-text cycle of all coordinate point differences. b i Subsequently, a two-dimensional grid interpolation mapping was used to perform offset fitting on the original coordinates of all micro-images. Specifically, the polar coordinates of the imaging area were first sampled in a grid, and the coordinate offsets corresponding to all radial and angular positions were pre-calculated to establish a mapping library. S404. Perform two-dimensional interpolation calculation based on the offset mapping relationship to obtain the radial length of the corresponding point after offset; S405. Convert the offset polar coordinate parameters into rectangular coordinates to output the coordinates of the global variable periodic micro-text layout.

[0036] Specifically, the overall distortion fitting of the hexagonal lattice is then uniformly completed through two-dimensional interpolation, ultimately yielding a global variable-period micro-text coordinate array specifically for sphere modeling. The array arrangement structure is as follows: Figure 4 As shown, the coordinate array is formed into a micro-image layer through photolithography and UV molding, and then aligned and composited with a microlens layer and a light-transmitting imaging carrier. The finished product can present a continuously gradient curved spherical stereoscopic visual effect, such as... Figure 5 As shown.

[0037] In another embodiment, a three-dimensional heart is selected as the target three-dimensional shape, and the depth-of-field grayscale height map corresponding to the three-dimensional heart is as follows. Figure 6 As shown. The grayscale values ​​of each point in the grayscale height map are read sequentially and converted to corresponding depth-of-field values. The local micro-text period of each point is calculated using the depth-of-field formula and the magnification formula. Using two-dimensional grid interpolation mapping, a variable-period micro-text coordinate array specific to the heart shape is obtained. The array arrangement is as follows. Figure 7 As shown; after the three-layer structure is aligned and molded, the finished product can present a continuous curved surface heart-shaped three-dimensional visual effect, such as... Figure 8 As shown.

[0038] In one embodiment, a three-dimensional bow is taken as the target three-dimensional shape, and the depth-of-field grayscale height map corresponding to the three-dimensional bow is as follows. Figure 9 As shown. The grayscale values ​​of each point in the grayscale height map are read sequentially and converted to corresponding depth-of-field values. The local micro-text period of each point is solved using the depth-of-field formula and the magnification formula. Using two-dimensional grid interpolation mapping, a variable-period micro-text coordinate array specific to the bow shape is obtained. The array arrangement is as follows. Figure 10 As shown; after the three-layer structure is aligned and molded, the finished product can present a continuous curved surface bow three-dimensional visual effect, such as... Figure 11 As shown.

[0039] In one specific embodiment, the following steps are included: S1. Set basic parameters: Determine the microlens fixation period a Microlens focal length f Single micro graphic unit size m Central reference visual imaging size t ; S2. Solving for the center reference period: Substitute the parameters into the imaging size formula to calculate the center reference period of the microtextural layer. bBased on the target's three-dimensional effect, select the sinking or floating reference period. Based on the selected reference period, generate a micro-text original coordinate array with a uniform global arrangement using the same arrangement method as the microlens array. S3. Import the grayscale height map of the target surface: The grayscale value of each pixel in the grayscale map corresponds to the depth of field height of the corresponding position of the target 3D shape. The larger the grayscale value, the higher the depth of field. S4. Coordinate Point Depth of Field Conversion: Traverse each micro-text point in the original coordinate array and obtain the target depth of field for that point based on the grayscale image mapping. d By combining the depth-of-field formula, the local micro-text period corresponding to this point can be calculated. b i ; S5. Global coordinate interpolation offset fitting: based on the differentiated local period of each point. b i The system uses a polar coordinate system to split the radial distance and polar angle of spatial coordinates, accumulates the coordinate offset in all angular directions in a radial layer, and constructs a radial distance-polar angle dual-dimensional offset mapping database. Based on this mapping database, a two-dimensional interpolation mapping relationship is established to convert the coordinates of each microtext in the original array into polar coordinate parameters. The radial length after distortion of the corresponding point is obtained by looking up the table through two-dimensional interpolation, and then converted back to rectangular coordinates to complete the offset fitting of the original coordinates of all microtexts and generate the final layout coordinates of the microtexts with variable periodicity in the whole domain. S6. Preparation and molding: Based on the final arrangement coordinates, the micro-image layer is formed by photolithography and UV molding, and then aligned and compounded with the microlens layer and the light-transmitting carrier to obtain an anti-counterfeiting optical element with arbitrary curved surface and three-dimensional effect.

[0040] Example 3 refer to Figure 13 In a third aspect, the present invention provides an electronic device comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the curved surface stereoscopic imaging method of the optical device of the second aspect of the present invention.

[0041] Electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 502 or a program loaded from storage device 508 into random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via bus 504. An input / output (I / O) interface 505 is also connected to bus 504.

[0042] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, hard disks; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 13 An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 13 Each box shown can represent a device or multiple devices as needed.

[0043] Specifically, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by a processing device 501, it performs the functions defined in the methods of embodiments of this disclosure. It should be noted that the computer-readable medium described in embodiments of this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0044] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device. The aforementioned computer-readable medium carries one or more computer programs, which, when executed by the electronic device, cause the electronic device to: Computer program code for performing the operations of embodiments of this disclosure can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages—such as Java, Smalltalk, C++, and Python—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0045] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0046] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A variable-period microlens stereoscopic imaging optical device, comprising a microlens layer, a light-transmitting carrier layer, and a micro-image layer stacked sequentially from top to bottom, wherein the microlens layer is composed of multiple microlens units arranged in a fixed period, and the thickness of the light-transmitting carrier layer matches the focal length of the microlens units, characterized in that: The microtext layer includes multiple microtext units, and the local period of each microtext unit is set differently in different regions; The local period of each microtext unit at its corresponding position is configured according to the target depth value of the target surface at that position, so that when the microtext unit is subjected to moiré magnification imaging by the corresponding microlens unit, it presents a continuous and gradual depth stereoscopic visual effect that matches the target surface.

2. The optical device according to claim 1, characterized in that, The fixed period of the microlens unit and the center reference period of the micrographic unit are both configured to be between 10 μm and 200 μm.

3. The optical device according to claim 1, characterized in that, The relative size relationship between the local period and the fixed period is configured as follows: in areas where the target depth of field is an upward floating effect, the local period is larger than the fixed period; in areas where the target depth of field is a downward sinking effect, the local period is smaller than the fixed period.

4. The optical device according to claim 1, characterized in that, The microlens units are arranged in an orthogonal array or a hexagonal close-packed array.

5. A stereoscopic imaging method based on the optical device of claim 1, characterized in that, include: Obtain the three-dimensional spatial depth distribution information of the target surface; The reference period of the microtext layer is determined according to the preset reference optical parameters, and the initial matrix coordinates of the microtext are generated. Based on the depth values ​​of each coordinate point in the three-dimensional spatial depth distribution information, and based on the preset depth-of-field and period mapping relationship, the target local period of the corresponding micro-text unit is calculated. Based on the target local period of each coordinate point in the whole domain, the initial point matrix coordinates of the micro-text are fitted with nonlinear spatial offset to generate the micro-text layout coordinates with a global variable period. The micro-image layer is formed according to the global variable periodic micro-image arrangement coordinates, and the micro-image layer, the light-transmitting carrier layer, and the microlens layer are aligned and composited.

6. The method for stereoscopic imaging of curved surfaces according to claim 5, characterized in that, The process of obtaining the three-dimensional spatial depth distribution information of the target surface includes: obtaining a depth grayscale image representing the geometric shape of the target surface, extracting the grayscale value of each pixel in the depth grayscale image, and mapping the grayscale value to the depth height value of the corresponding spatial location.

7. The method for stereoscopic imaging of curved surfaces according to claim 5, characterized in that, The step of determining the reference period of the micro-text layer according to preset reference optical parameters includes: Based on the fixed period and focal length of the microlens unit and the mapping relationship between the physical size of the microtext unit and the target visual imaging size, the first reference period corresponding to the sinking visual effect or the second reference period corresponding to the floating visual effect is obtained. The initial coordinates of the microtext are generated uniformly based on the selected reference period.

8. The method for stereoscopic imaging of curved surfaces according to claim 5, characterized in that, The step of calculating the target local period of the microtext unit at the corresponding point based on the depth value of each coordinate point in the three-dimensional spatial depth distribution information includes: traversing each point in the initial point matrix coordinates of the microtext, and solving the local microtext period corresponding to the point based on the target depth value of the point and a preset depth-magnification correlation model.

9. The method for stereoscopic imaging of curved surfaces according to claim 5, characterized in that, The nonlinear spatial offset fitting of the initial point matrix coordinates of the micro-image includes: In the polar coordinate system, the initial spatial coordinates are decomposed into radial distance and polar angle; The coordinate offsets caused by local periodic changes in each angular direction are accumulated layer by layer along the radial direction to construct an offset mapping relationship that includes radial distance and polar angle dimension.

10. The method for stereoscopic imaging of curved surfaces according to claim 9, characterized in that, The nonlinear spatial offset fitting of the initial point matrix coordinates of the micro-image also includes: Convert the initial dot matrix coordinates of the micro-image into polar coordinate parameters; Two-dimensional interpolation calculation is performed based on the offset mapping relationship to obtain the radial length of the corresponding point after offset; The offset polar coordinate parameters are converted into rectangular coordinates to output the coordinates of the global variable periodic micro-text layout.