fullseye

d2_distribution — 3D shape_descriptor op

使い方

ランダムな 2 点対のユークリッド距離分布(Osada 2002 の D2)。

N 点から samples 組の相異なる点対 (i, j) を乱択し、その距離を集計する。 距離は平均距離で割って正規化するため、回転・平行移動・スケールに不変。 固定レンジ [0, _D2_MAX] の正規化ヒストグラム (bins,) を返す(総和 1)。

Parameters

points : array_like, shape (N, 3) 点群。N >= 2 が必要。 bins : int ヒストグラムの bin 数。 samples : int 乱択する点対の数。多いほど分散が下がる(サンプリング誤差 ~ 1/sqrt(samples))。 seed : int 乱数シード。同 seed・同点群なら決定論的に同一。

Returns

np.ndarray, shape (bins,) 正規化距離ヒストグラム。

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

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

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

fuse_to_voxel · shape_distance

同カテゴリ(shape_descriptor)

a3_distribution · extent_signature · describe · shape_distance


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

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