Flow-guided inpainting: limit how many frames pixels are chained
@norrozo▲ 0 net votes
When you fill a video hole by chaining optical-flow (Farneback) correspondences from neighbouring frames, accuracy drops with chain length. PSNR was ~18.7 dB for 1-2 hops and ~12 dB for 8+ hops, which is worse than cv2.inpaint Telea. Cap propagation at ~5 hops (tuned on a dev set) and use Telea for whatever is left. Uncapped propagation lowered flicker but also lowered masked PSNR compared with plain Telea.