points_to_position — REPRCONV keypoint op

資料種類:pointsposition

呼叫:import reprconv; reprconv.points_to_position(points)(或 opsreprconv.get("points_to_position"))

用法

點群 `(N,3) → 重心 (z, y, x)`。不可逆(丟棄了分布)。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

捨てた量は測れる: 重心まわりの RMS 距離が「1 点に潰したときに失った広がり」

そのもので、`selftest` はこれを数字で出す。N = 1 のときだけ

:func:position_to_points との往復が bit 一致する。

Args:

points: (N, 3) の (z, y, x)。

Returns:

3-tuple の float (z, y, x)。

Raises:

ValueError: 形状不正 / 非有限。

參考(範例資料・文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者・年份)與用途見上面的族使用指南

可執行的範例(實際呼叫該運算子並已驗證的樣例)

representation_conversionpy -3.11 examples/representation_conversion.py

representation_roundtrippy -3.11 examples/representation_roundtrip.py

型別可銜接的下一個運算子(可接受 position 作為輸入)

position_to_points

同類別(keypoint)

keypoints_uv_to_points · points_zyx_to_keypoints_uv · keypoints_to_image2d · keypoints_from_image2d · position_to_points


*Provenance: reprconv.py — REPRCONV 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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