SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · Mao_Cross-Rejective_Open-Set_SAR_Image_Registration_CVPR_2025_paper · CVPR · 2025

Cross-Rejective Open-Set SAR Image Registration

Yimeng Zhang, Licheng Jiao, Xuequan Lu, Lin Xiong, Luntian Mou, Shasha Mao, Shiming Lu, Zhaolong Du, Shuiping Gou

Code that ran

11 of 14 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; 6 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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/Mao_Cross-Rejective_Open-Set_SAR_Image_Registration_CVPR_2025_paper.json · badge: /api/ran/Mao_Cross-Rejective_Open-Set_SAR_Image_Registration_CVPR_2025_paper.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
XDyaoshi/CroR-OSIR-main canonical (classifier label)
classifier basis: census
11 ran · 3 no recorded run
FunctionStatusWhere it lives
cal_T_main Ran
ran, honoured the contract we drafted
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/calculate_T.py
code served (permissive licence) · get_code("ed7db754f2a8adca")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (4, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
import pandas as pd
import os
import tempfile

torch.manual_seed(0)

# Create temporary directories for data and results
temp_dir = tempfile.mkdtemp()
data_dir = os.path.join(temp_dir, 'data', 'yama')
tensor_dir = os.path.join(temp_dir, 'tensor_result')
match_dir = os.path.join(temp_dir, 'match_results')

os.makedirs(data_dir, exist_ok=True)
os.makedirs(tensor_dir, exist_ok=True)
os.makedirs(match_dir, exist_ok=True)

# Create sample reference data CSV
ref_data = np.array([
    [0, 0, 0],  # header row (will be skipped)
    [100, 200, 300],
    [150, 250, 350],
    [200, 300, 400],
    [250, 350, 450],
])
ref_df = pd.DataFrame(ref_data)
ref_df.to_csv(os.path.join(data_dir, 'ref_data.csv'), header=False, index=False)

# Create sample sensor data CSV
sen_data = np.array([
    [0, 0, 0],  # header row
    [105, 205, 305],
    [155, 255, 355],
    [205, 305, 405],
    [255, 355, 455],
])
sen_df = pd.DataFrame(sen_data)
sen_df.to_csv(os.path.join(data_dir, 'sen_n_data.csv'), header=False, index=False)

# Create tensor_mix with point pair indices
# Pairs: (reference_point_idx, sensor_point_idx)
# Reference has 4 points (indices 1-4), sensor has 4 points
# tensor indices: reference_idx, sensor_idx_offset_from_total
tensor_mix = torch.tensor([
    [1, 5],  # ref point 1 -> sen point 1 (5 = 4 ref points + 1)
    [2, 6],  # ref point 2 -> sen point 2
    [3, 7],  # ref point 3 -> sen point 3
    [4, 8],  # ref point 4 -> sen point 4
], dtype=torch.float32)

torch.save(tensor_mix, os.path.join(tensor_dir, 'yama_0.95_tensor_mix5.pt'))

# Override the data directory in the function by patching paths
# Store original paths for restoration
original_cwd = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'dataset': 'yama',
    'threhods': 0.95,
    'epoch': 5,
    'begin_epoch': 5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
closedset_eval Ran
ran, honoured the contract we drafted
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/evaluation.py
code served (permissive licence) · get_code("894748d35c44be20")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def predict_closed(self, images):
        # images shape: (batch_size, 4)
        logits = self.linear(images)
        return torch.argmax(logits, dim=1)

model = SimpleModel()

# Create a simple test_loader as a list of (images, labels) tuples
test_loader = [
    (torch.randn(2, 4), torch.randint(0, 3, (2,))),
    (torch.randn(2, 4), torch.randint(0, 3, (2,))),
]

ARGS = {
    'model': model,
    'test_loader': test_loader,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
default_loader Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/load_data_online.py
code served (permissive licence) · get_code("863e488e71ac12c7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Image. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from PIL import Image
import tempfile
import os

# Create a temporary image file for testing
temp_dir = tempfile.mkdtemp()
temp_image_path = os.path.join(temp_dir, "test_image.png")

# Create a simple test image and save it
test_image = Image.new('RGB', (4, 3), color=(255, 0, 0))
test_image.save(temp_image_path)

ARGS = {
    'path': temp_image_path,
    'mode': 'RGB'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, accimage, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mixup_data_contrastive Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/mixup.py
code served (permissive licence) · get_code("edff4eae28e7b8f7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)
np.random.seed(0)

# Create small contrastive data: x is a list of two augmented views
batch_size = 2
feature_dim = 4

x0 = torch.randn(batch_size, feature_dim)
x1 = torch.randn(batch_size, feature_dim)
x = [x0, x1]

# Create labels (can be soft labels for mixup)
y = torch.randn(batch_size)

ARGS = {
    "x": x,
    "y": y,
    "alpha": 1.0,
    "use_cuda": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mixup_data_random Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/mixup.py
code served (permissive licence) · get_code("107f3c16956d85dc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch

torch.manual_seed(0)
np.random.seed(0)

# Create small tensors for x and y
batch_size = 2
feature_dim = 4

x = torch.randn(batch_size, feature_dim)
y = torch.randn(batch_size)

ARGS = {
    "x": x,
    "y": y,
    "alpha": 1.0,
    "use_cuda": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
openset_eval_contrastive Ran
ran, honoured the contract we drafted
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/evaluation.py
code served (permissive licence) · get_code("bcf9e93c84f82a61")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

class StandInModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.feature_dim = 8
    
    def get_feature(self, images):
        # Return feature vectors of shape (batch_size, feature_dim)
        batch_size = images.shape[0]
        return torch.randn(batch_size, self.feature_dim)

class StandInClassifier(nn.Module):
    def __init__(self, feature_dim=8, num_classes=5):
        super().__init__()
        self.feature_dim = feature_dim
        self.num_classes = num_classes
    
    def predict(self, features, temperature=1):
        # features: (batch_size, feature_dim)
        batch_size = features.shape[0]
        
        # Generate logits and convert to probabilities
        logits = torch.randn(batch_size, self.num_classes)
        probabilities = torch.softmax(logits / temperature, dim=1).detach().cpu().numpy()
        
        # Generate predictions (some known classes, some -1 for unknown)
        predictions = torch.randint(-1, self.num_classes, (batch_size,)).numpy()
        
        return predictions, probabilities

# Create model and classifier
model = StandInModel()
classifier = StandInClassifier(feature_dim=8, num_classes=5)

# Create known test loader: list of (images, labels) tuples
known_test_loader = [
    (torch.randn(2, 3, 4, 4), torch.tensor([0, 1])),
    (torch.randn(2, 3, 4, 4), torch.tensor([2, 3])),
]

# Create unknown test loader: list of (images, labels) tuples
unknown_test_loader = [
    (torch.randn(2, 3, 4, 4), torch.tensor([5, 6])),
    (torch.randn(2, 3, 4, 4), torch.tensor([7, 8])),
]

ARGS = {
    'model': model,
    'classifier': classifier,
    'known_test_loader': known_test_loader,
    'unknown_test_loader': unknown_test_loader,
    'temperature': 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_devkit Ran
ran; our contract draft was wrong, not the code
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/RandAugment/imagenet.py
code served (permissive licence) · get_code("10d196b211843339")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import scipy.io as sio
import numpy as np

# Create a temporary directory structure with necessary files
tmpdir = tempfile.mkdtemp()
data_dir = os.path.join(tmpdir, 'data')
os.makedirs(data_dir, exist_ok=True)

# Create a minimal meta.mat file
# The meta structure needs synsets with fields indexed at position 4 being num_children
# Structure: (idx, wnid, classes, parent_idx, num_children, ...)
meta_data = np.array([
    (1, 'n0001', 'dog, puppy', 0, 0),
    (2, 'n0002', 'cat, feline', 0, 0),
    (3, 'n0003', 'animal', 0, 2),
], dtype=[('idx', 'i4'), ('wnid', 'U10'), ('classes', 'U50'), ('parent', 'i4'), ('num_children', 'i4')])

sio.savemat(
    os.path.join(data_dir, 'meta.mat'),
    {'synsets': meta_data},
    do_compression=False
)

# Create validation ground truth file
val_ground_truth_path = os.path.join(data_dir, 'ILSVRC2012_validation_ground_truth.txt')
with open(val_ground_truth_path, 'w') as f:
    f.write('1\n')
    f.write('2\n')
    f.write('1\n')

ARGS = {
    'root': tmpdir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_meta Ran
ran; our contract draft was wrong, not the code
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/RandAugment/imagenet.py
code served (permissive licence) · get_code("97bfaa2cce837d67")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import scipy.io as sio
import numpy as np

# Create a temporary directory and meta.mat file
temp_dir = tempfile.mkdtemp()
data_dir = os.path.join(temp_dir, 'data')
os.makedirs(data_dir, exist_ok=True)

# Create synthetic synsets data matching the expected structure
# Each synset entry: (idx, wnid, class_name, something, num_children, ...)
# We need num_children == 0 for filtering
synsets = np.array([
    (0, 'n00001', 'animal, creature', 'def1', 0),
    (1, 'n00002', 'plant, flora', 'def2', 2),  # num_children=2, will be filtered out
    (2, 'n00003', 'car, automobile', 'def3', 0),
    (3, 'n00004', 'dog, canine', 'def4', 1),   # num_children=1, will be filtered out
], dtype=[('idx', 'i4'), ('wnid', 'U10'), ('class', 'U30'), ('def', 'U20'), ('num_children', 'i4')])

# Save as meta.mat
meta_file = os.path.join(data_dir, 'meta.mat')
sio.savemat(meta_file, {'synsets': synsets})

ARGS = {
    'devkit_root': temp_dir,
    'path': 'data',
    'filename': 'meta.mat'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_val_groundtruth Ran
ran, honoured the contract we drafted
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/RandAugment/imagenet.py
code served (permissive licence) · get_code("e7825a1705689714")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile

# Create a temporary directory and validation ground truth file
temp_dir = tempfile.mkdtemp()
data_dir = os.path.join(temp_dir, 'data')
os.makedirs(data_dir, exist_ok=True)

# Create a sample validation ground truth file with class indices
val_gt_content = "1\n5\n10\n2\n7\n"
gt_file = os.path.join(data_dir, 'ILSVRC2012_validation_ground_truth.txt')
with open(gt_file, 'w') as f:
    f.write(val_gt_content)

ARGS = {
    'devkit_root': temp_dir,
    'path': 'data',
    'filename': 'ILSVRC2012_validation_ground_truth.txt'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pil_loader Ran
ran, honoured the contract we drafted
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/load_data_online.py
code served (permissive licence) · get_code("cf34b49114320048")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Image. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os
from PIL import Image

# Create a temporary directory and a test image
temp_dir = tempfile.mkdtemp()
test_image_path = os.path.join(temp_dir, "test_image.png")

# Create a simple test image (RGB mode, 4x3 pixels)
test_img = Image.new('RGB', (4, 3), color=(255, 0, 0))
test_img.save(test_image_path)

ARGS = {
    'path': test_image_path,
    'mode': 'RGB'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rmse Ran
ran, honoured the contract we drafted
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/Rmse_tool.py
code served (permissive licence) · get_code("d2e859cf3cf66dec")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import math

# Analyze the function:
# - refpoint: numpy array, subtracted from senpoint_t, shape should be (n, 3+)
# - senpoint: numpy array, multiplied by matrix via np.dot, shape should be (n, 3)
# - matrix: numpy array, used in np.dot(senpoint, matrix), shape should be (3, 3)
# The function applies perspective division (dividing x,y by z coordinate)
# and computes RMSE on 2D projected points

# Create small example data
np.random.seed(0)

# senpoint: n points in 3D homogeneous coordinates (n, 3)
senpoint = np.array([
    [100.0, 200.0, 1.0],
    [150.0, 250.0, 1.0]
], dtype=np.float64)

# matrix: 3x3 transformation matrix
matrix = np.array([
    [1.0, 0.0, 0.1],
    [0.0, 1.0, 0.2],
    [0.0, 0.0, 1.0]
], dtype=np.float64)

# refpoint: n reference points in 3D (n, 3) to match senpoint_t dimensions
refpoint = np.array([
    [101.0, 202.0, 1.0],
    [151.0, 251.0, 1.0]
], dtype=np.float64)

ARGS = {
    "refpoint": refpoint,
    "senpoint": senpoint,
    "matrix": matrix
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
accimage_loader Not yet run
unverified (harvested, no recorded run)
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/load_data_online.py
code served (permissive licence) · get_code("d528f266dd1d7f63")
How it ran

no invocation recorded.

compute_homography_lstsq Not yet run
unverified (harvested, no recorded run)
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/calculate_T.py
code served (permissive licence) · get_code("7c7d6caab6d1a5ce")
How it ran

no invocation recorded.

openset_eval_contrastive_logits Not yet run
unverified (harvested, no recorded run)
XDyaoshi/CroR-OSIR-main/CroR-OSIR-main-version-two/evaluation.py
code served (permissive licence) · get_code("e60ebffa2d33f805")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 1 later) and 10 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.

FunctionAlso present inEarliest-datedOthers named
accimage_loader 39 other papers
35 dated earlier, 3 later, 1 same year, order not determinable
1702.00758 (2017-02)
HashNet: Deep Learning to Hash by Continuation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
1805.00907 (2018-05)
Glow: Graph Lowering Compiler Techniques for Neural Networks
and 36 more not named here
parse_devkit 4 other papers
4 dated earlier
1904.01569 (2019-04)
Exploring Randomly Wired Neural Networks for Image Recognition
1905.00397 (2019-05)
Fast AutoAugment
2003.03780 (2020-03)
DADA: Differentiable Automatic Data Augmentation
and 1 more not named here
parse_meta 3 other papers
3 dated earlier
1905.00397 (2019-05)
Fast AutoAugment
2003.03780 (2020-03)
DADA: Differentiable Automatic Data Augmentation
2006.05553 (2020-06)
Neural Methods for Point-wise Dependency Estimation
parse_val_groundtruth 3 other papers
3 dated earlier
1905.00397 (2019-05)
Fast AutoAugment
2003.03780 (2020-03)
DADA: Differentiable Automatic Data Augmentation
2006.05553 (2020-06)
Neural Methods for Point-wise Dependency Estimation

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-24.

Repositories linked to this paper

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

Abstract

Synthetic Aperture Radar (SAR) image registration is an essential upstream task in geoscience applications, in which pre-detected keypoints from two images are employed as observed objects to seek matched-point pairs. In general, the registration is regarded as a typical closed-set classification, which forces each keypoint to be classified into the given classes, but ignoring an essential issue that numerous redundant keypoints are beyond the given classes, which unavoidably results in capturing incorrect matched-point pairs. Based on this, we propose a Cross-Rejective Open-set SAR Image Registration (CroR-OSIR) method. In this work, these redundant keypoints are regarded as out-of-distribution (OOD) samples, and we formulate the registration as a special open-set task with two modules: supervised contrastive feature-tuning and crossrejective open-set recognition (CroR-OSR). Unlike traditional open-set recognition, all samples, including OOD samples, are available in the CroR-OSR module. CroR-OSR conducts the closed-set classifications in individual open-set domains from two images, meanwhile employing the cross-domain rejection during training, to exclude these OOD samples based on confidence and consistency. Moreover, a new supervised contrastive tuning strategy is incorporated for feature-tuning. Especially, the cross-domain estimation labels obtained by CroR-OSR are fed back to the feature-tuning module for feature-tuning, to enhance feature discriminability. The experimental results illustrate that the proposed method achieves more precise registration than the state-of-the-art methods. The code is released at https://github.com/XDyaoshi/CroR-OSIR-main.

For agents

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

get_harvested_code_for_paper("Mao_Cross-Rejective_Open-Set_SAR_Image_Registration_CVPR_2025_paper")
get_code_for_paper("Mao_Cross-Rejective_Open-Set_SAR_Image_Registration_CVPR_2025_paper")
have("Mao_Cross-Rejective_Open-Set_SAR_Image_Registration_CVPR_2025_paper")

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

curl https://syntology.ai/api/ran/Mao_Cross-Rejective_Open-Set_SAR_Image_Registration_CVPR_2025_paper.json

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

[![Syntology run record](https://syntology.ai/api/ran/Mao_Cross-Rejective_Open-Set_SAR_Image_Registration_CVPR_2025_paper.svg)](https://syntology.ai/paper/Mao_Cross-Rejective_Open-Set_SAR_Image_Registration_CVPR_2025_paper)

Connect an agent — have() is free.