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

非負の距離。

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL 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 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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