quat_image_multiply — QUAT algebra op

数据种类:qimage × qimageqimage

调用: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 :func:_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'`.

详细使用指南

quaternion_monogenic 族使用指南

参考(示例数据・文献)

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

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

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

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

quaternion_monogenicpy -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.