intensityreg op• 資料種類:image2d × flow2d → table
• 呼叫: import fullseye as fs; fs.ledger.register_accuracy_map(fixed, true_flow2d, method='ffd', modality='same', noise_sigma=0.0, margin=4, seed=0, method_kwargs=None)(要直接呼叫實作,import intensityreg; intensityreg.register_accuracy_map(fixed, true_flow2d, method='ffd', modality='same', noise_sigma=0.0, margin=4, seed=0, method_kwargs=None);從台帳取用則 opsmatchreg.get("register_accuracy_map"))
• GPU:無(僅 CPU 參考實作)
在以已知形變場合成的影像對上,逐像素回傳估計形變場的誤差(精度圖)。→ table。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
fixed と真の場 true_flow2d から synthesize_moving で moving を作り(3 次スプライン、明るさの写し、雑音)、method で合わせ、推定の場と真の場の差の長さ(終点誤差 EPE [px])を画素ごとに返す。答えの真値は合成に使った場そのもので、推定側はそれを知らない。
method: "ffd" / "demons"(deformreg.demons_register、場の向きは同じ)/ "ecc" / "mi"(パラメトリック。滑らかな場はアフィンでしか近似できない —— その近似の誤差も地図に出る)/ "phase"(aoi.register_image、並進だけ)。
地図の内訳(どこで壊れるか)として、fixed の勾配の強さの 4 分位ごと・真の変位の大きさの 4 分位ごとの EPE の中央値を by_texture / by_magnitude に返す(模様の無い所で場が決まらないことが数で出る)。
Args:
fixed: 基準の 2-D 画像。
true_flow2d: 真の場 (2,H,W) の (dy, dx)(結果と同じ向き)。逆写像が一意であること(勾配 < 1)。
method: ACCURACY_METHODS。
modality: MODALITIES("folded" は単調でない明るさ = ECC が効かない組)。
noise_sigma: moving に足すガウス雑音の σ([0, 1] の尺度)。
margin: 縁から除く画素数。
seed: 雑音の種。
method_kwargs: method へ渡す引数(dict)。
Returns:
dict(kind="registration_accuracy")。error_map (H,W) [px] (集計から外した画素は 0)/
mask(集計した画素)/ epe_mean / epe_median / epe_p95 / epe_max /
true_flow2d / est_flow2d / moving / by_texture / by_magnitude / method /
modality / noise_sigma / method_info(method の返りの要約)。
Raises:
ValueError: 画像・場が不正 / 場の逆写像が一意でない / method・modality が違う / method 自身の拒否。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• poc_sheet_deformation_ffd — py -3.11 examples/poc_sheet_deformation_ffd.py
table 作為輸入)features_match · ransac_homography · ransac_fundamental · registration_to_flow2d
intensityreg)register_ecc · register_mi · register_ffd · registration_to_flow2d · register_capture_range
*Provenance: intensityreg.py — MATCHREG 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.