Magnetic particle testing is the most effective non-destructive testing method for the surface and near surface of carbon steel components.Under complex working conditions,automated magnetic particle testing technology still faces problems such as blurry defect images,low defect recognition rates,and false alarms.A uniform linear motion image degradation model was established to address the blurring issue during crack image acquisition.The direction and scale of motion blur were solved,and three restoration methods,namely inverse filtering,Wiener filtering,and Richardson Lucy,were used for restoration.The results showed that the Richardson Lucy restoration method could effectively improve the motion blur phenomenon in the image acquisition process of magnetic particle testing.