A method and apparatus for use with a gated CT imaging system for correcting
for
Rpeak errors in a heart beat signal, the method including identifying heart rate
corresponding to each specific heart beating cycle and comparing the heart rate
for each specific cycle to moving averages to determine when a likely Rpeak error
has occurred and, when a likely error has occurred, modifying the heart beat signal
to generate a more accurate signal and thereby render more accurate gated images.