SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.08050 · 2024

BSAFusion: A Bidirectional Stepwise Feature Alignment Network for Unaligned Medical Image Fusion

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-21; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2412.08050.json · badge: /api/ran/2412.08050.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
slrl123/bsafusion canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
L1_loss Ran
ran; our contract draft was wrong, not the code
slrl123/bsafusion/utils_2d/loss.py
pointer only (licence: NONE) · get_code("773f1babf7d9930d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, slrl123/bsafusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_affine_transformation_matrix Ran
ran; our contract draft was wrong, not the code
slrl123/bsafusion/utils_2d/utils.py
pointer only (licence: NONE) · get_code("ca607a1433d3a9a2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, slrl123/bsafusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

flow_integration_ir Ran
ran; our contract draft was wrong, not the code
slrl123/bsafusion/modal_2d/RegFusion_lite.py
pointer only (licence: NONE) · get_code("6567dbe79d2b3b98")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, slrl123/bsafusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

min_max Ran
ran; our contract draft was wrong, not the code
slrl123/bsafusion/dataset/BrainDataset_2D.py
pointer only (licence: NONE) · get_code("26d16ac5c45409d2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, slrl123/bsafusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

non_affine Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
slrl123/bsafusion/utils_2d/utils.py
pointer only (licence: NONE) · get_code("110bc4890e0ce118")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, slrl123/bsafusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

project Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
slrl123/bsafusion/BSAFusion_train.py
pointer only (licence: NONE) · get_code("f78dcf637c59cac9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, slrl123/bsafusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

r_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
slrl123/bsafusion/utils_2d/loss.py
pointer only (licence: NONE) · get_code("6b2db085cc64cd05")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, slrl123/bsafusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ssim_loss Not yet run
unverified (harvested, no recorded run)
slrl123/bsafusion/utils_2d/loss.py
pointer only (licence: NONE) · get_code("efc9226c593f78cd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, slrl123/bsafusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-21.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

If unaligned multimodal medical images can be simultaneously aligned and fused using a single-stage approach within a unified processing framework, it will not only achieve mutual promotion of dual tasks but also help reduce the complexity of the model. However, the design of this model faces the challenge of incompatible requirements for feature fusion and alignment; specifically, feature alignment requires consistency among corresponding features, whereas feature fusion requires the features to be complementary to each other. To address this challenge, this paper proposes an unaligned medical image fusion method called Bidirectional Stepwise Feature Alignment and Fusion (BSFA-F) strategy. To reduce the negative impact of modality differences on cross-modal feature matching, we incorporate the Modal Discrepancy-Free Feature Representation (MDF-FR) method into BSFA-F. MDF-FR utilizes a Modality Feature Representation Head (MFRH) to integrate the global information of the input image. By injecting the information contained in MFRH of the current image into other modality images, it effectively reduces the impact of modality differences on feature alignment while preserving the complementary information carried by different images. In terms of feature alignment, BSFA-F employs a bidirectional stepwise alignment deformation field prediction strategy based on the path independence of vector displacement between two points. This strategy solves the problem of large spans and inaccurate deformation field prediction in single-step alignment. Finally, Multi-Modal Feature Fusion block achieves the fusion of aligned features. The experimental results across multiple datasets demonstrate the effectiveness of our method. The source code is available at https://github.com/slrl123/BSAFusion.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2412.08050")
get_code_for_paper("2412.08050")
have("2412.08050")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2412.08050.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2412.08050.svg)](https://syntology.ai/paper/2412.08050)

Connect an agent — have() is free.