Motion artifacts and patient dose during 4D CT imaging are reduced by adaptive control of data acquisition. The respiration signal (310) and CT data acquisition (340) are linked, such that ‘bad’ data from erratic breathing cycles that cause artifacts is not acquired by pausing CT data acquisition (360) when erratic breathing is detected, and not resuming CT data acquisition until steady-state respiration is resumed. Training data is used to develop a tolerance envelope for a respiratory signal such that for erratic breathing cycles the respiratory signal is not within the tolerance envelope (330).