An ultrasonic imaging system acquires echo signals from an object being
imaged such as a moving coronary artery and the cross-correlation between
echo signals is employed as an objective measure of relative object
location. The method is used in a prescan procedure to determine an
optimal gating window to acquire image data during a cardiac gated scan,
and it is used during the scan as a real time gating signal.