1. A method for detecting displacement in elastography, comprising: selecting a target point; obtaining a cross-correlation phase calculation location of the target point in a second frame image; calculating a cross-correlation phase based on the cross-correlation phase calculation location; and calculating a longitudinal displacement based on the cross-correlation phase.