Imaging method, imaging device, optical imaging system and vehicle
The spatial light modulator determines the modulation parameters based on the distortion of the training image and the target image, and controls the electrical signal modulation. This solves the image distortion problem caused by the off-axis screen configuration in the optical imaging system, reduces the time delay and cost, and improves the practicality of the system. sex.
Patent Information
- Application Number
- CN202111540387.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-15
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-05-15
AI Technical Summary
When the screen and the optical imaging system are configured off-axis in the existing optical imaging system, the image display quality is damaged, and the existing compensation processing method increases the imaging delay and processing cost.
Using a spatial light modulator, by obtaining the distortion image of the training image and the modulation parameters of the target image, the spatial light modulator is controlled to modulate the electrical signal to be imaged, reducing image distortion and avoiding the increase in time delay and cost caused by electrical domain compensation processing. .
It effectively reduces image distortion, reduces imaging delay and processing costs, is suitable for scenarios where the screen is configured off-axis relative to the optical imaging system, and improves the practicality and reliability of the system.
Smart Images

Figure CN114415369B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing, and more specifically, to an imaging method, an imaging device, an optical imaging system and a vehicle. Background Art
[0002] At present, an optical imaging system is known, which processes the image to be imaged in the electrical domain through a device such as an image processing unit to generate an electrical signal, processes the electrical signal through an optical modulator to generate a light beam of the image, and emits it through one or more lenses. The light beam is reflected by the screen and enters the human eye, so that the human eye observes the image.
[0003] This technology is widely used in, for example, Heads Up Display (HUD) or Augmented Reality (AR) HUD, that is, the windshield of a vehicle or airplane is used as the above-mentioned screen to reflect the image to the driver's eyes.
[0004] However, in the prior art, if the screen (eg, the windshield) is configured off-axis from the optical imaging system, the image reflected from the screen to the human eye will be distorted, thereby limiting the display quality of the image to a great extent.
[0005] Currently, a technology is known that reduces the image distortion observed by human eyes by performing compensation processing on an image in the electrical domain.
[0006] However, this existing technology requires compensation processing for each image. When, for example, the image pixels are high or the video frame rate is high, the delay of the compensation processing is greatly increased, thereby increasing the imaging delay, and the performance requirements of the image processing unit are high, thereby increasing the processing cost. Summary of the invention
[0007] The present application provides an imaging method, an imaging device, an optical imaging system and a vehicle, which can reduce imaging delay and lower processing costs.
[0008] In a first aspect, an imaging method is provided, characterized in that it is applied to an optical imaging system, the system comprising a spatial light modulator and at least one lens, the spatial light modulator is used to modulate an electrical signal of an image to generate an imaging light beam of the image, the imaging light beam is emitted to a human eye through the lens and a screen, wherein the screen is configured off-axis relative to the optical imaging system, and the method comprises:
[0009] Acquire a first modulation parameter, where the first modulation parameter is determined based on a first distorted image and a first target image, where the first distorted image is an image of a training image after imaging processing by the optical imaging system and the screen, and the first target image is an image of the training image, and the distortion of the first target image is within a preset range; and control the spatial light modulator to modulate the electrical signal of the first image to be imaged based on the first modulation parameter.
[0010] Specifically, the first distorted image is an image presented by the electric signal of the training image being modulated based on the original modulation parameters and reflected by the screen.
[0011] The first target image is an image that the human eye is expected to observe when the light beam of the image passes through the screen.
[0012] In one implementation, the image of the first target image is determined based on the image of the first distorted image. For example, the image of the first target image includes a pixel area in the image of the first distorted image whose distortion degree is within a preset range.
[0013] According to the scheme of the present application, by determining the first modulation parameter of the spatial light modulator based on the distorted image and the image expected to be presented, and modulating the electrical signal of the image to be presented according to the first modulation parameter, it is possible to reduce the distortion of the image to be presented while avoiding the large imaging delay caused by compensating the image in the electrical domain, and it is possible to reduce the processing cost increased by compensating the image in the electrical domain.
[0014] Wherein, the screen is configured off-axis relative to the optical imaging system (eg, the at least one lens).
[0015] Since large distortion occurs when the screen is configured off-axis relative to the optical imaging system, the solution according to the present application can be applied to the scenario where the screen is configured off-axis relative to the optical imaging system.
[0016] In one implementation, the method is performed by a processor in an optical imaging system.
[0017] In another implementation, the method is performed by a spatial light modulator in an optical imaging system.
[0018] In another implementation, the method is performed by a control module in a spatial light modulator.
[0019] Optionally, obtaining the first modulation parameters includes: controlling the spatial light modulator to modulate the electrical signal of the training image based on the original modulation parameters to obtain the first distorted image; adjusting the original modulation parameters so that the deviation between the first distorted image and the first target image is within a preset range; and determining the adjusted original modulation parameters as the first modulation parameters.
[0020] By completing the determination process of the first modulation parameter by a module in the optical imaging system, online processing can be achieved, thereby being able to cope with applications in various environments and improving practicality and reliability.
[0021] Optionally, the acquiring the first parameter includes: sending the first distorted image to a server; and acquiring the first modulation parameter from the server.
[0022] Optionally, the method further comprises sending the training image to the server.
[0023] By having a third-party server complete the process of determining the first modulation parameter, the burden on equipment caused by determining the first parameter can be reduced, and the imaging delay caused by determining the first modulation parameter online can be reduced.
[0024] Optionally, the method further includes: obtaining a first correspondence between K modulation parameters including the first modulation parameter and K image parameters, wherein the kth modulation parameter is determined based on a distorted image and a target image of a training image having the kth image parameter, and the kth modulation parameter corresponds to the kth image parameter, K≥2, k∈[1,K]; and obtaining the first modulation parameter includes: determining, based on the first correspondence, a modulation parameter corresponding to the image parameter of the first image as the first modulation parameter
[0025] Among them, the values of any two modulation parameters among the K modulation parameters are different, and the values of any two image parameters among the K image parameters are different.
[0026] In other words, the method also includes: obtaining a first correspondence between multiple modulation parameters including the first modulation parameter and multiple image parameters, wherein each modulation parameter is determined based on a distorted image and a target image of a training image having image parameters corresponding to the modulation parameter; and obtaining the first modulation parameter includes: determining the modulation parameter corresponding to the image parameter of the first image as the first modulation parameter based on the first correspondence.
[0027] Specifically, for example, when the modulation parameters include Zernike coefficients, different values of any two modulation parameters among the K modulation parameters can be understood as different values of the Zernike coefficients.
[0028] When each modulation parameter is a parameter group including multiple parameters, different values of any two modulation parameters among the K modulation parameters can be understood as different values of at least one parameter among the parameters included in the two modulation parameter groups.
[0029] For example, when the image parameter includes the image size, the values of the image size in any two image parameters among the K image parameters are different.
[0030] When each image parameter is a parameter group including multiple parameters, different values of any two image parameters among the K image parameters can be understood as different values of at least one parameter among the parameters included in the two image parameter groups.
[0031] Since the distortions generated by images with different image parameters may be different, the present application can flexibly respond to the imaging requirements of images with different image parameters, further improving the practicality of the present application.
[0032] Optionally, the image parameters include at least one of the following parameters: image size, image color, image shape, and image resolution.
[0033] Optionally, the method further includes: obtaining a second correspondence between M modulation parameters including the first modulation parameter and M position parameters, the position parameter being used to indicate a positional relationship between a human eye and the screen, wherein the mth modulation parameter is determined based on a distorted image and a target image of the training image at the mth position parameter, the mth modulation parameter corresponds to the mth position parameter, any two modulation parameters in the M modulation parameters have different values, and any two position parameters in the M position parameters have different values; and obtaining the first modulation parameter includes: determining, based on the second correspondence, the modulation parameter corresponding to the position parameter of the first image as the first modulation parameter
[0034] In other words, the method also includes: obtaining a second correspondence between multiple modulation parameters including the first modulation parameter and multiple position parameters, the position parameter is used to indicate the relative position between the human eye and the screen when observing the image, wherein each modulation parameter is determined based on the distorted image and the target image of the training image having the position parameter corresponding to the modulation parameter; and obtaining the first modulation parameter includes: according to the second correspondence, determining the modulation parameter corresponding to the position parameter of the first image as the first modulation parameter.
[0035] Since the distortion observed when observing an image at different positions may be different, the present application can flexibly respond to the needs of observing images at different positions, further improving the practicality of the present application.
[0036] Optionally, the position parameters include at least one of the following parameters: the distance between the human eye and the incident point of the light beam on the screen, the position of the projection of the human eye on the screen in the horizontal direction of the screen, and the position of the projection of the human eye on the screen in the vertical direction of the screen.
[0037] For example, when the position parameter includes the distance between the human eye and the incident point of the light beam on the screen, the values of the distance between the human eye and the incident point of the light beam on the screen in any two position parameters among the M position parameters are different.
[0038] When each position parameter is a parameter group including multiple parameters, different values of any two position parameters among the M position parameters can be understood as different values of at least one parameter among the parameters included in the two position parameter groups.
[0039] Optionally, the method further includes: obtaining a third correspondence between N modulation parameters including the first modulation parameter and N screen parameters, wherein the nth modulation parameter is determined based on a distorted image and a target image of the training image imaged through a screen having the nth screen parameter, the nth modulation parameter corresponds to the mth screen parameter, the values of any two modulation parameters among the N modulation parameters are different, and the values of any two screen parameters among the N screen parameters are different; and obtaining the first modulation parameter includes: determining the modulation parameter corresponding to the screen parameter of the first screen as the first modulation parameter according to the third correspondence, wherein the first screen is a screen used for imaging the first image.
[0040] In other words, the method also includes: obtaining a third correspondence between multiple modulation parameters including the first modulation parameter and multiple screen parameters, wherein each modulation parameter is determined based on a distorted image and a target image imaged through a screen having screen parameters corresponding to the modulation parameter; and obtaining the first modulation parameter includes: determining the modulation parameter corresponding to the screen parameter of the first screen as the first modulation parameter according to the third correspondence, wherein the first screen is a screen used for imaging the first image.
[0041] Since the distortions produced by screens with different screen parameters may be different, the present application can be flexibly applied in scenarios where screens with different screen parameters are used, thereby further improving the practicality of the present application.
[0042] Optionally, the screen parameters include at least one of the following parameters: screen shape, screen thickness, screen material, screen refractive index, and screen color.
[0043] For example, when the screen parameters include a screen shape, the screen shapes (or index values corresponding to the screen shapes) in any two position parameters of the N screen parameters are different.
[0044] When each screen parameter is a parameter group including multiple parameters, different values of any two screen parameters among the N screen parameters can be understood as different values of at least one parameter among the parameters included in the two screen parameter groups.
[0045] Optionally, the optical imaging system is configured in a vehicle, and the screen comprises a windshield of the vehicle.
[0046] In addition to vehicles, the optical imaging system is configured in various transportation tools having a windshield or other device that can serve as a screen, such as a train, an airplane, or a ship.
[0047] Furthermore, in addition to the windshield, the screen may be a device with a reflection or refraction function, such as a car window.
[0048] Optionally, the first modulation parameter comprises a Zernike coefficient.
[0049] In a second aspect, an imaging device is provided, comprising a processor, wherein the processor is coupled to a memory, the memory is used to store a computer program or instruction, and the processor is used to execute the computer program or instruction in the memory, so that the processor obtains a first modulation parameter, wherein the first modulation parameter is determined based on a first distorted image and a first target image, wherein the first distorted image is an image presented by a light beam produced by modulation of a training image by a spatial light modulator and reflected by at least one lens and a screen, the first target image is an image of the training image, and the distortion of the first target image is within a preset range, and the device is used to control the spatial light modulator to modulate an electrical signal of a first image to be imaged based on the first modulation parameter.
[0050] Specifically, the first distorted image is an image presented by the electric signal of the training image being modulated based on the original modulation parameters and reflected by the screen.
[0051] According to the scheme of the present application, by determining the first modulation parameter of the spatial light modulator based on the distorted image and the image expected to be presented, and modulating the electrical signal of the image to be presented according to the first modulation parameter, it is possible to reduce the distortion of the image to be presented while avoiding the large imaging delay caused by compensating the image in the electrical domain, and it is possible to reduce the processing cost increased by compensating the image in the electrical domain.
[0052] Wherein, the screen is configured off-axis relative to the optical imaging system (eg, the at least one lens).
[0053] Since large distortion occurs when the screen is configured off-axis relative to the optical imaging system, the solution according to the present application can be applied to the scenario where the screen is configured off-axis relative to the optical imaging system.
[0054] In one implementation, the processor is configured independently from a spatial light modulator in an optical imaging system.
[0055] In another implementation, the processor is configured in a spatial light modulator.
[0056] Optionally, the processor is also used to control the spatial light modulator to modulate the electrical signal of the training image based on original modulation parameters to obtain the first distorted image; adjust the original modulation parameters so that the deviation between the first distorted image and the first target image is within a preset range; and determine the adjusted original modulation parameters as the first modulation parameters.
[0057] This enables online processing, which can cope with applications in various environments and improve practicality and reliability.
[0058] Optionally, the device further includes: a transceiver, configured to send the training image and the first distorted image to a server, and to obtain the first modulation parameter from the server.
[0059] By having a third-party server complete the process of determining the first modulation parameter, the burden on equipment caused by determining the first parameter can be reduced, and the imaging delay caused by determining the first modulation parameter online can be reduced.
[0060] Optionally, the processor is also used to obtain a first correspondence between multiple modulation parameters including the first modulation parameter and multiple image parameters, wherein each modulation parameter is determined based on a distorted image and a target image of a training image having image parameters corresponding to the modulation parameter, and based on the first correspondence, the modulation parameter corresponding to the image parameter of the first image is determined as the first modulation parameter.
[0061] In other words, a first correspondence between K modulation parameters including the first modulation parameter and K image parameters is obtained, wherein the kth modulation parameter is determined based on a distorted image and a target image of a training image having the kth image parameter, the kth modulation parameter corresponds to the kth image parameter, K≥2, k∈[1,K], and the values of any two modulation parameters among the K modulation parameters are different, and the values of any two image parameters among the K image parameters are different.
[0062] Since the distortions generated by images with different image parameters may be different, the present application can flexibly respond to the imaging requirements of images with different image parameters, further improving the practicality of the present application.
[0063] Optionally, the image parameters include at least one of the following parameters: image size, image color, image shape, and image resolution.
[0064] Optionally, the processor is also used to obtain a second correspondence between multiple modulation parameters including the first modulation parameter and multiple position parameters, the position parameter is used to indicate the relative position between the human eye and the screen when observing the image, wherein each modulation parameter is determined based on the distorted image and target image of the training image having the position parameter corresponding to the modulation parameter; and based on the second correspondence, the modulation parameter corresponding to the position parameter of the first image is determined as the first modulation parameter.
[0065] In other words, the processor is also used to obtain a second correspondence between M modulation parameters including the first modulation parameter and M position parameters, the position parameter being used to indicate the positional relationship between the human eye and the screen, wherein the mth modulation parameter is determined based on the distorted image and the target image of the training image at the mth position parameter, the mth modulation parameter corresponds to the mth position parameter, the values of any two of the M modulation parameters are different, and the values of any two of the M position parameters are different.
[0066] Since the distortion observed when observing an image at different positions may be different, the present application can flexibly respond to the needs of observing images at different positions, further improving the practicality of the present application.
[0067] Optionally, the position parameters include at least one of the following parameters: the distance between the human eye and the incident point of the light beam on the screen, the position of the projection of the human eye on the screen in the horizontal direction of the screen, and the position of the projection of the human eye on the screen in the vertical direction of the screen.
[0068] Optionally, the processor is also used to obtain a third correspondence between multiple modulation parameters including the first modulation parameter and multiple screen parameters, wherein each modulation parameter is determined based on a distorted image and a target image imaged through a screen having screen parameters corresponding to the modulation parameter; and based on the third correspondence, the modulation parameters corresponding to the screen parameters of the first screen are determined as the first modulation parameters, wherein the first screen is a screen used for imaging the first image.
[0069] In other words, the processor is also used to obtain a third correspondence between N modulation parameters including the first modulation parameter and N screen parameters, wherein the nth modulation parameter is determined based on a distorted image and a target image of the training image imaged by a screen having the nth screen parameter, the nth modulation parameter corresponds to the mth screen parameter, the values of any two of the N modulation parameters are different, and the values of any two of the N screen parameters are different.
[0070] Since the distortions produced by screens with different screen parameters may be different, the present application can be flexibly applied in scenarios where screens with different screen parameters are used, thereby further improving the practicality of the present application.
[0071] Optionally, the screen parameters include at least one of the following parameters: screen shape, screen thickness, screen material, screen refractive index, and screen color.
[0072] Optionally, the first modulation parameter comprises a Zernike coefficient.
[0073] According to a third aspect, an optical imaging system is provided, comprising the processor of the second aspect and various implementations thereof, a spatial light modulator and at least one lens.
[0074] In a fourth aspect, an optical imaging system is provided, comprising: a device for modulating an electrical signal of a first image to be imaged based on a first modulation parameter to generate an imaging light beam of the first image, wherein the first modulation parameter is determined based on a first distorted image and a first target image, wherein the first distorted image is an image of a training image after imaging processing by the spatial light modulator and a screen, the first target image is an image of the training image, and the distortion of the first target image is within a preset range; and at least one lens for refracting the imaging light beam of the first image.
[0075] Optionally, the spatial light modulator is specifically used to modulate the electrical signal of the training image based on original modulation parameters to obtain the first distorted image; the optical imaging system also includes: a camera device, used to shoot the first distorted image; the spatial light modulator is also used to obtain the first distorted image from the camera device, and adjust the original modulation parameters so that the deviation between the first distorted image and the first target image is within a preset range, and the adjusted original modulation parameters are determined as the first modulation parameters.
[0076] Optionally, the optical imaging system further includes: a camera device, used for acquiring an image of the first distorted image; and a transceiver, used for sending the image of the first distorted image to a server, and for receiving the first modulation parameter from the server.
[0077] Optionally, the transceiver is further used to send the training image to the server.
[0078] Optionally, the spatial light modulator is used to obtain a first correspondence between K modulation parameters including the first modulation parameter and K image parameters, wherein the kth modulation parameter is determined based on a distorted image and a target image of a training image having the kth image parameter, the kth modulation parameter corresponds to the kth image parameter, K≥2, k∈[1,K], the values of any two of the K modulation parameters are different, the values of any two of the K image parameters are different, and based on the first correspondence, the modulation parameter corresponding to the image parameter of the first image is determined as the first modulation parameter.
[0079] In other words, the spatial light modulator is used to obtain a first correspondence between multiple modulation parameters including the first modulation parameter and multiple image parameters, wherein each modulation parameter is determined based on a distorted image and a target image of a training image having image parameters corresponding to the modulation parameter, and based on the first correspondence, the modulation parameter corresponding to the image parameter of the first image is determined as the first modulation parameter.
[0080] Optionally, the image parameters include at least one of the following parameters: image size, image color, image shape, and image resolution.
[0081] Optionally, the spatial light modulator is used to obtain a second correspondence between multiple modulation parameters including the first modulation parameter and multiple position parameters, the position parameter is used to indicate the relative position between the human eye and the screen when observing the image, wherein each modulation parameter is determined based on a distorted image and a target image of a training image having position parameters corresponding to the modulation parameter, and based on the second correspondence, the modulation parameter corresponding to the position parameter of the first image is determined as the first modulation parameter.
[0082] In other words, the spatial light modulator is used to obtain a second correspondence between M modulation parameters including the first modulation parameter and M position parameters, the position parameter is used to indicate the position relationship between the human eye and the screen, wherein the mth modulation parameter is determined based on the distorted image and the target image of the training image at the mth position parameter, the mth modulation parameter corresponds to the mth position parameter, the values of any two modulation parameters in the M modulation parameters are different, the values of any two position parameters in the M position parameters are different, and according to the second correspondence, the modulation parameter corresponding to the position parameter of the first image is determined as the first modulation parameter
[0083] Optionally, the distance between the human eye and the incident point of the light beam on the screen, the position of the projection of the human eye on the screen in the horizontal direction of the screen, and the position of the projection of the human eye on the screen in the vertical direction of the screen.
[0084] Optionally, the spatial light modulator is used to obtain a first correspondence between multiple modulation parameters including the first modulation parameter and multiple screen parameters, wherein each modulation parameter is determined based on a distorted image and a target image imaged through a screen having screen parameters corresponding to the modulation parameters, and based on the third correspondence, the modulation parameters corresponding to the screen parameters of the first screen are determined as the first modulation parameters, wherein the first screen is a screen used for imaging the first image.
[0085] In other words, the spatial light modulator is used to obtain a third correspondence between N modulation parameters including the first modulation parameter and N screen parameters, wherein the nth modulation parameter is determined based on a distorted image and a target image of the training image imaged by a screen having the nth screen parameter, the nth modulation parameter corresponds to the mth screen parameter, the values of any two of the N modulation parameters are different, the values of any two of the N screen parameters are different, and based on the third correspondence, the modulation parameter corresponding to the screen parameter of the first screen is determined as the first modulation parameter, wherein the first screen is a screen used for imaging the first image.
[0086] Optionally, the screen parameters include at least one of the following parameters: screen shape, screen thickness, screen material, screen refractive index, and screen color.
[0087] Optionally, the first modulation parameter comprises a Zernike coefficient.
[0088] In a fifth aspect, a means of transport (eg, a vehicle) is provided, comprising the optical imaging system of the third aspect and various implementations thereof.
[0089] In a sixth aspect, a means of transport (eg, a vehicle) is provided, comprising the optical imaging system of the fourth aspect and various implementations thereof.
[0090] In a seventh aspect, a computer program product is provided, comprising: a computer program (also referred to as code or instruction), which, when executed, enables a computer to execute the method in the above-mentioned first aspect and any possible implementation thereof.
[0091] In an eighth aspect, a computer-readable medium is provided, which stores a computer program (also referred to as code or instruction) which, when executed on a computer, enables the computer to execute the method in the above-mentioned first aspect and any possible implementation thereof.
[0092] In the ninth aspect, a chip system is provided, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a communication device equipped with the chip system executes the method in the above-mentioned first aspect and any possible implementation thereof.
[0093] Among them, the chip system may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data. BRIEF DESCRIPTION OF THE DRAWINGS
[0094] Figure 1 Schematic diagram of an example of the imaging process of an AR HUD system.
[0095] Figure 2 Schematic diagram of the optical imaging system of the present application.
[0096] Figure 3 is a schematic interactive diagram of an example of the imaging method of the present application.
[0097] Figure 4 This is a structural diagram of an example of a neural network device of the present application.
[0098] Figure 5 This is a schematic diagram of an example of the hierarchy of the neural network of the present application.
[0099] Figure 6 is a schematic interactive diagram of another example of the imaging method of the present application.
[0100] Figure 7 A schematic diagram of an example of an imaging device of the present application. DETAILED DESCRIPTION
[0101] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0102] The solution of the present application can be applied to an optical imaging system, which may include but is not limited to a head-up display HUD system or an AR HUD system.
[0103] Specifically, HUD can also be called windshield instrument display or head-up display, that is, important information can be mapped on the holographic half mirror on the windshield through the optical imaging system, so that the driver can see the important information without lowering his head.
[0104] Augmented Reality (AR) technology is a technology that cleverly integrates virtual information with the real world. It widely uses a variety of technical means such as multimedia, three-dimensional modeling, real-time tracking and registration, intelligent interaction, and sensing. It simulates computer-generated virtual information such as text, images, three-dimensional models, music, and videos, and applies them to the real world. The two types of information complement each other, thereby achieving "enhancement" of the real world.
[0105] AR HUD can be understood as the fusion of AR technology and HUD technology, that is, some driving information is reasonably and vividly superimposed and displayed in the driver's field of vision and combined with actual traffic conditions.
[0106] Figure 1 A schematic diagram of the imaging process of the present application is shown. Figure 1 As shown, the light beam of the image to be imaged emitted from the optical imaging system is reflected (or refracted) by the windshield (or windshield) and enters the human eye, so that the human eye observes the image of the image. For example, when the human eye and the optical imaging system are located on the same side of the windshield, the image is a virtual image. When the human eye and the optical imaging system are located on the two sides of the windshield, the image is a real image.
[0107] Typically, the windshield is disposed off-axis relative to the optical imaging system (or the lens of the optical imaging system), so the image observed by the human eye is distorted.
[0108] Figure 2 A schematic diagram of an example of an optical imaging system of the present application is shown. Figure 2 As shown, the optical imaging system 100 includes:
[0109] A spatial light modulator 110;
[0110] at least one lens 120;
[0111] Processor 130.
[0112] A spatial light modulator (SLM) is a device that can load information onto a one-dimensional or two-dimensional optical data field in order to effectively utilize the inherent speed, parallelism, and interconnection capabilities of light, and can modulate the light intensity at each point in a two-dimensional space.
[0113] SLM can change the amplitude or intensity, phase, polarization state and wavelength of spatial light distribution, or convert incoherent light into coherent light under the control of a time-varying electrical drive signal or other signal.
[0114] Under active control, SLM can modulate a certain parameter of the light field through liquid crystal molecules, such as by modulating the amplitude of the light field, modulating the phase through the refractive index, modulating the polarization state through the rotation of the polarization plane, or realizing the conversion of incoherent to coherent light, so as to write certain information into the light wave and achieve the purpose of light wave modulation. It can conveniently load information into a one-dimensional or two-dimensional light field, and use the advantages of wide bandwidth of light, multi-channel parallel processing, etc. to quickly process the loaded information.
[0115] SLM can include multiple independent units, which are spatially arranged into a one-dimensional or two-dimensional array. Each unit can independently receive control of optical or electrical signals and change its own optical properties according to the signal, thereby modulating the light waves illuminating it.
[0116] In the present application, the spatial light modulator 110 can obtain data (or electrical signals) of an image to be imaged from an electrical processing unit, such as a graphics processing unit (GPU) or a central processing unit (CPU), and modulate the data onto a light beam to form a light beam of the image.
[0117] The light beam is refracted by the lens 120 and then emitted from the spatial light modulator 110 .
[0118] In the present application, certain modulation parameters of the spatial light modulator 110 can be adjusted, so that the parameters of the image formed by the light beam emitted from the spatial light modulator 110, such as the shape and size of the image, can be adjusted.
[0119] As an example but not limitation, the modulation parameters may include but are not limited to Zernike coefficients, or coefficients in Zernike Polynomials.
[0120] Specifically, aberration refers to the imaging defects in the optical system. In geometric optics, aberrations (geometric aberrations) are divided into monochromatic aberrations and chromatic aberrations. Monochromatic aberrations include spherical aberration, coma, astigmatism, field curvature and distortion. Chromatic aberrations include position chromatic aberration and magnification chromatic aberration. In physical optics, aberrations are called wavefront aberrations or wavefront aberrations, which is the distance between the waveform formed by the spherical wave emitted by a point light source after passing through the optical system and the ideal spherical wave. Wavefront aberration can be expressed by the Zernike polynomial periodic table or geometric aberrations such as spherical aberration and coma. Distortion can be understood as the result of different prism image shifts at the surrounding points after a square object passes through the optical system.
[0121] The optical main reflector is a component of the space optical remote sensor, and its mirror surface accuracy is one of the important factors affecting the resolution of the space optical remote sensor. During the ground installation process, the reflector will be deformed due to the gravitational field when the optical axis is horizontal or vertical. Therefore, it is necessary to perform mirror deformation analysis when designing the optical reflector to verify whether the designed optical reflector meets the surface accuracy requirements. Mirror deformation includes rigid body displacement and surface deformation. Rigid body displacement will cause the optical system to tilt, de-axis and defocus. Surface deformation will affect the wavefront difference of the optical system. Rigid body displacement can be eliminated by adjusting the relative position between optical elements, while surface deformation cannot be eliminated. Therefore, the surface deformation in the mirror deformation can truly reflect the surface accuracy of the optical reflector. Taking the free-form mirror as an example, the surface shape data is obtained by finite element analysis, the deformed surface shape is accurately fitted by Zernike polynomials, and the rigid body displacement part is separated to obtain the surface deformation cloud map, and the surface deformation root mean square and the difference between the maximum and minimum values of the surface deformation are calculated.
[0122] It should be understood that the specific examples of modulation parameters listed above are only illustrative, and the present application is not limited thereto. Other parameters that can change the shape, size, etc. of the image formed by the light beam emitted from the spatial light modulator fall within the scope of protection of the present application. For example, the modulation parameters may also include parameters of the spatial light modulator for controlling the amplitude, intensity, phase, polarization state, and wavelength of the light beam.
[0123] Therefore, in the present application, the distortion of the image observed by the human eye can be reduced by adjusting the above modulation parameters.
[0124] Specifically, the modulation parameter may be a trained parameter that can reduce the distortion of an image observed by the human eye. The processor 130 may obtain the modulation parameter and control the spatial light modulator 110 to use the modulation parameter to perform light modulation on the image to be imaged.
[0125] It should be noted that Figure 2 The structure of the optical imaging system 100 shown is for exemplary purposes only and the present application is not limited thereto. For example, the processor 130 may be integrated in the spatial light modulator 110, or the functions of the processor 130 may be implemented by a device or module in the spatial light modulator 110 that is capable of implementing computing functions.
[0126] Optionally, the optical imaging system 100 may further include a camera device 140 .
[0127] The camera device 140 is used to capture a distorted image, and the distorted image is used to determine a modulation parameter. This process will be described in detail later.
[0128] The imaging device 140 is disposed at a position corresponding to the position of human eyes so that the captured distorted image is the same or approximately the same as the distorted image observed by human eyes.
[0129] The camera device 140 may be detachable, so that the camera device 140 may be detached after the distorted image is captured.
[0130] The optical imaging system 100 may also include other components included in the optical imaging system in the prior art, and the detailed description thereof is omitted here to avoid redundancy.
[0131] The following is a detailed description of the process of determining (or adjusting) the modulation parameters.
[0132] Figure 3 A schematic diagram showing an example of the process of determining the modulation parameters is shown in FIG. Figure 3 As shown, in S210, the spatial light modulator 110 may obtain electrical domain data (or electrical domain signals) of image #A (ie, an example of a training image) from an electrical domain graphics processor such as a GPU.
[0133] In S220, the spatial light modulator 110 may modulate the electrical domain data based on the modulation parameter #A (ie, an example of the original modulation parameter) to generate a light beam of the image #A, which is hereinafter referred to as light beam #A for ease of understanding.
[0134] The modulation parameter #A may be a default parameter or a factory setting parameter, or the modulation parameter #A may be a parameter configured by the processor 130 for the spatial light modulator 110 .
[0135] The light beam #A is refracted by the lens 120 and reflected (or refracted) by the screen #A before entering the camera device 140, so that the camera device 140 can capture a distorted image of the image #A, specifically, an image of the distorted image, which will be referred to as image #B below for ease of understanding and distinction.
[0136] At S230 , the processor 130 acquires the image #B from the photographing device 140 .
[0137] Furthermore, at S240, the processor 130 may determine the expected image of the image #A, specifically, the image of the expected image, which is hereinafter referred to as image #C for ease of understanding and distinction. The expected image of the image #A may be understood as an image of the image #A observed by human eyes that is not distorted or has a distortion degree within a preset range.
[0138] As an example but not limitation, the processor 130 may obtain an expected image of image #A, or image #C, in the following manner.
[0139] Specifically, the distortion mapping relationship is different at different observation positions in space, so it is necessary to calibrate the limited different observation positions accordingly, and then use interpolation to generate the distortion mapping relationship of any observation position in space. At the same time, we hope that the final imaging observed at any position is a fixed rectangular field of view in space, so it is necessary to select the appropriate imaging area size for each observation position during calibration.
[0140] We set the calibration observation positions to be on the same horizontal line in space. At a specific observation position, according to the distorted image corresponding to the projected calibration dot matrix, we can determine the size of the maximum rectangular field of view R at that position by selecting an inscribed rectangle in the distorted dot matrix. Assuming that the number of calibration observation positions is N, for the i-th position, the maximum value of the horizontal coordinate of the leftmost column of the distorted dot matrix image (for example, image #B) is x_left_i, the minimum value of the horizontal coordinate of the rightmost column is x_right_i, the maximum value of the vertical coordinate of the top row is y_up_i, and the minimum value of the vertical coordinate of the bottom row is y_down_i. At this time, the rectangular range Ri = [x_left_i, x_right_i, y_up_i, y_down_i] is inscribed inside the distorted dot matrix field of view.
[0141] Therefore, the rectangular range Ri can be used as the expected image of image #A (ie, image #C).
[0142] In addition, due to the different distortion amounts at different observation positions, the actual spatial positions corresponding to different Ri in the photographs (for example, image #B) will not be the same, so it is necessary to find a common field of view area within different Ri to make them correspond to the same spatial range. Because Ri is the range determined by the distorted dot matrix images taken at different observation positions, in order to find the common rectangular field of view range in space, different Ri need to be moved to the same observation position. Here, taking two observation positions i and j as an example, since they are on the same horizontal line, there is only a horizontal displacement Δx_ij. If position j is to the right of position i, Δx_ij is a positive value, otherwise it is a negative value. Then the observation result Rj_i corresponding to Rj at observation position i can be calculated by the pinhole imaging model. The specific calculation formula is as follows:
[0143] Rj_i=[x_left_j+f / Z*Δx_ij*ppi,x_right_j+f / Z*Δx*_ij*ppi,y_up_j,y_down_j]
[0144] Where f is the focal length of the camera, Z is the distance from the imaging surface to the camera, and ppi is the number of pixels per unit distance on the camera CCD surface.
[0145] The common rectangular field of view area selected at position i is R*=[max{x_left_i,x_left_j+f / Z*Δx_ij*ppi},min{x_right_i,x_right_j+f / Z*Δx_ij*ppi},max{y_up_i,y_up_j},min(y_down_i,y_down_j)].
[0146] When the number of observation positions is greater than two, R* can be obtained by simply moving all observation positions to the same observation position and taking the common area similarly as above.
[0147] After obtaining R*, the pinhole imaging model can be used to restore the rectangular field of view R*_j at any observation position j:
[0148] R*_j=[max{x_left_i,x_left_j+f / Z*Δx_ij*ppi}-f / Z*Δx_ij*ppi,min{x_right_i,x_right_j+f / Z*Δx_ij*ppi}-f / Z*Δx_ij*ppi,max{y_up_i,y_up_j},min(y_down_i,y_down_j)].
[0149] After completing the mapping relationship calibration of multiple observation points on a straight line, interpolate to obtain the distortion mapping relationship at any position:
[0150] For any observation point k in space, we first obtain the interval of calibrated observation points where the observation position projection is located. We use the distortion mapping tables of the two most adjacent calibrated observation points to perform linear interpolation to generate the distortion mapping table P_k at position k.
[0151] The interpolation formula is as follows:
[0152] P_k=(1–α)*P_i+α*P_i+1;
[0153] Among them, α=d1 / (d1+d2), P_i and P_i+1 are the distortion mapping relationship tables of two adjacent calibrated positions respectively.
[0154] At S250, the processor 130 may train and obtain the modulation parameter #B based on the image #B and the image #C.
[0155] For example, processor 130 may determine whether the similarity between image #B and image #C satisfies a preset condition, for example, whether the position deviation of pixels at the same position in image #B and image #C is less than or equal to a preset deviation value.
[0156] If the determination is yes, the modulation parameter #A may be determined as the modulation parameter #B.
[0157] If the decision is no, you can do the following:
[0158] In step a, the processor 130 may perform adjustment on the basis of the modulation parameter #A based on the specified adjustment direction and adjustment step size to obtain the modulation parameter #C.
[0159] In step b, the spatial light modulator 110 may modulate the electrical domain data of the image #A based on the modulation parameter #C to generate a light beam of the image #A, which is hereinafter referred to as light beam #B for ease of understanding.
[0160] In step c, the light beam #A is refracted by the lens 120 and reflected (or refracted) by the screen before entering the camera device 140, so that the camera device 140 can capture a distorted image of the image #A, specifically, an image of the distorted image, which is hereinafter referred to as image #D for ease of understanding and distinction.
[0161] In step d, the processor 130 obtains the image #D from the photographing device 140 .
[0162] In step e, the processor 130 may determine whether the similarity between image #D and image #C satisfies a preset condition, for example, whether the position deviation of pixels at the same position in image #D and image #C is less than or equal to a preset deviation value.
[0163] If the determination is yes, the modulation parameter #C may be determined as the modulation parameter #B.
[0164] If the judgment is no, repeat the above steps a to e until the similarity between the distorted image (referred to as image #X) formed by the light beam generated based on the adjusted modulation parameter (referred to as modulation parameter #X) and image #C meets the preset conditions, thereby, the modulation parameter #X can be determined as modulation parameter #B.
[0165] It should be understood that the above-listed process of obtaining the modulation parameter #B based on the training of the image #B and the image #C is only an exemplary description, and the present application is not limited to this. For example, the image #B and the image #C can also be used as input data of the neural network model, and the output data of the neural network model is the modulation parameter #B.
[0166] Next, the training process of the neural network model is described in detail.
[0167] To facilitate understanding, the following first introduces relevant terms and related concepts such as neural networks involved in the embodiments of the present application.
[0168] 1. Neural Networks
[0169] A neural network can be composed of neural units. A neural unit can be a s The output of the operation unit with the intercept 1 as input can be:
[0170]
[0171] Where, s = 1, 2, ... n, n is a natural number greater than 1, W s For x s The weight of the neural unit, b is the bias of the neural unit. f is the activation function of the neural unit, which is used to introduce nonlinear characteristics into the neural network to convert the input signal in the neural unit into the output signal. The output signal of the activation function can be used as the input of the next convolutional layer. The activation function can be a sigmoid function. A neural network is a network formed by connecting many of the above-mentioned single neural units together, that is, the output of one neural unit can be the input of another neural unit. The input of each neural unit can be connected to the local receptive field of the previous layer to extract the features of the local receptive field. The local receptive field can be an area composed of several neural units.
[0172] 2. Convolutional Neural Networks
[0173] Convolutional neural network is a deep neural network with convolution structure. Convolutional neural network contains a feature extractor composed of convolution layer and subsampling layer. The feature extractor can be regarded as a filter, and the convolution process can be regarded as using a trainable filter to convolve with an input image or convolution feature plane (feature map). Convolution layer refers to the neuron layer in convolutional neural network that performs convolution processing on the input signal. In the convolution layer of convolutional neural network, a neuron can only be connected to some neurons in the adjacent layer. A convolution layer usually contains several feature planes, and each feature plane can be composed of some rectangular arranged neural units. The neural units in the same feature plane share weights, and the shared weights here are convolution kernels. Shared weights can be understood as the way to extract image information is independent of position. The implicit principle is that the statistical information of a part of the image is the same as that of other parts. This means that the image information learned in a part can also be used in another part. Therefore, for all positions on the image, the same learned image information can be used. In the same convolution layer, multiple convolution kernels can be used to extract different image information. Generally speaking, the more convolution kernels there are, the richer the image information reflected by the convolution operation.
[0174] The convolution kernel can be initialized in the form of a matrix of random size, and the convolution kernel can obtain reasonable weights through learning during the training process of the convolutional neural network. In addition, the direct benefit of shared weights is to reduce the connections between the layers of the convolutional neural network, while reducing the risk of overfitting.
[0175] 3. Back Propagation Algorithm
[0176] Convolutional neural networks can use the error back propagation (BP) algorithm to correct the size of the parameters in the initial super-resolution model during the training process, so that the reconstruction error loss of the super-resolution model becomes smaller and smaller. Specifically, the forward transmission of the input signal to the output will generate error loss, and the error loss information is back-propagated to update the parameters in the initial super-resolution model, so that the error loss converges. The back propagation algorithm is a back propagation movement dominated by error loss, aiming to obtain the optimal parameters of the super-resolution model, such as the weight matrix.
[0177] Next, the training process of the neural network model is explained.
[0178] First, the system architecture of the neural network model training provided by the embodiment of the present application is introduced. Figure 4 , the embodiment of the present application provides a system architecture 300. As shown in the system architecture 300, the data acquisition device 360 (for example, the shooting device 140 and the processor 130) is used to collect training data, and the acquisition process of the training data can be similar to the acquisition process of the above-mentioned image #C and image #B, or in other words, the image #C and image #B themselves can be used as training data.
[0179] Furthermore, the data acquisition device 360 stores the training data into the database 330, and the training device 320 obtains the neural network model 301 based on the training data maintained in the database 330, that is, the neural network model 301 corresponding to the modulation parameter #B.
[0180] It should be noted that, in actual applications, the training data maintained in the database 330 may not all come from the data acquisition device 360, but may also be received from other devices. It should also be noted that the training device 320 may not train the neural network model 301 entirely based on the training data maintained by the database 330, but may also obtain training data from the cloud or other places for model training. The above description should not be used as a limitation on the embodiments of the present application.
[0181] The neural network model 301 trained by the training device 320 can be applied to the execution device 310.
[0182] exist Figure 4In the embodiment, the execution device 310 is configured with an I / O interface 312 for performing data interaction with a client device 340 (eg, the processor 130 or the spatial light modulator 110 ), and the client device 340 inputs data (eg, the above-mentioned image #C and image #B) to the I / O interface 312.
[0183] The preprocessing module 313 is used to preprocess the input data received by the I / O interface 312, wherein the process and method of the preprocessing may be similar to the prior art, and its detailed description is omitted here to avoid redundancy. It should be noted that in the present application, the input data may not be preprocessed, in which case the system architecture 300 may not include the preprocessing module 313.
[0184] The calculation module 311 is used to perform calculation and other related processing on the input data from the preprocessing module 313 or the I / O interface 312 according to the above-mentioned neural network model 301.
[0185] It should be noted that the execution device 310 can call the data, code, etc. in the data storage system 350 for corresponding processing, and can also store the data, instructions, etc. obtained by the corresponding processing in the data storage system 350.
[0186] Finally, the I / O interface 312 returns the processing result, such as the modulation parameter #B obtained above, to the client device 340.
[0187] exist Figure 4 In the case shown in , the user can manually input data, which can be operated through the interface provided by the I / O interface 312. In another case, the client device 340 can automatically send input data to the I / O interface 312. If the client device 340 needs to obtain the user's authorization to automatically send the input data, the user can set the corresponding permissions in the client device 340. The user can view the results output by the execution device 310 on the client device 340, and the specific presentation form can be display, sound, action, etc. The client device 340 can also be used as a data collection terminal to collect data such as Figure 4 The input data of the input I / O interface 312 and the output result of the output I / O interface 312 are taken as new sample data and stored in the database 330. Of course, it is also possible to collect data without going through the client device 340, but directly by the I / O interface 312. Figure 4 The input data of the input I / O interface 312 and the output result of the output I / O interface 312 are stored in the database 330 as new sample data.
[0188] It is worth noting that Figure 4This is only a schematic diagram of a system architecture provided by an embodiment of the present application. The positional relationship between the devices, components, modules, etc. shown in the figure does not constitute any limitation. For example, in Figure 4 In the embodiment, the data storage system 350 is an external memory relative to the execution device 310. In other cases, the data storage system 350 can also be placed in the execution device 310.
[0189] The neural network of the present application may include but is not limited to a convolutional neural network (CNN), which is a deep neural network with a convolutional structure and a deep learning architecture. A deep learning architecture refers to multiple levels of learning at different abstract levels through machine learning algorithms. As a deep learning architecture, CNN is a feed-forward artificial neural network in which each neuron can respond to an image input therein.
[0190] like Figure 5 As shown, the convolutional neural network (CNN) 400 may include an input layer 410 , a convolutional layer / pooling layer 420 (wherein the pooling layer is optional), and a neural network layer 430 .
[0191] Convolutional layer / pooling layer 420:
[0192] Convolutional Layer:
[0193] like Figure 5 The convolution layer / pooling layer 420 shown may include layers 421-426, for example: in one implementation, layer 421 is a convolution layer, layer 422 is a pooling layer, layer 423 is a convolution layer, layer 424 is a pooling layer, layer 425 is a convolution layer, and layer 426 is a pooling layer; in another implementation, layers 421 and 422 are convolution layers, layer 423 is a pooling layer, layers 424 and 425 are convolution layers, and layer 426 is a pooling layer. That is, the output of a convolution layer can be used as the input of a subsequent pooling layer, or as the input of another convolution layer to continue the convolution operation.
[0194] The following will take convolutional layer 421 as an example to introduce the internal working principle of a convolutional layer.
[0195] The convolution layer 421 may include a plurality of convolution operators, which are also called kernels. The convolution operator is equivalent to a filter that extracts specific information from the input image matrix in image processing. The convolution operator may be essentially a weight matrix, which is usually predefined. In the process of performing convolution operations on the image, the weight matrix is usually processed one pixel after another (or two pixels after two pixels... depending on the value of the stride) in the horizontal direction on the input image, thereby completing the work of extracting specific features from the image. The size of the weight matrix should be related to the size of the image. It should be noted that the depth dimension of the weight matrix is the same as the depth dimension of the input image. In the process of performing convolution operations, the weight matrix will extend to the entire depth of the input image. Therefore, convolution with a single weight matrix will produce a convolution output with a single depth dimension, but in most cases, a single weight matrix is not used, but multiple weight matrices of the same size (row × column), that is, multiple isotype matrices, are applied. The output of each weight matrix is stacked to form the depth dimension of the convolution image, and the dimension here can be understood as being determined by the "multiple" mentioned above. Different weight matrices can be used to extract different features in the image, for example, one weight matrix is used to extract image edge information, another weight matrix is used to extract specific colors of the image, and another weight matrix is used to blur unwanted noise in the image, etc. The multiple weight matrices have the same size (rows × columns), and the feature maps extracted by the multiple weight matrices of the same size are also the same size. The extracted feature maps of the same size are then merged to form the output of the convolution operation.
[0196] The weight values in these weight matrices need to be obtained through a lot of training in practical applications. The weight matrices formed by the weight values obtained through training can be used to extract information from the input image, so that the convolutional neural network 400 can make correct predictions.
[0197] When the convolutional neural network 400 has multiple convolutional layers, the initial convolutional layer (for example, 421) often extracts more general features, which can also be called low-level features. As the depth of the convolutional neural network 400 increases, the features extracted by the later convolutional layers (for example, 426) become more and more complex, such as high-level semantic features. Features with higher semantics are more suitable for the problem to be solved.
[0198] Pooling layer:
[0199] Since it is often necessary to reduce the number of training parameters, it is often necessary to periodically introduce a pooling layer after the convolution layer. Figure 5The layers 421-426 illustrated in 420 may be a convolution layer followed by a pooling layer, or may be multiple convolution layers followed by one or more pooling layers. In the image processing process, the only purpose of the pooling layer is to reduce the spatial size of the image. The pooling layer may include an average pooling operator and / or a maximum pooling operator for sampling the input image to obtain an image of smaller size. The average pooling operator may calculate the pixel values in the image within a specific range to generate an average value as the result of average pooling. The maximum pooling operator may take the pixel with the largest value in the range within a specific range as the result of maximum pooling. In addition, just as the size of the weight matrix used in the convolution layer should be related to the image size, the operator in the pooling layer should also be related to the image size. The size of the image output after processing by the pooling layer may be smaller than the size of the image input to the pooling layer, and each pixel in the image output by the pooling layer represents the average value or maximum value of the corresponding sub-region of the image input to the pooling layer.
[0200] Neural network layer 430:
[0201] After being processed by the convolution layer / pooling layer 420, the convolution neural network 400 is not sufficient to output the required output information. As mentioned above, the convolution layer / pooling layer 420 only extracts features and reduces the parameters brought by the input image. However, in order to generate the final output information (the required class information or other related information), the convolution neural network 400 needs to use the neural network layer 430 to generate one or a group of outputs of the required number of classes. Therefore, the neural network layer 430 may include multiple hidden layers (such as Figure 4 431, 432 to 43n) and the output layer 440 shown, the parameters contained in the multi-layer hidden layers can be pre-trained according to relevant training data of a specific task type. For example, the task type may include image recognition, image classification, image super-resolution reconstruction, etc.
[0202] After the multiple hidden layers in the neural network layer 430, that is, the last layer of the entire convolutional neural network 400 is the output layer 440, which has a loss function similar to the classification cross entropy, specifically used to calculate the prediction error. Once the forward propagation of the entire convolutional neural network 400 (such as Figure 5 The propagation from 410 to 440 is forward propagation), and the reverse propagation (such as Figure 5 The propagation from 440 to 410 is called back propagation) and then starts to update the weight values and biases of the aforementioned layers to reduce the loss of the convolutional neural network 400 and the error between the result output by the convolutional neural network 400 through the output layer and the ideal result.
[0203] It should be noted that if Figure 5The convolutional neural network 400 shown is only an example of a convolutional neural network. In specific applications, the convolutional neural network may also exist in the form of other network models.
[0204] At S260, the processor 130 may set the modulation parameter used by the spatial light modulator 110 to the modulation parameter #B.
[0205] Thus, when the spatial light modulator 110 can obtain electrical domain data (or electrical domain signal) of a new image (i.e., an example of a first image, denoted as image #1) from an electrical domain graphics processor such as a GPU, the spatial light modulator 110 can modulate the electrical domain data based on modulation parameter #B (i.e., an example of a first modulation parameter) to generate a light beam of image #1, which will be referred to as light beam #1 hereinafter for ease of understanding.
[0206] Since the modulation parameter #B is trained to compensate for the distortion, the distortion of the image observed by the human eye due to the refraction of the light beam #1 by the lens 120 and the reflection by the screen #A can be reduced.
[0207] It should be understood that the above-listed processing of the image 1 is only an exemplary description, and the present application is not limited thereto. For example, one or more of the following methods may also be used.
[0208] Method a
[0209] Specifically, the processor 130 may also save the mapping relationship between the image parameter of the image #A (referred to as image parameter #A) and the modulation parameter #B.
[0210] In other words, when the modulation parameter #B is obtained based on training of multiple training images, the image parameters of the multiple training images may be the same, and thus, the processor 130 may also include a mapping relationship between the same image parameter (eg, image parameter #A) and the modulation parameter #B.
[0211] Similarly, multiple modulation parameters can be obtained by training based on training images with different image parameters (specifically, the distorted image and the expected image of the training image). This process is similar to the determination process of the modulation parameter #B, and its detailed description is omitted here to avoid redundancy.
[0212] As an example and not a limitation, the image parameters may include but are not limited to one or more of the following parameters:
[0213] Image size, image color, image shape, image resolution.
[0214] Thus, the processor 130 can generate a one-to-one correspondence between the multiple image parameters and the multiple modulation parameters, which is recorded as correspondence #A (ie, an example of the first correspondence). Table 1 below shows an example of the correspondence.
[0215] Table 1
[0216] Image Parameters#A Modulation Parameters#B …… …… Image Parameters#M Modulation parameter #N
[0217] Thus, the processor 130 can determine the modulation parameter (denoted as modulation parameter #1) corresponding to the image parameter #1 based on the image parameter of image #1 (denoted as image parameter #1) from the corresponding relationship #A, and the processor 130 can set the modulation parameter used by the spatial light modulator 110 to the modulation parameter #1.
[0218] Furthermore, the spatial light modulator 110 may modulate the electric domain data based on the modulation parameter #1 (ie, an example of the first modulation parameter) to generate the light beam of the image #1.
[0219] Method b
[0220] Specifically, the processor 130 may also save the mapping relationship between the position parameter of the image #A (referred to as position parameter #A) and the modulation parameter #B.
[0221] The position parameter of the image can be understood as the parameter of the position of the human eye relative to the screen when the human eye observes the image.
[0222] In other words, when the modulation parameter #B is obtained based on training of multiple training images, the position parameters of the multiple training images may be the same, and thus, the processor 130 may also include a mapping relationship between the same position parameter (eg, position parameter #A) and the modulation parameter #B.
[0223] Similarly, multiple modulation parameters can be obtained by training based on training images with different position parameters (specifically, the distorted image and the expected image of the training image). This process is similar to the determination process of the modulation parameter #B, and its detailed description is omitted here to avoid redundancy.
[0224] As an example and not a limitation, the image parameters may include but are not limited to one or more of the following parameters:
[0225] The distance between the human eye and the screen, the horizontal position of the human eye on the screen, and the vertical position of the human eye on the screen.
[0226] Thus, the processor 130 can generate a one-to-one correspondence between the multiple position parameters and the multiple modulation parameters, which is recorded as correspondence #B (ie, an example of the second correspondence). Table 2 below shows an example of the correspondence.
[0227] Table 2
[0228] Positional Parameters #A Modulation Parameters#B …… …… Positional parameter #M Modulation parameter #N
[0229] Thus, the processor 130 can determine the modulation parameter (denoted as modulation parameter #2) corresponding to the position parameter of image #1 based on the position parameter of image #1 (i.e., the position parameter when the human eye observes image #1, denoted as position parameter #1) and from the corresponding relationship #A, and the processor 130 can set the modulation parameter used by the spatial light modulator 110 to the modulation parameter #2.
[0230] Furthermore, the spatial light modulator 110 may modulate the electric domain data based on the modulation parameter #2 (ie, an example of the first modulation parameter) to generate the light beam of the image #1.
[0231] It should be understood that the above-mentioned method a and method b can be used alone or in combination.
[0232] For example, specifically, the processor 130 may obtain a plurality of modulation parameters through training based on training images with different parameter groups (specifically, the distorted image and the expected image of the training image).
[0233] Each parameter group includes a position parameter and an image parameter.
[0234] Furthermore, the processor 130 may generate a one-to-one correspondence between the multiple position groups and the multiple modulation parameters, which is referred to as a correspondence relationship. An example of the correspondence relationship is shown in Table 3 below.
[0235] Table 3
[0236] Image Parameters#A Positional Parameters #A Modulation Parameters#B …… …… …… Image Parameters#M Positional parameter #M Modulation parameter #N
[0237] Thus, the processor 130 can determine the modulation parameter corresponding to the parameter group of image #1 (i.e., the position parameter and image parameter of image 1) from the corresponding relationship, and the processor 130 can set the modulation parameter used by the spatial light modulator 110 to the modulation parameter #3.
[0238] Furthermore, the spatial light modulator 110 may modulate the electric domain data based on the modulation parameter #3 (ie, an example of the first modulation parameter) to generate the light beam of the image #1.
[0239] Method c
[0240] Specifically, the processor 130 may also save the mapping relationship between the screen parameter of the image #A (referred to as screen parameter #A) and the modulation parameter #B.
[0241] The screen parameters of the image can be understood as the parameters of the screen used when the image is formed.
[0242] In other words, when the modulation parameter #B is obtained based on training of multiple training images, the screen parameters of the multiple training images may be the same, and thus, the processor 130 may also include a mapping relationship between the same screen parameter (eg, screen parameter #A) and the modulation parameter #B.
[0243] Similarly, multiple modulation parameters can be obtained by training based on training images with different screen parameters (specifically, the distorted image and the expected image of the training image). This process is similar to the determination process of the modulation parameter #B, and its detailed description is omitted here to avoid redundancy.
[0244] As an example and not a limitation, the screen parameters may include but are not limited to one or more of the following parameters:
[0245] Screen shape, screen thickness, screen material, screen refractive index, screen color.
[0246] Thus, the processor 130 can generate a one-to-one correspondence between the multiple screen parameters and the multiple modulation parameters, which is recorded as correspondence #C (ie, an example of the third correspondence). Table 4 below shows an example of the correspondence.
[0247] Table 4
[0248] Screen Parameters#A Modulation Parameters#B …… …… Screen Parameters#M Modulation parameter #N
[0249] Thus, the processor 130 can determine the modulation parameter corresponding to the screen parameter #1 (note: modulation parameter #4) based on the screen parameter of image #1 (i.e., the position parameter of the screen used when imaging image #1, denoted as screen parameter #1) and from the corresponding relationship #A, and the processor 130 can set the modulation parameter used by the spatial light modulator 110 to the modulation parameter #4.
[0250] Furthermore, the spatial light modulator 110 may modulate the electric domain data based on the modulation parameter #4 (ie, an example of the first modulation parameter) to generate the light beam of the image #1.
[0251] It should be understood that the above-listed methods a and c can be used alone or in combination, or the above-listed methods b and c can be used alone or in combination, or the above-listed methods a, b and c can be used in combination.
[0252] For example, the processor 130 may obtain a plurality of modulation parameters through training based on training images with different parameter groups (specifically, distorted images and expected images of the training images).
[0253] Each parameter group includes an image parameter and a screen parameter.
[0254] Furthermore, the processor 130 may generate a one-to-one correspondence between the multiple position groups and the multiple modulation parameters, which is referred to as a correspondence relationship. An example of the correspondence relationship is shown in Table 5 below.
[0255] Table 5
[0256] Image Parameters#A Screen Parameters#A Modulation Parameters#B …… …… …… Image Parameters#M Screen Parameters#M Modulation parameter #N
[0257] Thus, the processor 130 can determine the modulation parameter corresponding to the parameter group of image #1 (i.e., the bit image parameters and screen parameters of image 1) from the corresponding relationship, and the processor 130 can set the modulation parameter used by the spatial light modulator 110 to the modulation parameter #5.
[0258] Furthermore, the spatial light modulator 110 may modulate the electric domain data based on the modulation parameter #5 (ie, an example of the first modulation parameter) to generate the light beam of the image #1.
[0259] For another example, the processor 130 may obtain a plurality of modulation parameters through training based on training images with different parameter groups (specifically, distorted images and expected images of the training images).
[0260] Each parameter group includes a position parameter and a screen parameter.
[0261] Furthermore, the processor 130 may generate a one-to-one correspondence between the multiple position groups and the multiple modulation parameters, which is referred to as a correspondence relationship. An example of the correspondence relationship is shown in Table 6 below.
[0262] Table 6
[0263] Positional Parameters #A Screen Parameters#A Modulation Parameters#B …… …… …… Positional parameter #M Screen Parameters#M Modulation parameter #N
[0264] Thus, the processor 130 can determine the modulation parameter corresponding to the parameter group of image #1 (i.e., the position parameters and screen parameters of image 1) from the corresponding relationship, and the processor 130 can set the modulation parameter used by the spatial light modulator 110 to the modulation parameter #6.
[0265] Furthermore, the spatial light modulator 110 may modulate the electric domain data based on the modulation parameter #6 (ie, an example of the first modulation parameter) to generate the light beam of the image #1.
[0266] For another example, the processor 130 may obtain a plurality of modulation parameters through training based on training images with different parameter groups (specifically, distorted images and expected images of the training images).
[0267] Each parameter group includes a position parameter, an image parameter and a screen parameter.
[0268] Furthermore, the processor 130 may generate a one-to-one correspondence between the multiple position groups and the multiple modulation parameters, which is referred to as a correspondence relationship. An example of the correspondence relationship is shown in Table 7 below.
[0269] Table 7
[0270] Image Parameters#A Positional Parameters #A Screen Parameters#A Modulation Parameters#B …… …… …… …… Image Parameters#M Positional parameter #M Screen Parameters#M Modulation parameter #N
[0271] Thus, the processor 130 can determine the modulation parameter corresponding to the parameter group of image #1 (i.e., the image parameters, position parameters and screen parameters of image 1) from the corresponding relationship, and the processor 130 can set the modulation parameter used by the spatial light modulator 110 to the modulation parameter #7.
[0272] Furthermore, the spatial light modulator 110 may modulate the electric domain data based on the modulation parameter #7 (ie, an example of the first modulation parameter) to generate the light beam of the image #1.
[0273] Figure 6 A schematic diagram showing an example of the process of determining the modulation parameters is shown in FIG. Figure 3 The difference from the process shown is that after acquiring the training data, the processor 130 may send the training data to the server.
[0274] The training data may include distorted images and expected images of one or more training images, for example, image #B and image #C.
[0275] Alternatively, the training data may include a distorted image of the training image. In this case, the server may determine the expected image of the training image based on the distorted image of the training image.
[0276] Thus, the server can train (or determine) one or more modulation parameters (e.g., the above modulation parameter #B) according to the training data. Moreover, the training process can be similar to the process performed by the processor 130 in the above method 200, and its detailed description is omitted here to avoid redundancy.
[0277] Thereafter, the server sends the trained modulation parameters to the processor 130 .
[0278] Therefore, when processing image #1, the processor 130 can determine the modulation parameters that the spatial light modulator 110 needs to use according to the modulation parameters fed back by the server.
[0279] It should be understood that the above-listed scheme for the processor 130 to obtain modulation parameters is only an exemplary description, and the above-mentioned training process can also be pre-configured in the processor 130 (or, a memory accessible to the processor 130) through experiments or training before leaving the factory, and the training process can be similar to the process performed by the processor 130 in the above-mentioned method 200. Here, in order to avoid repetition, its detailed description is omitted.
[0280] like Figure 7 As shown, the embodiment of the present application further provides an imaging device 500. The imaging device 500 includes a processor 510, the processor 510 is coupled to a memory 520, the memory 520 is used to store computer programs or instructions or and / or data, and the processor 510 is used to execute the computer programs or instructions and / or data stored in the memory 520, so that the method in the above method embodiment (specifically, the method executed by the processor 130) is executed.
[0281] Optionally, the imaging device 500 includes one or more processors 510 .
[0282] Alternatively, if Figure 7 As shown, the communication device 500 may further include a memory 520. Specifically, there may be one or more memories 520. Optionally, the memory 520 may be integrated with the processor 510 or be separately configured.
[0283] like Figure 7 As shown, the imaging device 500 may further include a transceiver 530, and the transceiver 530 is used for receiving and / or sending signals. For example, the processor 510 is used to control the transceiver 530 to receive and / or send signals.
[0284] The imaging device 500 is used to implement the operations performed by the processor 130 in the above method embodiment.
[0285] The explanation of the relevant contents and beneficial effects of any of the imaging devices 500 provided above may refer to the corresponding method embodiments provided above, and will not be repeated here.
[0286] The embodiments of the present application do not particularly limit the specific structure of the execution subject of the method provided in the embodiments of the present application, as long as it is capable of performing processing according to the method provided in the embodiments of the present application by running a program that records the code of the method provided in the embodiments of the present application.
[0287] Various aspects or features of the embodiments of the present application may be implemented as methods, devices, or articles of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" as used herein may encompass a computer program accessible from any computer-readable device, carrier, or medium. For example, a computer-readable medium may include, but is not limited to, a magnetic storage device (e.g., a hard disk, a floppy disk, or a magnetic tape, etc.), an optical disk (e.g., a compact disc (CD), a digital versatile disc (DVD), etc.), a smart card, and a flash memory device (e.g., an erasable programmable read-only memory (EPROM), a card, a stick, or a key drive, etc.).
[0288] The various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and / or carrying instructions and / or data.
[0289] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0290] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM may include the following forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0291] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor. It should also be noted that the memory described herein is intended to include but is not limited to these and any other suitable types of memory.
[0292] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0293] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0294] In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0295] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0296] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0297] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.
[0298] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0299] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0300] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0301] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0302] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0303] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0304] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0305] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An imaging method applied to an optical imaging system, characterized in that: The optical imaging system comprises a spatial light modulator and at least one lens, wherein the spatial light modulator is used to modulate an image based on a modulation parameter to generate an imaging light beam of the image, wherein the imaging light beam is emitted to a human eye through the lens and a screen, so that the human eye observes an image of the image, and the method comprises: The spatial light modulator modulates the first image to be imaged based on a first modulation parameter, wherein the first modulation parameter is determined by a first neural network model based on a first distorted image and a first target image as input data, wherein the first distorted image is an image of the training image after imaging processing by the optical imaging system and the screen, and the first target image is an image of the training image that is not distorted or has a distortion degree within a preset range.
2. The method according to claim 1, characterized in that The method also includes: acquiring the first modulation parameter.
3. The method according to claim 2, characterized in that The acquiring the first modulation parameter comprises: The spatial light modulator modulates the training image based on the original modulation parameters to obtain the first distorted image; Adjusting the original modulation parameters so that the deviation between the first distorted image and the first target image is within a preset range; determining the adjusted original modulation parameter as the first modulation parameter; or The first modulation parameter corresponding to the first distorted image is obtained from a server.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Acquiring a first modulation parameter; Acquire a first corresponding relationship between K modulation parameters including the first modulation parameter and K image parameters, wherein the kth modulation parameter is determined according to a distorted image and a target image of a training image having the kth image parameter, the kth modulation parameter corresponds to the kth image parameter, K≥2, k∈[1,K], any two modulation parameters among the K modulation parameters have different values, and any two image parameters among the K image parameters have different values; and The acquiring the first modulation parameter comprises: According to the first corresponding relationship, a modulation parameter corresponding to the image parameter of the first image is determined as the first modulation parameter.
5. The method according to claim 4, characterized in that The image parameters include at least one of the following parameters: Image size, image color, image shape, image resolution.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Acquiring a first modulation parameter; Acquire a second corresponding relationship between M modulation parameters including the first modulation parameter and M position parameters, the position parameter being used to indicate a positional relationship between a human eye and the screen, wherein an m-th modulation parameter is determined according to a distorted image and a target image of the training image at an m-th position parameter, the m-th modulation parameter corresponds to the m-th position parameter, any two modulation parameters among the M modulation parameters have different values, and any two position parameters among the M position parameters have different values; and The acquiring the first modulation parameter comprises: According to the second corresponding relationship, the modulation parameter corresponding to the position parameter of the first image is determined as the first modulation parameter.
7. The method according to claim 6, characterized in that The position parameters include at least one of the following parameters: The distance between the human eye and the incident point of the light beam on the screen, the position of the projection of the human eye on the screen in the horizontal direction of the screen, and the position of the projection of the human eye on the screen in the vertical direction of the screen.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: Acquiring a first modulation parameter; acquiring a third corresponding relationship between N modulation parameters including the first modulation parameter and N screen parameters, wherein the nth modulation parameter is determined according to a distorted image and a target image of the training image imaged through a screen having the nth screen parameter, the nth modulation parameter corresponds to the nth screen parameter, any two modulation parameters among the N modulation parameters have different values, and any two screen parameters among the N screen parameters have different values; and The acquiring the first modulation parameter comprises: According to the third corresponding relationship, a modulation parameter corresponding to a screen parameter of a first screen is determined as the first modulation parameter, wherein the first screen is a screen used for imaging the first image.
9. The method according to claim 8, characterized in that The screen parameters include at least one of the following parameters: Screen shape, screen thickness, screen material, screen refractive index, screen color.
10. The method according to any one of claims 1 to 9, characterized in that The optical imaging system is disposed on a vehicle, and the screen includes a windshield of the vehicle.
11. The method according to any one of claims 1 to 10, characterized in that The first modulation parameters include Zernike coefficients.
12. An optical imaging system, characterized in that: include: a spatial light modulator, configured to modulate a first image according to a first modulation parameter to generate an imaging light beam of the first image, wherein the first modulation parameter is determined by a first neural network model based on a first distorted image and a first target image as input data, wherein the first distorted image is an image of the training image presented after imaging processing by the optical imaging system and the screen, and the first target image is an image of the training image that is not distorted or has a distortion degree within a preset range; At least one lens is used to refract the imaging light beam of the first image generated by the spatial light modulator.
13. The system according to claim 12, characterized in that The spatial light modulator is specifically used to modulate the training image based on the original modulation parameters to obtain the first distorted image; The optical imaging system further comprises: A camera device, used for acquiring the first distorted image; The spatial light modulator is also used to obtain the first distorted image from the camera device, and adjust the original modulation parameters so that the deviation between the first distorted image and the first target image is within a preset range, and determine the adjusted original modulation parameters as the first modulation parameters.
14. The system according to claim 12, characterized in that The optical imaging system further comprises: A camera device, used for acquiring an image of the first distorted image; A transceiver is used to send the first distorted image to a server, and to receive the first modulation parameter from the server.
15. The system according to any one of claims 12 to 14, characterized in that The spatial light modulator is used to obtain a first correspondence between K modulation parameters including the first modulation parameter and K image parameters, wherein the kth modulation parameter is determined based on a distorted image and a target image of a training image having the kth image parameter, the kth modulation parameter corresponds to the kth image parameter, K≥2, k∈[1,K], the values of any two of the K modulation parameters are different, the values of any two of the K image parameters are different, and according to the first correspondence, the modulation parameter corresponding to the image parameter of the first image is determined as the first modulation parameter.
16. The system according to claim 15, characterized in that The image parameters include at least one of the following parameters: image size, image color, image shape, and image resolution.
17. The system according to any one of claims 12 to 16, characterized in that The spatial light modulator is used to obtain a second correspondence between M modulation parameters including the first modulation parameter and M position parameters, the position parameter is used to indicate the position relationship between the human eye and the screen, wherein the mth modulation parameter is determined based on the distorted image and the target image of the training image at the mth position parameter, the mth modulation parameter corresponds to the mth position parameter, the values of any two of the M modulation parameters are different, the values of any two of the M position parameters are different, and based on the second correspondence, the modulation parameter corresponding to the position parameter of the first image is determined as the first modulation parameter.
18. The system according to claim 17, characterized in that The position parameters include at least one of the following parameters: The distance between the human eye and the incident point of the light beam on the screen, the position of the projection of the human eye on the screen in the horizontal direction of the screen, and the position of the projection of the human eye on the screen in the vertical direction of the screen.
19. The system according to any one of claims 12 to 18, characterized in that The spatial light modulator is used to obtain a third correspondence between N modulation parameters including the first modulation parameter and N screen parameters, wherein the nth modulation parameter is determined based on a distorted image and a target image of the training image imaged through a screen having the nth screen parameter, the nth modulation parameter corresponds to the nth screen parameter, the values of any two of the N modulation parameters are different, the values of any two of the N screen parameters are different, and according to the third correspondence, the modulation parameter corresponding to the screen parameter of the first screen is determined as the first modulation parameter, wherein the first screen is a screen used for imaging the first image.
20. The system according to claim 19, characterized in that The screen parameters include at least one of the following parameters: Screen shape, screen thickness, screen material, screen refractive index, screen color.
21. The system according to any one of claims 12 to 20, characterized in that The first modulation parameters include Zernike coefficients.
22. A vehicle, characterized in that: include: An optical imaging system as claimed in any one of claims 12 to 21.
