displacement_series — MOTIONMAG measure op

資料種類:videopairs

呼叫:import motionmag; motionmag.displacement_series(video, f_lo, f_hi, fps, scales: 'int' = 4, orientations: 'int' = 4) -> 'np.ndarray'(或 opsmotionmag.get("displacement_series"))

用法

整影格位移波形 -> `(dx, dy)(T, 2)` 陣列。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

The contrast-weighted spatial mean of :func:phase_displacement, i.e. the

rigid-body motion of the scene in pixels, one row per frame. This is the

trace to plot, or to feed to `dsp.spectrum` to read off the resonant

frequency — a vibration waveform recovered from a camera.

Weights are the same `|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 a division by zero.

Sub-pixel accuracy and its cliff inherit from :func:phase_displacement;

measured on the 64x64x64 / 8 px / 4 Hz synthetic, a true 0.5 px amplitude is

recovered as 0.50000000 px (6.7e-16 relative), and a true 0.001 px amplitude

as 0.00100000 px (8.7e-15).

詳細使用指南

motion_magnification 族使用指南

參考(範例資料・文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

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

可執行的範例(實際呼叫該運算子並已驗證的樣例)

motion_magnificationpy -3.11 examples/motion_magnification.py

poc_motion_magnificationpy -3.11 examples/poc_motion_magnification.py

quaternion_monogenicpy -3.11 examples/quaternion_monogenic.py

型別可銜接的下一個運算子(可接受 pairs 作為輸入)

同類別(measure)

phase_displacement


*Provenance: motionmag.py — MOTIONMAG 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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