Quality factor estimation and correction are necessary to compensate the seismic energy dissipated during acoustic-/ elastic-wave propagation in the earth. In this process, known as Q-filtering in the realm of seismic processing, the main goal is to improve the resolution of the seismic signal, as well as to recover part of the energy dissipated by the anelastic attenuation. We have found a way to improve Q-factor estimation from seismic reflection data. Our methodology is based on the combination of the peak-frequency-shift (PFS) method and the redatuming operator. Our innovation is in the way we correct traveltimes when the medium consists of many layers. In other words, the correction of the traveltime table used in the PFS method is performed using the redatuming operator. This operation, performed iteratively, allows a more accurate estimation of the Q factor layer by layer. Applications to synthetic and real data (Viking Graben) reveal the feasibility of our analysis.