A method for generating micro-image arrays for integrated imaging based on optimal voxel spatial distribution
RGB-D images are acquired through depth cameras or 3D modeling software, and optimal voxel spatial distribution is used to generate micro-image arrays, which solves the problems of lack of micro-image arrays and reliance on complex optical structures in integrated imaging technology, achieving high quality and Compatibility shown in 3D image.
Patent Information
- Application Number
- CN202410060799.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-01-16
AI Technical Summary
Existing integrated imaging technology faces the problem of lack of micro-image arrays (3D source), which makes application promotion difficult. Moreover, existing methods rely on complex optical structures and low-resolution light field cameras, making it difficult to adapt to 3D scene display in different depth ranges.
Use a depth camera or 3D modeling software to obtain RGB-D images, select appropriate depth data and texture data through optimal voxel spatial distribution, and generate a micro-image array that meets the performance requirements of integrated imaging 3D displays, using voxels and point pixels of the same name The mapping relationship is synthesized.
It achieves universal acquisition of depth data and texture data, and gets rid of the dependence on complex optical structures. The generated micro-image array can adapt to 3D displays with different parameters, improving image quality and compatibility.
Smart Images

Figure CN117956133B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to integrated imaging technology, and in particular to an integrated imaging micro-image array generation method based on optimal voxel spatial distribution. Background Art
[0002] Integrated imaging 3D display is a type of naked eye 3D display. Compared with existing glasses or head-mounted 3D displays, it does not require any auxiliary equipment and can be used to see 3D images protruding or recessed from the display screen just like watching an ordinary TV or monitor. Structurally, it is achieved by attaching a specially designed optical device (microlens array) to an ordinary 2D display screen (such as a liquid crystal screen (LCD) or a projection screen) to precisely couple the two.
[0003] Integrated imaging 3D display requires a unique 3D source, which is usually composed of multiple tiny images arranged in an interlaced manner through pixels, also known as a micro-image array. Integrated imaging can usually only use its own complex devices to shoot 3D scenes, and then synthesize micro-image arrays through program algorithms. This process is also called the 3D source generation process. In addition, there are certain limitations on the depth range of 3D scenes when shooting, because the 3D images reconstructed by integrated imaging can only protrude or recess in a very small range before and after the display screen, usually a few centimeters to tens of centimeters. Images beyond this range will become blurred and even seriously affect the viewing experience. The 3D scenes in the real world may have a large depth range, which makes it difficult for existing integrated imaging technology to achieve the shooting and display of real 3D scenes, so that integrated imaging faces the challenge of a lack of 3D sources. At present, most of the integrated imaging 3D sources used for academic research or commercial display are 3D modeled by computer software, which is shot by setting up a virtual micro-lens array or virtual camera array in the computer, and then synthesized by a combination program.
[0004] The existing integrated imaging 3D film source generation method usually uses a camera array (which can be real or virtual) to shoot the 3D scene from multiple different angles according to a certain arrangement rule. Each camera obtains an image of a specific perspective, and then generates a 3D film source through pixel encoding processing through a program. The disadvantage is that the camera array structure is huge and requires complex calibration and synchronization mechanisms, which is difficult to achieve commercialization. Another method is to shoot through a light field camera, but the disadvantage is that the resolution of the light field camera is too low, so the reconstructed 3D image quality is not high. In recent years, some researchers have also proposed to obtain the texture + depth data of the 3D scene through a depth camera, called RGB-D image, and then synthesize it through the mapping relationship between 3D image points and voxels on the display screen using computer image processing methods. This method gets rid of the dependence of the integrated imaging 3D film source generation on its own structure, making the acquisition of the film source more universal, but it cannot unify the shooting process and the display process. There are certain requirements for the depth range of the 3D scene being shot, which cannot exceed the depth range of the 3D display, otherwise the displayed 3D image will be very blurry. Obviously, this method is difficult to be widely used.
[0005] Therefore, the present invention proposes a multi-source and universal integrated imaging micro-image array generation method to solve the current problem of integrated imaging facing a shortage of micro-image arrays (3D chip sources), which affects the difficulty of its application and promotion. Summary of the invention
[0006] The purpose of the present invention is to propose a multi-source and universal integrated imaging micro-image array generation method to solve the current problem of integrated imaging facing a shortage of micro-image arrays (3D film sources), which affects the difficulty of its application and promotion. Multi-source is reflected in that the acquisition of depth data and texture data no longer depends on the structure of the integrated imaging display system itself, but can obtain a set of common RGB-D images through existing mature technologies and products such as depth cameras and 3DS MAX software; universality is reflected in that the method proposed in the present invention can flexibly adjust the resolution of the acquired depth data and texture data through the optimal voxel space to adapt to integrated imaging 3D displays with different specifications and parameters.
[0007] Integrated imaging 3D display principle Figure 1As shown in the figure, the magic cube represents the virtual 3D image reconstructed by the integrated imaging display device, which is regarded as composed of voxel units. According to the principle that the optical paths of the shooting and display processes of integrated imaging are reversible, each voxel in the 3D image corresponds to a group of pixels in the micro-image array (called same-name point pixels). In the 3D display process, the light beams emitted by a group of same-name point pixels are refracted by the micro-lens units in front of each other and converge into an image point at a certain position in space. This image point is a voxel of the 3D image. If the light beam of each pixel is regarded as a principal ray and the lens unit is regarded as a pinhole imaging model, the spatial position of the voxel is the intersection of the principal rays emitted from multiple same-name point pixels in space.
[0008] The technical solution of the present invention is as follows:
[0009] A method for generating an integrated imaging micro-image array based on optimal voxel spatial distribution, the method comprising the steps of:
[0010] S1, obtain the depth data and texture data of the 3D scene;
[0011] S2, selecting the optimal voxel space: according to the relationship between the voxel space of the integrated imaging 3D display and the 3D display performance, selecting a part of the voxel space that meets the 3D display performance requirements from the entire voxel space of the integrated imaging 3D display as the optimal voxel space;
[0012] S3. Synthesize micro-image array: Taking the obtained depth data and texture data of the 3D scene as input, synthesize a micro-image array that meets the display performance requirements of the integrated imaging 3D display according to the selected optimal voxel space.
[0013] Furthermore, the steps of selecting the optimal voxel space include:
[0014] S2-1, discarding the integrated image surface with missing voxels from the entire voxel space of the integrated imaging 3D display;
[0015] S2-2, roughly selecting an integrated image plane with a relatively high voxel spatial resolution according to the position of the central depth plane;
[0016] S2-3. On the basis of step S2-2, according to the 3D depth of field requirement of the integrated imaging 3D display and the overlap between adjacent voxels, select a portion of the voxel space that meets the performance requirement as the optimal voxel space.
[0017] Further, the step of synthesizing the micro-image array includes:
[0018] S3-1, transforming the obtained depth data of the 3D scene into a depth range corresponding to the optimal voxel space, and dividing the obtained depth data of the 3D scene into a plurality of integrated image planes corresponding to the optimal voxel space;
[0019] S3-2, segmenting the obtained texture data of the 3D scene and pasting them on each integrated image plane, and adjusting the spatial resolution of the texture data of the 3D scene on each integrated image plane to the voxel spatial resolution on the corresponding integrated image plane by upsampling or downsampling, that is, generating a texture slice map on the corresponding integrated image plane;
[0020] S3-3, through the mapping relationship between voxels and pixels of the same name, the texture slice image on each integrated image surface is mapped point by point to the micro-image array plane, so as to generate a sub-micro-image array corresponding to each integrated image surface;
[0021] S3-4. According to the relationship between parallax (in pixels) and depth, the sub-micro image array corresponding to each integrated image surface is extended in the direction of the hole (to eliminate the image quality degradation caused by the hole), and the extended sub-micro image array is fused to generate a complete micro image array.
[0022] Furthermore, the steps of selecting the optimal voxel space include:
[0023] S2-1, discarding the integrated image surface with missing voxels from the entire voxel space of the integrated imaging 3D display, specifically including:
[0024] A world coordinate system is established with the geometric center of the microlens array plane as the origin, where the XY plane coincides with the microlens array plane, and the Z axis is perpendicular to the microlens array plane. Assuming that each image element contains R×R pixels (i.e., R pixels in the horizontal and vertical directions respectively), each image element will emit R×R reconstruction rays, and the reconstruction rays propagate in the 3D image space at the same angular interval. The angular interval of adjacent reconstruction rays is:
[0025]
[0026] Where g is the distance between the pixel plane and the microlens array plane, p d is the pixel size on a 2D display;
[0027] The reconstruction rays emitted by a pixel in any image element intersect with each reconstruction ray from its adjacent image element, forming at most (R–1) 2 voxels, and the voxels are distributed at R-1 different depth positions, so the total number of integrated image surfaces carrying all voxels is:
[0028] N P =R-1; (1-2)
[0029] Let the kth (1≤k≤N P) integrated image plane is P(k), and its distance z(k) to the microlens array plane is expressed as:
[0030]
[0031] Where p represents the pitch of the lens element;
[0032] The spacing Δz(k) between adjacent integrated image planes is:
[0033] Δz(k)=z(k+1)-z(k); (1-4)
[0034] Assume that Δx(k) and Δy(k) represent the horizontal and vertical adjacent voxel intervals on the integrated image plane P(k), respectively, then:
[0035]
[0036] A group of voxels formed by the intersection of the reconstruction rays of two adjacent image elements are distributed in a tetrahedral pyramid shape, in which some areas are unevenly distributed due to the lack of some voxels. The number of integrated image surfaces of non-uniform distribution of voxels is obtained through geometric relationships:
[0037]
[0038] Among them, round(.) means rounding to the nearest integer;
[0039] The integrated image plane is cropped to the same size as the 2D display screen. The number of voxels on the cropped integrated image plane is expressed as:
[0040]
[0041] and
[0042]
[0043] Among them, N h (k) represents the number of voxels in the horizontal direction on the cropped integrated image plane, N v (k) represents the number of voxels in the vertical direction on the cropped integrated image plane, W represents the width of the 2D display screen, and H represents the height of the 2D display screen;
[0044] Equations (1-1)-(1-8) describe all voxel characteristic parameters of the integrated imaging 3D display. Obviously, the reverse extension line of the reconstructed light will also form a similar voxel space behind the screen, and its characteristic parameters have the same expression as the characteristic parameters of the voxel space in front of the screen.
[0045] The present invention completely reveals the voxel spatial distribution law of the integrated imaging 3D display for the first time.
[0046] S2-2. Roughly select an integrated image plane with a relatively high voxel spatial resolution according to the position of the central depth plane, specifically including:
[0047] Assume R x (k) and R y (k) represents the spatial resolution of the voxel on the integrated image plane P(k) in the horizontal and vertical directions, respectively, expressed as:
[0048]
[0049] and
[0050]
[0051] It can be seen from equations (1-9) and (1-10) that the voxel spatial resolution decreases with the increase of the integrated image plane number, that is, the voxel spatial resolution on the integrated image plane closer to the microlens array plane is higher, and the voxel spatial resolution on the integrated image plane farther away from the microlens array plane gradually decreases;
[0052] From equations (1-5), (1-7) and (1-8), it can be seen that when the parameters of the 2D display screen (screen width W of the 2D display screen, screen height H of the 2D display screen and pixel size p of the 2D display screen) are d ) and the parameters of the lens element (the pitch p of the lens element) are determined, the number of voxels on each integrated image plane is determined, and the size of the voxels on each integrated image plane is related to the position of the central depth plane;
[0053] The position of the central depth plane is obtained by the Gaussian imaging formula:
[0054]
[0055] Where, l represents the distance from the central depth plane to the microlens array plane, and f is the focal length of the lens element;
[0056] Therefore, by adjusting the distance g between the microlens array plane and the pixel plane, the central depth plane is set near the integrated image plane with denser voxels, and then the integrated image plane with relatively high voxel spatial resolution is roughly selected according to the position of the central depth plane;
[0057] S2-3, based on step S2-2, according to the 3D depth of field requirements of the integrated imaging 3D display and the overlap between adjacent voxels, select part of the voxel space that meets the performance requirements as the optimal voxel space, specifically including:
[0058] According to the geometric relationship, on the integrated image plane at a distance z from the microlens array plane, the size of the voxel S v It is expressed as:
[0059]
[0060] When adjacent voxels overlap, their overlap degree β is expressed as:
[0061]
[0062] Among them, D v represents the interval between adjacent voxels, and its value is given by Δx(k) and Δy(k) in equation (1-5); given the overlap threshold β0, the depth position of the front and rear edge integrated image planes of the 3D depth of field range of the integrated imaging 3D display can be determined; the edge integrated image plane closest to the viewer is called the front edge integrated image plane, and the edge integrated image plane farthest from the viewer is called the rear edge integrated image plane; assuming that the distances between the front and rear edge integrated image planes and the microlens array plane are z1 and z2 respectively, the 3D depth of field of the integrated imaging 3D display is expressed as:
[0063] Δz=|z1-z2|; (1-14)
[0064] Therefore, based on step S2-2, the front and rear edge integrated image planes are selected according to the 3D depth of field requirements of the integrated imaging 3D display and the overlap between adjacent voxels, so that the 3D image reconstructed between the front and rear edge integrated image planes always has high clarity.
[0065] Furthermore, the mapping relationship between the voxels and the pixels of the same name points is:
[0066] F:Vx→HomoPx, (1-15)
[0067] Where Vx represents a voxel set, HomoPx represents a pixel set, and F represents a mapping function. (For any element in the voxel set Vx, the number of elements corresponding to it in the pixel set HomoPx represents the number of reconstructed rays that constitute the voxel. Therefore, the area of interest in the 3D scene can be reconstructed on voxels with more reconstructed rays to obtain denser viewing viewpoints and smoother motion parallax.)
[0068] Furthermore, the method for obtaining depth data and texture data of a 3D scene includes: using a depth camera or 3D modeling software to obtain an RGB-D image of the 3D scene, wherein the RGB-D image includes depth data and texture data.
[0069] Compared with the prior art, the present invention has the following advantages:
[0070] 1. Acquisition of depth data and texture data: By simply adopting existing mature technologies and products, such as depth cameras, 3DS MAX software, etc., more general 3D information sources can be provided for integrated imaging 3D display technology, thereby freeing the 3D information acquisition process from dependence on the complex and delicate optical structure of integrated imaging itself.
[0071] 2. Selection of the optimal voxel space: Each integrated imaging 3D display with different structural parameters has its own unique voxel space. The part that best meets the system's 3D display performance requirements is selected, so that the generated micro-image array (3D film source) can be matched with each specific integrated imaging 3D display, thereby avoiding the compatibility problem that the existing micro-image array (3D film source) cannot be displayed on 3D displays with different parameters.
[0072] 3. Synthesis of micro-image arrays: Any depth data can be flexibly transformed into the depth range of the optimal voxel space, and the spatial resolution of the texture data can be adjusted to be consistent with the voxel spatial resolution through upsampling or downsampling, so that each voxel can be accurately mapped to the corresponding pixel of the same name.
[0073] 4. The present invention fully reveals for the first time the spatial distribution law of voxels of an integrated imaging 3D display.
[0074] The present invention is further described in detail below through specific implementation modes and drawings, but it is not intended to limit the protection scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] Figure 1 It is a schematic diagram of the integrated imaging 3D display principle.
[0076] Figure 2 It is a schematic diagram of the spatial distribution law of voxels in an embodiment of the present invention.
[0077] Figure 3 It is a complete three-dimensional voxel spatial distribution diagram of the embodiment of the present invention.
[0078] Figure 4 It is a schematic diagram of the actual voxel reconstruction process of an embodiment of the present invention.
[0079] Figure 5 It is a schematic diagram of voxel size calculation according to an embodiment of the present invention.
[0080] Figure 6 It is a schematic diagram of 3D depth of field calculation according to an embodiment of the present invention.
[0081] Figure 7 It is a schematic diagram of a preferred solution of voxel space clipping and display performance based on an embodiment of the present invention.
[0082] Figure 8It is a flow chart of a method for generating an integrated imaging micro-image array based on optimal voxel spatial distribution according to an embodiment of the present invention.
[0083] Fig. 9 is an RGB-D image pair obtained by a depth camera in an embodiment of the present invention.
[0084] Fig.10 It is an RGB-D image pair of a virtual 3D scene created by 3DS MAX software in an embodiment of the present invention.
[0085] Fig.11 It is a diagram of the voxel spatial distribution and optimization results in the real mode of an embodiment of the present invention.
[0086] Fig.12 It is the USAF 1951 resolution test target of the embodiment of the present invention.
[0087] Fig.13 It is a resolution test target image reconstructed on each integrated image plane in the embodiment of the present invention.
[0088] Fig.14 It is a comparison diagram between the actual value and theoretical value of voxels in an embodiment of the present invention.
[0089] Fig.15 It is a comparison diagram of the image quality of high-frequency and low-frequency image reconstruction on different integrated image planes according to an embodiment of the present invention.
[0090] Fig.16 It is a diagram of the reconstruction effect of a 3D image in the real mode according to an embodiment of the present invention.
[0091] Fig.17 It is a diagram of the reconstruction effect of a 3D image in a virtual mode according to an embodiment of the present invention. DETAILED DESCRIPTION
[0092] Example
[0093] This example provides a method for generating an integrated imaging micro-image array based on optimal voxel spatial distribution, the method comprising the steps of:
[0094] S1. Obtain depth data and texture data of a 3D scene.
[0095] In this example, a depth camera or 3D modeling software is used to obtain an RGB-D image of a 3D scene, and the RGB-D image contains depth data and texture data.
[0096] S2. Selecting the optimal voxel space: According to the relationship between the voxel space of the integrated imaging 3D display and the 3D display performance, a portion of the voxel space that meets the 3D display performance requirements is selected from the entire voxel space of the integrated imaging 3D display as the optimal voxel space.
[0097] The steps to select the optimal voxel space in this example include:
[0098] S2-1, discarding the integrated image surface with missing voxels from the entire voxel space of the integrated imaging 3D display, specifically including:
[0099] A world coordinate system is established with the geometric center of the microlens array plane as the origin, where the XY plane coincides with the microlens array plane, and the Z axis is perpendicular to the microlens array plane. Assuming that each image element contains R×R pixels (i.e., R pixels in the horizontal and vertical directions respectively), each image element will emit R×R reconstruction rays, and the reconstruction rays propagate in the 3D image space at the same angular interval. The angular interval of adjacent reconstruction rays is:
[0100]
[0101] Where g is the distance between the pixel plane and the microlens array plane, p d is the pixel size on the 2D display screen; (Since most display devices use square pixels, that is, the pixel aspect ratio is 1:1, the angle intervals of the reconstructed light along the X-axis and Y-axis directions are equal. Formula (1-1) is also applicable to displays with non-square pixel structures and will not be elaborated here.)
[0102] The reconstruction rays emitted by a pixel in any image element intersect with each reconstruction ray from its adjacent image element, forming at most (R–1) 2 voxels, and the voxels are distributed at R-1 different depth positions, so the total number of integrated image surfaces carrying all voxels is:
[0103] N P =R-1; (1-2)
[0104] Let the kth (1≤k≤N P ) integrated image plane is P(k), and its distance z(k) to the microlens array plane is expressed as:
[0105]
[0106] Where p represents the pitch of the lens element; (In the traditional integrated imaging light field acquisition process, in order to maximize the use of pixel units in the micro-image array and avoid overlapping of the boundary areas of adjacent image elements, the pitch of the image element is usually equal to the pitch of the lens element.)
[0107] The spacing Δz(k) between adjacent integrated image planes is:
[0108] Δz(k)=z(k+1)-z(k); (1-4)
[0109] Assume that Δx(k) and Δy(k) represent the horizontal and vertical adjacent voxel intervals on the integrated image plane P(k), respectively, then:
[0110]
[0111] The reconstructed light rays of two adjacent image elements intersect each other to form a group of voxels distributed in a tetrahedral pyramid shape, in which some areas are unevenly distributed due to the lack of some voxels (such as Figure 2 As shown, in Figure 2 The top area of the pyramid shown by the dotted box is unevenly distributed due to the lack of some voxels; while in the bottom area, some voxels in adjacent pyramids overlap, so that the voxels in these areas are evenly distributed on each integrated image surface. ), the number of integrated image surfaces with uneven voxel distribution is obtained through geometric relationships:
[0112]
[0113] Among them, round(.) means rounding to the nearest integer;
[0114] The integrated image plane is cropped to the same size as the 2D display screen. The number of voxels on the cropped integrated image plane is expressed as:
[0115]
[0116] and
[0117]
[0118] Among them, N h (k) represents the number of voxels in the horizontal direction on the cropped integrated image plane, N v (k) represents the number of voxels in the vertical direction on the cropped integrated image plane, W represents the width of the 2D display screen, and H represents the height of the 2D display screen;
[0119] It should be noted that in the above process, only the intersection of pixel rays in two adjacent image elements is considered. In fact, the reconstructed rays of non-adjacent image elements will also form intersection points in the 3D image space, such as Figure 2As shown in the dashed circle in the middle. From the perspective of the integrated imaging light field acquisition process, the 3D object points corresponding to these points are only recorded by two or more non-continuous lens elements, which is inconsistent with the continuous sampling of the 3D object light field by the microlens array in actual situations. Therefore, these intersections should not be regarded as voxels of the 3D image. In addition, since each pixel on a real display has a certain size, the light beams of a group of pixels at the same point overlap in space to form a diffuse diffuse spot. The diffuse spots at these positions will be blocked by other diffuse spots on the integrated image plane in front of them. Therefore, the lack of these voxels will not have much impact on the quality of the reconstructed 3D image.
[0120] Formulas (1-1)-(1-8) describe all voxel characteristic parameters of the integrated imaging 3D display. It can be seen that the above voxel characteristic parameters are only related to the structural parameters of the integrated imaging 3D display, such as the lens element pitch, the number of lens units, the screen size and pixel size of the 2D display screen, the spacing between the pixel plane and the microlens array plane, etc. In other words, when the structural parameters of the system are determined, all possible voxel positions and their spatial distribution laws of the integrated imaging 3D display are uniquely determined.
[0121] Obviously, the reverse extension of the reconstructed light will also form a similar voxel space behind the screen, and its characteristic parameters have the same expression as the characteristic parameters of the voxel space in front of the screen. The complete three-dimensional voxel space distribution is as follows: Figure 3 shown.
[0122] Figure 2 The voxel positions of all possible 3D image reconstructions of the integrated imaging 3D display are shown. In the figure, P(1) is the first integrated image plane, P(k) is the kth integrated image plane, and P(N P ) is the Nth P integrated image plane, z(k) is the distance from the kth integrated image plane to the microlens array plane, Δx(k) is the horizontal interval between adjacent voxels on the integrated image plane P(k), and Δθ is the angular interval between adjacent reconstructed rays. However, in actual situations, Figure 2 The first K integrated image planes shown in the dashed box have a small number of voxels and are unevenly distributed, so they are not suitable for reconstructing continuous 3D scenes. These integrated image planes can be discarded when optimizing the voxel space.
[0123] S2-2. Roughly select an integrated image plane with a relatively high voxel spatial resolution according to the position of the central depth plane, specifically including:
[0124] Assume R x (k) and R y (k) represents the spatial resolution of the voxel on the integrated image plane P(k) in the horizontal and vertical directions, respectively, expressed as:
[0125]
[0126] and
[0127]
[0128] It can be seen from equations (1-9) and (1-10) that the voxel spatial resolution decreases with the increase of the integrated image plane number, that is, the voxel spatial resolution on the integrated image plane closer to the microlens array plane is higher, and the voxel spatial resolution on the integrated image plane farther away from the microlens array plane gradually decreases;
[0129] It should be noted that Figure 2 The voxel spatial distribution shown is obtained based on the voxel reconstruction process under ideal conditions, that is, the pixels on the integrated imaging 3D display are simplified to ideal point light sources, and the influence of lens aberrations is not considered, and the ideal point voxels are formed at this time. In actual situations, each pixel on the integrated imaging 3D display is a planar light-emitting unit of a certain size. The light beam emitted by each pixel unit is modulated by the lens element to form a divergent light beam that propagates in the 3D image space. On the central depth plane that is conjugate with the pixel plane with respect to the microlens array plane, the light beam converges into a minimum light spot. At other depth positions before and after the central depth plane, the light beam diffuses into a larger diffuse spot, such as Figure 4 As shown ( Figure 4 In, p d is the pixel size on the 2D display screen, z(k) is the distance from the kth integrated image plane to the microlens array plane, and l is the distance from the central depth plane to the microlens array plane). Therefore, the voxels formed by the light beams of the pixels at the same point converging on the integrated image planes far away from the central depth plane are actually diffuse spots, such as Figure 4 Voxel A and voxel B are shown. When the lens aberration is not considered, there is no overlap between adjacent voxels at the central depth plane, while the voxels on other integrated image planes before and after the central depth plane will partially overlap due to the diffusion of voxels. The farther the integrated image plane is from the central depth plane, the greater the diffusion of the voxel size, and accordingly, the higher the overlap ratio between voxels. This overlap will lead to a decrease in voxel spatial resolution. Therefore, the voxel spatial resolution of a 3D image is determined by the number of voxels and the size of the voxels. The more voxels there are and the smaller the size is within a certain spatial range, the higher the voxel spatial resolution is.
[0130] From equations (1-5), (1-7) and (1-8), it can be seen that when the parameters of the 2D display screen (screen width W of the 2D display screen, screen height H of the 2D display screen and pixel size p of the 2D display screen) are d) and the parameters of the lens element (the pitch p of the lens element) are determined, the number of voxels on each integrated image plane is determined, and the size of the voxels on each integrated image plane is related to the position of the central depth plane;
[0131] The position of the central depth plane is obtained by the Gaussian imaging formula:
[0132]
[0133] Where, l represents the distance from the central depth plane to the microlens array plane, and f is the focal length of the lens element;
[0134] Therefore, by adjusting the distance g between the microlens array plane and the pixel plane, the central depth plane is set near the integrated image plane with denser voxels, and then the integrated image plane with relatively high voxel spatial resolution is roughly selected according to the position of the central depth plane;
[0135] S2-3, based on step S2-2, according to the 3D depth of field requirements of the integrated imaging 3D display and the overlap between adjacent voxels, select part of the voxel space that meets the performance requirements as the optimal voxel space, specifically including:
[0136] According to the geometric relationship, on the integrated image plane at a distance z from the microlens array plane, the size of the voxel S v It is expressed as:
[0137]
[0138] Figure 5 This is a schematic diagram of voxel size calculation. d is the pixel size on the 2D display, p is the pitch of the lens element, S v is the size of the voxel, l is the distance from the central depth plane to the microlens array plane, and z is the distance from the integrated image plane to the microlens array plane.
[0139] When adjacent voxels overlap, their overlap degree β is expressed as:
[0140]
[0141] Among them, D v represents the interval between adjacent voxels, and its value is given by Δx(k) and Δy(k) in equation (1-5); given the overlap threshold β0, the depth position of the front and rear edge integrated image planes of the 3D depth of field range of the integrated imaging 3D display can be determined; the edge integrated image plane closest to the viewer is called the front edge integrated image plane, and the edge integrated image plane farthest from the viewer is called the rear edge integrated image plane; assuming that the distances between the front and rear edge integrated image planes and the microlens array plane are z1 and z2 respectively, the 3D depth of field of the integrated imaging 3D display is expressed as:
[0142] Δz=|z1-z2|; (1-14)
[0143] Figure 6 This is a schematic diagram of 3D depth of field calculation. v is the distance between adjacent voxels, S v is the size of the voxel, z1 is the distance between the front edge integrated image plane and the microlens array plane, z2 is the distance between the rear edge integrated image plane and the microlens array plane, and Δz is the 3D depth of field.
[0144] It is worth noting that although this example uses the idea of the Rayleigh criterion when determining the edge plane where adjacent voxels are just distinguishable, in actual applications, the selection of the voxel overlap threshold β0 is far less strict than the Rayleigh criterion. This is because the Rayleigh criterion is a relatively strict objective judgment condition, which is usually used to measure the resolution limit of an optical system, while the human visual system has a much higher tolerance for image blur than a general optical system. In addition, the voxel overlap threshold β0 can also be calculated based on the actual value of the human eye's resolution limit, or it can be measured experimentally based on the human eye's subjective perception of image clarity.
[0145] Therefore, based on step S2-2, the front and rear edge integrated image planes are selected according to the 3D depth of field requirements of the integrated imaging 3D display and the overlap between adjacent voxels, so that the 3D image reconstructed between the front and rear edge integrated image planes always has high clarity.
[0146] S3. Synthesize micro-image array: Taking the obtained depth data and texture data of the 3D scene as input, synthesize a micro-image array that meets the display performance requirements of the integrated imaging 3D display according to the selected optimal voxel space.
[0147] The steps of synthesizing the micro-image array in this example include:
[0148] S3-1, transforming the obtained depth data of the 3D scene into a depth range corresponding to the optimal voxel space, and dividing the obtained depth data of the 3D scene into a plurality of integrated image planes corresponding to the optimal voxel space;
[0149] S3-2, segmenting the obtained texture data of the 3D scene and pasting them on each integrated image plane, and adjusting the spatial resolution of the texture data of the 3D scene on each integrated image plane to the voxel spatial resolution on the corresponding integrated image plane by upsampling or downsampling, that is, generating a texture slice map on the corresponding integrated image plane;
[0150] S3-3, through the mapping relationship between voxels and pixels of the same name, the texture slice image on each integrated image surface is mapped point by point to the micro-image array plane, so as to generate a sub-micro-image array corresponding to each integrated image surface;
[0151] S3-4. According to the relationship between parallax (in pixels) and depth, the sub-micro image array corresponding to each integrated image surface is extended in the direction of the hole (to eliminate the image quality degradation caused by the hole), and the extended sub-micro image array is fused to generate a complete micro image array.
[0152] The mapping relationship between the voxels and the pixels at the same name is:
[0153] F:Vx→HomoPx, (1-15)
[0154] Where Vx represents a voxel set, HomoPx represents a pixel set, and F represents a mapping function. (For any element in the voxel set Vx, the number of elements corresponding to it in the pixel set HomoPx represents the number of reconstructed rays that constitute the voxel. Therefore, the area of interest in the 3D scene can be reconstructed on voxels with more reconstructed rays to obtain denser viewing viewpoints and smoother motion parallax.)
[0155] Limited by the pixel resolution of 2D display screens, the total amount of information that can be displayed by integrated imaging 3D displays is still very limited, which makes the performance indicators of 3D images such as spatial resolution, 3D depth of field and parallax smoothness mutually restricted. Therefore, in practical applications, it is necessary to comprehensively consider the above performance indicators to select the optimal voxel space to reconstruct 3D images. Figure 7 A schematic diagram of voxel space cropping and a preferred solution based on display performance is given, in which each integrated image plane is cropped to the same size as the 2D display screen and the part of the integrated image plane with uneven voxel distribution is discarded, while the middle part ( Figure 7 The darker part in the middle) represents the voxel space after optimization according to display performance, that is, the optimal voxel space.
[0156] The flow chart of the integrated imaging micro-image array generation method based on the optimal voxel spatial distribution in this example is as follows: Figure 8 shown.
[0157] In order to verify the effectiveness of the integrated imaging micro-image array generation method based on optimal voxel spatial distribution proposed in this example, a corresponding 3D acquisition and 3D display device is now built.
[0158] The 3D acquisition device consists of a depth camera and a computer. The depth camera model used in this example is Intel RealSense D435, which is a consumer-grade depth camera launched by Intel. It has the advantages of powerful functions, compactness and lightness, and is widely used in machine navigation, object recognition, human-computer interaction and other fields.
[0159] The depth camera mainly consists of two infrared cameras, an RGB camera and an infrared dot matrix projector. RealSense D435 uses a binocular vision solution for depth measurement. The images obtained by the left and right infrared cameras are sent to the built-in depth processing module to calculate the depth value of each pixel based on the principle of triangulation. The infrared dot matrix projector projects an infrared dot matrix pattern to the target scene to improve the depth calculation accuracy in scenes with fewer feature points (such as white walls, etc.). The RGB camera is used to obtain the texture image of the target scene in real time. Since there is a certain distance between the infrared camera and the RGB camera, the field of view of the texture image and the depth image are inconsistent, so it is usually necessary to perform an origin alignment operation to keep the field of view of the two consistent. RealSense D435 supports dynamic depth measurement and can output RGB video streams with a maximum resolution of 1920×1080 and a depth video stream with a maximum resolution of 1280×720. The depth video stream is similar to the RGB video stream, except that the value of each pixel is not the RGB grayscale value, but the depth distance between the camera and the target being measured. RealSense D435 supports depth measurement within 0.2m to 10m and can be used for real-time acquisition of RGB-D images in multiple scenes such as indoors and outdoors.
[0160] The hardware configuration and parameter specifications of the 3D acquisition device are shown in Table 1.
[0161] Table 1 Hardware configuration and parameter specifications of the integrated imaging 3D acquisition device built in this example
[0162]
[0163]
[0164] In the experiment, the depth camera is connected to a computer via a USB data cable, and the development toolkit and OpenCV library functions provided by RealSense are used to write the corresponding code to read the real-time color video stream and depth video stream from the depth camera and capture the data frame at the same time. In order to prevent the color video stream and the depth video stream from being out of sync and causing matching errors, it is usually necessary to align the color frame and the depth frame. There are often black holes caused by calculation errors in the directly acquired depth image, which can be repaired by calling the corresponding hole filling function. The repaired depth data frame is normalized so that its depth value corresponds to the grayscale value range of 0 to 255. Finally, the depth data frame and the corresponding color frame are saved in image format to obtain a pair of RGB-D images. Fig. 9 This is a pair of RGB-D images obtained by the depth camera in this example. The resolution of both images is 1280 × 720. Among them, two dinosaur toys placed front and back represent the 3D targets being photographed, such as Fig. 9The texture map shown in (a) represents the surface texture of the 3D object. Fig. 9 The depth map shown in (b) represents the distance between each target point and the depth camera. The lower the grayscale value, the closer the distance between the target point and the camera.
[0165] In order to verify the applicability of the proposed method to different depth data acquisition methods, this example also uses 3DS MAX software to create a virtual 3D scene. In it, two cartoon characters "Mario" and "Luigi" represent the 3D targets being photographed. A pair of RGB-D images with a resolution of 3840×2160 are rendered through the virtual camera of 3DS MAX, as shown in Figure 2. Fig.10 As shown. Among them, Fig.10 (a) is its texture map, representing the surface texture of the 3D object; Fig.10 (b) is the depth map, which indicates the distance between each target point and the depth camera. The higher the gray value, the closer the distance between the target point and the camera.
[0166] The 3D display device includes an integrated imaging 3D display and a high-definition digital camera. The 3D display is made of a 3840×2160 resolution LCD smartphone and a microlens array precisely coupled; the high-definition digital camera is used to record 3D images at different viewing angles. The hardware configuration and detailed parameters of the 3D display device are shown in Table 2.
[0167] Table 2 Hardware configuration and detailed parameters of the integrated imaging 3D display device built in this example
[0168]
[0169] When the distance g between the microlens array and the 2D display screen is 4 mm, g>f. At this time, the integrated imaging 3D display works in real mode. The depth value and number of voxels of each integrated image plane are calculated according to the voxel space characteristic formula, as shown in Fig.11 (a) shows that the 3D display has 29 integrated image planes, of which integrated image planes P(1)-P(14) have missing voxels and should be discarded. Integrated image planes P(28) and P(29) have too few voxels and their corresponding depth values are doubled compared with the previous integrated image plane, causing the voxels located there to diffuse rapidly, which will seriously reduce the contrast of the reconstructed 3D image. Therefore, these two integrated image planes also need to be discarded.
[0170] From formula (1-11), it can be calculated that the depth value of the central depth plane is about 18.85 mm, that is, it is located between the integrated image planes P(23) and P(24). After discarding the above integrated image planes, the depth values of P(15)-P(27) are between 8 mm and 30 mm, roughly symmetrically distributed on both sides of the central depth plane. It can be regarded as the primary preferred voxel space considering the depth value and the number of voxels, as shown in Fig.11 As shown in the dashed box in (a).
[0171] Based on the above-mentioned optimal voxel space, a secondary optimization is performed considering the influence of factors such as voxel overlap and the number of reconstruction rays. The voxel space distribution at this time is as follows: Fig.11 (b) shows the stacked bar graph representing the voxel distribution on each integrated image plane. Each block in the stacked bar represents the number of voxels with a specific number of reconstruction rays, which are distinguished by different grayscales. Taking the integrated image plane P(20) as an example, there are 1280 voxels at this depth, of which 1260 voxels contain 3 reconstruction rays, and the other 20 voxels contain only 2 reconstruction rays. As the number of the integrated image plane increases, the proportion of voxels with more reconstruction rays increases significantly, making the motion parallax of the reconstructed 3D image smoother.
[0172] Fig.11 The curve in (b) represents the overlap of adjacent voxels on each integrated image plane. It can be seen that the voxel overlap on the integrated image plane P(24) closest to the central depth plane is the lowest, while on the two edge integrated image planes P(15) and P(27), the voxel overlap is roughly equal and is within the range that the human eye can distinguish. Therefore, the voxels on these integrated image planes can be retained. The final optimized voxel space range in this example is P(15)-P(27), which is the optimal voxel space.
[0173] In order to verify the spatial resolution of the 3D image reconstructed on each integrated image plane, this example uses the USAF 1951 resolution test target of the United States Air Force for testing. The USAF 1951 test target is usually used to test the resolution capability of optical systems. Its test pattern consists of multiple groups of horizontally and vertically arranged black and white line pairs, such as Fig.12 As shown, the vertical line pairs are used to test the horizontal resolution, while the horizontal line pairs are used to test the vertical resolution. The USAF 1951 test target uses the number of resolvable line pairs per millimeter to measure the resolution of the optical system, and the unit is lp / mm. Different resolution test units are marked with group numbers and element numbers. Each element has a specific line length and line width. From the periphery to the center, the element size gradually decreases. The smallest resolvable element on the resolution test target is the resolution limit of the optical system being tested. The resolution corresponding to each element can be calculated by the following formula:
[0174]
[0175] In the experiment, firstly, according to the USAF 1951 resolution test target image and the depth value of each integrated image plane, the sub-micro image array corresponding to the integrated image plane P(15)-P(27) is generated in sequence using the micro image array generation method proposed in this example, and they are displayed one by one on the integrated imaging 3D display. The resolution target image on each integrated image plane is recorded and reconstructed using a camera, as shown in FIG. Fig.13 For the convenience of discussion, only the reconstructed images on part of the integrated image plane are shown here. Fig.13 (a) is the resolution target image reconstructed on the integrated image plane P(16), Fig.13 (b) is the resolution target image reconstructed on the integrated image plane P(21), Fig.13 (c) is the resolution target image reconstructed on the integrated image plane P (24), Fig.13 (d) is the resolution target image reconstructed on the integrated image plane P (27).
[0176] The line width corresponding to the smallest resolvable element in the reconstructed image represents the actual value of the voxel size of the image. Comparing it with the theoretical value of the voxel size calculated by formula (1-12), the result is as follows: Fig.14 As shown. It can be seen that except for the voxels on the integrated image plane P(13) with the largest depth value, which have a large human eye tolerance error due to excessive diffusion, the measured values of the voxel sizes on the other integrated image planes are very consistent with the theoretical values. This experiment shows that the voxel spatial distribution model proposed in this example is applicable.
[0177] In order to verify the difference in image quality between high-frequency and low-frequency images reconstructed by integrated imaging 3D display, the USAF 1951 resolution test target image was replaced with a real image containing more high-frequency and low-frequency image information, and the above experiment was repeated. The comparison of image quality between high-frequency and low-frequency images reconstructed on different integrated image planes was obtained as shown in the figure below. Fig.15 As shown. Among them, Fig.15 (a) is a comparison of the image quality of high-frequency and low-frequency images reconstructed on the integrated image plane P(16). Fig.15 (b) is a comparison of the image quality of high-frequency and low-frequency images reconstructed on the integrated image plane P(21). Fig.15 (c) is a comparison of the image quality of the high-frequency and low-frequency images reconstructed on the integrated image plane P (24). Fig.15 (d) is a comparison of the image quality of the high-frequency and low-frequency images reconstructed on the integrated image plane P (27). Fig.15As can be seen from the reconstructed images, on the integrated image planes closer to the central depth plane (such as P(21) and P(24)), more high-frequency image information can be resolved. For example, the two groups of Chinese characters "technology" and "people" in the picture. On the integrated image planes farther from the central depth plane (such as P(16) and P(27)), the reconstructed images gradually become blurred, and only a few low-frequency image contents (such as Fig.15 the English characters "UX" in
[0178] can be clearly resolved. This experiment proves that for an integral imaging 3D display with specific structural parameters, high-frequency images require higher 3D reconstruction capabilities of the display system than low-frequency images. In practical applications, the reconstruction quality of each integral imaging 3D display for different frequency images can be qualitatively or quantitatively tested through experiments, so as to flexibly select the most suitable voxel space according to the richness of high-frequency information in the 3D image to be reconstructed during the generation process of the micro-image array, making the quality of the reconstructed 3D image the best. Fig. 9 and Fig.10 The following two groups of 3D scenes shown are used to verify the reconstruction effect of this integral imaging 3D display on complete 3D images. First, taking the integrated image plane P(15)-P(27) as the optimal voxel space, micro-image arrays of virtual and real 3D scenes are generated and displayed respectively. The reconstructed images from different perspectives are recorded by a camera from the left, middle, and right directions, as shown in Fig.16 . To clearly show the moving parallax between images from different perspectives, a transparent thin ruler is placed on the surface of the microlens array. As can be seen from the local enlarged view of Fig.16 , when the viewing point moves from left to right, the feature points in the 3D image, such as the "M" logo on the hat of the cartoon character "Mario" in the virtual scene and the eyes of the green dinosaur in the real scene, will move to the left accordingly. This indicates that the reconstructed 3D image has a stereoscopic depth protruding from the screen and continuous moving parallax. At the same time, the image details from each perspective can be clearly resolved, and almost no obvious cracks can be seen. The results of this experiment show that the micro-image array with the optimal voxel space distribution proposed in this example can achieve high-performance 3D image reconstruction.
[0179] The above experiments were all carried out on an integral imaging 3D display in the real mode. When the distance g between the microlens array and the pixel plane is 2 mm, g < f, and at this time the integral imaging 3D display works in the virtual mode, and its central depth plane is located 5.08 mm behind the microlens array. Similar to the above experimental process, the integrated image plane P(-1)-P(-12) is selected as the optimal voxel space, and the micro-image array corresponding to the virtual mode is generated and displayed. Similarly, the reconstructed 3D images are recorded by a camera from three different perspectives of left, middle, and right, and the results are as Fig.17 As shown in the figure, it can be seen that both 3D scenes can be clearly reconstructed. The experimental results show that the method proposed in this example is also applicable to the integrated imaging 3D display working in the virtual mode.
Claims
1. A method for generating integrated imaging micro-image array based on optimal voxel spatial distribution, It is characterized in that The method comprises the steps of: S1, obtain the depth data and texture data of the 3D scene; S2, selecting the optimal voxel space: according to the relationship between the voxel space of the integrated imaging 3D display and the 3D display performance, selecting a part of the voxel space that meets the 3D display performance requirements from the entire voxel space of the integrated imaging 3D display as the optimal voxel space; S3, synthesizing a micro-image array: using the obtained depth data and texture data of the 3D scene as input, synthesizing a micro-image array that meets the display performance requirements of the integrated imaging 3D display according to the selected optimal voxel space; The steps to select the optimal voxel space include: S2-1, discarding the integrated image surface with missing voxels from the entire voxel space of the integrated imaging 3D display; S2-2, roughly selecting an integrated image plane with a relatively high voxel spatial resolution according to the position of the central depth plane; S2-3, based on step S2-2, according to the 3D depth of field requirement of the integrated imaging 3D display and the overlap between adjacent voxels, select part of the voxel space that meets the performance requirement as the optimal voxel space; The steps of synthesizing a micro-image array include: S3-1, transforming the obtained depth data of the 3D scene into a depth range corresponding to the optimal voxel space, and dividing the obtained depth data of the 3D scene into a plurality of integrated image planes corresponding to the optimal voxel space; S3-2, segmenting the obtained texture data of the 3D scene and pasting them on each integrated image plane, and adjusting the spatial resolution of the texture data of the 3D scene on each integrated image plane to the voxel spatial resolution on the corresponding integrated image plane by upsampling or downsampling, that is, generating a texture slice map on the corresponding integrated image plane; S3-3, through the mapping relationship between voxels and pixels of the same name, the texture slice image on each integrated image surface is mapped point by point to the micro-image array plane, so as to generate a sub-micro-image array corresponding to each integrated image surface; S3-4. According to the relationship between parallax and depth, the sub-micro image array corresponding to each integrated image surface is extended toward the hole direction, and the extended sub-micro image array is fused to generate a complete micro image array.
2. The method for generating an integrated imaging micro-image array based on optimal voxel spatial distribution according to claim 1, It is characterized in that The steps to select the optimal voxel space include: S2-1, discarding the integrated image surface with missing voxels from the entire voxel space of the integrated imaging 3D display, specifically including: The world coordinate system is established with the geometric center of the microlens array plane as the origin, where the XY plane coincides with the microlens array plane, and the Z axis is perpendicular to the microlens array plane. Assuming that each image element contains R×R pixels, each image element will emit R×R reconstruction rays, and the reconstruction rays propagate in the 3D image space at the same angular interval. The angular interval of adjacent reconstruction rays is: Where g is the distance between the pixel plane and the microlens array plane, p d is the pixel size on a 2D display; The reconstruction rays emitted by a pixel in any image element intersect with each reconstruction ray from its adjacent image element, forming at most (R-1) 2 voxels, and the voxels are distributed at R-1 different depth positions, so the total number of integrated image surfaces carrying all voxels is: N P =R-1; (1-2) Assume that the kth (1≤k≤NP) integrated image plane is P(k), and its distance z(k) to the microlens array plane is expressed as: Where p represents the pitch of the lens element; The spacing Δz(k) between adjacent integrated image planes is: Δz(k)=z(k+1)-z(k); (1-4) Assume that Δx(k) and Δy(k) represent the horizontal and vertical adjacent voxel intervals on the integrated image plane P(k), respectively, then: A group of voxels formed by the intersection of the reconstruction rays of two adjacent image elements are distributed in a tetrahedral pyramid shape, in which some areas are unevenly distributed due to the lack of some voxels. The number of integrated image surfaces of non-uniform distribution of voxels is obtained through geometric relationships: Among them, round(·) means rounding to the nearest integer; The integrated image plane is cropped to the same size as the 2D display screen. The number of voxels on the cropped integrated image plane is expressed as: and Among them, N h (k) represents the number of voxels in the horizontal direction on the cropped integrated image plane, N v (k) represents the number of voxels in the vertical direction on the cropped integrated image plane, W represents the width of the 2D display screen, and H represents the height of the 2D display screen; Equations (1-1)-(1-8) describe all voxel characteristic parameters of the integrated imaging 3D display. Obviously, the reverse extension line of the reconstructed light will also form a similar voxel space behind the screen, and its characteristic parameters have the same expression as the characteristic parameters of the voxel space in front of the screen. S2-2. Roughly select an integrated image plane with a relatively high voxel spatial resolution according to the position of the central depth plane, specifically including: Assume R x (k) and R y (k) represents the spatial resolution of the voxel on the integrated image plane P(k) in the horizontal and vertical directions, respectively, expressed as: and It can be seen from equations (1-9) and (1-10) that the voxel spatial resolution decreases with the increase of the integrated image plane number, that is, the voxel spatial resolution on the integrated image plane closer to the microlens array plane is higher, and the voxel spatial resolution on the integrated image plane farther away from the microlens array plane gradually decreases; From equations (1-5), (1-7) and (1-8), it can be seen that when the parameters of the 2D display screen and the lens element are determined, the number of voxels on each integrated image plane is determined, and the size of the voxels on each integrated image plane is related to the position of the central depth plane; The position of the central depth plane is obtained by the Gaussian imaging formula: Where, l represents the distance from the central depth plane to the microlens array plane, and f is the focal length of the lens element; Therefore, by adjusting the distance g between the microlens array plane and the pixel plane, the central depth plane is set near the integrated image plane with denser voxels, and then the integrated image plane with relatively high voxel spatial resolution is roughly selected according to the position of the central depth plane; S2-3, based on step S2-2, according to the 3D depth of field requirements of the integrated imaging 3D display and the overlap between adjacent voxels, select part of the voxel space that meets the performance requirements as the optimal voxel space, specifically including: According to the geometric relationship, on the integrated image plane at a distance z from the microlens array plane, the size of the voxel S v It is expressed as: When adjacent voxels overlap, their overlap degree β is expressed as: Among them, D v represents the interval between adjacent voxels, and its value is given by Δx(k) and Δy(k) in equation (1-5); given the overlap threshold β 0 , the depth positions of the front and rear edge integrated image planes of the 3D depth of field of the integrated imaging 3D display can be determined; the edge integrated image plane closest to the viewer is called the front edge integrated image plane, and the edge integrated image plane farthest from the viewer is called the rear edge integrated image plane; assuming that the distances between the front and rear edge integrated image planes and the microlens array plane are z 1 and z 2 , then the 3D depth of field of the integrated imaging 3D display is expressed as: Δz=|z 1 -with 2 |; (1-14) Therefore, based on step S2-2, the front and rear edge integrated image planes are selected according to the 3D depth of field requirements of the integrated imaging 3D display and the overlap between adjacent voxels, so that the 3D image reconstructed between the front and rear edge integrated image planes always has high clarity.
3. The method for generating an integrated imaging micro-image array based on optimal voxel spatial distribution according to claim 1, It is characterized in that The mapping relationship between the voxels and the pixels at the same name is: F:Vx→HomoPx, (1-15) where Vx represents a voxel set, HomoPx represents a pixel set, and F represents a mapping function.
4. The method for generating an integrated imaging micro-image array based on optimal voxel spatial distribution according to claim 1, It is characterized in that The method for acquiring depth data and texture data of a 3D scene includes: using a depth camera or 3D modeling software to acquire an RGB-D image of the 3D scene, wherein the RGB-D image includes depth data and texture data.
