ppf_pose_hypotheses — 3D match_pose op

• Data kinds: table × points → table

• Call: import fullseye as fs; fs.ledger.ppf_pose_hypotheses(model: 'dict', scene_points, scene_normals=None, top_n: 'int' = 5, ref_fraction: 'float' = 0.3, refine: 'bool' = True, k_normals: 'int' = 16, seed: 'int' = 0) -> 'list[PoseHypothesis]' (to call the implementation directly, import ppf; ppf.ppf_pose_hypotheses(model: 'dict', scene_points, scene_normals=None, top_n: 'int' = 5, ref_fraction: 'float' = 0.3, refine: 'bool' = True, k_normals: 'int' = 16, seed: 'int' = 0) -> 'list[PoseHypothesis]'; from the registry, ops3d.get("ppf_pose_hypotheses"))

• GPU: none (CPU reference implementation only)

Usage

Return the top-N PPF poses instead of collapsing the vote to one pose.

> The detailed description below is the original text — the summary and the headings are translated.

model is the reusable descriptor from ppf_model. Each result is

a PoseHypothesis containing R, t, raw votes, a bounded score, inlier fraction and ICP RMSE. The score is inlier_fraction / (1 + rmse / model_diameter); it is used only for ranking and is not a calibrated probability. The inlier distance is two PPF distance steps. With refine=False RMSE is measured from the voted pose rather than reported as NaN.

Empty/non-finite input, bad normals, invalid top_n/ref_fraction and an accumulator with no votes raise ValueError. The returned list can contain symmetry-equivalent or same-instance poses; pass it to pose_nms_symmetry when those should be merged.

既存 PPF 表から最良1件へ潰さず上位 N 姿勢を返す。返りは R、t、票、順位用 score、インライア率、ICP RMSE を持つ。空、非有限値、法線不正、無投票は fail-closed。対称で等価な候補の統合は pose_nms_symmetry が担う。

Examples

>>> import numpy as np

>>> x = np.linspace(-1.0, 1.0, 6)

>>> model_points = np.array([(a, b, 0.2*a*b) for a in x for b in x])

>>> normals = np.tile([0.0, 0.0, 1.0], (len(model_points), 1))

>>> descriptor = ppf_model(model_points, normals, angle_bins=24)

>>> t_true = np.array([0.3, -0.2, 1.4])

>>> scene = model_points + t_true

>>> poses = ppf_pose_hypotheses(descriptor, scene, normals, top_n=2, seed=3)

>>> bool(np.linalg.norm(poses[0].t - t_true) < 1e-6)

True

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

• bop_pose_stage1 — py -3.11 examples_3d/bop_pose_stage1.py

Ops the type connects to (they accept table as input)

pose_nms_symmetry · fuse_to_voxel · mesh_select_lod

Same category (match_pose)

match_phase_3d · match_pca · find_surface_pose · pose_nms_symmetry · moment_axes · match_logpolar_z


*Provenance: ppf.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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