Papers › Restoring Vision in Adverse Weather Conditions with Patch-Based Denoising Diffusion Models

Restoring Vision in Adverse Weather Conditions with Patch-Based Denoising Diffusion Models

29 Jul 2022arXiv:2207.14626archive 2025-07-28

Ozan Özdenizci, Robert Legenstein

Image restoration under adverse weather conditions has been of significant interest for various computer vision applications. Recent successful methods rely on the current progress in deep neural network architectural designs (e.g., with vision transformers). Motivated by the recent progress achieved with state-of-the-art conditional generative models, we present a novel patch-based image restoration algorithm based on denoising diffusion probabilistic models. Our patch-based diffusion modeling approach enables size-agnostic image restoration by using a guided denoising process with smoothed noise estimates across overlapping patches during inference. We empirically evaluate our model on benchmark datasets for image desnowing, combined deraining and dehazing, and raindrop removal. We demonstrate our approach to achieve state-of-the-art performances on both weather-specific and multi-weather image restoration, and experimentally show strong generalization to real-world test images.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2207.14626")

Code

Syntology Ran 10 of 11 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 3 ran · our draft was wrong; 2 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

igitugraz/weatherdiffusion officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 10 ran; 1 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
3ran · our draft was wrong
2ran · fixture could not drive it
3ran
1unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from igitugraz/weatherdiffusion. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Normalize igitugraz/weatherdiffusion/models/unet.py official repository ran · our draft was wrong MIT (permissive) · c3a6b977022957cb · report
calculate_psnr igitugraz/weatherdiffusion/utils/metrics.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 7f3a54e16f28ef7e · report
data_transform igitugraz/weatherdiffusion/models/ddm.py official repository ran fingerprinted MIT (permissive) · 1711055882a8cb05 · report
dict2namespace igitugraz/weatherdiffusion/eval_diffusion.py official repository ran · our draft was wrong MIT (permissive) · bd1f17e427bf51a5 · report
get_beta_schedule igitugraz/weatherdiffusion/models/ddm.py official repository ran · honoured contract MIT (permissive) · ca0cea1ca1eeec89 · report
get_timestep_embedding igitugraz/weatherdiffusion/models/unet.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · cb49209c125de1b4 · report
inverse_data_transform igitugraz/weatherdiffusion/models/ddm.py official repository ran fingerprinted MIT (permissive) · 444601dceca73c5e · report
load_checkpoint igitugraz/weatherdiffusion/utils/logging.py official repository ran MIT (permissive) · 60c85826a345d8ed · report
nonlinearity igitugraz/weatherdiffusion/models/unet.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 3137073275f8c21a · report
to_y_channel igitugraz/weatherdiffusion/utils/metrics.py official repository ran · violated contract fingerprinted MIT (permissive) · 2746a91df51e486c · report
calculate_ssim igitugraz/weatherdiffusion/utils/metrics.py official repository unverified MIT (permissive) · 5d0f7e6eeb30a620 · report

Tasks

DenoisingImage RestorationRain RemovalRaindrop RemovalSingle Image Deraining

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Restoration CDD-11 WeatherDiff Average PSNR (dB) 22.49 #14 of 14 Archive leaderboard report
Image Restoration CDD-11 WeatherDiff SSIM 0.7985 #14 of 14 Archive leaderboard report
Rain Removal Nightrain WeatherDiff PSNR 20.98 #4 of 4 Archive leaderboard report
Single Image Deraining Raindrop RainDropDiff128 PSNR 32.43 #3 of 3 Archive leaderboard report
Single Image Deraining Raindrop RainDropDiff128 SSIM 0.933 #3 of 3 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

DiffusionTest

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections