motion op• 数据种类:video → pairs
• 调用:import quatimage; quatimage.riesz_displacement_series(video, f_lo, f_hi, fps, scales: 'int' = 4) -> 'np.ndarray'(或 opsquat.get("riesz_displacement_series"))
由单演相位得到的整帧位移波形。→ (T, 2)。
> 以下的详细说明为原文 —— 摘要与标题已翻译。
The contrast-weighted spatial mean of :func:riesz_displacement: the
rigid-body motion of the scene in pixels, one `(dx, dy)` row per frame.
The `(n, 2) layout is the shared 1-D convention (dsp.spectrum`,
`funct1d, opsoptics`'s MTF curves), so the trace can be handed to
`dsp.spectrum` to read off a resonant frequency without any repacking.
Weights are the `|z|^2` contrast the field solve uses, restricted to the
pixels marked `valid`, so blank regions do not drag the average towards
zero. A clip with no valid pixel anywhere (a constant image) returns exact
zeros rather than dividing by zero.
Accuracy, the `J0` cliff and the multi-orientation failure all inherit from
:func:riesz_displacement — read its head-to-head table before trusting a
number from here. On a single-grating 64x64x64 / 8 px / 4 Hz clip a true
0.5 px amplitude is recovered as 0.50000000000000 px (2.2e-16 relative);
on the two-grating `motionmag.synthesize_translation` default the same
0.5 px comes back 13.0 % low, with nothing to signal it.
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者・年份)与用途见上面的族使用指南。
• quaternion_monogenic — py -3.11 examples/quaternion_monogenic.py
pairs 作为输入)—
motion)riesz_motion_magnify · riesz_displacement
*Provenance: quatimage.py — QUAT 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.