Automatic conversion method of dynamic point spread function

Through the combination of optical analysis software and MPI, the multi-node parallel computing method is used to achieve rapid conversion from static PSF to dynamic PSF, solving the problem of low fuzzy characteristic description efficiency in dynamic scenarios in the imaging system, and improving the computing and analysis speed.

CN119291927AActive Publication Date: 2025-01-10CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411808167.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-01-10
Estimated Expiration
2044-12-10

AI Technical Summary

Technical Problem

In an imaging system, the conversion process of static point diffusion function to dynamic point diffusion function involves a large amount of data processing and calculation, especially in complex dynamic scenarios. The conversion process is time-consuming and repetitive, making it difficult to complete efficiently.

Method used

Optical analysis software is combined with MPI, and through multi-node parallel computing method, optical system model is constructed, lens data is recorded and preprocessed, static PSF is allocated and calculated, and dynamic PSF is summarized. Convolution operation is used to realize static PSF to dynamic PSF. Conversion.

Benefits of technology

It significantly improves the computing and analysis speed, realizes the rapid conversion of static PSF to dynamic PSF, and improves the fuzzy characteristic description efficiency of the imaging system in dynamic scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119291927A_ABST
    Figure CN119291927A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of general parallel computing, in particular to an automatic conversion method of a dynamic point spread function, which comprises the following steps of: firstly, constructing an optical system model by utilizing optical analysis software according to an optical lens, and generating a static model of the optical system model by utilizing the optical analysis software; recording a group of dynamic information of the optical lens at different sampling moments; preprocessing each group of dynamic information to obtain a lens data group; all lens data groups obtained by utilizing the MPI are distributed to corresponding nodes, and a corresponding static PSF is calculated in each node according to the generated static model; the MPI is used for collecting all static PSFs; all the static PSFs are imported into optical analysis software, and the dynamic PSF of the optical system model is obtained. According to the method, the optical analysis software is combined with the MPI, the dynamic PSF is quickly calculated by a multi-node parallel method, and the calculation and analysis speed is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of general parallel computing, and in particular relates to an automatic conversion method of a dynamic point spread function. Background Art

[0002] In an imaging system, the PSF (Point Spread Function) describes the diffusion of a point light source on the imaging plane after passing through the optical system. The static PSF is defined under the assumption that the imaging system and the scene are stationary. It describes how the imaging system images a point light source as a blurred spot under fixed conditions. The static PSF is the spatial distribution characteristic of the system response, reflecting the response characteristics of the imaging system to the point light source under ideal conditions (i.e., no motion and fixed optical system parameters). However, in practical applications, the imaging system or the objects in the scene are usually not stationary. Dynamic factors such as camera movement, object movement, focal length change, scene illumination change, etc. will cause image blur. This blur is not only related to spatial position, but also to dynamic parameters such as time and speed. The dynamic PSF expands the concept of the static PSF and introduces dynamic variables such as time and motion. That is, the dynamic PSF refers to the description of the blur characteristics of the imaging system imaging a point light source in a dynamic scene as it changes with time or scene.

[0003] Compared with the static PSF, the dynamic PSF not only takes into account the spatial characteristics of the optical system (such as blur under fixed conditions), but also takes into account the blur changes caused by time-varying factors in dynamic scenes (dynamic factors such as vibration, focal length change, and illumination change). The process of converting the static PSF to the dynamic PSF involves a lot of data processing and calculation. Especially in complex dynamic scenes, this conversion may involve highly repetitive work and is very time-consuming. Summary of the invention

[0004] In view of this, the present invention aims to provide an automated conversion method for a dynamic point spread function, which combines optical analysis software with MPI (Multi Point Interface) to quickly calculate the dynamic PSF of an optical system corresponding to an optical lens in a multi-node parallel manner, thereby improving the speed of calculation and analysis.

[0005] To achieve the above object, the technical solution created by the present invention is implemented as follows: An automatic conversion method of a dynamic point spread function comprises the following steps: S1: construct an optical system model according to the optical lens using optical analysis software, and generate a static model of the optical system model using the optical analysis software; S2: Record a set of dynamic information of the optical lens at different sampling times; pre-process each set of dynamic information to obtain a lens data set; S3: using MPI to distribute all the lens data groups obtained in step S2 to corresponding nodes, and calculating the corresponding static PSF in each node according to the static model in step S1; using MPI to collect all static PSFs; S4: Import all static PSFs into the optical analysis software to obtain the dynamic PSF of the optical system model.

[0006] Furthermore, in step S1, relevant parameters for PSF calculation are set in the optical analysis software, and the PSF calculation function of the optical analysis software is used to generate a static model of the optical system model according to the relevant parameters.

[0007] Further, in step S2, the number of lens data groups is greater than the number of dynamic information groups; the preprocessing is to import these dynamic information data into the optical analysis software to obtain the lens data groups.

[0008] Further, step S3 includes the following steps: S31: Initialize the MPI environment of MPI; S32: specifies the total number of nodes in the communication domain; S33: allocating all lens data groups to each node evenly according to the total number of nodes, and calculating the corresponding static PSF in each node; S34: Use the MPI aggregation result to summarize the static PSF in each node; S35: End the MPI environment.

[0009] Further, in step S4, the optical analysis software calculates the dynamic PSF by the following formula: ; in, represents the dynamic PSF at time t, Represents an array of all static PSFs. represents the time-varying function, Represents a convolution operation.

[0010] Compared with the prior art, the invention can achieve the following beneficial effects: In the automatic conversion method of the dynamic point spread function created by the present invention, the static data of the optical lens is imported into the optical analysis software to generate a static model of the optical system, and the static PSF corresponding to the optical lens at different times is calculated in parallel by using MPI multi-nodes, which significantly improves the calculation and analysis speed; finally, the static PSF corresponding to different times is summarized and combined with the time variation function to obtain the dynamic PSF, thereby realizing the conversion of the static PSF to the dynamic PSF. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The drawings constituting part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments and descriptions of the present invention are used to explain the present invention and do not constitute an improper limitation on the present invention. In the drawings: Figure 1 A schematic flow chart of an automatic conversion method of a dynamic point spread function according to an embodiment of the present invention. DETAILED DESCRIPTION

[0012] In order to make the purpose, technical solution and advantages of the invention more clear, the invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the invention and do not constitute a limitation of the invention.

[0013] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0014] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0015] In the description of the invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the invention can be understood according to specific circumstances.

[0016] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0017] like Figure 1 As shown, the automatic conversion method of the dynamic point spread function described in the embodiment of the present invention comprises the following steps: S1: Use optical analysis software to construct an optical system model according to the optical lens, and use the optical analysis software to generate a static model of the optical system model. In step S1, set the relevant parameters of PSF calculation in the optical analysis software, the relevant parameters of PSF calculation include calculation area size, sampling rate, wavelength range, etc., use the PSF calculation function of the optical analysis software, and generate a static model of the optical system model according to the relevant parameters.

[0018] Table 1:

[0019] Among them, the optical parameters of the optical lens include light source, field of view angle, lens material and curvature, etc., and in the embodiment of the present invention, specifically include the surface structure, curvature, lens glass type, thickness, refraction type, aperture, and eccentricity type information of each surface of the optical lens, as shown in Table 1, where 1, 2, 3, 4, 5, and 6 represent the numbers of each surface in the optical lens.

[0020] Table 2 shows the field of view information of the light source in the constructed optical system model, including field of view type (object angle), field of view angle, and vignetting data.

[0021] Table 2:

[0022] S2: Record a set of dynamic information of the optical lens at different sampling times; pre-process each set of dynamic information to obtain a lens data set, and the number of lens data sets is greater than the number of dynamic information sets; the pre-processing is to import these dynamic information data into the optical analysis software to obtain the lens data set.

[0023] In practical applications, the objects in the imaging system or scene are usually not static. Dynamic factors such as camera movement, object movement, focal length change, scene illumination change, etc. will cause image blur. This blur is not only related to spatial position, but also to dynamic parameters such as time and speed. Therefore, it is necessary to collect a set of dynamic information of the lens over a period of time. In an embodiment of the present invention, the state of the optical lens is observed for 24 hours, and the dynamic information of the current optical lens is recorded every 1 second: including focal length, light source, field of view, lens material and curvature, etc. Based on the optical lens data in Table 1, preprocessing is performed according to different change parameters to obtain 86,400 sets of lens data.

[0024] S3: Allocate all the lens data groups obtained in step S2 to corresponding nodes using MPI, calculate the corresponding static PSF in each node according to the static model in step S1; collect all static PSFs using MPI. Step S3 includes the following steps: S31: Initialize the MPI environment of MPI; S32: specifies the total number of nodes in the communication domain, where the communication domain is an important concept in MPI, used to manage and maintain communication between processes; the communication domain includes not only process groups, but also contexts and virtual processor topologies; each communication domain corresponds to a process group, and processes in the process group communicate through the communication domain; S33: allocating all lens data groups to each node evenly according to the total number of nodes, and calculating the corresponding static PSF in each node, that is, allocating 86400 lens data groups to each node evenly according to the total number of nodes to calculate the corresponding static PSF; S34: using MPI aggregation to aggregate the static PSFs in each node, that is, using the MPI aggregation result to aggregate all static PSF data in each node; MPI aggregation is a parallel computing mode in MPI, which is used to merge or aggregate data in multiple processes; S35: End the MPI environment.

[0025] S4: Import all static PSFs into the optical analysis software to obtain the dynamic PSF of the optical system model. In the embodiment of the present invention, in step S4, the 86400 sets of static PSF data obtained from each node are exported, summarized and imported into the optical analysis software for convolution operation, that is: ; in, represents the dynamic PSF at time t, Represents an array of all static PSFs. represents the time-varying function, Represents the convolution operation. The convolution operation is used in the above formula to show the combination of static PSF and time function.

[0026] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0027] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for automatic conversion of a dynamic point spread function, characterized in that: The following steps are involved: S1: constructing an optical system model according to an optical lens using optical analysis software, and generating a static model of the optical system model using the optical analysis software; S2: Record each set of dynamic information of the optical lens at different sampling moments; pre-process each set of dynamic information to obtain a lens data set; S3: using MPI to distribute all the lens data groups obtained in step S2 to corresponding nodes, and calculating the corresponding static PSF in each node according to the static model in step S1; using the MPI to collect all static PSFs; S4: Import all static PSFs into the optical analysis software to obtain the dynamic PSF of the optical system model.

2. The method for automatic conversion of a dynamic point spread function according to claim 1, characterized in that: In step S1, relevant parameters for PSF calculation are set in the optical analysis software, and the PSF calculation function of the optical analysis software is used to generate the static model according to the relevant parameters.

3. The method for automatic conversion of dynamic point spread function according to claim 1, characterized in that: In step S2, the number of the lens data groups is greater than the number of the dynamic information groups; the preprocessing is to import the dynamic information data into the optical analysis software to obtain the lens data groups.

4. The method for automatic conversion of dynamic point spread function according to claim 1, characterized in that: Step S3 includes the following steps: S31: Initialize the MPI environment of the MPI; S32: specifies the total number of nodes in the communication domain; S33: allocating all lens data groups to each node evenly according to the total number of nodes, and calculating the corresponding static PSF in each node; S34: Use MPI aggregation to aggregate the static PSFs in each node; S35: End the MPI environment.

5. The method for automatic conversion of dynamic point spread function according to claim 1, characterized in that: In step S4, the optical analysis software calculates the dynamic PSF by the following formula: ; in, represents the dynamic PSF at time t, Represents an array of all static PSFs. represents the time-varying function, Represents a convolution operation.

Citation Information

Patent Citations

  • Image blind convolution method based on adaptive optical system point spread function reconstruction

    CN103761712A

  • Optical transfer function detection method and system

    CN109540473A

  • Full-link dynamic image quality numerical simulation system and method for aerospace camera optical system

    CN110598344A

  • Simulation method for imaging full link of optical remote sensing camera

    CN110990987A

  • Multi-node heterogeneous parallel acceleration method

    CN118363763A