TDiff: Thermal Plug-And-Play Prior with Patch-Based Diffusion
Piyush Dashpute, Niki Nezakati, Wolfgang Heidrich, Vishwanath Saragadam
TL;DR
This work tackles thermal image restoration under data scarcity and structured noise by introducing TDiff, a patch-based diffusion framework. By training on patches of 64x64 and 128x128, it learns localized priors that handle edge-preserving denoising, super-resolution, and deblurring. Full-resolution results are obtained by denoising overlapping patches and blending them with smooth windows while enforcing data consistency during diffusion. On the FLIR dataset and real cameras, TDiff delivers higher structural similarity and competitive PSNR compared to strong baselines, illustrating a unified restoration pipeline for thermal images. The approach offers data-efficient restoration useful for low-cost thermal cameras and could extend to other modalities.
Abstract
Thermal images from low-cost cameras often suffer from low resolution, fixed pattern noise, and other localized degradations. Available datasets for thermal imaging are also limited in both size and diversity. To address these challenges, we propose a patch-based diffusion framework (TDiff) that leverages the local nature of these distortions by training on small thermal patches. In this approach, full-resolution images are restored by denoising overlapping patches and blending them using smooth spatial windowing. To our knowledge, this is the first patch-based diffusion framework that models a learned prior for thermal image restoration across multiple tasks. Experiments on denoising, super-resolution, and deblurring demonstrate strong results on both simulated and real thermal data, establishing our method as a unified restoration pipeline.
