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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 20 code samples harvested from 1 repository linked to this paper: 17 ran (of which 0 constructed an object rather than computing a result; 11 with no instrument failure: 2 honoured, 3 violated, 6 with no contract checked; 6 where Syntology's instrument failed) · 3 unverified. Where Syntology's instrument failed: 6 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 20 samples from 1 repository, 17 ran (11 with no instrument failure; 6 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 3 of the 17 samples that ran have no recorded date.

xavierjiezou/diffcr officialmentioned in papermentioned on GitHubpytorchSyntology: 20 samples, 17 ran (6 instrument-failed) · 3 unverified 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 (of which 0 constructed an object rather than computing a result; 11 with no instrument failure: 2 honoured, 3 violated, 6 with no contract checked; 6 where Syntology's instrument failed) · 3 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · honoured contract
3ran · violated contract
6ran · our draft was wrong
6ran
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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 1 sample that ran, the graph records a signature this page does not show: an argument's recorded type or element kind is a printout of an object in Syntology's harness (such as a mock object, a class or a pandas printout), not the type of an input, so it does not describe the call's shape. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

xavierjiezou/diffcr official repository 20 samples, 17 ran (6 instrument-failed) · 3 unverified
interpolate_fn in 42 papers core/dpm_solver_pytorch.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 6a35b62fbc80f70a · report fixture: signature x:Tensor/2/float, xp:Tensor/2/float, yp:Tensor/2/float · returned Tensor · level recorded, date not recorded
default in 430 papers models/network.py ran · violated contract no licence file found · pointer only · fbf9ec7be545688e · report fixture: signature val:NoneType/0/?, d:str/0/str · returned str · level recorded 2026-09-22
dict2str in 30 papers core/praser.py ran · our draft was wrong no licence file found · pointer only · 60fc13986769e4c7 · report fixture: signature opt:dict/0/?, indent_l:int/0/int · returned str · level recorded 2026-09-24
dict_to_nonedict in 22 papers core/praser.py ran · our draft was wrong no licence file found · pointer only · 38e77ca35f1f8bcb · report fixture: signature opt:dict/0/? · returned NoneDict · level recorded 2026-09-24
exists in 528 papers
census: 5 implementations from 103 papers, 1 distinct output on one shared input this sample: bucket 1 of 1, arg 1: rank 1, kind int, dtype int64
models/network.py ran · violated contract no licence file found · pointer only · 608e364a9d2376a3 · report fixture: signature x:Tensor/1/int · returned bool · level recorded, date not recorded
expand_dims in 38 papers
census: 6 implementations from 13 papers, 2 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 1 of 2, arg 1: rank 1, kind float, dtype float32
core/dpm_solver_pytorch.py ran · our draft was wrong no licence file found · pointer only · e6110366588c5c65 · report fixture: signature v:Tensor/1/float, dims:int/0/int · returned Tensor · level recorded, date not recorded
get_rgb core/util.py ran no licence file found · pointer only · 31ab8b34a9eae739 · report fixture: returned ndarray · level recorded 2026-09-24
is_image_file in 157 papers core/base_dataset.py ran · violated contract no licence file found · pointer only · ab4109634b75ef8b · report fixture: signature filename:str/0/str · returned bool · level recorded 2026-09-22
l1_loss in 149 papers
census: 3 implementations from 7 papers, 3 distinct outputs across 3 buckets, one shared input per bucket
models/loss.py ran fingerprinted no licence file found · pointer only · ec9619e0218df36b · report fixture: signature output:Tensor/2/float, target:Tensor/2/float · returned Tensor · level recorded 2026-09-24
mae in 41 papers
census: 4 implementations from 6 papers, 3 distinct outputs across 3 buckets, one shared input per bucket
models/metric.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 0570fbc1e2582ae7 · report fixture: signature input:Tensor/2/float, target:Tensor/2/float · returned Tensor · level recorded 2026-09-24
make_dataset in 144 papers core/base_dataset.py ran · our draft was wrong no licence file found · pointer only · fd901efe5f883205 · report fixture: signature dir:str/0/str · returned list · level recorded 2026-09-24
model_wrapper in 37 papers core/dpm_solver_pytorch.py ran no licence file found · pointer only · 9848e01415415f8a · report fixture: signature model:callable/0/?, noise_schedule:NoiseScheduleVP/0/?, model_type:str/0/str, model_kwargs:dict/0/?, guidance_type:str/0/str, condition:Tensor/2/float, unconditional_condition:Tensor/2/float, guidance_scale:float/0/float, classifier_fn:callable/0/?, classifier_kwargs:dict/0/? · returned function · level recorded 2026-09-24
model_wrapper in 37 papers core/dpm_solver_pytorch_no_noise.py ran no licence file found · pointer only · c4e49babf7143348 · report fixture: signature model:callable/0/?, noise_schedule:DummyNoiseSchedule/0/?, model_type:str/0/str, model_kwargs:dict/0/?, guidance_type:str/0/str, condition:NoneType/0/?, unconditional_condition:NoneType/0/?, guidance_scale:float/0/float, classifier_fn:NoneType/0/?, classifier_kwargs:dict/0/? · returned function · level recorded 2026-09-24
mse_loss in 73 papers
census: 8 implementations from 12 papers, 6 distinct outputs across 4 buckets, one shared input per bucket this sample: bucket 1 of 4, arg 1: rank 2, kind float, dtype float32 · arg 2: rank 2, kind float, dtype float32
models/loss.py ran · honoured contract fingerprinted no licence file found · pointer only · 632959a67ae7fdac · report fixture: signature output:Tensor/2/float, target:Tensor/2/float · returned Tensor · level recorded 2026-09-22
pil_loader in 144 papers core/base_dataset.py ran · honoured contract no licence file found · pointer only · 534e80dab769ec2f · report fixture: signature path:str/0/str · returned Image · level recorded 2026-09-24
postprocess in 70 papers
census: 5 implementations from 5 papers, 5 distinct outputs across 2 buckets, one shared input per bucket
core/util.py ran no licence file found · pointer only · 323b38636782c5cc · report fixture: signature images:list/1/Tensor · returned list · level recorded 2026-09-24
tensor2img in 35 papers core/util.py ran no licence file found · pointer only · 5f41e21e2d6d8972 · report fixture: returned ndarray · level recorded 2026-09-24
inception_score in 13 papers models/metric.py unverified no licence file found · pointer only · 6d3c813b7561493d · report
init_obj in 5 papers core/praser.py 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