moment_invariant oppoints → descriptorimport fullseye as fs; fs.ledger.principal_moments(points) -> 'np.ndarray' (実装を直接呼ぶなら import moments3d; moments3d.principal_moments(points) -> 'np.ndarray'、台帳から引くなら ops3d.get("principal_moments"))慣性テンソルの固有値(主慣性モーメント、降順ソート、回転不変)。
慣性テンソルは対称なので固有値は実。点群を回転 R で回すと I → R I Rᵀ と 相似変換され、固有値は不変(厳密)。返り値は降順にそろえるので座標系や 回転に依らず一致する。
np.ndarray, shape (3,) 降順の主慣性モーメント λ1 >= λ2 >= λ3 >= 0。
補足:
inertia_tensor の固有値で、共分散の固有値 c_i とは λ_i = (c_1 + c_2 + c_3) - c_i の関係。細長い棒では最小固有値(棒の軸まわり)が 0 に近づき、球では 3 つが等しい。moment_invariants。ValueError。moment_axes。決定論的。py -3.11 examples_3d/shape_desc_pose.pydescriptor を入力に取れる)fuse_to_voxel · shape_distance
moment_invariant)moment_invariants · central_moments · inertia_tensor
Provenance: moments3d.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.