algebra op• 数据种类:qimage × qimage → qimage
• 调用: import fullseye as fs; fs.ledger.quat_image_multiply(qimage, other, side) -> 'np.ndarray'(要直接调用实现,import quatimage; quatimage.quat_image_multiply(qimage, other, side) -> 'np.ndarray';从台账取用则 opsquat.get("quat_image_multiply"))
四元数图像与一个四元数或一个场的 Hamilton 积。→ (H, W, 4)。
> 以下的详细说明为原文 —— 摘要与标题已翻译。
side="left" computes other * qimage; side="right" computes qimage * other. There is no default — see _require_side. The two results are genuinely different objects, not a sign convention: measured on a standard-normal (32, 32, 4) field against a unit rotor, max|left - right| = 3.143 and mean|left - right| = 0.4948 on data whose own extreme is 3.372 — that is, the two answers differ by as much as the data itself. Neither raises, neither is NaN, and both look like a perfectly good quaternion image.
*other* is either a single quaternion (a (4,) array-like) or a full (H, W, 4) field of the same shape; anything else is refused rather than broadcast, because NumPy would happily broadcast a (H, 4) array along the wrong axis and produce an image-shaped answer to a different question.
Raises ValueError: either input is not a valid quaternion field; *other* is neither (4,) nor exactly qimage's shape; *side* is not 'left' / 'right'.
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者、年份)与用途见上面的族使用指南。
• quaternion_monogenic — py -3.11 examples/quaternion_monogenic.py
qimage 作为输入)quaternion_to_rgb · quat_norm · quat_conjugate_image · quat_normalize_image · monogenic_amplitude · monogenic_phase · monogenic_orientation · quat_color_rotate
algebra)quat_conjugate_image · quat_normalize_image
*Provenance: quatimage.py — QUAT 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.