fullseye

features_accuracy_table — MATCHREG featmatch op

使い方

既知の変換で合成した組で、特徴点の再現率・照合精度・ホモグラフィの誤差を条件ごとに表で返す。→ table。

image を条件ごとの既知のホモグラフィ H_true(中心まわりの回転・拡大・遠近)で写し (3 次スプライン補間 —— 照合側と違う補間で、補間の型が一致する甘さを避ける)、照明(利得・ ガンマ)・ぼけ・雑音を足した 2 枚目を作る。2 枚とも検出 → 記述 → :func:features_match → :func:ransac_homography を走らせ、合成に使った真の H で答え合わせする:

答えの真値は合成のパラメータそのもので、推定側はそれを知らない(使った式で答え合わせする門 ではない)。限界: 平面の射影変換だけ(視差・遮蔽・鏡面反射は入らない)。照明はこの画像全体に 一様(局所の影は入らない)。

Args: image: 2-D の濃淡画像 [0, 1]。模様の乏しい画像では行がほとんど 0 になる(それも結果)。 detector: "sift" / "orb"。 conditions: None なら :data:DEFAULT_CONDITIONS。条件名の並び(既定の名前から選ぶ)か、 (名前, {rotate_deg, scale, perspective, gain, gamma, blur_sigma, noise_sigma}) の並び。 tol_px: 正しい対応とみなす距離 [px]。 ransac_thresh: :func:ransac_homography の thresh。 seed: 雑音と RANSAC の乱数の種。 detector_kwargs: 検出器へ渡す追加の引数(dict)。

Returns: dict(kind="feature_accuracy")。rows(条件ごとの dict の list)/ columns / detector / tol_px / image_shape / n_conditions / worst(corner_error_px が最大か失敗した条件の名前)。

Raises: ValueError: 画像が不正 / 検出器の名前が違う / 条件の名前・鍵・値が不正。

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

features_match · ransac_homography · ransac_fundamental · registration_to_flow2d

同カテゴリ(featmatch)

features_sift · features_orb · features_match · ransac_homography · ransac_fundamental


Provenance: featmatch.py — MATCHREG operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.