Exposure image acquisition method and device based on regular hexagon holographic unit, equipment, medium and product
By creating a hexagonal mesh and rotating and translation of light coordinates, the exposure image acquisition process corresponding to the regular hexagonal holographic unit is simplified, the problem of complex acquisition process in the prior art is solved, and a simpler image acquisition method is realized.
Patent Information
- Application Number
- CN202411623684.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-05-27
AI Technical Summary
The exposure image acquisition process corresponding to the regular hexagonal holographic unit is complex and requires a simple method to implement this process.
By creating a hexagonal mesh, determining the starting point coordinates of the light rays, performing 180-degree rotation and translation, obtaining the end point coordinates of the light rays, rendering based on these coordinates, and obtaining the exposed image.
The exposure image acquisition process corresponding to the regular hexagonal holographic unit is simplified, the steps of complex sampling are reduced, and the simplicity of the acquisition process is improved.
Smart Images

Figure CN120044774A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of holographic printing, and particularly to a method, apparatus, device, medium and product for obtaining an exposure image based on a regular hexagon holographic unit. Background Art
[0002] The synthetic holographic volume view printing technology is a hybrid display technology that combines the characteristics of integral imaging technology and holographic technology. This technology uses a camera array to capture or computer graphics rendering technology to generate a sequence of parallax images (also known as light fields), prints or calculates holograms, and reproduces them through optical diffraction. Compared with traditional optical holography, it can display both real existing objects and virtual objects, and the production process is relatively simple.
[0003] In order to enhance the reproduction quality of the holographic volume view, since the regular hexagon structure can not only reduce the influence of the "tilt effect" but also has good optical characteristics, regular hexagon holographic units can be used for printing holographic volume views. However, currently, the acquisition of the exposure image corresponding to the regular hexagon holographic unit is relatively complex, so there is an urgent need for a simple method for obtaining the exposure image based on the regular hexagon holographic unit. Summary of the Invention
[0004] The purpose of the present application is to provide a method, apparatus, device, medium and product for obtaining an exposure image based on a regular hexagon holographic unit, so as to make the acquisition process of the exposure image corresponding to the regular hexagon holographic unit simpler.
[0005] To achieve the above purpose, the present application provides the following solutions:
[0006] In the first aspect, the present application provides a method for obtaining an exposure image based on a regular hexagon holographic unit, including:
[0007] Create a hexagonal grid relative to the object to be holographically projected;
[0008] Take the position where the hexagonal grid is located as the coordinate plane coordinates of the light starting point of the object to be holographically projected;
[0009] Create a hexagonal grid relative to the object to be holographically projected;
[0010] Rotate the coordinate plane coordinates of the light starting point of the object to be holographically projected by 180 degrees;
[0011] Translate the rotated coordinate plane coordinates of the light starting point of the object to be holographically projected along the direction perpendicular to the light starting point plane by a preset distance to obtain the coordinate plane coordinates of the light ending point of the object to be holographically projected;
[0012] Render the object to be holographically projected based on the plane coordinates of the light starting point of the object to be holographically projected and the plane coordinates of the light ending point of the object to be holographically projected to obtain an exposure image.
[0013] Optionally, create a hexagonal grid relative to the object to be holographically projected, specifically including:
[0014] Create a basic hexagonal grid;
[0015] Multiply the basic hexagonal grid by a rotation matrix to obtain a rotated hexagonal grid;
[0016] Delete the incomplete hexagons at the boundary of the rotated hexagonal grid to obtain a hexagonal grid.
[0017] Optionally, render the object to be holographically projected based on the plane coordinates of the light starting point of the object to be holographically projected and the plane coordinates of the light ending point of the object to be holographically projected to obtain an exposure image, specifically including:
[0018] Input the plane coordinates of the light starting point of the object to be holographically projected and the plane coordinates of the light ending point of the object to be holographically projected into a neural network, and render the object to be holographically projected to obtain an exposure image.
[0019] Optionally, the neural network is a neural radiance field.
[0020] In a second aspect, the present application provides an exposure image acquisition device based on a regular hexagonal holographic unit, including:
[0021] A hexagonal grid creation module that creates a hexagonal grid relative to the object to be holographically projected;
[0022] A light starting point plane coordinate determination module for using the position where the hexagonal grid is located as the plane coordinates of the light starting point of the object to be holographically projected;
[0023] A rotation module for rotating the plane coordinates of the light starting point of the object to be holographically projected by 180 degrees;
[0024] A light ending point plane coordinate determination module for translating the rotated plane coordinates of the light starting point of the object to be holographically projected along a direction perpendicular to the light starting point plane by a preset distance to obtain the plane coordinates of the light ending point of the object to be holographically projected;
[0025] An exposure image acquisition module for rendering the object to be holographically projected based on the plane coordinates of the light starting point of the object to be holographically projected and the plane coordinates of the light ending point of the object to be holographically projected to obtain an exposure image.
[0026] Optionally, the hexagonal grid creation module specifically includes:
[0027] A basic hexagonal grid creation unit for creating a basic hexagonal grid;
[0028] A rotation unit for multiplying the basic hexagonal grid by a rotation matrix to obtain a rotated hexagonal grid;
[0029] A hexagonal grid creation unit for deleting incomplete hexagons at the boundary of the rotated hexagonal grid to obtain a hexagonal grid.
[0030] Optionally, the exposure image acquisition module specifically includes:
[0031] An exposure image acquisition unit for inputting the plane coordinates of the light starting point of the object to be holographically projected and the plane coordinates of the light ending point of the object to be holographically projected into a neural network, and rendering the object to be holographically projected to obtain an exposure image.
[0032] In a third aspect, the present application provides a computer device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the exposure image acquisition method based on a regular hexagonal holographic unit described in any one of the above.
[0033] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the exposure image acquisition method based on a regular hexagonal holographic unit described in any one of the above.
[0034] In a fifth aspect, the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the exposure image acquisition method based on a regular hexagonal holographic unit described in any one of the above.
[0035] According to the specific embodiments provided by the present application, the following technical effects are disclosed in the present application:
[0036] The present application provides an exposure image acquisition method, device, equipment, medium, and product based on a regular hexagonal holographic unit. The present application directly acquires the plane coordinates of the light starting point, and then after rotating and translating the plane coordinates of the light starting point by 180 degrees, the plane coordinates of the light ending point can be obtained. Based on the plane coordinates of the light starting point and the plane coordinates of the light ending point, the rendering of the exposure image can be realized, reducing the complex sampling process and making the acquisition process of the exposure image corresponding to the regular hexagonal holographic unit simpler. Description of the Drawings
[0037] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0038] Figure 1 Schematic flow chart of a method for obtaining an exposure image based on a regular hexagon holographic unit provided by an embodiment of the present application;
[0039] Figure 2 Schematic diagram of the two-step method based on a hexagonal holographic unit;
[0040] Figure 3 Influence diagram of a hexagonal frustum on EPI under different numbers of slices;
[0041] Figure 4 Process diagram of generating SEPI through segmentation and stitching of a sampled image;
[0042] Figure 5 Schematic diagram of the origin plane and direction plane formed by effective light rays;
[0043] Figure 6 Schematic diagram of the structure of a computer device provided by an embodiment of the present application. Detailed implementation manners
[0044] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0045] To make the above objects, features, and advantages of the present application more obvious and understandable, the present application will be further described in detail below with reference to the drawings and specific implementation manners.
[0046] In an exemplary embodiment, as Figure 1 shown, a method for obtaining an exposure image based on a regular hexagon holographic unit is provided, including the following steps:
[0047] Step 201, create a hexagonal grid relative to the object to be holographically projected.
[0048] Step 202, use the position where the hexagonal grid is located as the coordinate plane coordinates of the light starting point of the object to be holographically projected.
[0049] Step 203: Rotate the plane coordinates of the light starting point of the object to be holographically projected by 180 degrees.
[0050] Step 204: Translate the plane coordinates of the light starting point of the rotated object to be holographically projected along the direction perpendicular to the light starting point plane by a preset distance to obtain the plane coordinates of the light ending point of the object to be holographically projected.
[0051] Step 205: Render the object to be holographically projected according to the plane coordinates of the light starting point of the object to be holographically projected and the plane coordinates of the light ending point of the object to be holographically projected to obtain an exposure image.
[0052] This application proposes a method for obtaining an exposure image based on a regular hexagon holographic unit. Through this method, the exposure image required for synthesizing a holographic volume view laser print can be directly obtained. Implementing the above steps 201 to 205 makes the process of obtaining the exposure image corresponding to the regular hexagon holographic unit simpler.
[0053] In another exemplary embodiment of this application, a hexagonal grid is created relative to the object to be holographically projected, specifically including:
[0054] Create a basic hexagonal grid (the grid is a tensor matrix).
[0055] Multiply the basic hexagonal grid by a rotation matrix to obtain a rotated hexagonal grid.
[0056] Delete the incomplete hexagons at the boundary of the rotated hexagonal grid to obtain a hexagonal grid. For any scene, the hexagonal grid is the same. The grid only represents the number of slices, that is, the number of pixels horizontally. For obtaining exposure images of different scenes, it is determined by the rotation matrix. It can be said that the specific position of the camera is expressed by the rotation matrix. For example, if you want to obtain a close-up image of a pen, multiply it by the rotation matrix corresponding to the close-up image so that the close-up image is in the camera's field of view. If you want to move the position of the camera, multiply it by the corresponding rotation matrix to move it.
[0057] In another exemplary embodiment of this application, rendering the object to be holographically projected according to the plane coordinates of the light starting point of the object to be holographically projected and the plane coordinates of the light ending point of the object to be holographically projected to obtain an exposure image specifically includes:
[0058] Input the plane coordinates of the light starting point of the object to be holographically projected and the plane coordinates of the light ending point of the object to be holographically projected into the neural network of the torch-ngp framework to render the object to be holographically projected to obtain an exposure image. torch-ngp uses the neural network to learn three-dimensional light field information.
[0059] In another exemplary embodiment of the present application, the neural network is a neural radiance field.
[0060] The present application also has the following technical effects:
[0061] (1) High-quality hologram reproduction: By using a regular hexagon structure for the holographic unit, not only can the influence of the human eye's "tilt effect" be reduced, but this structure also has good optical properties, which can improve the reproduction quality of the hologram and increase the sampling frequency of the sampled image.
[0062] (2) Fast calculation speed: This method not only utilizes the Tensor core acceleration technology of the GPU but also various acceleration methods provided by the torch-ngp framework, shortening the generation process of the regular hexagon structure to within 200 milliseconds, and the generation speed of the exposure image can reach 20 FPS.
[0063] (3) Rich image information: The three-dimensional light field information learned by the neural network can be freely adjusted later. Sampling once can obtain the information of all perspective pictures, bringing more possibilities to the holographic volume view printing technology, enhancing the practicality and providing a richer application prospect.
[0064] The principle of the exposure image acquisition method based on regular hexagon holographic units provided by the present application is introduced below:
[0065] Step 1: Analyze the contributing holographic units through a two-step method. 2 The hologram on the dry plate includes multiple regular hexagon holographic units. When viewing the hologram on the dry plate 1 through a certain holographic unit, the part covered by the visual cone corresponding to the holographic unit is 1 the part of the hologram on the dry plate that 2 contributes to this holographic unit on the dry plate. The specific steps are from Step 1.1 to Step 1.2.
[0066] Step 1.1: As Figure 2 shown, Figure 2 (a) in shows the position of the effective image segment corresponding to a single sampled image in the traditional two-step method when using a hexagonal holographic unit structure, Figure 2Figure (b) shows the process of stitching the effective image segments corresponding to all sampled images into a synthetic effective parallax image. This method replaces the square holographic unit in the traditional two-step method with a hexagonal structure. By modeling the traditional two-step method using the ray tracing principle, the propagation mode of light is analyzed, and the correspondence between the effective perspective image (EPI) and the synthetic effective perspective image (SEPI) is determined. This analysis method can obtain the exposure image corresponding to the holographic unit in the hologram on the H 2 dry plate. The image corresponding to the hologram on the H 1 dry plate is a sampled perspective view following a specific pattern, called the sampled image. These sampled images are divided into smaller blocks. One holographic unit on the H 1 dry plate corresponds to a small piece of the sampled image, i.e., the above-mentioned image segment, and the blocks affecting the holographic unit on the H 2 dry plate are combined to form the exposure image of the holographic unit on the H 2 dry plate. By using this method, the two-step method can be transformed into a one-step method, directly obtaining the exposure image from the sampled image, because there is no longer a need to make the H 1 dry plate, thus greatly simplifying the process and reducing the associated high costs.
[0067] Step 1.2: For ease of analysis, define three key planes:
[0068] H 1 Dry plate plane: This is a virtual master hologram plane. It is called "virtual" because the H 1 dry plate is not actually made during the hologram generation process. On the H 1 dry plate, each holographic unit corresponds to an image (image segment) captured by a camera located at the center of the holographic unit. For ease of analysis, these images are numbered in the order of "from left to right, from bottom to top". To make full use of the hexagonal structure, the printing path of the holographic units in the even rows is offset to the right by half the size of a holographic unit relative to the odd rows.
[0069] LCD plane: This plane represents the medium used to load image information during the printing process. It is also the plane of the exposure image corresponding to the holographic unit in the H 1 dry plate and the H 2 dry plate. The distance between this plane and the H 1 dry plate plane determines the depression depth of the reconstructed image in the H 1 dry plate. Similarly, its distance from the H 2 dry plate plane defines the distance of the reconstructed image from the H 2The degree of prominence in the hologram of the dry plate. For simplicity, it is placed in the middle position between the two hologram planes, and it is assumed that H 1 The dry plate and H 2 The holographic units on the dry plate are of equal size.
[0070] H 2 Dry plate plane: This is the actually printed holographic plate. The image information contained in each holographic unit on this plate is obtained through this specific H 2 Observation of the dry plate holographic unit of H 1 When observing the dry plate hologram, it is the synthesis of the effects of all visible holographic units. During the analysis, each H 2 The center of the dry plate holographic unit is aligned with the corresponding H 1 The center of the dry plate holographic unit. Define N_V as the number of holographic units covered in the horizontal field of view when observing the dry plate hologram through the H 2 Dry plate holographic unit of H 1 Dry plate hologram. The number of holographic units covered in the horizontal field of view when observing the dry plate hologram through the dry plate holographic unit. Set N_V as a positive integer. Since N_V determines the number of slices into which each perspective view is divided in the horizontal direction, it is also called the slice number.
[0071] Step 2: Selection and rejection of holographic units in the edge part. Through the cases when the slice numbers are 2 and 3, it is determined that all the H 1 Dry plate holographic units that are not fully covered do not contribute to the exposed image and can be discarded. The specific steps are from Step 2.1 to Step 2.6.
[0072] Step 2.1: The shape of the visual cone is the basis of the analysis because it determines the light distribution observable by the human eye. Given the use of hexagonal holographic units, the visual cone is modeled as a hexagonal cone.
[0073] Step 2.2: First, consider a simple case where N_V = 2, as shown in Figure 3 (a). Through a holographic unit on the dry plate hologram of the H2 dry plate, seven holographic units on the main hologram on the virtual H 1 Dry plate can be observed. These holographic units are represented by different colors, where the central yellow holographic unit is fully visible, while the other holographic units are only partially visible.
[0074] Step 2.3: As can be seen from Figure 3 (b), when observing the yellow holographic unit, projecting its corresponding image and the visual cone unit (obtained by splitting the visual cone, one visual cone corresponds to one H 1 Holographic unit on the dry plate) onto the LCD plane will produce an overlapping area. This area represents the observable image information segment, called EPI. To extract it, it is necessary to according to the visual cone unit and H 1The pattern formed by the intersection of the holographic units on the dry plate divides the image, and then the area intersecting with the cone units is extracted. This division method is directly related to N_V, so N_V represents the complexity of the image slices.
[0075] Step 2.4: Through Figure 3 As can be seen from (c) in it, for the red unit in the upper left corner, the cone units along the hypotenuse form a trapezoid and cannot completely enclose the holographic unit. Projecting the sampled image onto the LCD plane for display, this cone unit has no intersection with the sampled image, indicating that the image information recorded by this holographic unit cannot be captured by the 2 holographic unit of the dry plate.
[0076] Step 2.5: When N_V = 3, according to Figure 3 in (d), Figure 3 in (e) and Figure 3 performing the same analysis as above in (f), it can be obtained that although the image information exposed on the 1 dry plate remains unchanged, the cross-sectional area of the visual cone and the LCD plane increases with the increase in the number of slices. This means that the image size should increase proportionally with the number of slices. Based on the previously established ratio and the principle of similarity of polygons, it can be inferred that its size is half of the area where the visual cone intersects with the 1 plane of the dry plate. Therefore, it can be inferred that the sampled image corresponding to the holographic unit of the dry plate at the vertex of the visual cone cannot be captured by the 1 holographic unit of the dry plate. Regardless of the number of slices, the incomplete cone units cannot capture any image information. 2
[0077] Step 2.6: From this analysis, two conclusions can be drawn:
[0078] 1. The image information corresponding to the incomplete units in the edge area of the 1 dry plate cannot be captured by the 2 holographic unit of the dry plate, while other image information can be completely captured. Therefore, the non - regular hexagon image fragments corresponding to the regular hexagon holographic units in the 2 dry plate should be deleted from the sampled image corresponding to the regular hexagon holographic units.
[0079] 2. Although some image information in the edge area is lost, with the increase in the number of slices, the number of EPIs increases, and the proportion of the edge area information decreases rapidly. Therefore, the proportion of the lost information decreases rapidly, and the SEPI gradually approaches the shape of a hexagonal structure.
[0080] Step 3: The combination rule of SEPI. SEPI is composed of extracting the EPIs in each image in reverse order and finally placing them in the area corresponding to the synthesized effective image. It can be expressed by the formula Expression, where S represents SEPI, and B i,M-i+1 represents the (M - i + 1)-th image segment of the sampling image corresponding to the i-th holographic unit on the H1 dry plate. The symbol ∪ represents the union operation, and M represents the total number of holographic units on the H1 dry plate that can be observed through a holographic unit on the H2 dry plate. The specific steps are from step 3.1 to step 3.3.
[0081] Step 3.1: To better understand how the sampling images corresponding to the holographic units on the H1 dry plate hologram are segmented and spliced, continue to analyze the case of N_V = 4 using the ray tracing principle. As Figure 4 shown in (a) and Figure 4 shown in (b), in this case, several holographic units on the H1 dry plate can be observed through a holographic unit on the H2 dry plate. Denote the number of fully observable units as M, which is 13 in this case. These units are numbered according to a unified rule, which also corresponds to the numbers of their related sampling images. The correspondence between these elements can be determined. For example, EPI is the 7th image segment corresponding to the 7th unit. Similarly, the image information of all EPIs can be determined, as Figure 4 shown in (c). It should be noted that in this representation, the spacing between units is increased to clearly depict all sampling images. When restoring the original unit spacing, as Figure 4 shown in (d), all EPIs combine to form SEPI.
[0082] Step 3.2: In Figure 4 and Figure 5 , use green circles to represent the numbers of the holographic units on the H 1 dry plate (which also correspond to the sampling images), yellow circles to represent the position numbers of EPIs in SEPI, and red hexagonal pixel blocks to represent the position numbers of EPIs in the sampling images. It can be observed that SEPI is composed of EPIs extracted from the images corresponding to the holographic units on the H1 dry plate covered by the viewing cone. These blocks are extracted in reverse order and placed in the corresponding areas of SEPI. For example, the 12th EPI in SEPI is the 12th image segment of the 2nd sampling image.
[0083] Step 3.3: To define the composition of SEPI, SEPI can be represented by the EPIs that compose it and their corresponding sampling images. As shown in the above formula, this formula summarizes the process of EPIs assembling SEPI, considering their original positions in the sampling images and their final positions in SEPI. This mathematical representation provides a concise and accurate description of the SEPI composition process, which is crucial for accurately reconstructing holographic stereograms using hexagonal holographic units.
[0084] Step 4: Generate SEPI. One pixel can be rendered through one light path, and an image can be rendered through multiple light paths. All the light paths form two planes (well-known); thus, by calculating the two planes of the light rays corresponding to the exposure image, the required exposure image can be rendered without complex sampling. Next, computer coding is used to generate the three-dimensional coordinates of the required hexagonal plane (represented using tensors). The specific steps are from Step 4.1 to Step 4.4.
[0085] Step 4.1: The 3D scene trained by NGP is implicitly represented by a neural network. To render a new perspective image, the internal and external parameters of the camera are required to calculate the trajectory of each light ray. An image consists of numerous pixels, and the color of each pixel is determined by the intersection of the light ray passing through that pixel with the 3D scene. The process of creating SEPI by sampling the segmentation and stitching of the image can be simplified to directly rendering each pixel, as long as the light propagation path of each pixel is known. This method is exactly the same as the way NGP renders pixels. Therefore, the generation of SEPI can be conceptualized as a combination of light rays with different propagation paths, allowing direct rendering and efficient creation.
[0086] Step 4.2: As Figure 5 shown, take the 13th holographic unit as an example. When capturing this sampled image, the light rays emit from the optical center located at the geometric center of the camera. These light rays propagate forward in the hexagonal cone of vision, capture the colors of the objects they encounter, and record the entire image on the camera sensor. For the required SEPI, only the light rays at the EPI position can be captured by the H2 dry plate holographic unit; these are designated as valid light rays. The origin coordinates and corresponding direction coordinates can be established for all valid light rays. As the number of image slices increases, when N_V increases, the EPI will ultimately be segmented into a pixel. This enables the establishment of a unique correspondence between the origin and direction for the light rays associated with each pixel. The planes formed by these light rays are called the origin plane (the plane where the light ray starts) and the direction plane (the plane where the light ray ends).
[0087] Step 4.3: In the NGP rendering pipeline, the coordinates of these two planes are represented by two-dimensional tensors. Through the foregoing analysis and the principle of image rendering, these two tensors can be encoded and obtained. Subsequently, the required image information can be extracted using a neural network. Similarly, all SEPIs corresponding to the holographic elements on the H2 dry plate can be rendered using the position information determined by the experimental parameters. If it is necessary to change the relative position of this plane in the scene, it can be achieved through a rotation matrix, which can be efficiently implemented in tensor operations.
[0088] Step 4.4: To efficiently obtain all the position coordinates of these two planes, an optimized hexagonal grid generation and filtering algorithm was designed and implemented. This algorithm utilizes the PyTorch framework combined with TorchScript compilation and GPU acceleration to optimize the calculation speed through matrix operations. The input of this algorithm is the number of horizontal pixels of the exposure image, and the output is all the exposure images. The general processing steps are as follows: Create a basic hexagonal grid according to the required image width; Calculate the boundary parameters of the small hexagons; Delete the small hexagons located on the boundary of the large hexagon; Obtain the light starting plane coordinates; Calculate the direction plane coordinates according to the starting plane coordinates through the above formula; Render the exposure image through the two coordinate planes; Obtain the remaining images by moving the plane coordinates through the experimental parameters; The process of generating the hexagonal grid is to generate tensor grid points according to the experimental parameters to represent the hexagons; Calculate the shape of the hexagons and create a filtering grid for the hexagons; Determine the points falling on the edges and delete them; Generate the hexagonal grid. The pseudo-code of the algorithm for generating the hexagonal grid is as follows:
[0089]
[0090] This application analyzes the propagation law of the effective pixels of the regular hexagonal holographic unit during the holographic volume view printing process using the ray tracing principle, that is, analyzes the imaging process of the holographic volume view printed using the regular hexagonal holographic unit, obtains the image synthesis law, and then through computer programming, the combination of each pixel can be stitched together to obtain the required exposure image. Then, by utilizing the characteristic that the neural radiance field can implicitly represent the three-dimensional scene, the process of generating the exposure image is combined with the process of generating a new view image in the neural radiance field, enabling it to directly render the required image. This reduces the complex sampling process and can be arbitrarily changed and adjusted later, enhancing the display effect of the holographic volume view printing technology.
[0091] Based on the same inventive concept, the embodiments of this application also provide an exposure image acquisition device based on regular hexagonal holographic units for implementing the above-mentioned exposure image acquisition method based on regular hexagonal holographic units. The implementation solutions provided by this device to solve problems are similar to the implementation solutions described in the above method. Therefore, the specific limitations in one or more embodiments of the exposure image acquisition device based on regular hexagonal holographic units provided below can refer to the limitations on the exposure image acquisition method based on regular hexagonal holographic units in the above text, and will not be elaborated here.
[0092] In an exemplary embodiment, an exposure image acquisition device based on regular hexagonal holographic units is provided, including:
[0093] A hexagonal grid creation module that creates a hexagonal grid relative to the object to be holographically projected;
[0094] A light starting point coordinate plane coordinate determination module, configured to use the position where the hexagonal grid is located as the light starting point coordinate plane coordinate of the object to be holographically projected.
[0095] A rotation module, configured to rotate the light starting point coordinate plane coordinate of the object to be holographically projected by 180 degrees.
[0096] A light ending point coordinate plane coordinate determination module, configured to translate the rotated light starting point coordinate plane coordinate of the object to be holographically projected along the direction perpendicular to the light starting point plane by a preset distance to obtain the light ending point coordinate plane coordinate of the object to be holographically projected.
[0097] An exposure image acquisition module, configured to render the object to be holographically projected according to the light starting point coordinate plane coordinate and the light ending point coordinate plane coordinate of the object to be holographically projected, and obtain an exposure image.
[0098] In an exemplary embodiment, the hexagonal grid creation module specifically includes:
[0099] A basic hexagonal grid creation unit, configured to create a basic hexagonal grid.
[0100] A rotation unit, configured to multiply the basic hexagonal grid by a rotation matrix to obtain a rotated hexagonal grid.
[0101] A hexagonal grid creation unit, configured to delete the incomplete hexagons at the boundary of the rotated hexagonal grid to obtain a hexagonal grid.
[0102] In an exemplary embodiment, the exposure image acquisition module specifically includes:
[0103] An exposure image acquisition unit, configured to input the light starting point coordinate plane coordinate and the light ending point coordinate plane coordinate of the object to be holographically projected into a neural network, render the object to be holographically projected, and obtain an exposure image.
[0104] In an exemplary embodiment, a computer device is provided. The computer device can be a server or a terminal, and its internal structural diagram can be as Figure 6As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the data for obtaining the exposure image based on the regular hexagon holographic unit. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, it implements a method for obtaining an exposure image based on a regular hexagon holographic unit.
[0105] Those skilled in the art can understand that Figure 6 the structure shown in the figure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements. In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the above method embodiments are implemented.
[0106] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by the processor, the above method embodiments are implemented.
[0107] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by the processor, the above method embodiments are implemented.
[0108] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0109] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include Read-Only Memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0110] The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0111] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0112] Specific examples are used in this article to elaborate on the principles and implementation manners of the present application. The descriptions of the above embodiments are only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A method for acquiring an exposure image based on a regular hexagonal holographic unit, characterized in that: The exposure image acquisition method based on the regular hexagonal holographic unit includes: Creating a hexagonal grid relative to the object to be holographically projected; The position of the hexagonal grid is taken as the plane coordinate of the light starting point of the object to be holographically projected; Rotate the coordinate plane of the starting point of the light of the object to be holographically projected by 180 degrees; The rotated light source coordinate plane coordinate of the object to be holographically projected is translated by a preset distance in a direction perpendicular to the light source plane to obtain the light source coordinate plane coordinate of the object to be holographically projected; According to the coordinate plane coordinates of the light starting point of the object to be holographically projected and the coordinate plane coordinates of the light ending point of the object to be holographically projected, the object to be holographically projected is rendered to obtain an exposure image.
2. The exposure image acquisition method based on the regular hexagonal holographic unit according to claim 1, characterized in that: Create a hexagonal grid relative to the object to be holographically projected, specifically including: Create a basic hexagonal grid; Multiplying the basic hexagonal grid by a rotation matrix to obtain a rotated hexagonal grid; The incomplete hexagons at the boundary of the rotated hexagonal mesh are deleted to obtain a hexagonal mesh.
3. The exposure image acquisition method based on a regular hexagonal holographic unit according to claim 1, characterized in that: According to the coordinate plane coordinates of the light starting point of the object to be holographically projected and the coordinate plane coordinates of the light ending point of the object to be holographically projected, the object to be holographically projected is rendered to obtain an exposure image, specifically including: The plane coordinates of the light starting point of the object to be holographically projected and the plane coordinates of the light ending point of the object to be holographically projected are input into a neural network, and the object to be holographically projected is rendered to obtain an exposure image.
4. The exposure image acquisition method based on the regular hexagonal holographic unit according to claim 3, characterized in that: The neural network is a neural radiation field.
5. An exposure image acquisition device based on a regular hexagonal holographic unit, characterized in that: The exposure image acquisition device based on the regular hexagonal holographic unit comprises: A hexagonal grid creation module, which creates a hexagonal grid relative to the object to be holographically projected; A light starting point coordinate plane coordinate determination module, used to take the location of the hexagonal grid as the light starting point coordinate plane coordinate of the object to be holographically projected; A rotation module, used to rotate the coordinate plane of the light starting point of the object to be holographically projected by 180 degrees; A light end point coordinate plane coordinate determination module is used to translate the light start point coordinate plane coordinate of the rotated object to be holographically projected by a preset distance in a direction perpendicular to the light start point plane to obtain the light end point coordinate plane coordinate of the object to be holographically projected; The exposure image acquisition module is used to render the object to be holographically projected according to the plane coordinates of the light starting point coordinate of the object to be holographically projected and the plane coordinates of the light ending point coordinate of the object to be holographically projected to obtain an exposure image.
6. The exposure image acquisition device based on regular hexagonal holographic unit according to claim 5, characterized in that: Hexagonal grid creation module, including: A basic hexagonal grid creation unit is used to create a basic hexagonal grid; A rotation unit, used for multiplying the basic hexagonal grid by a rotation matrix to obtain a rotated hexagonal grid; The hexagonal mesh creation unit is used to delete incomplete hexagons at the boundary of the rotated hexagonal mesh to obtain a hexagonal mesh.
7. The exposure image acquisition device based on regular hexagonal holographic unit according to claim 5, characterized in that: The exposure image acquisition module specifically includes: The exposure image acquisition unit is used to input the plane coordinates of the light starting point coordinate of the object to be holographically projected and the plane coordinates of the light ending point coordinate of the object to be holographically projected into a neural network, render the object to be holographically projected, and obtain an exposure image.
8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the exposure image acquisition method based on a regular hexagonal holographic unit according to any one of claims 1 to 4.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the exposure image acquisition method based on a regular hexagonal holographic unit described in any one of claims 1 to 4 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the exposure image acquisition method based on a regular hexagonal holographic unit described in any one of claims 1 to 4 is implemented.