algebra op• 資料種類:vector → shift
• 呼叫:import reprconv; reprconv.vector_to_shift(vector)(或 opsreprconv.get("vector_to_shift"))
`vector (3,) → 整數位移 (dz, dy, dx)。:func:shift_to_vector` 的反向。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
不可逆(最近接整数へ丸める)。落ちる量は丸め残差そのもので、
`|v - round(v)| <= 0.5` が各軸の上界。整数を渡した往復だけが bit 一致する。
Args:
vector: (3,)。
Returns:
3-tuple の int。
Raises:
ValueError: (3,) でない / 非有限。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者・年份)與用途見上面的族使用指南。
• representation_conversion — py -3.11 examples/representation_conversion.py
shift 作為輸入)algebra)angle_to_matrix · matrix_to_angle · rot_scale_to_matrix · matrix_to_rot_scale · shift_to_vector · cscalar_to_polar · polar_to_cscalar · countrate_to_counts
*Provenance: reprconv.py — REPRCONV 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.