Acquisition Details
- \(M\): phase steps per period
- \(N\): averaged frames per step
- \(n_p\): repeated periods
- Frames with large PID error are rejected
- LED duty cycle: \(10\%\)
Output
A phase-resolved image stack is reduced to a per-pixel harmonic amplitude map and phase map at the drive frequency.
Linear Least Squares Fit as DFT Alternative
By fitting
\[
I = A\cos(\phi) + B\sin(\phi),
\]
amp. and phase can be computed from \(A_1=\sqrt{A^2+B^2}\) and \(\varphi=\arctan(B/A)\)
For each excitation frequency, a phase-stepped image sequence is acquired using
\(M\) equally spaced phase steps per vibration period.
At each step, \(N\) frames are averaged, and the sequence is repeated over \(n_p\) periods for robustness.
At each pixel \((x,y)\), the intensity sequence is modeled as
\[
I_{x,y}(\phi_m) \approx I_0(x,y) + A_1(x,y)\cos\!\bigl[\phi_m-\varphi(x,y)\bigr].
\]
The complex first-harmonic phasor is then estimated using an \(M\)-point DFT:
\[
\hat{C}_1(x,y) = \frac{2}{M}\sum_{m=0}^{M-1} I_{x,y}(\phi_m)\,e^{-j\phi_m}.
\]
Harmonic Extraction
\[
A_1(x,y)=\bigl|\hat{C}_1(x,y)\bigr|,
\qquad
\varphi(x,y)=\arg\!\bigl\{\hat{C}_1(x,y)\bigr\}.
\]
The first harmonic therefore provides the local vibration amplitude and phase in camera units.