fullseye

obb — 3D bounds op

使い方

Oriented bounding box by PCA.

Returns {center, axes (3,3 columns = box axes), extents (3, half-widths), corners (8,3)}. The tight-fitting box a manipulator uses to reason about an object’s size and grasp width once it has been segmented out.

手順: 重心 c を引いた点群の SVD(full_matrices=False)で主軸 axes(列 = 特異値の降順、 第 1 列が最も広がる方向)を取り、点を主軸座標に写して各軸の min/max から半幅 extents と 箱中心 center(重心とは一般に異なる)を求める。cornerscenter + (±extents) @ axes.T の 8 点で、符号の組合せは meshgrid([-1,1],[-1,1],[-1,1]) の順。

背景知識ガイド(この op の手前にある物理・規約)

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

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

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

fuse_to_voxel · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line · distance_segment_segment

同カテゴリ(bounds)

convex_hull · aabb · min_enclosing_sphere


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

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