Embodiments provide a method for denoising time series images of a moved structure for a medical device. A movement detector detects the moved structure. The movement detector obtains a measurement of the similarity of two images that each represent the same section of the moved structure. The two images originate from two different time series images. A ratio between spatial and temporal denoising is defined for the section as a function of the measurement of the similarity.