piv_synth_particles — PIV synth op

Data kinds: noneimage2d (an op determined by its arguments alone — it takes no image or data input)

Call: import pivops; pivops.piv_synth_particles(shape, density=0.02, diameter_px=2.5, seed=0, intensity=(0.6, 1.0), background=0.0) (or opspiv.get("piv_synth_particles"))

Usage

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

トレーサ粒子を撒いた 1 枚を作る。返りは `(image, positions)`。

粒子はガウス輝点(直径 = 1/e^2 幅ではなく標準偏差の 2 倍

`diameter_px` と呼ぶ、PIV の慣行)。位置は連続値なので、サブピクセルの

真値を持つ画像が作れる。

`density` は 1 画素あたりの粒子数。PIV の経験則では窓あたり 5-10 個

目安で、32x32 窓なら 0.005-0.01 に当たる。少なすぎると相関ピークが立たず、

多すぎると粒子像が重なって個々の対応が失われる。

Args:

shape: `(H, W)`。

density: 画素あたりの粒子数(> 0)。

diameter_px: 粒子像の直径 [px] (> 0)。

seed: 乱数種。

intensity: 粒子の明るさの範囲 `(lo, hi)`。

background: 一様な下駄。

Returns:

`(image (H, W) float64, positions (N, 2) の (row, col))`。

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)

• (none yet)

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

piv_cross_correlate · piv_multipass · piv_deform_pass · strain_from_displacement · correlation_quality · speckle_quality

Same category (synth)

piv_synth_pair · piv_synth_sequence


*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.