Imaging method, imaging apparatus, optical imaging system, and vehicle
View Patent ↗This application provides an imaging method and an optical imaging system. One example method includes: obtaining a first modulation parameter, wherein the first modulation parameter is determined based on a first distorted image and a first target image, the first distorted image is an image presented after imaging processing is performed on a training image by using the optical imaging system and a screen, the first target image is an image of the training image, and distortion of the first target image falls within a preset range; and controlling the spatial light modulator to modulate an electrical signal of a to-be-imaged first image based on the first modulation parameter, and to generate an imaging light beam that is incident to human eyes through the lens and the screen.
1 . An imaging method, applied to an optical imaging system, wherein the system comprises a spatial light modulator and at least one lens, and the method comprises:
obtaining a first modulation parameter, wherein the first modulation parameter is determined based on a first distorted image and a first target image, the first distorted image is an image presented after imaging processing is performed on a training image by using the optical imaging system and a screen, the first target image is an image obtained based on a distorted image corresponding to calibrated lattice of a projection at an observation position, and distortion of the first target image falls within a preset range; and
controlling the spatial light modulator to modulate an electrical signal of a to-be-imaged first image based on the first modulation parameter, and to generate an imaging light beam that is incident to human eyes through the lens and the screen.
2 . The method according to claim 1 , wherein the obtaining a first modulation parameter comprises:
controlling the spatial light modulator to modulate an electrical signal of the training image based on an original modulation parameter, to obtain the first distorted image;
adjusting the original modulation parameter, wherein a deviation between the first distorted image and the first target image falls within the preset range after the adjusting; and
determining an adjusted original modulation parameter as the first modulation parameter.
3 . The method according to claim 1 , wherein the obtaining a first modulation parameter comprises:
sending an image of the first distorted image to a server; and
obtaining the first modulation parameter from the server.
4 . The method according to claim 1 , wherein the method further comprises:
obtaining a first correspondence between K modulation parameters comprising the first modulation parameter and K image parameters, wherein a k th modulation parameter is determined based on a distorted image and a target image of a training image having a k th image parameter, the k th modulation parameter corresponds to the k th image parameter, K≥2, k∈[1, K], values of any two of the K modulation parameters are different, and values of any two of the K image parameters are different; and
the obtaining a first modulation parameter comprises:
determining a modulation parameter corresponding to an image parameter of the to-be-imaged first image as the first modulation parameter based on the first correspondence.
5 . The method according to claim 4 , wherein the image parameter comprises at least one of the following parameters:
an image size, an image color, an image shape, or an image resolution.
6 . The method according to claim 1 , wherein the method further comprises:
obtaining a second correspondence between M modulation parameters and M positional parameters, wherein the M modulation parameters comprise the first modulation parameter, each of the M positional parameters indicate a positional relationship between the human eyes and the screen, an m th modulation parameter is determined based on a distorted image and a target image of the training image having an mt positional parameter, the m th modulation parameter corresponds to the m th positional parameter, values of any two of the M modulation parameters are different, and values of any two of the M positional parameters are different; and
the obtaining a first modulation parameter comprises:
determining a modulation parameter corresponding to a positional parameter of the to-be-imaged first image as the first modulation parameter based on the second correspondence.
7 . The method according to claim 6 , wherein the positional parameter comprises at least one of the following parameters:
a distance between the human eyes and an incident point of a light beam on the screen, a position of a projection of the human eyes on the screen in a horizontal direction of the screen, or a position of the projection of the human eyes on the screen in a vertical direction of the screen.
8 . An optical imaging system, comprising:
a spatial light modulator, configured to modulate an electrical signal of a to-be-imaged first image based on a first modulation parameter to generate an imaging light beam of the to-be-imaged first image, wherein the first modulation parameter is determined based on a first distorted image and a first target image, the first distorted image is an image presented after imaging processing is performed on a training image by using the spatial light modulator and a screen, the first target image is an image obtained based on a distorted image corresponding to calibrated lattice of a projection at an observation position, and distortion of the first target image falls within a preset range; and
at least one lens, configured to refract the imaging light beam of the to-be-imaged first image.
9 . The system according to claim 8 , wherein the spatial light modulator is configured to modulate an electrical signal of the training image based on an original modulation parameter, to obtain the first distorted image;
the optical imaging system further comprises
a camera, configured to obtain the first distorted image; and
the spatial light modulator is further configured to:
obtain the first distorted image from the camera;
adjust the original modulation parameter, wherein a deviation between the first distorted image and the first target image falls within the preset range after the adjusting; and
determine an adjusted original modulation parameter as the first modulation parameter.
10 . The system according to claim 8 , wherein the optical imaging system further comprises:
a camera, configured to capture an image of the first distorted image; and
a transceiver, configured to: send the image of the first distorted image to a server; and
receive the first modulation parameter from the server.
11 . The system according to claim 8 , wherein the spatial light modulator is configured to: obtain a first correspondence between K modulation parameters comprising the first modulation parameter and K image parameters, wherein a k th modulation parameter is determined based on a distorted image and a target image of a training image having a k th image parameter, the k th modulation parameter corresponds to the k th image parameter, K≥2, k∈[1, K], values of any two of the K modulation parameters are different, and values of any two of the K image parameters are different; and determine a modulation parameter corresponding to an image parameter of the to-be-imaged first image as the first modulation parameter based on the first correspondence.
12 . The system according to claim 11 , wherein the image parameter comprises at least one of the following parameters: an image size, an image color, an image shape, or an image resolution.
13 . The system according to claim 11 , wherein the spatial light modulator is configured to: obtain a second correspondence between M modulation parameters and M positional parameters, wherein the M modulation parameters comprise the first modulation parameter, each of the M positional parameters indicate a positional relationship between human eyes and the screen, an m th modulation parameter is determined based on a distorted image and a target image of the training image having an m th positional parameter, the m th modulation parameter corresponds to the m th positional parameter, values of any two of the M modulation parameters are different, and values of any two of the M positional parameters are different; and determine a modulation parameter corresponding to a positional parameter of the to-be-imaged first image as the first modulation parameter based on the second correspondence.
14 . The system according to claim 13 , wherein the positional parameter comprises at least one of the following parameters:
a distance between the human eyes and an incident point of a light beam on the screen, a position of a projection of the human eyes on the screen in a horizontal direction of the screen, or a position of the projection of the human eyes on the screen in a vertical direction of the screen.
15 . The system according to claim 8 , wherein the spatial light modulator is configured to: obtain a third correspondence between N modulation parameters comprising the first modulation parameter and N screen parameters, wherein an n th modulation parameter is determined based on a distorted image and a target image that are obtained after the training image is imaged by using a screen having an n th screen parameter, the n th modulation parameter corresponds to the n th screen parameter, values of any two of the N modulation parameters are different, and values of any two of the N screen parameters are different; and determine a modulation parameter corresponding to a screen parameter of a first screen as the first modulation parameter based on the third correspondence, wherein the first screen is a screen used for imaging the to-be-imaged first image.
16 . A vehicle, comprising an optical imaging system mounted on the vehicle, the optical imaging system comprising:
a spatial light modulator, configured to modulate an electrical signal of a to-be-imaged first image based on a first modulation parameter to generate an imaging light beam of the to-be-imaged first image, wherein the first modulation parameter is determined based on a first distorted image and a first target image, the first distorted image is an image presented after imaging processing is performed on a training image by using the spatial light modulator and a screen, the first target image is an image obtained based on a distorted image corresponding to calibrated lattice of a projection at an observation position, and distortion of the first target image falls within a preset range; and
at least one lens, configured to refract the imaging light beam of the to-be-imaged first image.
17 . The vehicle according to claim 16 , wherein the spatial light modulator is configured to modulate an electrical signal of the training image based on an original modulation parameter, to obtain the first distorted image;
the optical imaging system further comprises
a camera, configured to obtain the first distorted image; and
the spatial light modulator is further configured to:
obtain the first distorted image from the camera;
adjust the original modulation parameter, wherein a deviation between the first distorted image and the first target image falls within the preset range after the adjusting; and
determine an adjusted original modulation parameter as the first modulation parameter.
18 . The vehicle according to claim 16 , wherein the optical imaging system further comprises:
a camera, configured to capture an image of the first distorted image; and
a transceiver, configured to: send the image of the first distorted image to a server; and
receive the first modulation parameter from the server.
19 . The vehicle according to claim 16 , wherein the spatial light modulator is configured to: obtain a first correspondence between K modulation parameters comprising the first modulation parameter and K image parameters, wherein a k th modulation parameter is determined based on a distorted image and a target image of a training image having a k th image parameter, the k th modulation parameter corresponds to the k th image parameter, K≥2, k∈[1, K], values of any two of the K modulation parameters are different, and values of any two of the K image parameters are different; and determine a modulation parameter corresponding to an image parameter of the to-be-imaged first image as the first modulation parameter based on the first correspondence.
20 . The vehicle according to claim 19 , wherein the image parameter comprises at least one of the following parameters: an image size, an image color, an image shape, or image resolution.