In order to solve the problem of sports medical image in basketball training, a sports medical image modeling research method based on injury prevention in basketball training was proposed. By the method, the current situation of sports injury in university basketball was investigated. At the same time, the injury factors were analyzed on four occasions, including basketball class, extracurricular activities, competition, and training. In order to reduce the occurrence of injury and enhance the security of basketball sports for nonbasketball students of physical education, combined with the problems and reasons, the corresponding suggestions were put forward. Through the experiment, it was found that the incidence of basketball injury for nonbasketball male university students was as high as 90.7%. The results of the experiment showed that it was necessary to enhance the awareness of self-protection, control emotions and exhibitionism, strengthen physical training, attach importance to basic skills training, do warm-up activities, stay focused, pay attention to exercise load, and prevent excessive fatigue.