The invention discloses a 3D
naked eye image generation method and
system based on a neural network, and relates to the technical field of 3D
naked eye image generation, and the method comprises the steps: inputting a disparity map and a preprocessed
stereoscopic view into an end-to-end neural network frame, and a generator in the GANs is combined to generate a 3D
naked eye image according to the input disparity map and the stereo view, a neural
network model is used for the 3D naked eye image, and the neural
network model is optimized, so that the 3D naked eye image can efficiently run on the mobile equipment, and the 3D naked eye image can be efficiently displayed. And performing color and brightness adjustment according to a 3D naked eye image generated by the optimized neural
network model. Through accurate
size adjustment and
color correction, errors caused by
original data differences are reduced, the accuracy of subsequent depth
estimation is improved, important feature points can be more accurately positioned in a complex scene by adopting an attention mechanism
algorithm, the accuracy of a disparity map is improved, and the sense of reality and the three-dimensional effect of a final 3D naked eye image are ensured.