monogenic_phase — QUAT riesz op

数据种类:qimageimage2d

调用:import quatimage; quatimage.monogenic_phase(qimage, display: 'bool' = False) -> 'np.ndarray'(或 opsquat.get("monogenic_phase"))

用法

单演信号的局部相位 `atan2(|R|, f)`。→ (H, W)。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

In `[0, pi]` — the monogenic phase is measured against the *magnitude* of

the Riesz vector, whose sign is carried by the orientation instead, so the

range is a half turn rather than a full one. That is the standard

convention (Felsberg & Sommer) and it is stated here because a caller

arriving from `complexops.cx_phase (whose raw range is (-pi, pi]`) will

otherwise assume a full turn and see a "wrapped" map that is not wrapped.

`display=True maps [0, pi] to [0, 1]` for viewing; the default is

`False — the **opposite** of cx_phase`'s default, deliberately,

because the consumers of this quantity in this module are numerical, and a

display scaling that arrives silently in a measurement is a factor of `pi`

that nothing announces.

Phase is the quantity a translation shifts linearly, which is why the whole

motion half of this module reads it. For an edge, phase 0 means the peak of

a bright line, `pi/2 a step edge and pi` the peak of a dark line — the

local *structure type*, independent of contrast.

Raises `ValueError`: the input is not a valid quaternion field, or its

`k` component is non-zero; *display* is not a bool.

详细使用指南

quaternion_monogenic 族使用指南

参考(示例数据・文献)

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

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

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

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

quaternion_monogenicpy -3.11 examples/quaternion_monogenic.py

类型可衔接的下一个算子(可接受 image2d 作为输入)

riesz_transform · monogenic_signal

同类别(riesz)

riesz_transform · monogenic_signal · monogenic_amplitude · monogenic_orientation


*Provenance: quatimage.py — QUAT 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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