Ultrasonic testing is an important method in nondestructive testing industry.Ultrasonic image processing helps workers to understand the location, size and shape of defects faster and better. Phase shift migration algorithm is a new method of ultrasonic imaging algorithm. In this paper, after collecting ultrasonic data and using adaptive filter, the ultrasonic image with higher resolution is obtained by phase shift migration algorithm.