The invention relates to the technical field of
augmented reality, in particular to a 24-solar-term astronomical space-time presentation method and
system based on
mixed reality. The method comprises the following steps: firstly, reading
augmented reality scene initialization data, configuring virtual scene parameters, and executing three-dimensional scene registration to generate a registration matrix; executing visual tracking by collecting an image
stream, and generating a viewpoint
transformation matrix; the
system performs real-time
sky semantic segmentation on an image
stream to generate a binarized
sky mask, and constructs an
augmented reality rendering pipeline: synthesizing registration and viewpoint matrix calculation rendering operators, using the
sky mask as an Alpha
mask to perform pixel-
level fusion of a virtual starry sky and a real sky, and combining sparse point clouds to perform depth
occlusion synthesis, so as to obtain an augmented reality rendering pipeline. An atmospheric optical coloring model and a dynamic volume
particle system are loaded for environmental
atmosphere enhancement; and optical consistency fusion of a
virtual image and a real environment is further realized through HDR
luminosity alignment and
tone mapping, and finally high-fidelity augmented reality superposition is realized.