WO2023226218A1 - Axisymmetric optical imaging parallel simulation method and apparatus - Google Patents

Axisymmetric optical imaging parallel simulation method and apparatus Download PDF

Info

Publication number
WO2023226218A1
WO2023226218A1 PCT/CN2022/114994 CN2022114994W WO2023226218A1 WO 2023226218 A1 WO2023226218 A1 WO 2023226218A1 CN 2022114994 W CN2022114994 W CN 2022114994W WO 2023226218 A1 WO2023226218 A1 WO 2023226218A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
radiance
lens
illumination
light
Prior art date
Application number
PCT/CN2022/114994
Other languages
French (fr)
Chinese (zh)
Inventor
季向阳
魏恒璐
杨楚皙
连晓聪
Original Assignee
清华大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 清华大学 filed Critical 清华大学
Publication of WO2023226218A1 publication Critical patent/WO2023226218A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection

Definitions

  • the present application relates to the technical fields of optical imaging and image processing, and in particular to an axisymmetric optical imaging parallel simulation method and device.
  • the user can directly obtain the voltage data with distortion and noise output by the sensor, and at the same time, the user can also obtain lossless
  • the scene image and the noise-free image presented by the light passing through the lens on the sensor have become the current mainstream method of adding blurred analog images to high-quality images.
  • an axially symmetric optical imaging system usually consists of three main modules: an optical lens, a sensor, and an image processing module.
  • the optical lens maps the spectral information in the scene to the image plane
  • the sensor is located on the image plane and transfers the light on the image plane.
  • the signal is converted into a voltage signal
  • the image processing module converts the voltage into an image suitable for human eyes. Since light passing through the lens will introduce distortion, and the voltage signal converted by the sensor also contains a lot of noise, the image processing module has an important impact on the quality of the final image.
  • this application provides an axially symmetric optical imaging parallel simulation method, device, electronic equipment and storage medium to solve the problem of inconsistency between the image obtained in related technologies and the image produced by actual shooting, which results in inconsistency with the actual imaging.
  • the reference image is distorted or has uncontrollable quality, thereby reducing the accuracy of imaging.
  • the first embodiment of the present application provides a parallel simulation method for axially symmetric optical imaging, which includes the following steps: obtaining multispectral data of a multispectral scene; obtaining the distribution of radiance of light at different wavelengths based on the multispectral data; based on The distribution of the radiance of the light at different wavelengths is simulated by using the radiance, illumination and/or image of the target wavelength on the image plane according to the effect of the axially symmetrical lens on the light to obtain the spectrum at each wavelength on the image plane. illumination on.
  • the use of the radiance, illumination and/or image of the target wavelength to simulate the image on the image plane according to the effect of the axisymmetric lens on the light includes: deriving the axisymmetric lens The magnification at the target wavelength, the actual image height corresponding to the ideal image height in a radius direction; using the ideal image height as the independent variable and the actual image height as the dependent variable, perform a 9th-order polynomial fitting to obtain the first approximate and calculate the radiance of the pixel in the single spectrum of the target wavelength according to the first fitting result.
  • the use of the radiance, illumination and/or image of the target wavelength to simulate the image on the image plane according to the effect of the axisymmetric lens on the light includes: deriving the axisymmetric lens The relative brightness of the actual image height in a radius direction; using the actual image height as the independent variable and the relative brightness as the dependent variable, perform a fourth-order polynomial fitting to obtain a second fitting result; according to the second fitting result Calculate the illumination of the pixel in a single spectrum of the target wavelength.
  • the calculation formula of the illumination may be:
  • (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system
  • ⁇ (i,j) represents the radius of the point in the polar coordinate system
  • L ' ⁇ (i,j) represents the distortion spectrum in (i, j)
  • T ⁇ represents the transmittance of wavelength ⁇
  • f/# is the f number of the lens
  • m ⁇ represents the magnification of the lens at wavelength ⁇
  • R ⁇ ( ⁇ ) represents the fourth-order polynomial fitting.
  • the use of the radiance, illuminance and/or image of the target wavelength to simulate the image on the image plane according to the effect of the axially symmetric lens on the light includes: deriving the image on the image plane The point spread function of discrete points of the target wavelength or the point spread function on a radius; the scattered points at the same position after all points in the multispectral scene are acted upon by the point spread function are used as a sub-image on the image surface; one by one Calculate the image plane illumination of each pixel in each sub-image to obtain the image of the light of the target wavelength on the image plane.
  • a second embodiment of the present application provides an axially symmetric optical imaging parallel simulation device, including: an acquisition module for acquiring multispectral data of a multispectral scene; and a processing module for obtaining the radiance of light according to the multispectral data. Distribution at different wavelengths; a simulation module for simulating the effect of the radiance of the light on the image surface based on the distribution of the radiance of the light at different wavelengths, using the radiance, illumination and/or image of the target wavelength on the light according to the axis-symmetric lens image, and obtain the illumination of the spectrum at each wavelength on the image surface.
  • the simulation module includes: a first derivation unit for deriving the magnification factor of the axisymmetric lens at the target wavelength, the actual image height corresponding to the ideal image height in a radial direction Image height; a first fitting unit for performing 9th-order polynomial fitting with the ideal image height as an independent variable and the actual image height as a dependent variable to obtain a first fitting result; a first calculation unit for Calculate the radiance of the pixel in the single spectrum of the target wavelength according to the first fitting result.
  • the simulation module further includes: a second derivation unit, used to derive the relative brightness of the actual image height in a radial direction of the axisymmetric lens; a second fitting unit, Used to perform fourth-order polynomial fitting with the actual image height as the independent variable and the relative brightness as the dependent variable to obtain a second fitting result; a second calculation unit used to calculate the target according to the second fitting result The illumination of a pixel in a single spectrum of wavelengths.
  • the calculation formula of the illumination may be:
  • (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system
  • ⁇ (i,j) represents the radius of the point in the polar coordinate system
  • L ' ⁇ (i,j) represents the distortion spectrum in (i, j)
  • T ⁇ represents the transmittance of wavelength ⁇
  • f/# is the f number of the lens
  • m ⁇ represents the magnification of the lens at wavelength ⁇
  • R ⁇ ( ⁇ ) represents the fourth-order polynomial fitting.
  • the simulation module further includes: a third derivation unit, used to derive the point spread function of discrete points of the target wavelength on the image plane or the point spread function on a radius. ;
  • the processing unit is used to treat all points in the multispectral scene as a sub-image on the image surface as scattered points at the same position after being acted upon by the point spread function; the simulation unit is used to calculate each sub-image one by one
  • the image plane illumination of the pixel point is used to obtain the image of the light of the target wavelength on the image plane.
  • a third embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the program to implement Axisymmetric optical imaging parallel simulation method as described in the above embodiment.
  • a fourth embodiment of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores computer instructions.
  • the computer instructions are used to cause the computer to perform the axially symmetric optical imaging parallelism described in the above embodiments. Simulation method.
  • Embodiments of the present application can obtain the distribution of the radiance of the camera's light at different wavelengths based on the multispectral data of the multispectral scene, and use the radiance, illumination and/or image of the target wavelength to simulate the effect of the axially symmetric lens on the light.
  • the image on the surface is obtained to obtain the illumination of the spectrum at each wavelength on the image surface, making it closer to the image produced by actual shooting.
  • the algorithm itself is highly parallel and is convenient for the CPU (Central Processing Unit). Multi-threading and GPU (Graphics Processing Unit, Graphics Processing Unit) acceleration are implemented, which effectively improves the accuracy and efficiency of imaging and effectively meets simulation needs.
  • Figure 1 is a schematic diagram of the principle of axially symmetric optical imaging in related technologies
  • Figure 2 is a flow chart of a parallel simulation method for axially symmetric optical imaging provided according to an embodiment of the present application
  • Figure 3 is a flow chart of parallel simulation of axially symmetric optical imaging according to a specific embodiment of the present application
  • Figure 4 is a schematic diagram of PSF (Point Spread Function) sampling and interpolation according to a specific embodiment of the present application
  • Figure 5 is a schematic diagram of sub-picture boundary filling according to a specific embodiment of the present application.
  • Figure 6 is a schematic diagram of simulating MCC (Macbeth Color Checker, Macbeth Color Checker) and converting multispectral images into sRGB (standard Red Green Blue, universal color standard) color space according to a specific embodiment of the present application;
  • MCC Macbeth Color Checker, Macbeth Color Checker
  • Figure 7 is a schematic structural diagram of an axisymmetric optical imaging parallel simulation device according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • embodiments of this application can obtain the distribution of the radiance of the camera's light at different wavelengths based on the multispectral data of the multispectral scene, and use the target
  • the radiance, illumination and/or image of the wavelength simulate the image on the image plane based on the effect of the axially symmetric lens on the light, thereby obtaining the illumination of the spectrum at each wavelength on the image plane, making it closer to the image produced by actual shooting.
  • the algorithm itself is highly parallel, which facilitates CPU multi-threading and GPU acceleration, thereby effectively improving the accuracy and efficiency of imaging and effectively meeting simulation needs.
  • FIG. 2 is a schematic flowchart of an axisymmetric optical imaging parallel simulation method provided by an embodiment of the present application.
  • the parallel simulation method of axially symmetric optical imaging includes the following steps:
  • step S201 multispectral data of the multispectral scene is obtained.
  • the embodiments of the present application can obtain multispectral data of a multispectral scene.
  • the multispectral data of a multispectral scene can be obtained through physics-based ray tracing or high-precision multispectral cameras or RGB image estimation, and can be obtained through
  • the multispectral data of the multispectral scene is collected to obtain a lossless scene image and a noiseless image presented by the light passing through the lens on the sensor.
  • the embodiment of the present application can perform three-step operations of distortion, shading and blurring on each single spectrum of the multispectral scene.
  • the specific steps will be described in detail below, thereby obtaining the corresponding single spectrum image. Due to the algorithm It is inherently highly parallelized, where each step can take advantage of CPU multi-threading or GPU acceleration.
  • step S202 the distribution of the radiance of light at different wavelengths is obtained based on the multispectral data.
  • embodiments of the present application can obtain the distribution of the radiance of the camera's light at different wavelengths based on the multispectral data of the multispectral scene.
  • the wavelength range is usually 380nm ⁇ 720nm, thereby improving the efficiency of acquiring light. Radiance efficiency, reducing redundant operations.
  • step S203 based on the distribution of the radiance of the light at different wavelengths, the radiance, illuminance and/or image of the target wavelength are used to simulate the image on the image plane according to the effect of the axially symmetric lens on the light, and the image at each wavelength is obtained.
  • the illumination of the spectrum on the image plane is obtained.
  • the embodiments of the present application can obtain the distribution of the radiance of the camera's light at different wavelengths based on the multispectral data of the multispectral scene, and use the radiance, illumination and/or image of the target wavelength according to the axially symmetrical lens pair.
  • the effect of light simulates the image on the image surface, thereby obtaining the illumination of the spectrum at each wavelength on the image surface, effectively improving the similarity between the simulation results and the actual image produced.
  • the radiance, illumination and/or image of the target wavelength are used to simulate the image on the image plane according to the effect of the axisymmetric lens on the light, including: deriving the image of the axisymmetric lens at the target wavelength.
  • Magnification the actual image height corresponding to the ideal image height in a radius direction; use the ideal image height as the independent variable and the actual image height as the dependent variable to perform 9th-order polynomial fitting to obtain the first fitting result; according to the first fitting result Calculate the radiance of a pixel in a single spectrum at the target wavelength.
  • the embodiment of the present application can derive the magnification factor of the axisymmetric lens at the target wavelength for a given axisymmetric lens, such as using optical simulation software such as Zemax or CodeV to derive the magnification factor of the lens at the target wavelength.
  • Magnification the actual image height corresponding to the ideal image height in a radius direction, and use the ideal image height as the independent variable and the actual image height as the dependent variable to perform 9th-order polynomial fitting to obtain the first fitting result, then the center point is Origin, the radiance of the pixel in the single spectrum of the target wavelength under the Cartesian coordinate system.
  • the Cartesian coordinates after distortion are consistent with those before distortion.
  • the radiance of the distorted spectrum at the pixel is calculated through bilinear interpolation. Among them, the pixels are mutually Standalone, can be done via CPU multi-threading or GPU.
  • the radiance, illumination and/or image of the target wavelength are used to simulate the image on the image plane according to the effect of the axially symmetrical lens on the light, including: deriving the actual radiance of the axially symmetrical lens in one radial direction. The relative brightness of the image height; perform a fourth-order polynomial fitting with the actual image height as the independent variable and the relative brightness as the dependent variable to obtain the second fitting result; calculate the illuminance of the pixel in the single spectrum of the target wavelength based on the second fitting result .
  • the embodiments of the present application can derive the relative brightness of the actual image height of the axis-symmetric lens in a radial direction for a given axially symmetrical lens. For example, using optical simulation software such as Zemax or CodeV to derive the actual relative brightness of the lens in a radial direction.
  • the illumination of the pixel on the image surface after lens shading can be calculated according to the following Illumination formula calculation, the process of calculating illumination E ⁇ (i,j) is independent of each other and can be completed by CPU multi-threading or GPU.
  • the calculation formula of illumination is:
  • (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system
  • ⁇ (i,j) represents the radius of the point in the polar coordinate system
  • L ' ⁇ (i,j) represents the distortion spectrum in (i, j)
  • T ⁇ represents the transmittance of wavelength ⁇
  • f/# is the f number of the lens
  • m ⁇ represents the magnification of the lens at wavelength ⁇
  • R ⁇ ( ⁇ ) represents the fourth-order polynomial fitting.
  • the radiance, illumination and/or image of the target wavelength are used to simulate the image on the image plane according to the effect of the axis-symmetric lens on the light, including: deriving discrete points of the target wavelength on the image plane point spread function or a point spread function on a radius; all points in the multispectral scene are scattered at the same position after being acted upon by the point spread function as a sub-image on the image surface; each sub-image is calculated one by one
  • the image plane illumination of the pixel is used to obtain the image of the target wavelength of light on the image plane.
  • the embodiment of the present application can use optical simulation software such as Zemax or CodeV to derive the PSF of discrete points of wavelength on the image surface for a given axisymmetric lens, where the points are uniformly sampled in polar coordinates. , or only export the PSF on one radius, and the PSF of other sampling points are calculated using rotation invariance, thereby mapping these PSFs to the multispectral scene, so that the distance between two adjacent points in the horizontal and vertical directions of each PSF is equal to the pixel The physical width of the point.
  • optical simulation software such as Zemax or CodeV
  • any pixel point in the multispectral scene its PSF can be calculated using bilinear interpolation based on the four known PSFs of its neighbors, so that all points in the multispectral scene are processed by the PSF Scattered points at the same position are regarded as a sub-image on the image surface. Then the image surface illumination of each pixel point in each sub-image is calculated one by one, and all sub-images are merged into the actual illumination map on the image surface to obtain the target wavelength. The image of light on the image surface.
  • Step S1 Distortion of single spectrum.
  • Step S1.1 For a given axisymmetric lens, use optical simulation software such as Zemax or CodeV to derive the magnification m ⁇ of the lens at wavelength ⁇ , the actual image height corresponding to the ideal image height in a radius direction, and use the ideal image
  • /l is used as the independent variable, and the actual image height/
  • the pixels are independent of each other and can be completed through CPU multi-threading or GPU.
  • the radiance of the distorted spectrum at point (i, j) is calculated through bilinear interpolation, which is recorded as L ' ⁇ (i, j). The above calculation The pixels in the process of L ' ⁇ (i, j) are independent of each other and can be completed by CPU multi-threading or GPU.
  • Step S2 Single spectrum shading.
  • (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system
  • ⁇ (i,j) represents the radius of the point in the polar coordinate system
  • L ' ⁇ (i,j) represents the distortion spectrum in (i, j)
  • T ⁇ represents the transmittance of wavelength ⁇
  • f/# is the f number of the lens
  • m ⁇ represents the magnification of the lens at wavelength ⁇
  • R ⁇ ( ⁇ ) represents the fourth-order polynomial fitting.
  • Step S3 Blurring of single spectrum.
  • Step S3.1 As shown in Figure 4, for a given axisymmetric lens, use optical simulation software such as Zemax or CodeV to derive the point spread function PSF of discrete points when the wavelength is ⁇ on the image surface, where the points are uniform in polar coordinates Sampling; or only export the PSF on one radius, and the PSF of other sampling points are calculated using rotation invariance.
  • optical simulation software such as Zemax or CodeV
  • PSFs are mapped to the multispectral scene so that the distance between two adjacent points in the horizontal and vertical directions of each PSF is equal to l , denoted as P ⁇ , ⁇ , for any pixel point (i, j) in the multispectral scene, its PSF can be calculated using bilinear interpolation based on the four known PSFs of its neighbors, denoted as P ⁇ (i, j), ⁇ (i,j) .
  • Step S3.2 Assume that PSF has s sampling points in both the horizontal and vertical directions (s is an odd number), that is, a square of size s ⁇ s. Then a point in the multispectral scene becomes s ⁇ s points after the action of PSF. Scattered on the image surface, all scattered points in the multispectral scene at the same position after the action of PSF are regarded as a sub-image on the image surface, then the actual illumination on the image surface can be regarded as the s ⁇ s sub-image Superposition, the embodiment of this application first calculates each sub-image one by one, and finally merges all sub-images into the actual illumination image on the imaging surface. For the (m, n)th sub-image with wavelength ⁇ The calculation process of the illumination value of the (i,j)th point is as follows:
  • P ⁇ (i, j), ⁇ (i, j) represents the point spread function of any pixel
  • E ⁇ (i, j) represents the illumination of the pixel in a single spectrum of the target wavelength
  • Step S3.3 As shown in Figure 5, place The upper, lower, left, and right parts are filled with n-1 rows, sn rows, m-1 columns, and sm column 0 respectively, and the new subgraph after filling is obtained. Superimpose s ⁇ s new sub-images to obtain the image of light with wavelength ⁇ on the image surface in the multispectral scene. Calculated as follows:
  • Step S3.4 As shown in Figure 6, the multispectral image obtained above can be converted into the color space of interest according to the specific application.
  • the multispectral image can first be converted into CIE- XYZ color space, and then convert from CIE-XYZ color space to sRGB color space, and use PBRT to perform ray tracing on the MCC 24 color card to obtain multispectral data of the multispectral scene.
  • the wavelength range is 380nm ⁇ 720nm, and the wavelength interval is 10nm, thereby calculating the image of each spectrum passing through the double Gaussian lens And convert the multispectral image to sRGB color space.
  • the distribution of the radiance of the camera's light at different wavelengths can be obtained based on the multispectral data of the multispectral scene, and the radiance, illumination and/or radiance of the target wavelength can be obtained.
  • the image simulates the image on the image plane based on the effect of the axially symmetric lens on the light, thereby obtaining the illumination of the spectrum at each wavelength on the image plane, making it closer to the image produced by actual shooting, especially since the algorithm itself is highly parallel. It facilitates the implementation of CPU multi-threading and GPU acceleration, thereby effectively improving the accuracy and efficiency of imaging and effectively meeting simulation needs.
  • Figure 7 is a block diagram of a parallel simulation device for axially symmetric optical imaging according to an embodiment of the present application.
  • the axis-symmetric optical imaging parallel simulation device 10 includes: an acquisition module 100 , a processing module 200 and a simulation module 300 .
  • the acquisition module 100 is used to acquire multispectral data of a multispectral scene.
  • the processing module 200 is used to obtain the distribution of the radiance of light at different wavelengths based on the multispectral data.
  • the simulation module 300 is used to simulate the image on the image surface based on the distribution of the radiance of light at different wavelengths, using the radiance, illuminance and/or image of the target wavelength according to the effect of the axially symmetric lens on the light, to obtain the image at each wavelength.
  • the simulation module 300 includes: a first derivation unit, a first fitting unit and a first calculation unit.
  • the first derivation unit is used to derive the magnification of the axisymmetric lens at the target wavelength and the actual image height corresponding to the ideal image height in a radial direction.
  • the first fitting unit is used to perform 9th-order polynomial fitting with the ideal image height as the independent variable and the actual image height as the dependent variable to obtain the first fitting result.
  • the first calculation unit is used to calculate the radiance of the pixel in the single spectrum of the target wavelength according to the first fitting result.
  • the simulation module 300 further includes: a second derivation unit, a second fitting unit and a second calculation unit.
  • the second derivation unit is used to derive the relative brightness of the actual image height in one radial direction of the axis-symmetric lens.
  • the second fitting unit is used to perform fourth-order polynomial fitting using the actual image height as the independent variable and relative brightness as the dependent variable to obtain the second fitting result.
  • the second calculation unit is used to calculate the illumination of the pixel in the single spectrum of the target wavelength according to the second fitting result.
  • the calculation formula of illumination is:
  • (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system
  • ⁇ (i,j) represents the radius of the point in the polar coordinate system
  • L ' ⁇ (i,j) represents the distortion spectrum in (i, j)
  • T ⁇ represents the transmittance of wavelength ⁇
  • f/# is the f number of the lens
  • m ⁇ represents the magnification of the lens at wavelength ⁇
  • R ⁇ ( ⁇ ) represents the fourth-order polynomial fitting.
  • the simulation module 300 further includes: a third derivation unit, a processing unit and a simulation unit.
  • the third derivation unit is used to derive the point spread function of discrete points of the target wavelength on the image surface or the point spread function on a radius.
  • the processing unit is used to convert all points in the multispectral scene into scattered points at the same position after being acted upon by the point spread function as a sub-image on the image surface.
  • the simulation unit is used to calculate the image plane illumination of each pixel in each sub-image one by one to obtain the image of the target wavelength of light on the image plane.
  • the distribution of the radiance of the camera's light at different wavelengths can be obtained based on the multispectral data of the multispectral scene, and the radiance, illumination and/or
  • the image simulates the image on the image plane based on the effect of the axially symmetric lens on the light, thereby obtaining the illumination of the spectrum at each wavelength on the image plane, making it closer to the image produced by actual shooting, especially since the algorithm itself is highly parallel. It facilitates the implementation of CPU multi-threading and GPU acceleration, thereby effectively improving the accuracy and efficiency of imaging and effectively meeting simulation needs.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device may include:
  • the processor 802 executes the program, it implements the axially symmetric optical imaging parallel simulation method provided in the above embodiment.
  • electronic equipment also includes:
  • Communication interface 803 is used for communication between the memory 801 and the processor 802.
  • Memory 801 is used to store computer programs that can run on the processor 802.
  • the memory 801 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 8, but it does not mean that there is only one bus or one type of bus.
  • the memory 801, the processor 802 and the communication interface 803 are integrated on one chip, the memory 801, the processor 802 and the communication interface 803 can communicate with each other through the internal interface.
  • the processor 802 may be a central processing unit (Central Processing Unit, CPU for short), or an Application Specific Integrated Circuit (ASIC for short), or one or more processors configured to implement the embodiments of the present application. integrated circuit.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • This embodiment also provides a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the above parallel simulation method of axially symmetric optical imaging is implemented.
  • references to the terms “one embodiment,” “some embodiments,” “an example,” “specific examples,” or “some examples” or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include at least one of these features. In the description of this application, “N” means at least two, such as two, three, etc., unless otherwise clearly and specifically limited.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Non-exhaustive list of computer readable media include the following: electrical connections with one or N wires (electronic device), portable computer disk cartridges (magnetic device), random access memory (RAM), Read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, and subsequently edited, interpreted, or otherwise suitable as necessary. process to obtain the program electronically and then store it in computer memory.
  • N steps or methods may be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if it is implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: discrete logic gate circuits with logic functions for implementing data signals; Logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
  • the program can be stored in a computer-readable storage medium.
  • the program can be stored in a computer-readable storage medium.
  • each functional unit in various embodiments of the present application can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
  • the storage media mentioned above can be read-only memory, magnetic disks or optical disks, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The present application relates to the technical field of optical imaging and image processing, and in particular, to an axisymmetric optical imaging parallel simulation method and apparatus. The method comprises: acquiring multispectral data of a multispectral scene; obtaining the distribution of the radiance of light at different wavelengths according to the multispectral data; and on the basis of the distribution of the radiance of the light at different wavelengths, using radiance, illuminance and/or an image at a target wavelength to simulate an image on an image plane according to the effect of an axisymmetric lens on the light, so as to obtain the illuminance of a spectrum at each wavelength on the image plane. Thus, the present application solves the technical problem in the related art of reduction in imaging accuracy caused by inconsistency with an actual image, distortion of a reference image or uncontrollable quality because the degree of approximation between the obtained image and the image generated by actual photographing cannot be controlled.

Description

轴对称光学成像并行仿真方法及装置Axisymmetric optical imaging parallel simulation method and device
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202210589502.7,申请日为2022年05月26日申请的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with application number 202210589502.7 and the filing date is May 26, 2022, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application as a reference.
技术领域Technical field
本申请涉及光学成像和图像处理技术领域,特别涉及一种轴对称光学成像并行仿真方法及装置。The present application relates to the technical fields of optical imaging and image processing, and in particular to an axisymmetric optical imaging parallel simulation method and device.
背景技术Background technique
相关技术中,通过将高质量相机拍摄的图像当作理想参考,并将加模糊的参考图像当作像,从而用户直接得到传感器输出的带有失真和噪声的电压数据的同时,也可以得到无损的场景图像以及光线透过镜头在传感器上呈现的无噪声的像,进而在使高质量图像上加模糊模拟像的方法成为当前的主流。In related technology, by using the image captured by a high-quality camera as an ideal reference and using the blurred reference image as an image, the user can directly obtain the voltage data with distortion and noise output by the sensor, and at the same time, the user can also obtain lossless The scene image and the noise-free image presented by the light passing through the lens on the sensor have become the current mainstream method of adding blurred analog images to high-quality images.
然而,相关技术中,由于将高质量图像上加模糊的参考图像当作像,无法控制得到的像与实际拍摄产生的像接近,导致与实际成像不符、参考图像有失真或质量不可控,从而降低了成像的准确性,无法满足轴对称光学成像的需求,亟待解决。However, in the related art, since a reference image with blur added to a high-quality image is regarded as an image, it is impossible to control the resulting image to be close to the image produced by actual shooting, resulting in inconsistency with the actual imaging, distortion of the reference image, or uncontrollable quality. It reduces the accuracy of imaging and cannot meet the needs of axisymmetric optical imaging, which needs to be solved urgently.
发明内容Contents of the invention
本申请是基于发明人对以下问题和认识作出的:This application is based on the inventor's understanding of the following issues:
如图1所示,轴对称光学成像系统通常由光学镜头、传感器和图像处理三个主要模块组成,光学镜头将场景中的光谱信息映射到像面,传感器位于像面并将像面上的光信号转换成电压信号,图像处理模块将电压转换成适于人眼观看的图像。由于光线透过镜头会引入失真,且经过传感器转换的电压信号中也包含大量噪声,图像处理模块对最终图像的质量有重要影响。As shown in Figure 1, an axially symmetric optical imaging system usually consists of three main modules: an optical lens, a sensor, and an image processing module. The optical lens maps the spectral information in the scene to the image plane, and the sensor is located on the image plane and transfers the light on the image plane. The signal is converted into a voltage signal, and the image processing module converts the voltage into an image suitable for human eyes. Since light passing through the lens will introduce distortion, and the voltage signal converted by the sensor also contains a lot of noise, the image processing module has an important impact on the quality of the final image.
在设计去噪、增强等图像处理算法的过程中,一种较为理想的情况是已知理想图像和失真图像,尤其是深度学习等由数据驱动的方法,良好的对照数据能够极大的提高算法的性能。然而,在实际的拍照过程中光学镜头和成像传感器是不可分离的,且场景的光谱数据无法直接采集,用户只能直接得到传感器输出的带有失真和噪声的电压数据,而无法得到无损的场景图像以及光线透过镜头在传感器上呈现的无噪声的像。In the process of designing image processing algorithms such as denoising and enhancement, a more ideal situation is to know the ideal image and the distorted image, especially for data-driven methods such as deep learning. Good comparison data can greatly improve the algorithm. performance. However, in the actual photographing process, the optical lens and the imaging sensor are inseparable, and the spectral data of the scene cannot be collected directly. The user can only directly obtain the voltage data output by the sensor with distortion and noise, but cannot obtain a lossless scene. Images and light passing through the lens appear on the sensor as a noise-free image.
基于此,本申请提供一种轴对称光学成像并行仿真方法、装置、电子设备及存储介质,以解决相关技术中无法控制得到的像与实际拍摄产生的像的近似度,导致与实际成像不符、参考图像有失真或质量不可控,从而降低了成像的准确性的技术问题。Based on this, this application provides an axially symmetric optical imaging parallel simulation method, device, electronic equipment and storage medium to solve the problem of inconsistency between the image obtained in related technologies and the image produced by actual shooting, which results in inconsistency with the actual imaging. There are technical issues in which the reference image is distorted or has uncontrollable quality, thereby reducing the accuracy of imaging.
本申请第一方面实施例提供一种轴对称光学成像并行仿真方法,包括以下步骤:获取多光谱场景的多光谱数据;根据所述多光谱数据得到光线的辐亮度在不同波长下的分布;基于所述光线的辐亮度在不同波长下的分布,利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,得到每个波长下的光谱在像面上的照度。The first embodiment of the present application provides a parallel simulation method for axially symmetric optical imaging, which includes the following steps: obtaining multispectral data of a multispectral scene; obtaining the distribution of radiance of light at different wavelengths based on the multispectral data; based on The distribution of the radiance of the light at different wavelengths is simulated by using the radiance, illumination and/or image of the target wavelength on the image plane according to the effect of the axially symmetrical lens on the light to obtain the spectrum at each wavelength on the image plane. illumination on.
可选地,在本申请的一个实施例中,所述利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,包括:导出所述轴对称镜头在目标波长下的放大倍数,一个半径方向上理想像高对应的实际像高;以所述理想像高作为自变量、所述实际像高为因变量进行9阶多项式拟合,得到第一拟合结果;根据所述第一拟合结果计算所述目标波长的单光谱中像素点的辐亮度。Optionally, in one embodiment of the present application, the use of the radiance, illumination and/or image of the target wavelength to simulate the image on the image plane according to the effect of the axisymmetric lens on the light includes: deriving the axisymmetric lens The magnification at the target wavelength, the actual image height corresponding to the ideal image height in a radius direction; using the ideal image height as the independent variable and the actual image height as the dependent variable, perform a 9th-order polynomial fitting to obtain the first approximate and calculate the radiance of the pixel in the single spectrum of the target wavelength according to the first fitting result.
可选地,在本申请的一个实施例中,所述利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,包括:导出所述轴对称镜头一个半径方向上实际像高的相对亮度;以所述实际像高作为自变量、所述相对亮度为因变量进行4阶多项式拟合,得到第二拟合结果;根据所述第二拟合结果计算目标波长的单光谱中像素点的照度。Optionally, in one embodiment of the present application, the use of the radiance, illumination and/or image of the target wavelength to simulate the image on the image plane according to the effect of the axisymmetric lens on the light includes: deriving the axisymmetric lens The relative brightness of the actual image height in a radius direction; using the actual image height as the independent variable and the relative brightness as the dependent variable, perform a fourth-order polynomial fitting to obtain a second fitting result; according to the second fitting result Calculate the illumination of the pixel in a single spectrum of the target wavelength.
可选地,在本申请的一个实施例中,所述照度的计算公式可以为:Optionally, in an embodiment of the present application, the calculation formula of the illumination may be:
Figure PCTCN2022114994-appb-000001
Figure PCTCN2022114994-appb-000001
其中,(i,j)表示像素点在直角坐标系下的坐标,ρ(i,j)表示该点在极坐标系下的半径,L (i,j)表示畸变光谱在(i,j)点的辐亮度,T λ表示波长λ的透过率,f/#是镜头的f number,m λ表示镜头在波长λ下的放大倍数,R λ(ρ)表示4阶多项式拟合。 Among them, (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system, ρ(i,j) represents the radius of the point in the polar coordinate system, and L (i,j) represents the distortion spectrum in (i, j) The radiance of point, T λ represents the transmittance of wavelength λ, f/# is the f number of the lens, m λ represents the magnification of the lens at wavelength λ, and R λ (ρ) represents the fourth-order polynomial fitting.
可选地,在本申请的一个实施例中,所述利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,包括:导出像面上所述目标波长的离散点的点扩散函数或者一个半径上的点扩散函数;将所述多光谱场景中的所有点经点扩散函数作用后在同一位置的散落点作为像面上的一个子图;逐个计算每个子图中每个像素点的像面照度,得到所述目标波长的光线在像面上的像。Optionally, in one embodiment of the present application, the use of the radiance, illuminance and/or image of the target wavelength to simulate the image on the image plane according to the effect of the axially symmetric lens on the light includes: deriving the image on the image plane The point spread function of discrete points of the target wavelength or the point spread function on a radius; the scattered points at the same position after all points in the multispectral scene are acted upon by the point spread function are used as a sub-image on the image surface; one by one Calculate the image plane illumination of each pixel in each sub-image to obtain the image of the light of the target wavelength on the image plane.
本申请第二方面实施例提供一种轴对称光学成像并行仿真装置,包括:获取模块,用于获取多光谱场景的多光谱数据;处理模块,用于根据所述多光谱数据得到光线的辐亮度在不同波长下的分布;仿真模块,用于基于所述光线的辐亮度在不同波长下的分布,利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,得到每个 波长下的光谱在像面上的照度。A second embodiment of the present application provides an axially symmetric optical imaging parallel simulation device, including: an acquisition module for acquiring multispectral data of a multispectral scene; and a processing module for obtaining the radiance of light according to the multispectral data. Distribution at different wavelengths; a simulation module for simulating the effect of the radiance of the light on the image surface based on the distribution of the radiance of the light at different wavelengths, using the radiance, illumination and/or image of the target wavelength on the light according to the axis-symmetric lens image, and obtain the illumination of the spectrum at each wavelength on the image surface.
可选地,在本申请的一个实施例中,所述仿真模块包括:第一导出单元,用于导出所述轴对称镜头在目标波长下的放大倍数,一个半径方向上理想像高对应的实际像高;第一拟合单元,用于以所述理想像高作为自变量、所述实际像高为因变量进行9阶多项式拟合,得到第一拟合结果;第一计算单元,用于根据所述第一拟合结果计算所述目标波长的单光谱中像素点的辐亮度。Optionally, in one embodiment of the present application, the simulation module includes: a first derivation unit for deriving the magnification factor of the axisymmetric lens at the target wavelength, the actual image height corresponding to the ideal image height in a radial direction Image height; a first fitting unit for performing 9th-order polynomial fitting with the ideal image height as an independent variable and the actual image height as a dependent variable to obtain a first fitting result; a first calculation unit for Calculate the radiance of the pixel in the single spectrum of the target wavelength according to the first fitting result.
可选地,在本申请的一个实施例中,所述仿真模块还包括:第二导出单元,用于导出所述轴对称镜头一个半径方向上实际像高的相对亮度;第二拟合单元,用于以所述实际像高作为自变量、所述相对亮度为因变量进行4阶多项式拟合,得到第二拟合结果;第二计算单元,用于根据所述第二拟合结果计算目标波长的单光谱中像素点的照度。Optionally, in one embodiment of the present application, the simulation module further includes: a second derivation unit, used to derive the relative brightness of the actual image height in a radial direction of the axisymmetric lens; a second fitting unit, Used to perform fourth-order polynomial fitting with the actual image height as the independent variable and the relative brightness as the dependent variable to obtain a second fitting result; a second calculation unit used to calculate the target according to the second fitting result The illumination of a pixel in a single spectrum of wavelengths.
可选地,在本申请的一个实施例中,所述照度的计算公式可以为:Optionally, in an embodiment of the present application, the calculation formula of the illumination may be:
Figure PCTCN2022114994-appb-000002
Figure PCTCN2022114994-appb-000002
其中,(i,j)表示像素点在直角坐标系下的坐标,ρ(i,j)表示该点在极坐标系下的半径,L (i,j)表示畸变光谱在(i,j)点的辐亮度,T λ表示波长λ的透过率,f/#是镜头的f number,m λ表示镜头在波长λ下的放大倍数,R λ(ρ)表示4阶多项式拟合。 Among them, (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system, ρ(i,j) represents the radius of the point in the polar coordinate system, and L (i,j) represents the distortion spectrum in (i, j) The radiance of point, T λ represents the transmittance of wavelength λ, f/# is the f number of the lens, m λ represents the magnification of the lens at wavelength λ, and R λ (ρ) represents the fourth-order polynomial fitting.
可选地,在本申请的一个实施例中,所述仿真模块还包括:第三导出单元,用于导出像面上所述目标波长的离散点的点扩散函数或者一个半径上的点扩散函数;处理单元,用于将所述多光谱场景中的所有点经点扩散函数作用后在同一位置的散落点作为像面上的一个子图;仿真单元,用于逐个计算每个子图中每个像素点的像面照度,得到所述目标波长的光线在像面上的像。Optionally, in one embodiment of the present application, the simulation module further includes: a third derivation unit, used to derive the point spread function of discrete points of the target wavelength on the image plane or the point spread function on a radius. ; The processing unit is used to treat all points in the multispectral scene as a sub-image on the image surface as scattered points at the same position after being acted upon by the point spread function; the simulation unit is used to calculate each sub-image one by one The image plane illumination of the pixel point is used to obtain the image of the light of the target wavelength on the image plane.
本申请第三方面实施例提供一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序,以实现如上述实施例所述的轴对称光学成像并行仿真方法。A third embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor executes the program to implement Axisymmetric optical imaging parallel simulation method as described in the above embodiment.
本申请第四方面实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上述实施例所述的轴对称光学成像并行仿真方法。A fourth embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores computer instructions. The computer instructions are used to cause the computer to perform the axially symmetric optical imaging parallelism described in the above embodiments. Simulation method.
本申请实施例可以根据多光谱场景的多光谱数据得到相机的光线的辐亮度在不同波长下的分布,并利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,从而得到每个波长下的光谱在像面上的照度,使得与实际拍摄产生的像更加接近,尤其是算法本身具有高度并行性,便于CPU(Central Processing Unit,中央处理器)多线 程和GPU(Graphics Processing Unit,图形处理器)加速实现,进而有效的提升了成像的准确性和效率,有效满足仿真需求。由此,解决了相关技术中无法控制得到的像与实际拍摄产生的像的近似度,导致与实际成像不符、参考图像有失真或质量不可控,从而降低了成像的准确性的技术问题。Embodiments of the present application can obtain the distribution of the radiance of the camera's light at different wavelengths based on the multispectral data of the multispectral scene, and use the radiance, illumination and/or image of the target wavelength to simulate the effect of the axially symmetric lens on the light. The image on the surface is obtained to obtain the illumination of the spectrum at each wavelength on the image surface, making it closer to the image produced by actual shooting. In particular, the algorithm itself is highly parallel and is convenient for the CPU (Central Processing Unit). Multi-threading and GPU (Graphics Processing Unit, Graphics Processing Unit) acceleration are implemented, which effectively improves the accuracy and efficiency of imaging and effectively meets simulation needs. This solves the technical problem in related technologies that it is impossible to control the approximation between the image obtained and the image produced by actual shooting, resulting in inconsistency with the actual imaging, distortion of the reference image or uncontrollable quality, thereby reducing the accuracy of imaging.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
附图说明Description of the drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1为相关技术中的轴对称光学成像的原理示意图;Figure 1 is a schematic diagram of the principle of axially symmetric optical imaging in related technologies;
图2为根据本申请实施例提供的一种轴对称光学成像并行仿真方法的流程图;Figure 2 is a flow chart of a parallel simulation method for axially symmetric optical imaging provided according to an embodiment of the present application;
图3为本申请一个具体实施例的轴对称光学成像并行仿真的流程图;Figure 3 is a flow chart of parallel simulation of axially symmetric optical imaging according to a specific embodiment of the present application;
图4为本申请一个具体实施例的PSF(Point Spread Function,点扩散函数)采样与插值示意图;Figure 4 is a schematic diagram of PSF (Point Spread Function) sampling and interpolation according to a specific embodiment of the present application;
图5为本申请一个具体实施例的子图边界填充示意图;Figure 5 is a schematic diagram of sub-picture boundary filling according to a specific embodiment of the present application;
图6为本申请一个具体实施例的仿真MCC(Macbeth Color Checker,马克贝斯色彩检验图)并将多光谱像转换成sRGB(standard Red Green Blue,通用色彩标准)颜色空间示意图;Figure 6 is a schematic diagram of simulating MCC (Macbeth Color Checker, Macbeth Color Checker) and converting multispectral images into sRGB (standard Red Green Blue, universal color standard) color space according to a specific embodiment of the present application;
图7为根据本申请实施例的轴对称光学成像并行仿真装置的结构示意图;Figure 7 is a schematic structural diagram of an axisymmetric optical imaging parallel simulation device according to an embodiment of the present application;
图8为根据本申请实施例提供的电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary and are intended to explain the present application, but should not be construed as limiting the present application.
下面参考附图描述本申请实施例的轴对称光学成像并行仿真方法及装置。针对上述背景技术中心提到的相关技术中无法控制得到的像与实际拍摄产生的像的近似度,导致与实际成像不符、参考图像有失真或质量不可控,从而降低了成像的准确性的问题,本申请提供了一种轴对称光学成像并行仿真方法,在该方法中,本申请实施例可以根据多光谱场景的多光谱数据得到相机的光线的辐亮度在不同波长下的分布,并利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,从而得到每个波长下的光谱在 像面上的照度,使得与实际拍摄产生的像更加接近,尤其是算法本身具有高度并行性,便于CPU多线程和GPU加速实现,进而有效的提升了成像的准确性和效率,有效满足仿真需求。由此,解决了相关技术中无法控制得到的像与实际拍摄产生的像的近似度,导致与实际成像不符、参考图像有失真或质量不可控,从而降低了成像的准确性的技术问题。The following describes the axially symmetric optical imaging parallel simulation method and device according to the embodiments of the present application with reference to the accompanying drawings. In view of the above-mentioned background technology center, the related technology cannot control the approximation between the obtained image and the image produced by actual shooting, resulting in inconsistency with the actual imaging, distortion of the reference image or uncontrollable quality, thus reducing the accuracy of imaging. , this application provides a parallel simulation method for axially symmetric optical imaging. In this method, embodiments of this application can obtain the distribution of the radiance of the camera's light at different wavelengths based on the multispectral data of the multispectral scene, and use the target The radiance, illumination and/or image of the wavelength simulate the image on the image plane based on the effect of the axially symmetric lens on the light, thereby obtaining the illumination of the spectrum at each wavelength on the image plane, making it closer to the image produced by actual shooting. In particular, the algorithm itself is highly parallel, which facilitates CPU multi-threading and GPU acceleration, thereby effectively improving the accuracy and efficiency of imaging and effectively meeting simulation needs. This solves the technical problem in related technologies that it is impossible to control the approximation between the image obtained and the image produced by actual shooting, resulting in inconsistency with the actual imaging, distortion of the reference image or uncontrollable quality, thereby reducing the accuracy of imaging.
具体而言,图2为本申请实施例所提供的一种轴对称光学成像并行仿真方法的流程示意图。Specifically, FIG. 2 is a schematic flowchart of an axisymmetric optical imaging parallel simulation method provided by an embodiment of the present application.
如图2所示,该轴对称光学成像并行仿真方法包括以下步骤:As shown in Figure 2, the parallel simulation method of axially symmetric optical imaging includes the following steps:
在步骤S201中,获取多光谱场景的多光谱数据。In step S201, multispectral data of the multispectral scene is obtained.
在实际执行过程中,本申请实施例可以获取多光谱场景的多光谱数据,例如,可以通过基于物理的光线追踪或者高精度多光谱相机或者RGB图像估算得到多光谱场景的多光谱数据,并通过采集的多光谱场景的多光谱数据,从而得到无损的场景图像以及光线透过镜头在传感器上呈现的无噪声的像。During actual execution, the embodiments of the present application can obtain multispectral data of a multispectral scene. For example, the multispectral data of a multispectral scene can be obtained through physics-based ray tracing or high-precision multispectral cameras or RGB image estimation, and can be obtained through The multispectral data of the multispectral scene is collected to obtain a lossless scene image and a noiseless image presented by the light passing through the lens on the sensor.
进而,如图3所示,本申请实施例可以对多光谱场景的每个单光谱进行畸变、shading和模糊三步操作,具体步骤下面会进行详细赘述,从而得到对应的单光谱像,由于算法本身具有高度并行性,其中每个步骤都可以利用CPU多线程或GPU加速。Furthermore, as shown in Figure 3, the embodiment of the present application can perform three-step operations of distortion, shading and blurring on each single spectrum of the multispectral scene. The specific steps will be described in detail below, thereby obtaining the corresponding single spectrum image. Due to the algorithm It is inherently highly parallelized, where each step can take advantage of CPU multi-threading or GPU acceleration.
在步骤S202中,根据多光谱数据得到光线的辐亮度在不同波长下的分布。In step S202, the distribution of the radiance of light at different wavelengths is obtained based on the multispectral data.
具体而言,本申请实施例可以根据多光谱场景的多光谱数据得到相机的光线的辐亮度在不同波长下的分布,其中,对于可见光成像,波长范围通常是380nm~720nm,从而提高获取光线的辐亮度的效率,减少冗余操作。Specifically, embodiments of the present application can obtain the distribution of the radiance of the camera's light at different wavelengths based on the multispectral data of the multispectral scene. For visible light imaging, the wavelength range is usually 380nm ~ 720nm, thereby improving the efficiency of acquiring light. Radiance efficiency, reducing redundant operations.
在步骤S203中,基于光线的辐亮度在不同波长下的分布,利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,得到每个波长下的光谱在像面上的照度。In step S203, based on the distribution of the radiance of the light at different wavelengths, the radiance, illuminance and/or image of the target wavelength are used to simulate the image on the image plane according to the effect of the axially symmetric lens on the light, and the image at each wavelength is obtained. The illumination of the spectrum on the image plane.
可以理解的是,本申请实施例可以根据多光谱场景的多光谱数据得到相机的光线的辐亮度在不同波长下的分布,并利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,从而得到每个波长下的光谱在像面上的照度,有效的提高了仿真结果与实际拍摄产生的像的相似度。It can be understood that the embodiments of the present application can obtain the distribution of the radiance of the camera's light at different wavelengths based on the multispectral data of the multispectral scene, and use the radiance, illumination and/or image of the target wavelength according to the axially symmetrical lens pair. The effect of light simulates the image on the image surface, thereby obtaining the illumination of the spectrum at each wavelength on the image surface, effectively improving the similarity between the simulation results and the actual image produced.
进一步地,在本申请的一个实施例中,利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,包括:导出轴对称镜头在目标波长下的放大倍数,一个半径方向上理想像高对应的实际像高;以理想像高作为自变量、实际像高为因变量进行9阶多项式拟合,得到第一拟合结果;根据第一拟合结果计算目标波长的单光谱中像素点的辐亮度。Further, in one embodiment of the present application, the radiance, illumination and/or image of the target wavelength are used to simulate the image on the image plane according to the effect of the axisymmetric lens on the light, including: deriving the image of the axisymmetric lens at the target wavelength. Magnification, the actual image height corresponding to the ideal image height in a radius direction; use the ideal image height as the independent variable and the actual image height as the dependent variable to perform 9th-order polynomial fitting to obtain the first fitting result; according to the first fitting result Calculate the radiance of a pixel in a single spectrum at the target wavelength.
作为一种可能实现的方式,本申请实施例可以对于给定的轴对称镜头,从而导出轴对称镜头在目标波长下的放大倍数,如利用Zemax或CodeV等光学仿真软件导出镜头在目标波长下的放大倍数,一个半径方向上理想像高对应的实际像高,并以理想像高作为自变量、实际像高为因变量进行9阶多项式拟合,得到第一拟合结果,则以中心点为原点,直角坐标系下目标波长的单光谱中像素点的辐亮度畸变后的直角坐标与畸变前保持一致,通过双线性插值计算出畸变光谱在像素点的辐亮度,其中,像素间是相互独立的,可以通过CPU多线程或GPU完成。As a possible implementation method, the embodiment of the present application can derive the magnification factor of the axisymmetric lens at the target wavelength for a given axisymmetric lens, such as using optical simulation software such as Zemax or CodeV to derive the magnification factor of the lens at the target wavelength. Magnification, the actual image height corresponding to the ideal image height in a radius direction, and use the ideal image height as the independent variable and the actual image height as the dependent variable to perform 9th-order polynomial fitting to obtain the first fitting result, then the center point is Origin, the radiance of the pixel in the single spectrum of the target wavelength under the Cartesian coordinate system. The Cartesian coordinates after distortion are consistent with those before distortion. The radiance of the distorted spectrum at the pixel is calculated through bilinear interpolation. Among them, the pixels are mutually Standalone, can be done via CPU multi-threading or GPU.
进一步地,在本申请的一个实施例中,利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,包括:导出轴对称镜头一个半径方向上实际像高的相对亮度;以实际像高作为自变量、相对亮度为因变量进行4阶多项式拟合,得到第二拟合结果;根据第二拟合结果计算目标波长的单光谱中像素点的照度。Further, in one embodiment of the present application, the radiance, illumination and/or image of the target wavelength are used to simulate the image on the image plane according to the effect of the axially symmetrical lens on the light, including: deriving the actual radiance of the axially symmetrical lens in one radial direction. The relative brightness of the image height; perform a fourth-order polynomial fitting with the actual image height as the independent variable and the relative brightness as the dependent variable to obtain the second fitting result; calculate the illuminance of the pixel in the single spectrum of the target wavelength based on the second fitting result .
在实际执行过程中,本申请实施例可以对于给定的轴对称镜头,导出轴对称镜头一个半径方向上实际像高的相对亮度,如利用Zemax或CodeV等光学仿真软件导出镜头一个半径方向上实际像高的相对亮度,并以实际像高作为自变量、相对亮度为因变量进行4阶多项式拟合,得到第二拟合结果,像素点经镜头shading后在像面上的照度可根据下述照度公式计算,计算照度E λ(i,j)的过程中像素间是相互独立的,可以通过CPU多线程或GPU完成。 In the actual execution process, the embodiments of the present application can derive the relative brightness of the actual image height of the axis-symmetric lens in a radial direction for a given axially symmetrical lens. For example, using optical simulation software such as Zemax or CodeV to derive the actual relative brightness of the lens in a radial direction. The relative brightness of the image height, and use the actual image height as the independent variable and the relative brightness as the dependent variable to perform a fourth-order polynomial fitting to obtain the second fitting result. The illumination of the pixel on the image surface after lens shading can be calculated according to the following Illumination formula calculation, the process of calculating illumination E λ (i,j) is independent of each other and can be completed by CPU multi-threading or GPU.
其中,在本申请的一个实施例中,照度的计算公式为:Among them, in one embodiment of the present application, the calculation formula of illumination is:
Figure PCTCN2022114994-appb-000003
Figure PCTCN2022114994-appb-000003
其中,(i,j)表示像素点在直角坐标系下的坐标,ρ(i,j)表示该点在极坐标系下的半径,L (i,j)表示畸变光谱在(i,j)点的辐亮度,T λ表示波长λ的透过率,f/#是镜头的f number,m λ表示镜头在波长λ下的放大倍数,R λ(ρ)表示4阶多项式拟合。 Among them, (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system, ρ(i,j) represents the radius of the point in the polar coordinate system, and L (i,j) represents the distortion spectrum in (i, j) The radiance of point, T λ represents the transmittance of wavelength λ, f/# is the f number of the lens, m λ represents the magnification of the lens at wavelength λ, and R λ (ρ) represents the fourth-order polynomial fitting.
进一步地,在本申请的一个实施例中,利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,包括:导出像面上目标波长的离散点的点扩散函数或者一个半径上的点扩散函数;将多光谱场景中的所有点经点扩散函数作用后在同一位置的散落点作为像面上的一个子图;逐个计算每个子图中每个像素点的像面照度,得到目标波长的光线在像面上的像。Further, in one embodiment of the present application, the radiance, illumination and/or image of the target wavelength are used to simulate the image on the image plane according to the effect of the axis-symmetric lens on the light, including: deriving discrete points of the target wavelength on the image plane point spread function or a point spread function on a radius; all points in the multispectral scene are scattered at the same position after being acted upon by the point spread function as a sub-image on the image surface; each sub-image is calculated one by one The image plane illumination of the pixel is used to obtain the image of the target wavelength of light on the image plane.
作为一种可能实现的方式,本申请实施例可以对于给定的轴对称镜头,利用Zemax或CodeV等光学仿真软件,导出像面上波长的离散点的PSF,其中,点在极坐标下均匀采样,或只导出一个半径上的PSF,其他采样点的PSF利用旋转不变性计算得到,从而将这些PSF 映射到多光谱场景中,使得每个PSF水平和垂直方向相邻两点的间距都等于像素点的物理宽度。As a possible implementation method, the embodiment of the present application can use optical simulation software such as Zemax or CodeV to derive the PSF of discrete points of wavelength on the image surface for a given axisymmetric lens, where the points are uniformly sampled in polar coordinates. , or only export the PSF on one radius, and the PSF of other sampling points are calculated using rotation invariance, thereby mapping these PSFs to the multispectral scene, so that the distance between two adjacent points in the horizontal and vertical directions of each PSF is equal to the pixel The physical width of the point.
进一步地,本申请实施例对于多光谱场景中的任意一个像素点,它的PSF可以根据邻居的4个已知PSF利用双线性插值计算,从而将多光谱场景中的所有点经PSF作用后在同一位置的散落点看作像面上的一个子图,则逐个计算每个子图中每个像素点的像面照度,并将所有子图合并成像面上的实际照度图,进而得到目标波长的光线在像面上的像。Furthermore, in this embodiment of the present application, for any pixel point in the multispectral scene, its PSF can be calculated using bilinear interpolation based on the four known PSFs of its neighbors, so that all points in the multispectral scene are processed by the PSF Scattered points at the same position are regarded as a sub-image on the image surface. Then the image surface illumination of each pixel point in each sub-image is calculated one by one, and all sub-images are merged into the actual illumination map on the image surface to obtain the target wavelength. The image of light on the image surface.
下面以一个具体实施例对本申请实施例的方法的工作原理进行详细赘述。The working principle of the method in the embodiment of the present application will be described in detail below with a specific embodiment.
举例而言,假设场景多光谱的横向像素点数是w,纵向像素点数是h,像素点的物理宽度为l,光谱的中心点为坐标轴原点,x坐标轴方向朝右,y坐标轴方向朝上;(i,j)表示像素点在直角坐标系下的坐标,ρ(i,j)表示该点在极坐标系下的半径,θ(i,j)表示该点在极坐标系下的夹角;L λ(i,j)表示波长为λ的单光谱中(i,j)像素点的辐亮度,则三个步骤的详细过程如下: For example, assume that the number of horizontal pixels in the scene multispectrum is w, the number of vertical pixels is h, the physical width of the pixel is l, the center point of the spectrum is the origin of the coordinate axis, the x coordinate axis direction is to the right, and the y coordinate axis direction is to the right. Above; (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system, ρ(i,j) represents the radius of the point in the polar coordinate system, and θ(i,j) represents the radius of the point in the polar coordinate system. Angle; L λ (i, j) represents the radiance of pixel point (i, j) in a single spectrum with wavelength λ. The detailed process of the three steps is as follows:
步骤S1:单光谱的畸变。Step S1: Distortion of single spectrum.
步骤S1.1:对于给定的轴对称镜头,利用Zemax或CodeV等光学仿真软件导出镜头在波长λ下的放大倍数m λ,一个半径方向上理想像高对应的实际像高,并以理想像高/|m λ|/l作为自变量、实际像高/|m λ|/l为因变量进行9阶多项式拟合,记作D λ(ρ)。 Step S1.1: For a given axisymmetric lens, use optical simulation software such as Zemax or CodeV to derive the magnification m λ of the lens at wavelength λ, the actual image height corresponding to the ideal image height in a radius direction, and use the ideal image The height/|m λ |/l is used as the independent variable, and the actual image height/|m λ |/l is the dependent variable for 9th-order polynomial fitting, which is recorded as D λ (ρ).
步骤S1.2:以中心点为原点,直角坐标系下L λ(i,j)畸变后的直角坐标为x=D λ(ρ(i,j))·cos(θ(i,j)),y=D λ(ρ(i,j))·sin(θ(i,j)),该点的辐亮度与畸变前保持一致,即L λ(i,j),上述计算畸变的过程中像素间是相互独立的,可以通过CPU多线程或GPU完成,最后通过双线性插值计算出畸变光谱在(i,j)点的辐亮度,记作L (i,j),上述计算L (i,j)的过程中像素间是相互独立的,可以通过CPU多线程或GPU完成。 Step S1.2: Taking the center point as the origin, the distorted rectangular coordinates of L λ (i, j) in the rectangular coordinate system are x = D λ (ρ (i, j))·cos (θ (i, j)) , y=D λ (ρ(i,j))·sin(θ(i,j)), the radiance of this point remains the same as before distortion, that is, L λ (i,j), during the above process of calculating distortion The pixels are independent of each other and can be completed through CPU multi-threading or GPU. Finally, the radiance of the distorted spectrum at point (i, j) is calculated through bilinear interpolation, which is recorded as L (i, j). The above calculation The pixels in the process of L (i, j) are independent of each other and can be completed by CPU multi-threading or GPU.
步骤S2:单光谱的shading。Step S2: Single spectrum shading.
对于给定的轴对称镜头,利用Zemax或CodeV等光学仿真软件导出镜头一个半径方向上实际像高的相对亮度,并以实际像高/|m λ|/l作为自变量、相对亮度为因变量进行4阶多项式拟合,记作R λ(ρ),点(i,j)经镜头shading后在像面上的照度根据照明公式计算,上述计算E λ(i,j)的过程中像素间是相互独立的,可以通过CPU多线程或GPU完成,照明公式如下: For a given axisymmetric lens, use optical simulation software such as Zemax or CodeV to derive the relative brightness of the actual image height in one radius direction of the lens, and use the actual image height/|m λ |/l as the independent variable and the relative brightness as the dependent variable. Perform a fourth-order polynomial fitting, denoted as R λ (ρ). The illumination of point (i, j) on the image plane after lens shading is calculated according to the lighting formula. During the above process of calculating E λ (i, j), the illuminance between pixels are independent of each other and can be completed through CPU multi-threading or GPU. The lighting formula is as follows:
Figure PCTCN2022114994-appb-000004
Figure PCTCN2022114994-appb-000004
其中,(i,j)表示像素点在直角坐标系下的坐标,ρ(i,j)表示该点在极坐标系下的半径,L (i,j)表示畸变光谱在(i,j)点的辐亮度,T λ表示波长λ的透过率,f/#是镜头的f number,m λ表示镜头在波长λ下的放大倍数,R λ(ρ)表示4阶多项式拟合。 Among them, (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system, ρ(i,j) represents the radius of the point in the polar coordinate system, and L (i,j) represents the distortion spectrum in (i, j) The radiance of point, T λ represents the transmittance of wavelength λ, f/# is the f number of the lens, m λ represents the magnification of the lens at wavelength λ, and R λ (ρ) represents the fourth-order polynomial fitting.
步骤S3:单光谱的模糊。Step S3: Blurring of single spectrum.
步骤S3.1:如图4所示,对于给定的轴对称镜头,利用Zemax或CodeV等光学仿真软件导出像面上波长为λ时离散点的点扩散函数PSF,其中点在极坐标下均匀采样;或者只导出一个半径上的PSF,其他采样点的PSF利用旋转不变性计算得到,将这些PSF映射到多光谱场景中,使得每个PSF水平和垂直方向相邻两点的间距都等于l,记作P ρ,θ,对于多光谱场景中的任意一个像素点(i,j),它的PSF可以根据邻居的4个已知PSF利用双线性插值计算,记作P ρ(i,j),θ(i,j)Step S3.1: As shown in Figure 4, for a given axisymmetric lens, use optical simulation software such as Zemax or CodeV to derive the point spread function PSF of discrete points when the wavelength is λ on the image surface, where the points are uniform in polar coordinates Sampling; or only export the PSF on one radius, and the PSF of other sampling points are calculated using rotation invariance. These PSFs are mapped to the multispectral scene so that the distance between two adjacent points in the horizontal and vertical directions of each PSF is equal to l , denoted as P ρ,θ , for any pixel point (i, j) in the multispectral scene, its PSF can be calculated using bilinear interpolation based on the four known PSFs of its neighbors, denoted as P ρ(i, j),θ(i,j) .
步骤S3.2:设PSF在横向和纵向均有s个采样点(s是奇数),即s×s大小的方块,则多光谱场景中的一个点经PSF作用后变成s×s个点散落在像面上,将多光谱场景中的所有点经PSF作用后在同一位置的散落点看作像面上的一个子图,则像面上的实际照度可以看作s×s个子图的叠加,本申请实施例先逐个计算每个子图,最后将所有子图合并成像面上的实际照度图,对于波长为λ的第(m,n)个子图
Figure PCTCN2022114994-appb-000005
其第(i,j)个点的照度值计算过程如下:
Step S3.2: Assume that PSF has s sampling points in both the horizontal and vertical directions (s is an odd number), that is, a square of size s × s. Then a point in the multispectral scene becomes s × s points after the action of PSF. Scattered on the image surface, all scattered points in the multispectral scene at the same position after the action of PSF are regarded as a sub-image on the image surface, then the actual illumination on the image surface can be regarded as the s×s sub-image Superposition, the embodiment of this application first calculates each sub-image one by one, and finally merges all sub-images into the actual illumination image on the imaging surface. For the (m, n)th sub-image with wavelength λ
Figure PCTCN2022114994-appb-000005
The calculation process of the illumination value of the (i,j)th point is as follows:
Figure PCTCN2022114994-appb-000006
Figure PCTCN2022114994-appb-000006
其中,P ρ(i,j),θ(i,j)表示任意一个像素点的点扩散函数,E λ(i,j)表示目标波长的单光谱中像素点的照度。 Among them, P ρ (i, j), θ (i, j) represents the point spread function of any pixel, and E λ (i, j) represents the illumination of the pixel in a single spectrum of the target wavelength.
步骤S3.3:如图5所示,将
Figure PCTCN2022114994-appb-000007
上、下、左、右分别填充n-1行、s-n行、m-1列、s-m列0,得到填充后的新子图
Figure PCTCN2022114994-appb-000008
将s×s个新子图叠加得到多光谱场景中波长为λ的光线在像面上的像
Figure PCTCN2022114994-appb-000009
计算公式如下:
Step S3.3: As shown in Figure 5, place
Figure PCTCN2022114994-appb-000007
The upper, lower, left, and right parts are filled with n-1 rows, sn rows, m-1 columns, and sm column 0 respectively, and the new subgraph after filling is obtained.
Figure PCTCN2022114994-appb-000008
Superimpose s × s new sub-images to obtain the image of light with wavelength λ on the image surface in the multispectral scene.
Figure PCTCN2022114994-appb-000009
Calculated as follows:
Figure PCTCN2022114994-appb-000010
Figure PCTCN2022114994-appb-000010
其中,
Figure PCTCN2022114994-appb-000011
表示波长为λ的第(m,n)个子图。
in,
Figure PCTCN2022114994-appb-000011
Represents the (m, n)th subgraph with wavelength λ.
上述计算每个子图中每个像素点的像面照度的过程是相互独立的,可以通过CPU多线程或GPU完成。The above process of calculating the image plane illumination of each pixel in each sub-image is independent of each other and can be completed by CPU multi-threading or GPU.
步骤S3.4:如图6所示,根据特定的应用可以将上述得到的多光谱像转换成感兴趣的色彩空间,对于sRGB色彩空间的色差矫正问题,可以先将多光谱像转换到CIE-XYZ色彩空间,然后再从CIE-XYZ色彩空间转换到sRGB色彩空间,并使用PBRT对MCC 24色卡进行光线追踪,得到多光谱场景的多光谱数据,其中波长范围是380nm~720nm,波长间隔是10nm,从而计算每个光谱经过双高斯镜头的像
Figure PCTCN2022114994-appb-000012
并将多光谱像转换到了sRGB色彩空间。
Step S3.4: As shown in Figure 6, the multispectral image obtained above can be converted into the color space of interest according to the specific application. For the chromatic aberration correction problem in the sRGB color space, the multispectral image can first be converted into CIE- XYZ color space, and then convert from CIE-XYZ color space to sRGB color space, and use PBRT to perform ray tracing on the MCC 24 color card to obtain multispectral data of the multispectral scene. The wavelength range is 380nm ~ 720nm, and the wavelength interval is 10nm, thereby calculating the image of each spectrum passing through the double Gaussian lens
Figure PCTCN2022114994-appb-000012
And convert the multispectral image to sRGB color space.
根据本申请实施例提出的轴对称光学成像并行仿真方法,可以根据多光谱场景的多光谱数据得到相机的光线的辐亮度在不同波长下的分布,并利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,从而得到每个波长下的光谱在像面上的照度,使得与实际拍摄产生的像更加接近,尤其是算法本身具有高度并行性,便于CPU多线程和GPU加速实现,进而有效的提升了成像的准确性和效率,有效满足仿真需求。According to the parallel simulation method of axially symmetric optical imaging proposed by the embodiment of the present application, the distribution of the radiance of the camera's light at different wavelengths can be obtained based on the multispectral data of the multispectral scene, and the radiance, illumination and/or radiance of the target wavelength can be obtained. The image simulates the image on the image plane based on the effect of the axially symmetric lens on the light, thereby obtaining the illumination of the spectrum at each wavelength on the image plane, making it closer to the image produced by actual shooting, especially since the algorithm itself is highly parallel. It facilitates the implementation of CPU multi-threading and GPU acceleration, thereby effectively improving the accuracy and efficiency of imaging and effectively meeting simulation needs.
其次参照附图描述根据本申请实施例提出的轴对称光学成像并行仿真装置。Next, the axially symmetric optical imaging parallel simulation device proposed according to the embodiment of the present application will be described with reference to the accompanying drawings.
图7是本申请实施例的轴对称光学成像并行仿真装置的方框示意图。Figure 7 is a block diagram of a parallel simulation device for axially symmetric optical imaging according to an embodiment of the present application.
如图7所示,该轴对称光学成像并行仿真装置10包括:获取模块100、处理模块200和仿真模块300。As shown in FIG. 7 , the axis-symmetric optical imaging parallel simulation device 10 includes: an acquisition module 100 , a processing module 200 and a simulation module 300 .
具体地,获取模块100,用于获取多光谱场景的多光谱数据。Specifically, the acquisition module 100 is used to acquire multispectral data of a multispectral scene.
处理模块200,用于根据多光谱数据得到光线的辐亮度在不同波长下的分布。The processing module 200 is used to obtain the distribution of the radiance of light at different wavelengths based on the multispectral data.
仿真模块300,用于基于光线的辐亮度在不同波长下的分布,利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,得到每个波长下的光谱在像面上的照度。The simulation module 300 is used to simulate the image on the image surface based on the distribution of the radiance of light at different wavelengths, using the radiance, illuminance and/or image of the target wavelength according to the effect of the axially symmetric lens on the light, to obtain the image at each wavelength. The illumination of the spectrum on the image plane.
可选地,在本申请的一个实施例中,仿真模块300包括:第一导出单元、第一拟合单元和第一计算单元。Optionally, in one embodiment of the present application, the simulation module 300 includes: a first derivation unit, a first fitting unit and a first calculation unit.
其中,第一导出单元,用于导出轴对称镜头在目标波长下的放大倍数,一个半径方向上理想像高对应的实际像高。Among them, the first derivation unit is used to derive the magnification of the axisymmetric lens at the target wavelength and the actual image height corresponding to the ideal image height in a radial direction.
第一拟合单元,用于以理想像高作为自变量、实际像高为因变量进行9阶多项式拟合,得到第一拟合结果。The first fitting unit is used to perform 9th-order polynomial fitting with the ideal image height as the independent variable and the actual image height as the dependent variable to obtain the first fitting result.
第一计算单元,用于根据第一拟合结果计算目标波长的单光谱中像素点的辐亮度。The first calculation unit is used to calculate the radiance of the pixel in the single spectrum of the target wavelength according to the first fitting result.
可选地,在本申请的一个实施例中,仿真模块300还包括:第二导出单元、第二拟合单元和第二计算单元。Optionally, in one embodiment of the present application, the simulation module 300 further includes: a second derivation unit, a second fitting unit and a second calculation unit.
其中,第二导出单元,用于导出轴对称镜头一个半径方向上实际像高的相对亮度。Among them, the second derivation unit is used to derive the relative brightness of the actual image height in one radial direction of the axis-symmetric lens.
第二拟合单元,用于以实际像高作为自变量、相对亮度为因变量进行4阶多项式拟合,得到第二拟合结果。The second fitting unit is used to perform fourth-order polynomial fitting using the actual image height as the independent variable and relative brightness as the dependent variable to obtain the second fitting result.
第二计算单元,用于根据第二拟合结果计算目标波长的单光谱中像素点的照度。The second calculation unit is used to calculate the illumination of the pixel in the single spectrum of the target wavelength according to the second fitting result.
可选地,在本申请的一个实施例中,照度的计算公式为:Optionally, in one embodiment of the present application, the calculation formula of illumination is:
Figure PCTCN2022114994-appb-000013
Figure PCTCN2022114994-appb-000013
其中,(i,j)表示像素点在直角坐标系下的坐标,ρ(i,j)表示该点在极坐标系下的半径,L (i,j)表示畸变光谱在(i,j)点的辐亮度,T λ表示波长λ的透过率,f/#是镜头的f number,m λ表示镜头在波长λ下的放大倍数,R λ(ρ)表示4阶多项式拟合。 Among them, (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system, ρ(i,j) represents the radius of the point in the polar coordinate system, and L (i,j) represents the distortion spectrum in (i, j) The radiance of point, T λ represents the transmittance of wavelength λ, f/# is the f number of the lens, m λ represents the magnification of the lens at wavelength λ, and R λ (ρ) represents the fourth-order polynomial fitting.
可选地,在本申请的一个实施例中,仿真模块300还包括:第三导出单元、处理单元和仿真单元。Optionally, in one embodiment of the present application, the simulation module 300 further includes: a third derivation unit, a processing unit and a simulation unit.
其中,第三导出单元,用于导出像面上目标波长的离散点的点扩散函数或者一个半径上的点扩散函数。Among them, the third derivation unit is used to derive the point spread function of discrete points of the target wavelength on the image surface or the point spread function on a radius.
处理单元,用于将多光谱场景中的所有点经点扩散函数作用后在同一位置的散落点作为像面上的一个子图。The processing unit is used to convert all points in the multispectral scene into scattered points at the same position after being acted upon by the point spread function as a sub-image on the image surface.
仿真单元,用于逐个计算每个子图中每个像素点的像面照度,得到目标波长的光线在像面上的像。The simulation unit is used to calculate the image plane illumination of each pixel in each sub-image one by one to obtain the image of the target wavelength of light on the image plane.
需要说明的是,前述对轴对称光学成像并行仿真方法实施例的解释说明也适用于该实施例的轴对称光学成像并行仿真装置,此处不再赘述。It should be noted that the foregoing explanation of the embodiment of the axisymmetric optical imaging parallel simulation method is also applicable to the axisymmetric optical imaging parallel simulation device of this embodiment, and will not be described again here.
根据本申请实施例提出的轴对称光学成像并行仿真装置,可以根据多光谱场景的多光谱数据得到相机的光线的辐亮度在不同波长下的分布,并利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,从而得到每个波长下的光谱在像面上的照度,使得与实际拍摄产生的像更加接近,尤其是算法本身具有高度并行性,便于CPU多线程和GPU加速实现,进而有效的提升了成像的准确性和效率,有效满足仿真需求。According to the axially symmetric optical imaging parallel simulation device proposed in the embodiment of the present application, the distribution of the radiance of the camera's light at different wavelengths can be obtained based on the multispectral data of the multispectral scene, and the radiance, illumination and/or The image simulates the image on the image plane based on the effect of the axially symmetric lens on the light, thereby obtaining the illumination of the spectrum at each wavelength on the image plane, making it closer to the image produced by actual shooting, especially since the algorithm itself is highly parallel. It facilitates the implementation of CPU multi-threading and GPU acceleration, thereby effectively improving the accuracy and efficiency of imaging and effectively meeting simulation needs.
图8为本申请实施例提供的电子设备的结构示意图。该电子设备可以包括:FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device may include:
存储器801、处理器802及存储在存储器801上并可在处理器802上运行的计算机程序。 Memory 801, processor 802, and a computer program stored on memory 801 and executable on processor 802.
处理器802执行程序时实现上述实施例中提供的轴对称光学成像并行仿真方法。When the processor 802 executes the program, it implements the axially symmetric optical imaging parallel simulation method provided in the above embodiment.
进一步地,电子设备还包括:Furthermore, electronic equipment also includes:
通信接口803,用于存储器801和处理器802之间的通信。 Communication interface 803 is used for communication between the memory 801 and the processor 802.
存储器801,用于存放可在处理器802上运行的计算机程序。 Memory 801 is used to store computer programs that can run on the processor 802.
存储器801可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 801 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
如果存储器801、处理器802和通信接口803独立实现,则通信接口803、存储器801和处理器802可以通过总线相互连接并完成相互间的通信。总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。If the memory 801, the processor 802 and the communication interface 803 are implemented independently, the communication interface 803, the memory 801 and the processor 802 can be connected to each other through a bus and complete communication with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 8, but it does not mean that there is only one bus or one type of bus.
可选的,在具体实现上,如果存储器801、处理器802及通信接口803,集成在一块芯片上实现,则存储器801、处理器802及通信接口803可以通过内部接口完成相互间的通信。Optionally, in terms of specific implementation, if the memory 801, the processor 802 and the communication interface 803 are integrated on one chip, the memory 801, the processor 802 and the communication interface 803 can communicate with each other through the internal interface.
处理器802可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 802 may be a central processing unit (Central Processing Unit, CPU for short), or an Application Specific Integrated Circuit (ASIC for short), or one or more processors configured to implement the embodiments of the present application. integrated circuit.
本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上的轴对称光学成像并行仿真方法。This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above parallel simulation method of axially symmetric optical imaging is implemented.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或N个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, reference to the terms "one embodiment," "some embodiments," "an example," "specific examples," or "some examples" or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“N个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms “first” and “second” are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically limited.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更N个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分, 并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments, or portions of code that include one or more executable instructions for implementing customized logical functions or steps of the process. , and the scope of the preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in a substantially simultaneous manner or in the reverse order, depending on the functionality involved, which shall It should be understood by those skilled in the technical field to which the embodiments of this application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或N个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered a sequenced list of executable instructions for implementing the logical functions, and may be embodied in any computer-readable medium, For use by, or in combination with, instruction execution systems, devices or devices (such as computer-based systems, systems including processors or other systems that can fetch instructions from and execute instructions from the instruction execution system, device or device) or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or N wires (electronic device), portable computer disk cartridges (magnetic device), random access memory (RAM), Read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, and subsequently edited, interpreted, or otherwise suitable as necessary. process to obtain the program electronically and then store it in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,N个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present application can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if it is implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: discrete logic gate circuits with logic functions for implementing data signals; Logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps involved in implementing the methods of the above embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium. The program can be stored in a computer-readable storage medium. When executed, one of the steps of the method embodiment or a combination thereof is included.
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in various embodiments of the present application can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制, 本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The storage media mentioned above can be read-only memory, magnetic disks or optical disks, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above-mentioned embodiments are illustrative and cannot be understood as limitations of the present application. Those of ordinary skill in the art can make modifications to the above-mentioned embodiments within the scope of the present application. The embodiments are subject to changes, modifications, substitutions and variations.

Claims (10)

  1. 一种轴对称光学成像并行仿真方法,其特征在于,包括以下步骤:A parallel simulation method for axially symmetric optical imaging, which is characterized by including the following steps:
    获取多光谱场景的多光谱数据;Obtain multispectral data of multispectral scenes;
    根据所述多光谱数据得到光线的辐亮度在不同波长下的分布;以及Obtain the distribution of the radiance of light at different wavelengths based on the multispectral data; and
    基于所述光线的辐亮度在不同波长下的分布,利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,得到每个波长下的光谱在像面上的照度。Based on the distribution of the radiance of the light at different wavelengths, the radiance, illumination and/or image of the target wavelength are used to simulate the image on the image surface according to the effect of the axially symmetric lens on the light, and the spectrum at each wavelength is obtained on the image. illumination on the surface.
  2. 根据权利要求1所述的方法,其特征在于,所述利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,包括:The method according to claim 1, characterized in that the use of the radiance, illumination and/or image of the target wavelength to simulate the image on the image plane according to the effect of the axially symmetrical lens on the light includes:
    导出所述轴对称镜头在目标波长下的放大倍数,一个半径方向上理想像高对应的实际像高;Derive the magnification of the axisymmetric lens at the target wavelength and the actual image height corresponding to the ideal image height in a radial direction;
    以所述理想像高作为自变量、所述实际像高为因变量进行9阶多项式拟合,得到第一拟合结果;Perform 9th order polynomial fitting with the ideal image height as the independent variable and the actual image height as the dependent variable to obtain the first fitting result;
    根据所述第一拟合结果计算所述目标波长的单光谱中像素点的辐亮度。Calculate the radiance of the pixel in the single spectrum of the target wavelength according to the first fitting result.
  3. 根据权利要求1所述的方法,其特征在于,所述利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,包括:The method according to claim 1, characterized in that the use of the radiance, illumination and/or image of the target wavelength to simulate the image on the image plane according to the effect of the axially symmetrical lens on the light includes:
    导出所述轴对称镜头一个半径方向上实际像高的相对亮度;Derive the relative brightness of the actual image height in one radial direction of the axisymmetric lens;
    以所述实际像高作为自变量、所述相对亮度为因变量进行4阶多项式拟合,得到第二拟合结果;Perform fourth-order polynomial fitting with the actual image height as the independent variable and the relative brightness as the dependent variable to obtain a second fitting result;
    根据所述第二拟合结果计算目标波长的单光谱中像素点的照度。Calculate the illumination of the pixel in a single spectrum of the target wavelength according to the second fitting result.
  4. 根据权利要求3所述的方法,其特征在于,所述照度的计算公式为:The method according to claim 3, characterized in that the calculation formula of the illumination is:
    Figure PCTCN2022114994-appb-100001
    Figure PCTCN2022114994-appb-100001
    其中,(i,j)表示像素点在直角坐标系下的坐标,ρ(i,j)表示该点在极坐标系下的半径,L (i,j)表示畸变光谱在(i,j)点的辐亮度,T λ表示波长λ的透过率,f/#是镜头的fnumber,m λ表示镜头在波长λ下的放大倍数,R λ(ρ)表示4阶多项式拟合。 Among them, (i,j) represents the coordinates of the pixel point in the Cartesian coordinate system, ρ(i,j) represents the radius of the point in the polar coordinate system, and L (i,j) represents the distortion spectrum in (i, j) The radiance of point, T λ represents the transmittance of wavelength λ, f/# is the fnumber of the lens, m λ represents the magnification of the lens at wavelength λ, and R λ (ρ) represents the fourth-order polynomial fitting.
  5. 根据权利要求1所述的方法,其特征在于,所述利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,包括:The method according to claim 1, characterized in that the use of the radiance, illumination and/or image of the target wavelength to simulate the image on the image plane according to the effect of the axially symmetrical lens on the light includes:
    导出像面上所述目标波长的离散点的点扩散函数或者一个半径上的点扩散函数;Derive the point spread function of discrete points of the target wavelength on the image surface or the point spread function of a radius;
    将所述多光谱场景中的所有点经点扩散函数作用后在同一位置的散落点作为像面上的一个子图;The scattered points at the same position after all points in the multispectral scene are acted upon by the point spread function are used as a sub-image on the image surface;
    逐个计算每个子图中每个像素点的像面照度,得到所述目标波长的光线在像面上的像。Calculate the image plane illumination of each pixel point in each sub-image one by one to obtain the image of the light of the target wavelength on the image plane.
  6. 一种轴对称光学成像并行仿真装置,其特征在于,包括:An axisymmetric optical imaging parallel simulation device, which is characterized by including:
    获取模块,用于获取多光谱场景的多光谱数据;The acquisition module is used to acquire multispectral data of multispectral scenes;
    处理模块,用于根据所述多光谱数据得到光线的辐亮度在不同波长下的分布;以及A processing module configured to obtain the distribution of the radiance of light at different wavelengths based on the multispectral data; and
    仿真模块,用于基于所述光线的辐亮度在不同波长下的分布,利用目标波长的辐亮度、照度和/或像根据轴对称镜头对光线的作用仿真像面上的像,得到每个波长下的光谱在像面上的照度。A simulation module for simulating the image on the image plane based on the distribution of the radiance of the light at different wavelengths, using the radiance, illuminance and/or image of the target wavelength according to the effect of the axially symmetric lens on the light, to obtain each wavelength The illumination of the spectrum below on the image plane.
  7. 根据权利要求6所述的装置,其特征在于,所述仿真模块包括:The device according to claim 6, characterized in that the simulation module includes:
    第一导出单元,用于导出所述轴对称镜头在目标波长下的放大倍数,一个半径方向上理想像高对应的实际像高;The first derivation unit is used to derive the magnification of the axisymmetric lens at the target wavelength and the actual image height corresponding to the ideal image height in a radial direction;
    第一拟合单元,用于以所述理想像高作为自变量、所述实际像高为因变量进行9阶多项式拟合,得到第一拟合结果;The first fitting unit is used to perform 9th order polynomial fitting with the ideal image height as the independent variable and the actual image height as the dependent variable to obtain the first fitting result;
    第一计算单元,用于根据所述第一拟合结果计算所述目标波长的单光谱中像素点的辐亮度。A first calculation unit configured to calculate the radiance of pixels in a single spectrum of the target wavelength according to the first fitting result.
  8. 根据权利要求6所述的装置,其特征在于,所述仿真模块还包括:The device according to claim 6, characterized in that the simulation module further includes:
    第二导出单元,用于导出所述轴对称镜头一个半径方向上实际像高的相对亮度;The second derivation unit is used to derive the relative brightness of the actual image height in one radial direction of the axisymmetric lens;
    第二拟合单元,用于以所述实际像高作为自变量、所述相对亮度为因变量进行4阶多项式拟合,得到第二拟合结果;The second fitting unit is used to perform fourth-order polynomial fitting using the actual image height as the independent variable and the relative brightness as the dependent variable to obtain a second fitting result;
    第二计算单元,用于根据所述第二拟合结果计算目标波长的单光谱中像素点的照度。The second calculation unit is used to calculate the illumination of the pixel in a single spectrum of the target wavelength according to the second fitting result.
  9. 一种电子设备,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序,以实现如权利要求1-5任一项所述的轴对称光学成像并行仿真方法。An electronic device, characterized in that it includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the program to implement the method of claim 1 -Axisymmetric optical imaging parallel simulation method according to any one of 5.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行,以用于实现如权利要求1-5任一项所述的轴对称光学成像并行仿真方法。A computer-readable storage medium with a computer program stored thereon, characterized in that the program is executed by a processor to implement the parallel simulation method of axially symmetric optical imaging according to any one of claims 1-5.
PCT/CN2022/114994 2022-05-26 2022-08-26 Axisymmetric optical imaging parallel simulation method and apparatus WO2023226218A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210589502.7A CN114820581B (en) 2022-05-26 2022-05-26 Axisymmetric optical imaging parallel simulation method and device
CN202210589502.7 2022-05-26

Publications (1)

Publication Number Publication Date
WO2023226218A1 true WO2023226218A1 (en) 2023-11-30

Family

ID=82519283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/114994 WO2023226218A1 (en) 2022-05-26 2022-08-26 Axisymmetric optical imaging parallel simulation method and apparatus

Country Status (2)

Country Link
CN (1) CN114820581B (en)
WO (1) WO2023226218A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114820581B (en) * 2022-05-26 2023-03-24 清华大学 Axisymmetric optical imaging parallel simulation method and device
CN117744035B (en) * 2024-02-20 2024-04-26 上海诺睿科半导体设备有限公司 Multispectral optical key dimension acquisition method, multispectral optical key dimension acquisition equipment and multispectral optical key dimension acquisition medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646175A (en) * 2013-12-06 2014-03-19 西安电子科技大学 Computing method for spectral radiance of target
CN107092752A (en) * 2017-04-24 2017-08-25 北京理工大学 A kind of optical camera simulation imaging method and system based on ray tracing
CN111563962A (en) * 2020-04-09 2020-08-21 中国科学院空天信息创新研究院 Remote sensing image simulation method based on geometric radiation integrated sampling
US20210329154A1 (en) * 2020-04-15 2021-10-21 Labsphere, Inc. Systems and methods for determining a minimum resolvable distance of an imaging system
CN114078153A (en) * 2021-11-18 2022-02-22 清华大学 Light field coding camera shooting method and device for scattering scene
CN114820581A (en) * 2022-05-26 2022-07-29 清华大学 Axisymmetric optical imaging parallel simulation method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7826685B2 (en) * 2006-12-01 2010-11-02 Harris Corporation Spatial and spectral calibration of a panchromatic, multispectral image pair
CN103745055B (en) * 2014-01-03 2017-09-08 西安电子科技大学 A kind of Space Object Visible imaging method based on spectrum BRDF
US10591353B2 (en) * 2016-04-21 2020-03-17 Arizona Board Of Regents On Behalf Of The University Of Arizona Synthetic imaging systems using algorithms or mathematical transformations simulate optical effects of optical components
CN106126839B (en) * 2016-06-29 2019-07-09 国家测绘地理信息局卫星测绘应用中心 A kind of three-linear array stereo mapping satellite imagery emulation mode and system
CN112161953B (en) * 2020-08-25 2022-05-13 西安电子科技大学 Wide-spectrum single-frame scattering imaging method based on scattering medium
CN113358220B (en) * 2021-05-28 2024-01-23 清华大学 Luminance measurement method and device based on single-pixel imaging

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646175A (en) * 2013-12-06 2014-03-19 西安电子科技大学 Computing method for spectral radiance of target
CN107092752A (en) * 2017-04-24 2017-08-25 北京理工大学 A kind of optical camera simulation imaging method and system based on ray tracing
CN111563962A (en) * 2020-04-09 2020-08-21 中国科学院空天信息创新研究院 Remote sensing image simulation method based on geometric radiation integrated sampling
US20210329154A1 (en) * 2020-04-15 2021-10-21 Labsphere, Inc. Systems and methods for determining a minimum resolvable distance of an imaging system
CN114078153A (en) * 2021-11-18 2022-02-22 清华大学 Light field coding camera shooting method and device for scattering scene
CN114820581A (en) * 2022-05-26 2022-07-29 清华大学 Axisymmetric optical imaging parallel simulation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIAO WANG, GAO SI-LI; LI FAN-MING: "Infrared imaging modeling and simulation of aerial target based on BRDF", JOURNAL OF INFRARED AND MILLIMETER WAVES, vol. 38, no. 2, 15 April 2019 (2019-04-15), pages 182 - 187, XP093111666 *

Also Published As

Publication number Publication date
CN114820581B (en) 2023-03-24
CN114820581A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
US10861133B1 (en) Super-resolution video reconstruction method, device, apparatus and computer-readable storage medium
WO2023226218A1 (en) Axisymmetric optical imaging parallel simulation method and apparatus
CN110428366B (en) Image processing method and device, electronic equipment and computer readable storage medium
ES2863368T3 (en) Image processing method, storage medium and electronic apparatus
US20180082454A1 (en) Color normalization for a multi-camera system
US10726580B2 (en) Method and device for calibration
KR101017802B1 (en) Image distortion correction
CN111353948B (en) Image noise reduction method, device and equipment
WO2020010945A1 (en) Image processing method and apparatus, electronic device and computer-readable storage medium
US10254529B2 (en) Method and apparatus for calibrating image sensor array in microscopic imaging system
US8923652B2 (en) Methods and apparatus for registering and warping image stacks
JP2019514116A (en) Efficient canvas view generation from intermediate views
CN112241933A (en) Face image processing method and device, storage medium and electronic equipment
US20150125091A1 (en) System, method, and computer program product for performing fast, non-rigid registration for high dynamic range image stacks
US11538175B2 (en) Method and apparatus for detecting subject, electronic device, and computer readable storage medium
WO2023024697A1 (en) Image stitching method and electronic device
JP2010009417A (en) Image processing apparatus, image processing method, program and recording medium
CN111199518B (en) Image presentation method, device and equipment of VR equipment and computer storage medium
CN109255760A (en) Distorted image correction method and device
WO2018129692A1 (en) Image refocusing
WO2019029573A1 (en) Image blurring method, computer-readable storage medium and computer device
CN112801904A (en) Hybrid degraded image enhancement method based on convolutional neural network
CN106296608A (en) A kind of fish eye images processing method based on mapping table and system
JP2021189527A (en) Information processing device, information processing method, and program
JP6213466B2 (en) Image processing apparatus, image processing method, and image processing program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22943408

Country of ref document: EP

Kind code of ref document: A1