SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2109.15321 · ICCV · 2021

Sensor-Guided Optical Flow

Filippo Aleotti, Matteo Poggi, Stefano Mattoccia

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-22; 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/2109.15321.json · badge: /api/ran/2109.15321.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
mattpoggi/sensor-guided-flow canonical (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
FunctionStatusWhere it lives
coords_grid Ran
ran, honoured the contract we drafted
mattpoggi/sensor-guided-flow/core/utils/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from uci-cbcl/RP-Net, is pointer only (licence: NONE) · get_code("7c8c4c5cb4271dfa")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from uci-cbcl/RP-Net, and GitHub detected no licence in that repository 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.

forward_interpolate Ran
ran; our contract draft was wrong, not the code
mattpoggi/sensor-guided-flow/core/utils/utils.py
code served (permissive licence) · get_code("f7edf6ef2466762a")
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 Tensor, ndim 3, dtype family float, shape (2, 4, 3) 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
from scipy import interpolate

torch.manual_seed(0)

# Create a small flow tensor with shape (2, height, width)
# The function expects flow[0] to be dx and flow[1] to be dy
height = 4
width = 3
flow = torch.randn(2, height, width)

ARGS = {
    "flow": flow
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 3) 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
readFlowKITTI Ran
ran; our contract draft was wrong, not the code
mattpoggi/sensor-guided-flow/core/utils/frame_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from VQE-CPGA/CPGA, is pointer only (licence: NONE) · get_code("04de40832d91cecb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from VQE-CPGA/CPGA, and GitHub detected no licence in that repository 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.

readPFM Ran
ran, honoured the contract we drafted
mattpoggi/sensor-guided-flow/core/utils/frame_utils.py
code served (permissive licence) · get_code("7c3fbc1f552de802")
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 3, dtype family float, shape (3, 4, 3) 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 tempfile
import os

# Create a minimal valid PFM file
# PFM format: header (PF or Pf), width height, scale, then binary float data

def create_test_pfm():
    """Create a minimal valid PFM file for testing"""
    with tempfile.NamedTemporaryFile(mode='wb', delete=False, suffix='.pfm') as f:
        temp_path = f.name
        
        # Write header for color image (PF)
        f.write(b'PF\n')
        
        # Write dimensions: width=4, height=3
        f.write(b'4 3\n')
        
        # Write scale (positive means big-endian)
        f.write(b'1.0\n')
        
        # Write binary float data: 4*3*3 = 36 floats for color image
        data = np.ones((3, 4, 3), dtype='>f')  # big-endian floats
        data.tofile(f)
    
    return temp_path

# Create the test file
test_file_path = create_test_pfm()

ARGS = {
    'file': test_file_path
}
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 ndarray, ndim 3, dtype family float, shape (3, 4, 3) — shape (3, 4, 3) 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
bilinear_sampler Not yet run
unverified (harvested, no recorded run)
mattpoggi/sensor-guided-flow/core/utils/utils.py
code served (permissive licence) · get_code("1ac8cce613d98769")
How it ran

no invocation recorded.

readFlow Not yet run
unverified (harvested, no recorded run)
mattpoggi/sensor-guided-flow/core/utils/frame_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from NVIDIA/flownet2-pytorch, is pointer only (licence: NOASSERTION) · get_code("1662ea0b62b0229c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from NVIDIA/flownet2-pytorch, and GitHub could not classify the licence of that repository (NOASSERTION). 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 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 6 later) and 0 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
bilinear_sampler 18 other papers
3 dated earlier, 15 later · 7 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2108.00622 (2021-08)
Recurrent Mask Refinement for Few-Shot Medical Image Segmentation
2108.10552 (2021-08)
E-RAFT: Dense Optical Flow from Event Cameras
and 15 more not named here
readFlow 8 other papers
4 dated earlier, 4 later
1612.01925 (2016-12)
FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
2007.12622 (2020-07)
BMBC:Bilateral Motion Estimation with Bilateral Cost Volume for Video Interpolation
2010.14851 (2020-10)
Displacement-Invariant Matching Cost Learning for Accurate Optical Flow Estimation
and 5 more not named here
coords_grid 6 other papers
2 dated earlier, 4 later · 4 only as an assembly brick
2108.00622 (2021-08)
Recurrent Mask Refinement for Few-Shot Medical Image Segmentation
2108.10552 (2021-08)
E-RAFT: Dense Optical Flow from Event Cameras
2203.11335 (2022-03)
Global Matching with Overlapping Attention for Optical Flow Estimation
and 3 more not named here
readPFM 6 other papers
2 dated earlier, 4 later
2010.14851 (2020-10)
Displacement-Invariant Matching Cost Learning for Accurate Optical Flow Estimation
2104.13918 (2021-04)
High-Resolution Optical Flow from 1D Attention and Correlation
and 3 more not named here
readFlowKITTI 5 other papers
2 dated earlier, 3 later
2010.14851 (2020-10)
Displacement-Invariant Matching Cost Learning for Accurate Optical Flow Estimation
2104.13918 (2021-04)
High-Resolution Optical Flow from 1D Attention and Correlation
and 2 more not named here
forward_interpolate 4 other papers
4 later
Zeng_Parameterized_Cost_Volume_for_Stereo_Matching_ICCV_2023_paper (2023 (year only))
Parameterized Cost Volume for Stereo Matching
2308.13133 (2023-08)
AccFlow: Backward Accumulation for Long-Range Optical Flow
Jin_PixelStitch_Structure-Preserving_Pixel-Wise_Bidirectional_Warps_for_Unsupervised_Image_Stitching_ICCV_2025_paper (2025 (year only))
PixelStitch: Structure-Preserving Pixel-Wise Bidirectional Warps for Unsupervised Image Stitching
and 1 more not named here

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

Repositories linked to this paper

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

Abstract

Figure 1. Guided optical flow in action. Column (a): reference images, columns (b,c): optical flow (top) and corresponding error maps (bottom). When facing challenging conditions at test time (a), an optical flow network alone (b) may struggle, while an external guide can make it more robust (c). Both networks in (b,c) have been trained on synthetic data only.

For agents

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

get_harvested_code_for_paper("2109.15321")
get_code_for_paper("2109.15321")
have("2109.15321")

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

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

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

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

Connect an agent — have() is free.