shape_distance — 3D shape_descriptor op

数据种类:descriptor × descriptormeasurement

调用: import fullseye as fs; fs.ledger.shape_distance(desc_a, desc_b, metric: 'str' = 'l1') -> 'float'(要直接调用实现,import descriptors3d; descriptors3d.shape_distance(desc_a, desc_b, metric: 'str' = 'l1') -> 'float';从台账取用则 ops3d.get("shape_distance"))

用法

两个描述子之间的距离。越小形状越相似。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

Parameters

----------

desc_a, desc_b : array_like

describe() などが返す同じ長さのベクトル。

metric : {"l1", "jsd"}

• "l1" : L1(マンハッタン)距離。連結記述子(部分分布の並び)に素直で既定。

• "jsd": Jensen-Shannon 距離(全体を 1 つの分布とみなし総和 1 に正規化してから

JS ダイバージェンスの平方根)。0〜1 に収まる有界指標。

Returns

-------

float

非負の距離。

参考(示例数据・文献)

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

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

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

moment_invariantspy -3.11 examples_3d/moment_invariants.py

shape_desc_posepy -3.11 examples_3d/shape_desc_pose.py

shape_retrievalpy -3.11 examples_3d/shape_retrieval.py

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

vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance · snell_angle

同类别(shape_descriptor)

d2_distribution · a3_distribution · extent_signature · describe


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

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