features_accuracy_table — MATCHREG featmatch op

• 数据种类:image2d → table

• 调用: import fullseye as fs; fs.ledger.features_accuracy_table(image, detector='sift', conditions=None, tol_px=2.0, ransac_thresh=2.0, seed=0, detector_kwargs=None)(要直接调用实现,import featmatch; featmatch.features_accuracy_table(image, detector='sift', conditions=None, tol_px=2.0, ransac_thresh=2.0, seed=0, detector_kwargs=None);从台账取用则 opsmatchreg.get("features_accuracy_table"))

• GPU:无(仅 CPU 参考实现)

用法

在用已知变换合成的图像对上,按条件以表格返回特征点重复率、匹配精度与单应误差。→ table。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

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

• repeatability —— 2 枚の共通の領域にある 1 枚目の点のうち、H_true で写した位置から tol_px 以内に 2 枚目の点があるものの割合(Mikolajczyk & Schmid 2005 の考え方を点の距離で。領域の重なりではない)。

• precision —— 照合の組のうち |H_true p1 - p2| < tol_px のものの割合。

• matching_score —— 正しい照合の数 / 共通の領域にある 1 枚目の点の数。

• corner_error_px —— 推定した H と真の H で 4 隅を写したときの距離の平均(HPatches)。RANSAC が合意に届かなければ homography_ok=False で corner_error_px=None。

答えの真値は合成のパラメータそのもので、推定側はそれを知らない(使った式で答え合わせする門

ではない)。限界: 平面の射影変換だけ(視差・遮蔽・鏡面反射は入らない)。照明はこの画像全体に一様(局所の影は入らない)。

Args:

image: 2-D の濃淡画像 [0, 1]。模様の乏しい画像では行がほとんど 0 になる(それも結果)。

detector: "sift" / "orb"。

conditions: None なら DEFAULT_CONDITIONS。条件名の並び(既定の名前から選ぶ)か、

(名前, {rotate_deg, scale, perspective, gain, gamma, blur_sigma, noise_sigma}) の並び。

tol_px: 正しい対応とみなす距離 [px]。

ransac_thresh: 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: 画像が不正 / 検出器の名前が違う / 条件の名前・鍵・値が不正。

详细使用指南

• matching_registration 族使用指南

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

• 算法的正典(作者、年份)与用途见上面的族使用指南。

可运行的示例(实际调用该算子并已验证的样例)

• poc_part_locate_features — py -3.11 examples/poc_part_locate_features.py

类型可衔接的下一个算子(可接受 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 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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