Papers › DiffCR: A Fast Conditional Diffusion Framework for Cloud Removal from Optical Satellite Images

DiffCR: A Fast Conditional Diffusion Framework for Cloud Removal from Optical Satellite Images

8 Aug 2023arXiv:2308.04417archive 2025-07-28

Xuechao Zou, Kai Li, Junliang Xing, Yu Zhang, Shiying Wang, Lei Jin, Pin Tao

Optical satellite images are a critical data source; however, cloud cover often compromises their quality, hindering image applications and analysis. Consequently, effectively removing clouds from optical satellite images has emerged as a prominent research direction. While recent advancements in cloud removal primarily rely on generative adversarial networks, which may yield suboptimal image quality, diffusion models have demonstrated remarkable success in diverse image-generation tasks, showcasing their potential in addressing this challenge. This paper presents a novel framework called DiffCR, which leverages conditional guided diffusion with deep convolutional networks for high-performance cloud removal for optical satellite imagery. Specifically, we introduce a decoupled encoder for conditional image feature extraction, providing a robust color representation to ensure the close similarity of appearance information between the conditional input and the synthesized output. Moreover, we propose a novel and efficient time and condition fusion block within the cloud removal model to accurately simulate the correspondence between the appearance in the conditional image and the target image at a low computational cost. Extensive experimental evaluations on two commonly used benchmark datasets demonstrate that DiffCR consistently achieves state-of-the-art performance on all metrics, with parameter and computational complexities amounting to only 5.1% and 5.4%, respectively, of those previous best methods. The source code, pre-trained models, and all the experimental results will be publicly available at https://github.com/XavierJiezou/DiffCR upon the paper's acceptance of this work.

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="2308.04417")

Code

Syntology Ran 17 of 20 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · violated contract; 2 ran · our draft was wrong; 11 ran with no contract checked.

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

xavierjiezou/diffcr officialmentioned in papermentioned on GitHubpytorch 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

20 samples harvested; 17 ran; 1 honoured the contract we drafted; 3 have 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
3ran · violated contract
2ran · our draft was wrong
11ran
3unverified

Licence: 20 of the 20 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 xavierjiezou/diffcr. “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.

interpolate_fn xavierjiezou/diffcr/core/dpm_solver_pytorch.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 6a35b62fbc80f70a · report
default xavierjiezou/diffcr/models/network.py official repository ran · violated contract no licence file found · pointer only · fbf9ec7be545688e · report
dict2str xavierjiezou/diffcr/core/praser.py official repository ran no licence file found · pointer only · 60fc13986769e4c7 · report
dict_to_nonedict xavierjiezou/diffcr/core/praser.py official repository ran no licence file found · pointer only · 38e77ca35f1f8bcb · report
exists xavierjiezou/diffcr/models/network.py official repository ran · violated contract no licence file found · pointer only · 608e364a9d2376a3 · report
expand_dims xavierjiezou/diffcr/core/dpm_solver_pytorch.py official repository ran · our draft was wrong no licence file found · pointer only · e6110366588c5c65 · report
get_rgb xavierjiezou/diffcr/core/util.py official repository ran no licence file found · pointer only · 31ab8b34a9eae739 · report
is_image_file xavierjiezou/diffcr/core/base_dataset.py official repository ran · violated contract no licence file found · pointer only · ab4109634b75ef8b · report
l1_loss xavierjiezou/diffcr/models/loss.py official repository ran fingerprinted no licence file found · pointer only · ec9619e0218df36b · report
mae xavierjiezou/diffcr/models/metric.py official repository ran fingerprinted no licence file found · pointer only · 0570fbc1e2582ae7 · report
make_dataset xavierjiezou/diffcr/core/base_dataset.py official repository ran no licence file found · pointer only · fd901efe5f883205 · report
model_wrapper xavierjiezou/diffcr/core/dpm_solver_pytorch.py official repository ran no licence file found · pointer only · 9848e01415415f8a · report
model_wrapper xavierjiezou/diffcr/core/dpm_solver_pytorch_no_noise.py official repository ran no licence file found · pointer only · c4e49babf7143348 · report
mse_loss xavierjiezou/diffcr/models/loss.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 632959a67ae7fdac · report
pil_loader xavierjiezou/diffcr/core/base_dataset.py official repository ran no licence file found · pointer only · 534e80dab769ec2f · report
postprocess xavierjiezou/diffcr/core/util.py official repository ran no licence file found · pointer only · 323b38636782c5cc · report
tensor2img xavierjiezou/diffcr/core/util.py official repository ran no licence file found · pointer only · 5f41e21e2d6d8972 · report
extract xavierjiezou/diffcr/models/network.py official repository unverified no licence file found · pointer only · e894fcce48231d2f · report
inception_score xavierjiezou/diffcr/models/metric.py official repository unverified no licence file found · pointer only · 6d3c813b7561493d · report
init_obj xavierjiezou/diffcr/core/praser.py official repository unverified no licence file found · pointer only · 89ecc1cd0adb6951 · report

Tasks

Cloud RemovalImage Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Cloud Removal SEN12MS-CR DiffCR MAE 0.019 #2 of 10 Archive leaderboard report
Cloud Removal SEN12MS-CR DiffCR PSNR 31.77 #2 of 10 Archive leaderboard report
Cloud Removal SEN12MS-CR DiffCR SAM 5.821 #2 of 10 Archive leaderboard report
Cloud Removal SEN12MS-CR DiffCR SSIM 0.902 #2 of 10 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

Diffusion

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