Image reconstruction method and device for raw light field data of focusing light field camera

Through ray tracing and structural model reconstruction, the problems of low design efficiency and high cost of focused light field cameras are solved, and the original light field data image reconstruction is achieved in the design stage, improving design efficiency and reducing costs.

CN118397201BActive Publication Date: 2024-08-23NAT UNIV OF DEFENSE TECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410859536.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-08-23
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

The design efficiency of focused light field cameras is low and the cost is high. This is mainly due to the long processing time, high cost and high assembly accuracy requirements of the microlens array, which makes it difficult to verify whether the structural design and performance indicators are reasonable or up to standard during the design stage.

Method used

Provides an image reconstruction method for the original light field data of a focused light field camera that does not rely on the actual light field camera prototype hardware. By obtaining the three-dimensional coordinates of the target object and the structural model of the light field camera, ray tracing is performed, and the object point is calculated in the main object. The distance between the lens and the microlens array surface is used to reconstruct the original light field data image.

Benefits of technology

It significantly improves the optical design efficiency of focused light field cameras, reduces design costs, reduces trial and error costs, and improves development speed and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118397201B
    Figure CN118397201B
Patent Text Reader

Abstract

The present invention discloses a method and device for reconstructing the original light field data image of a focusing light field camera, comprising first obtaining the three-dimensional coordinates of an object point on a target object in a camera coordinate system; and tracing rays for each object point according to a structural model of the focusing light field camera to reconstruct the original light field data image. The present invention can provide the original light field data image reconstruction of a focusing light field camera based on the structural design in the light field camera parameter design stage according to the pre-designed internal parameters, thereby reducing the trial and error cost of camera development and improving development efficiency and development speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the technical field of light field imaging, and in particular to a method and device for reconstructing an original light field data image of a focusing light field camera. Background Art

[0002] A light field camera is a special light field detector that records incident light fields, decodes depth information, and computes images. Focused light field cameras have great application prospects in fields such as 3D modeling and 3D measurement because they can take into account both depth resolution and imaging resolution.

[0003] Unlike traditional light field cameras, the microlens array of a focusing light field camera is not located on the focal plane of the main lens, but in front of or behind the focal plane of the main lens. Therefore, in terms of optical structure, it can be regarded as a special structure in which the microlens array performs secondary imaging on the main lens image. The image directly obtained by the CCD sensor of the focusing light field camera is called the original light field data image. The original light field data image is not a conventional focused image that the human eye is accustomed to, but a collection of all microlens sub-images in the microlens array. Since a spatial object point is imaged under multiple microlenses, there must be parallax between different microlenses. This parallax can be used to estimate the distance of the object point image of the main lens relative to the microlens array. The image depth of this object point image is called virtual depth. Virtual depth estimation is the basis of 3D modeling and 3D measurement of focusing light field cameras. Combined with the internal parameters such as the focal length of the camera and the installation parameters of the microlens array, the focusing light field camera can perform 3D modeling and 3D measurement of the object space according to the virtual depth value of the target.

[0004] In practical applications, the design of intrinsic parameters determines the application scenarios and scope of focusing light field cameras. The design of intrinsic parameters such as the focal length of the microlens, the distance between the microlens array and the CCD surface and the main lens, the size of the microlens, and the F number of the microlens and the main lens directly determine the effective working distance of the focusing light field camera. The above parameters are mostly related to the design and assembly position of the microlens array, because the microlens is the core light field modulation element of the light field camera. Due to the long processing time, high processing cost and high assembly precision requirements of the microlens array, the original light field data image can often only be obtained after the design of the focusing light field camera is finalized, and then it can be verified whether the structural design and performance indicators of the camera are reasonable or up to standard, which seriously reduces the design efficiency of the focusing light field camera and increases the development cost.

[0005] In summary, there is an urgent need for a focused light field raw data image reconstruction method that does not rely on actual light field camera prototype hardware. Summary of the invention

[0006] In view of the technical problems existing in the prior art, the present invention provides a method and device for reconstructing the original light field data image of a focusing light field camera. The present invention does not rely on the actual light field camera prototype hardware, and can realize the original light field data image reconstruction of the focusing light field camera during the light field camera parameter design stage, which can significantly improve the optical design efficiency of the focusing light field camera and reduce the design cost.

[0007] In order to solve the above problems, the technical solution of the present invention is as follows:

[0008] In one aspect, the present invention provides a method for reconstructing an image of raw light field data of a focusing light field camera, comprising:

[0009] Get the three-dimensional coordinates of the object point on the target object in the camera coordinate system;

[0010] According to the structural model of the focusing light field camera, ray tracing is performed on each object point to reconstruct the original light field data image, including:

[0011] Calculate current object point The image point at the main lens Distance to the main lens surface ;

[0012] According to distance Calculate current object point The image point at the main lens Distance to the microlens array surface ;

[0013] According to the distance 、 The main lens focuses the image point coordinates and the center coordinates of the microlens, and calculates the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface;

[0014] Based on the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface, judging whether the current object point can be imaged under each microlens;

[0015] Count the number of all microlenses that image the current object point, and calculate the pixel value of the current object point under each microlens that images it;

[0016] Calculating the diffraction-limited spot size ;

[0017] The diffraction-limited spot size Pixel size of focusing light field camera For comparison; if When , the object point image size in the original light field data image is , the imaging point of the current object point on the CCD imaging area corresponds to more than one CCD pixel, the image coordinate system coordinates of the imaging point of the current object point under each microlens imaging it are used as the center of each CCD pixel of the current object point in the CCD imaging area, and the pixel block corresponding to the current object point is generated; on the contrary, if , the imaging point of the current object point on the CCD imaging area only corresponds to one CCD pixel on the CCD imaging area, and a single pixel rendering is sufficient;

[0018] The above operations are performed on all object points to reconstruct the original light field data image.

[0019] Furthermore, the three-dimensional coordinates of the object points on the target object in the camera coordinate system are obtained according to the parameters of the array scanning laser radar imaging camera and the imaging principle of the array scanning laser radar imaging camera.

[0020] On the one hand, a device for reconstructing raw light field data image of a focusing light field camera is provided, comprising:

[0021] The first module is used to obtain the three-dimensional coordinates of the object point on the target object in the camera coordinate system;

[0022] The second module is used to trace the rays of light for each object point according to the structural model of the focusing light field camera and reconstruct the original light field data image.

[0023] On the other hand, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned method for reconstructing raw light field data images of a focusing light field camera when executing the computer program.

[0024] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method for reconstructing the original light field data image of a focusing light field camera are implemented.

[0025] Compared with the prior art, the technical effects of the present invention are as follows:

[0026] The present invention provides a method and device for reconstructing the original light field data image of a focusing light field camera that is independent of the actual camera hardware. Specifically, according to the pre-designed internal parameters, the original light field data image reconstruction of the focusing light field camera based on the structural design can be given in the light field camera parameter design stage, thereby reducing the trial and error cost of camera development and improving development efficiency and development speed. The present invention can significantly improve the optical design efficiency of the focusing light field camera and reduce the design cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0028] Figure 1 It is a flow chart of a method for reconstructing an image of raw light field data of a focusing light field camera provided by an embodiment;

[0029] Figure 2 is the visible light image and laser point cloud image of the object, where (a) is the visible light image of the object, and (b) is the laser point cloud image corresponding to the visible light image of the object;

[0030] Figure 3 It is the principle diagram of reconstructing the three-dimensional model of the target object;

[0031] Figure 4 This is the principle diagram of image reconstruction from raw light field data. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention more clearly understood, the following will be used to clearly illustrate the spirit of the content disclosed by the present invention with the accompanying drawings and detailed descriptions. After understanding the embodiments of the content of the present invention, any person skilled in the art can change and modify the technology taught by the content of the present invention without departing from the spirit and scope of the content of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0033] The core function of a focusing light field camera is to achieve 3D modeling and 3D measurement of the target while imaging within a large depth of field. In the structural model of a focusing light field camera, the microlens is equivalent to a pinhole model, so the imaging process of a focusing light field camera can be described by ray tracing. The ray tracing process can be described as light starting from an object point in real space, continuing to propagate after being converged by the main lens, intersecting with the CCD sensor surface after passing through the centers of multiple microlenses, and then forming images under different microlenses. By tracing rays for all object points in the field of view according to the above principles, the light field raw data image can be obtained on the CCD sensor surface. Therefore, based on the above ray tracing principle, when the object space 3D coordinates of each object point on the object are known, the light field raw data image can be reconstructed.

[0034] Reference Figure 1 In one embodiment, a method for reconstructing an image of raw light field data of a focusing light field camera is provided, comprising:

[0035] (1) Obtain the three-dimensional coordinates of the object point on the target object in the camera coordinate system;

[0036] (2) According to the structural model of the focusing light field camera, ray tracing is performed on each object point to reconstruct the original light field data image.

[0037] In step (1), there is no limit to the method of obtaining the three-dimensional coordinates of the object points on the target object in the camera coordinate system. For example, the three-dimensional coordinates of the object points on the target object in the camera coordinate system can be obtained based on the visible light image of the target object obtained by an ordinary camera. Preferably, the three-dimensional coordinates of the object points on the target object in the camera coordinate system can also be obtained based on the array scanning laser radar imaging camera data. Whether it is based on a laser radar device or a device such as Kinect, the purpose is to obtain the original data image of the light field camera, and then obtain the three-dimensional coordinates of all object points on the target object in the camera coordinate system.

[0038] Figure 2 is a visible light image and a laser point cloud image of an object in an embodiment, wherein Figure 2 (a) is the visible light image of the object with an image resolution of 1024×768. Figure 2 (b) is the laser point cloud image corresponding to the visible light image of the object, obtained by array scanning laser radar, with a resolution of 1024×768. The laser radar point cloud image and the visible light image of the object have been image coordinate registered, so the pixel coordinates of the object points in the two images are one-to-one corresponding. In fact, the point cloud resolution of the laser radar point cloud image is related to the laser scanning spot size and the point cloud density parameter setting, so there may be some empty pixels without values ​​in the point cloud image. These empty pixels can be assigned values ​​through pixel interpolation to obtain a dense laser point cloud image, avoiding 3D modeling errors that affect the original light field data image reconstruction results.

[0039] The visible light image of an object obtained by an ordinary camera is the image of the object on the imaging plane of the main lens. The CCD sensor is located on the image plane of the main lens. This image does not contain the distance information on the longitudinal axis (Z axis) of the object, but contains the relative position relationship between the object points on the object in the transverse XY plane. When the camera focal length and the image coordinates of the object point are known, it is easy to calculate the object space transverse coordinates of the object point on the XY plane. If the longitudinal distance of each object point on the object is known, the three-dimensional model of the object in the camera coordinate system can be reconstructed.

[0040] The laser radar device using the array scanning system can easily obtain the focused image of the object and the corresponding laser point cloud image at the same time. The array scanning laser radar itself is generally matched with a visible light camera for generating point cloud information with color. Therefore, based on this type of laser radar scanning, it is easier to obtain the target object's visible light image and laser point cloud map required by the present invention. Using these data, the three-dimensional coordinates of all object points on the target object in the camera coordinate system can be generated, and the three-dimensional model of the target object in the camera coordinate system can be obtained. Then, according to the structural model of the designed focusing light field camera, each object point is traced by light to reconstruct the original light field data image data. Each pixel in the laser point cloud image represents the actual distance from a certain object point to the laser radar, and has extremely high ranging accuracy. At present, the laser radar products of the array scanning system are already very mature, and have achieved miniaturization, commercialization and mass production. Such equipment can already achieve high-precision pixel registration between the laser point cloud image and the target image, so the present invention uses a virtual three-dimensional model established based on the array scanning laser radar data as the basis for reconstructing the original light field data image. According to the parameters of the laser radar camera focal length, pixel size, etc., the physical coordinates of the target object in the XY horizontal plane of the object space can be calculated based on the object image. Combined with the distance information of the object point, the three-dimensional coordinates of all the object points on the target object in the camera coordinate system can be obtained, and then the three-dimensional model of the object space of the target object in the camera coordinate system can be reconstructed.

[0041] In step (1) of one embodiment, the three-dimensional coordinates of the object point on the target object in the camera coordinate system are obtained according to the parameters of the array scanning laser radar imaging camera and the imaging principle of the array scanning laser radar imaging camera.

[0042] Specifically, Figure 3 As shown, Figure 3 It is the principle diagram of the reconstruction of the three-dimensional model of the target object, where the coordinate system and They are the camera coordinate system and the imaging surface coordinate system. The vertical coordinate system is between these two coordinate systems. and The axes coincide and the transverse coordinate axes are parallel to each other. Figure 3 In is an object point on the 3D model of the target object, for The point is the imaging point on the imaging surface of the main lens of the focusing light field camera. is the principal point of the main lens of the focusing light field camera, is the center of the imaging surface of the main lens of the focusing light field camera, for The number of pixels on the main lens image plane of a focusing light field camera Direction coordinates, for The object distance of the point is obtained by the laser point cloud image of the target object obtained by the array scanning laser radar. is the distance from the imaging surface of the main lens to the main surface of the main lens. Since in the present invention, the virtual three-dimensional model of the target object is obtained based on the array scanning laser radar, it can be based on Figure 3 The schematic diagram shown reconstructs the three-dimensional model of the target object.

[0043] Set up an array scanning lidar camera The pixel size in the direction is , Relative to The actual distance between the points is ,in Represents the image plane coordinates of the object point in the camera of the column scanning laser radar, that is, the image point of the object point is The distance in pixels relative to the center of the image.

[0044] The camera focal length of the array scanning lidar is , the distance from the main lens imaging surface to the main lens main surface is obtained by Gaussian imaging principle ,have:

[0045] ;

[0046] According to the triangle similarity relationship, we can get exist Physical scale coordinates of directions for:

[0047] ;

[0048] exist Physical scale coordinates of directions Solution method and exist Physical dimension coordinates of the direction The solution process is the same. Finally, the three-dimensional coordinates of the object point on the target object in the camera coordinate system are obtained as follows: .

[0049] like Figure 4 As shown, this is the principle diagram of image reconstruction from raw light field data. is an object point on the 3D model of the target object, For point At the focal point of the main lens image, for The distance to the microlens array surface, For point The object distance, is the focal length of the main lens, For point The distance to the main lens principal surface, is the distance from the main surface of the camera main lens to the microlens array surface. For point The orthographic projection point on the microlens array surface, is the distance from the microlens array surface to the CCD surface, Indicates The center coordinates of a microlens on the microlens array surface. for The orthographic projection coordinates on the CCD surface are also the center coordinates of the microlens sub-image. and The values ​​in their respective coordinate systems are the same. is the diameter of the microlens. Figure 3 and Figure 4 In fact, focusing light field cameras (such as Figure 4 ) is just like in ordinary cameras (such as Figure 3 The camera shown in the figure is the camera that comes with the array lidar. A microlens array is added in front of the CCD surface, and the installation positions of the CCD surface and the microlens array are adjusted.

[0050] In one embodiment, ray tracing is performed on each object point to reconstruct the original light field data image, including:

[0051] Calculate current object point The image point at the main lens Distance to the main lens surface ,for:

[0052] ;

[0053] in The current point The object distance, is the focal length of the main lens;

[0054] Calculate current object point The image point at the main lens Distance to the microlens array surface ,for:

[0055] ;

[0056] in is the distance from the main surface of the main lens of the focusing light field camera to the microlens array surface;

[0057] According to distance 、The main lens focuses the image point coordinates and the center coordinates of the microlens, and calculates the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface;

[0058] ;

[0059] in is the number of the current object point in the microlens array The image coordinate system coordinates of the imaging point under the microlens, For point The orthographic projection point on the microlens array surface, The current point At the focal point of the main lens image, is the distance from the microlens array surface to the CCD surface, Indicates the number of microlens array surfaces The center coordinates of a microlens on the microlens array surface.

[0060] Based on the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface, judging whether the current object point can be imaged under each microlens;

[0061] Count the number of all microlenses that image the current object point, and calculate the pixel value of the current object point under each microlens that images it;

[0062] The current object point is in each of the images it images. The pixel value under the microlens for:

[0063] ;

[0064] Calculating the diffraction-limited spot size , ,in represents the wavelength of light, represents the microlens diameter, Represents the distance from the microlens array surface to the CCD surface;

[0065] The diffraction-limited spot size Pixel size of focusing light field camera For comparison; if When , the object point image size in the original light field data image is , the imaging point of the current object point on the CCD imaging area corresponds to more than one CCD pixel, the image coordinate system coordinates of the imaging point of the current object point under each microlens imaging it are used as the center of each CCD pixel of the current object point in the CCD imaging area, and the pixel block corresponding to the current object point is generated; on the contrary, if , the imaging point of the object point on the CCD imaging area only corresponds to one CCD pixel on the CCD imaging area, and single pixel rendering is sufficient.

[0066] The above operations are performed on all object points to reconstruct the original light field data image.

[0067] Further, based on the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface, it is determined whether the current object point can be imaged under each microlens, and the method includes:

[0068] Determine the current object point in the microlens array surface The image coordinate system coordinates of the imaging point under the microlens With The center coordinates of the microlens sub-images Whether the distance exceeds the radius of the microlens, if so, the current object point is not in the The current object point is imaged under the microlenses. If it does not exceed The image is formed under the microlens, among which The center coordinates of the microlens sub-images For the The center coordinates of the microlenses on the microlens array surface Orthographic projection coordinates on the CCD surface.

[0069] In another embodiment, a device for reconstructing raw light field data images of a focusing light field camera is provided, comprising:

[0070] The first module is used to obtain the three-dimensional coordinates of the object point on the target object in the camera coordinate system;

[0071] The second module is used to trace the rays of light for each object point according to the structural model of the focusing light field camera and reconstruct the original light field data image.

[0072] The second module includes:

[0073] The first calculation module is used to calculate the current object point The image point at the main lens Distance to the main lens surface ;

[0074] The second calculation module, based on the distance Calculate current object point The image point at the main lens Distance to the microlens array surface ;

[0075] The third calculation module is used to calculate the distance 、The main lens focuses the image point coordinates and the center coordinates of the microlens, and calculates the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface;

[0076] A judgment module, used to judge whether the current object point can be imaged under each microlens based on the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface;

[0077] A statistics module is used to count the number of all microlenses that image the current object point, and calculate the pixel value of the current object point under each microlens that images it;

[0078] The fourth calculation module is used to calculate the diffraction-limited spot size , ,in represents the wavelength of light, represents the microlens diameter, Represents the distance from the microlens array surface to the CCD surface;

[0079] The fifth calculation module is used to calculate the diffraction-limited spot size Pixel size of focusing light field camera For comparison; if When , the object point image size in the original light field data image is , the imaging point of the current object point on the CCD imaging area corresponds to more than one CCD pixel, the image coordinate system coordinates of the imaging point of the current object point under each microlens imaging it are used as the center of each CCD pixel of the current object point in the CCD imaging area, and the pixel block corresponding to the current object point is generated; on the contrary, if , the imaging point of the object point on the CCD imaging area only corresponds to one CCD pixel on the CCD imaging area, and single pixel rendering is sufficient.

[0080] On the other hand, the present invention provides a computer device, including a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the image reconstruction method of the raw light field data of the focusing light field camera provided in any of the above embodiments when executing the computer program. The computer device may be a server. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. 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 sample data. The network interface of the computer device is used to communicate with an external terminal via a network connection.

[0081] On the other hand, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for reconstructing raw light field data image of a focusing light field camera provided in any of the above embodiments.

[0082] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and 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-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0083] Matters not covered by the present invention are known technologies.

[0084] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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, they should be considered to be within the scope of this specification.

[0085] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

[0086] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. Image reconstruction method of raw light field data from focusing light field camera, It is characterized in that include: Get the three-dimensional coordinates of the object point on the target object in the camera coordinate system; According to the structural model of the focusing light field camera, ray tracing is performed on each object point to reconstruct the original light field data image, including: Calculate current object point The image point at the main lens Distance to the main lens surface ; According to distance Calculate current object point The image point at the main lens Distance to the microlens array surface ; According to distance 、 The main lens focuses the image point coordinates and the center coordinates of the microlens, and calculates the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface; Based on the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface, judging whether the current object point can be imaged under each microlens; Count the number of all microlenses that image the current object point, and calculate the pixel value of the current object point under each microlens that images it; Calculating the diffraction-limited spot size ; The diffraction-limited spot size Pixel size of focusing light field camera For comparison; if When , the object point image size in the original light field data image is , the imaging point of the current object point on the CCD imaging area corresponds to more than one CCD pixel, the image coordinate system coordinates of the imaging point of the current object point under each microlens imaging it are used as the center of each CCD pixel of the current object point in the CCD imaging area, and the pixel block corresponding to the current object point is generated; on the contrary, if , the imaging point of the current object point on the CCD imaging area only corresponds to one CCD pixel on the CCD imaging area, and a single pixel rendering is sufficient; The above operations are performed on all object points to reconstruct the original light field data image.

2. The method for reconstructing raw light field data of a focusing light field camera according to claim 1, It is characterized in that The structural model of the focusing light field camera includes: the focal length of the main lens , the distance from the main lens surface to the microlens array surface , the distance between the microlens array and the CCD surface 、 Microlens diameter , No. The center coordinates of the microlenses on the microlens array surface , pixel size .

3. The method for reconstructing raw light field data of a focusing light field camera according to claim 2, It is characterized in that Based on the array scanning laser radar imaging camera data, the three-dimensional coordinates of the object point on the target object in the camera coordinate system are obtained, including: according to the parameters of the array scanning laser radar imaging camera and the imaging principle of the array scanning laser radar imaging camera, the three-dimensional coordinates of the object point on the target object in the camera coordinate system are obtained.

4. The method for reconstructing raw light field data of a focusing light field camera according to claim 2, It is characterized in that Calculate current object point The image point at the main lens Distance to the main lens surface ,for: ; in The current point The object distance, is the focal length of the main lens; According to distance Calculate current object point The image point at the main lens Distance to the microlens array surface ,for: ; in is the distance from the main surface of the camera main lens to the microlens array surface.

5. The method for reconstructing raw light field data images of a focusing light field camera according to claim 4, It is characterized in that The image coordinate system coordinates of the imaging points of the current object point under each microlens in the microlens array surface; ; in is the number of the current object point in the microlens array The image coordinate system coordinates of the imaging point under the microlens, For point The orthographic projection point on the microlens array surface, The current point At the focal point of the main lens image, is the distance from the microlens array surface to the CCD surface, Indicates the number of microlens array surfaces The center coordinates of a microlens on the microlens array surface.

6. The method for reconstructing raw light field data of a focusing light field camera according to claim 4 or 5, It is characterized in that Based on the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface, it is determined whether the current object point can be imaged under each microlens, and the method includes: Determine the current object point in the microlens array surface The image coordinate system coordinates of the imaging point under the microlens With The center coordinates of the microlens sub-images Whether the distance exceeds the radius of the microlens, if so, the current object point is not in the The current object point is imaged under the microlenses. If it does not exceed The image is formed under the microlens, among which The center coordinates of the microlens sub-images For the The center coordinates of the microlenses on the microlens array surface Orthographic projection coordinates on the CCD surface.

7. The method for reconstructing raw light field data of a focusing light field camera according to claim 6, It is characterized in that Diffraction limited spot size ,in represents the wavelength of light, represents the microlens diameter, Represents the distance from the microlens array surface to the CCD surface.

8. Image reconstruction device for raw light field data of focusing light field camera, It is characterized in that include: The first module is used to obtain the three-dimensional coordinates of the object point on the target object in the camera coordinate system; The second module is used to perform ray tracing on each object point according to the structural model of the focusing light field camera to reconstruct the original light field data image, wherein the second module includes: The first calculation module is used to calculate the current object point The image point at the main lens Distance to the main lens surface ; The second calculation module, based on the distance Calculate current object point The image point at the main lens Distance to the microlens array surface ; The third calculation module is used to calculate the distance 、 The main lens focuses the image point coordinates and the center coordinates of the microlens, and calculates the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface; A judgment module, used to judge whether the current object point can be imaged under each microlens based on the image coordinate system coordinates of the imaging point of the current object point under each microlens in the microlens array surface; A statistics module is used to count the number of all microlenses that image the current object point, and calculate the pixel value of the current object point under each microlens that images it; The fourth calculation module is used to calculate the diffraction-limited spot size , ,in represents the wavelength of light, represents the microlens diameter, Represents the distance from the microlens array surface to the CCD surface; The fifth calculation module is used to calculate the diffraction-limited spot size Pixel size of focusing light field camera For comparison; if When , the object point image size in the original light field data image is , the imaging point of the current object point on the CCD imaging area corresponds to more than one CCD pixel, the image coordinate system coordinates of the imaging point of the current object point under each microlens imaging it are used as the center of each CCD pixel of the current object point in the CCD imaging area, and the pixel block corresponding to the current object point is generated; on the contrary, if , the imaging point of the object point on the CCD imaging area only corresponds to one CCD pixel on the CCD imaging area, and single pixel rendering is sufficient.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method for reconstructing the original light field data image of a focusing light field camera according to claim 1 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method for reconstructing raw light field data image of a focusing light field camera according to claim 1 are implemented.

Citation Information

Patent Citations

  • Method for three-dimensional reconstruction of laser speckle structured light and depth information

    CN103971405A

  • An object surface contour three-dimensional imaging method based on a light field

    CN109712232A

  • Light field depth estimation method and device, computer equipment and storage medium

    CN115661223A

  • Three-dimensional point cloud acquisition method

    CN117213373A

  • Intraoral 3D scanner employing multiple miniature cameras and multiple miniature pattern projectors

    US20190388193A1