Papers › A Unified Framework for Microscopy Defocus Deblur with Multi-Pyramid Transformer and...

A Unified Framework for Microscopy Defocus Deblur with Multi-Pyramid Transformer and Contrastive Learning

5 Mar 2024CVPR 2024 1arXiv:2403.02611archive 2025-07-28

Yuelin Zhang, Pengyu Zheng, Wanquan Yan, Chengyu Fang, Shing Shin Cheng

Defocus blur is a persistent problem in microscope imaging that poses harm to pathology interpretation and medical intervention in cell microscopy and microscope surgery. To address this problem, a unified framework including the multi-pyramid transformer (MPT) and extended frequency contrastive regularization (EFCR) is proposed to tackle two outstanding challenges in microscopy deblur: longer attention span and data deficiency. The MPT employs an explicit pyramid structure at each network stage that integrates the cross-scale window attention (CSWA), the intra-scale channel attention (ISCA), and the feature-enhancing feed-forward network (FEFN) to capture long-range cross-scale spatial interaction and global channel context. The EFCR addresses the data deficiency problem by exploring latent deblur signals from different frequency bands. It also enables deblur knowledge transfer to learn cross-domain information from extra data, improving deblur performance for labeled and unlabeled data. Extensive experiments and downstream task validation show the framework achieves state-of-the-art performance across multiple datasets. Project page: https://github.com/PieceZhang/MPT-CataBlur.

PaperPDFConference PDFCodeCode 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 18 code samples harvested from 1 repository linked to this paper: 18 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 14 where Syntology's instrument failed) · 0 unverified. Where Syntology's instrument failed: 12 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 18 samples from 1 repository, 18 ran (4 with no instrument failure; 14 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 18 samples that ran have no recorded date.

piecezhang/mpt-catablur officialmentioned in papermentioned on GitHubpytorchApache-2.0Syntology: 18 samples, 18 ran (14 instrument-failed) · 0 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

18 samples harvested: 18 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 14 where Syntology's instrument failed) · 0 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.

12ran · our draft was wrong
2ran; the contract check could not run
4ran

Licence: 5 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. For 5 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from piecezhang/mpt-catablur. “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”. “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.

piecezhang/mpt-catablur official repository 18 samples, 18 ran (14 instrument-failed) · 0 unverified
window_partition in 377 papers
census: 13 implementations from 17 papers, 5 distinct outputs across 3 buckets, one shared input per bucket
models/MPT.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 144d10b49baeb8a6 · report fixture: signature x:Tensor/4/float, window_size:int/0/int · returned Tensor · level recorded, date not recorded
DPD models/utils.py ran · our draft was wrong Apache-2.0 (permissive) here; the stored copy is pointer only · 3bb760a7d2732e6e · report fixture: signature tensorInput:Tensor/4/float, tensorFlow:Tensor/4/float, padding_mode:str/0/str, device:str/0/str · returned Tensor · level recorded 2026-09-24
adjust_learning_rate in 125 papers models/utils.py ran Apache-2.0 (permissive) · 1cbcd4e085ab1f83 · report fixture: signature optimizer:SGD/0/?, epoch:int/0/int, decay_rate:float/0/float, decay_every:int/0/int, lr_init:float/0/float · returned list · level recorded 2026-09-24
bchw_to_bhwc models/ops.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 19bd04b0c14b4b3a · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-24
bchw_to_blc models/ops.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 3c2506e27e4bc3fe · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-24
bhwc_to_bchw models/ops.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 63ed46b70a27b821 · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-24
conv in 178 papers models/nn_common.py ran · our draft was wrong Apache-2.0 (permissive) here; the stored copy is pointer only · 3b7e8eedfa7b815f · report fixture: signature in_channels:int/0/int, out_channels:int/0/int, kernel_size:int/0/int, stride:int/0/int, dilation:int/0/int, bias:bool/0/bool, act:str/0/str · returned Sequential · level recorded 2026-09-22
get_config in 203 papers configs/config.py ran Apache-2.0 (permissive) · 155f1c18db8b8b67 · report fixture: signature project:str/0/str, mode:str/0/str, config_:str/0/str, data:str/0/str · returned EasyDict · level recorded 2026-09-24
get_file_path in 7 papers utils.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 14903bb00d7ee9d0 · report fixture: signature path:str/0/str, regex:list/1/str · returned list · level recorded 2026-09-24
get_psnr2 models/utils.py ran fingerprinted Apache-2.0 (permissive) · d324637c3d143420 · report fixture: signature img1:Tensor/4/float, img2:Tensor/4/float, PIXEL_MAX:float/0/float · returned Tensor · level recorded 2026-09-24
resnet_block in 9 papers models/nn_common.py ran · our draft was wrong Apache-2.0 (permissive) here; the stored copy is pointer only · 691bb91298ff915a · report fixture: signature in_channels:int/0/int, kernel_size:int/0/int, dilation:list/1/int, bias:bool/0/bool, res_num:int/0/int · returned ResnetBlock · level recorded 2026-09-22
set_eval_path configs/config.py ran Apache-2.0 (permissive) · 863143d950fa4ff1 · report fixture: signature config:Config/0/?, data:str/0/str · returned Config · level recorded 2026-09-24
tensor2rgb run_inference.py ran · our draft was wrong Apache-2.0 (permissive) · 8f3ff71e5314b661 · report fixture: signature img_tensor:Tensor/3/float · returned ndarray · level recorded 2026-09-24
toGreen utils.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 045caed495c3be39 · report fixture: signature content:str/0/str · returned str · level recorded 2026-09-24
toRed utils.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 23debb41fe868b57 · report fixture: signature content:str/0/str · returned str · level recorded 2026-09-24
to_3d in 66 papers
census: 3 implementations from 20 papers, 1 distinct output on one shared input this sample: bucket 1 of 1, arg 1: rank 4, kind float, dtype float32
models/MPT.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) here; the stored copy is pointer only · 82a15cc1e46f7e4d · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded, date not recorded
upconv in 11 papers models/nn_common.py ran · our draft was wrong Apache-2.0 (permissive) here; the stored copy is pointer only · 9e64ae5487522dab · report fixture: signature in_channels:int/0/int, out_channels:int/0/int · returned Sequential · level recorded 2026-09-22
window_reverse in 296 papers models/MPT.py ran · our draft was wrong Apache-2.0 (permissive) · 61bf152e6a42a184 · report fixture: signature windows:Tensor/4/float, window_size:int/0/int, H:int/0/int, W:int/0/int · returned Tensor · level recorded, date not recorded

Tasks

Contrastive LearningTransfer Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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