The present invention relates to for measuring the velocity of sound,Especially in imaging,Utilize the method for pulse-echo ultrasound object,Include the following steps: to be transmitted through ultrasonic probe( 1 )At least the first ultrasonic pulse( 10 )In a first direction(φ0 )With the second ultrasonic pulse( 20 )In second direction(φ)It is imaged to target O,To first ultrasonic pulse( 10 )Object described in backscattering towards the ultrasonic probe form be the first ultrasound( 11 ),Therefore,Second ultrasonic pulse( 20 )Second ultrasound of the object described in backscattering towards the ultrasonic probe form( 21 ),Detect first ultrasound of backscattering( 11 )With second ultrasound of backscattering( 21 )With the ultrasonic probe( 1 ),It rebuilds from first ultrasound of back scattering detected( 11 )The first image the first local echo( 5 )With from second ultrasound of back scattering detected( 10 )Second local echo of 0 the second image( 7 ),Wherein described image is located at the plane of delineation by across the direction(φ0,φ,Determine each gained local echo phase shift Δ τ of image from the reconstruct( x,z,φ,φ0 )Corresponding to the echo time(Difference)Between corresponding first local echo and corresponding second local echo relative to situation assume the constant velocity of sound,Determine local velocity of sound c( x,z )The object in the described image plane at least one region of the object is from the local echo phase shift Δ τ( x,z,φ,φ0 ). Moreover, it relates to a kind of corresponding computer program and system.