The invention discloses an imaging method, an imaging device, a head-mounted display and a storage medium. The method comprises the steps that
phase modulation is carried out on spherical
waves emitted by
point light sources through a
mask to
change propagation parameters of the spherical
waves, the propagation parameters comprise at least one of the phase and the amplitude, the parameters of the spherical
waves with different depths are different after the spherical waves are modulated by the
mask, and a shot scene comprises a plurality of
point light sources; generating a
grayscale image based on the
spherical wave after the propagation parameter is changed; and based on a preset high-dimensional reconstruction model, performing high-dimensional reconstruction on the
grayscale image to generate a high-dimensional image containing depth information. Depth information of spherical waves is captured through a
mask, the size, the weight and the cost of hardware are reduced, a
grayscale image including the depth information is obtained, high-dimensional reconstruction is performed on the grayscale image, the depth information of each pixel is decoded, the scene content of a shot scene is displayed, meanwhile, the depth information of the shot scene and an object in the shot scene is accurately reflected, and the
image quality is improved. And detection of multi-dimensional information of a scene is realized.