piv_sample_at_windows — PIV assess op

Data kinds: flow2dflow2d

Call: import pivops; pivops.piv_sample_at_windows(field, info) (or opspiv.get("piv_sample_at_windows"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

画素ごとの場 `(2, H, W)` を窓中心の格子へ落とす(最近傍)。

真値は画素解像度で作られるが、PIV の出力は窓の格子に載る。**比べる前に

同じ格子へ持ってくる**必要があり、その持ってき方(最近傍か窓内平均か)で

誤差が変わる。ここは最近傍 —— 窓内平均にすると、勾配のある場で PIV 自身の

平滑化と区別がつかなくなる。

Detailed usage guide

piv_displacement family guide

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

piv_flow_from_particlespy -3.11 examples/piv_flow_from_particles.py

poc_strain_historypy -3.11 examples/poc_strain_history.py

Ops the type connects to (they accept flow2d as input)

piv_deform_pass · piv_outlier_mask · piv_replace_outliers · piv_vorticity · piv_divergence · piv_flow_magnitude · piv_to_velocity · piv_velocity_gradient

Same category (assess)

piv_error_stats · piv_peak_locking · piv_time_statistics


*Provenance: pivops.py — PIV operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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