d2_distribution — 3D shape_descriptor op

数据种类:pointsdescriptor

调用: import fullseye as fs; fs.ledger.d2_distribution(points, bins: 'int' = 64, samples: 'int' = 100000, seed: 'int' = 0) -> 'np.ndarray'(要直接调用实现,import descriptors3d; descriptors3d.d2_distribution(points, bins: 'int' = 64, samples: 'int' = 100000, seed: 'int' = 0) -> 'np.ndarray';从台账取用则 ops3d.get("d2_distribution"))

用法

随机点对之间欧氏距离的分布(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,)

正規化距離ヒストグラム。

参考(示例数据・文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

可运行的示例(实际调用该算子并已验证的样例)

shape_desc_posepy -3.11 examples_3d/shape_desc_pose.py

类型可衔接的下一个算子(可接受 descriptor 作为输入)

fuse_to_voxel · shape_distance

同类别(shape_descriptor)

a3_distribution · extent_signature · describe · shape_distance


*Provenance: descriptors3d.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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