fullseye

central_moments — 3D moment_invariant op

使い方

重心中心化した中心モーメント μ_{pqr}(並進不変、キー=(p,q,r))を返す。

μ_{pqr} = mean( (x-x̄)^p (y-ȳ)^q (z-z̄)^r )。p+q+r <= max_order の全次数を含む。 重心を引いてから計算するので平行移動に厳密に不変。等質量規約なので μ_{000}=1、1 次モーメント μ_{100}=μ_{010}=μ_{001}=0(中心化の帰結)。

Parameters

points : array_like, shape (N, 3) 点群。 max_order : int 含める最大次数 p+q+r(既定 3)。0 以上。

Returns

dict[tuple[int, int, int], float] (p, q, r) -> μ_{pqr}。

補足:

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

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

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

fuse_to_voxel · mesh_select_lod

同カテゴリ(moment_invariant)

moment_invariants · principal_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.