pose_nms_symmetry — 3D match_pose op

• 数据种类:table × points × table → table

• 调用: import fullseye as fs; fs.ledger.pose_nms_symmetry(hypotheses, model_points, symmetries=(), distance_threshold: 'float' = 1.0, top_n: 'int | None' = None) -> 'list[PoseHypothesis]'(要直接调用实现,import ppf; ppf.pose_nms_symmetry(hypotheses, model_points, symmetries=(), distance_threshold: 'float' = 1.0, top_n: 'int | None' = None) -> 'list[PoseHypothesis]';从台账取用则 ops3d.get("pose_nms_symmetry"))

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

用法

仅抑制模型空间距离阈值内由对称性等价的位姿。

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

Candidates are processed by descending score (then votes). A candidate is removed only if the maximum transformed-model-point distance to a kept pose, minimized over the supplied BOP 4x4 symmetries, is at most distance_threshold. Consequently a symmetry-equivalent orientation is merged, while a non-equivalent orientation or another object instance whose translation is farther away remains. Identity is inserted automatically.

This is an exact point-set test over the supplied points, not a bounding-box proxy. The threshold uses the same unit as model_points and t. Empty, non-finite or malformed inputs fail closed.

score と票の順に候補を見て、BOP 4x4 対称変換のどれかを介したモデル点の最大距離が閾値以下の時だけ抑制する。したがって対称で同じ向きはまとまり、非対称な向きと、並進の離れた別個体は残る。箱・球の代用ではなく指定モデル点を直接測る。

Examples

>>> points = np.array([[1., 0., 0.], [-1., 0., 0.], [0., .3, .2]])

>>> a = PoseHypothesis(np.eye(3), np.zeros(3), 9, .9, .9, .1)

>>> b = PoseHypothesis(np.eye(3), np.array([5., 0., 0.]), 8, .8, .8, .2)

>>> len(pose_nms_symmetry([a, b], points, distance_threshold=.5))

2

参考(示例数据、文献)

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

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

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

• bop_pose_stage1 — py -3.11 examples_3d/bop_pose_stage1.py

类型可衔接的下一个算子(可接受 table 作为输入)

ppf_pose_hypotheses · fuse_to_voxel · mesh_select_lod

同类别(match_pose)

match_phase_3d · match_pca · find_surface_pose · ppf_pose_hypotheses · moment_axes · match_logpolar_z


*Provenance: ppf.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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