Datasets:
Add Case A ground truth; reorganise ground_truth into clean/ and noisy/ subdirs; update README for Case A
Browse files
.gitattributes
CHANGED
|
@@ -24059,3 +24059,5 @@ stereo_noisy/camera2/B03999_A.tif filter=lfs diff=lfs merge=lfs -text
|
|
| 24059 |
stereo_noisy/camera2/B03999_B.tif filter=lfs diff=lfs merge=lfs -text
|
| 24060 |
stereo_noisy/camera2/B04000_A.tif filter=lfs diff=lfs merge=lfs -text
|
| 24061 |
stereo_noisy/camera2/B04000_B.tif filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 24059 |
stereo_noisy/camera2/B03999_B.tif filter=lfs diff=lfs merge=lfs -text
|
| 24060 |
stereo_noisy/camera2/B04000_A.tif filter=lfs diff=lfs merge=lfs -text
|
| 24061 |
stereo_noisy/camera2/B04000_B.tif filter=lfs diff=lfs merge=lfs -text
|
| 24062 |
+
ground_truth/clean/direct_stats.mat filter=lfs diff=lfs merge=lfs -text
|
| 24063 |
+
ground_truth/noisy/direct_stats.mat filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -20,7 +20,12 @@ size_categories:
|
|
| 20 |
|
| 21 |
Synthetic particle-image-velocimetry (PIV) images of a turbulent channel flow at Re_τ ≈ 1000, paired with DNS-derived ground-truth statistics. Designed to benchmark PIV algorithms end-to-end against a reference dataset of known answer.
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
Companion to the PIVtools software paper (SoftwareX, submitted). The dataset is self-contained: drop it next to a [PIVtools](https://github.com/MTT69/python-PIVtools) install and the benchmark scripts reproduce every validation figure in the paper.
|
| 26 |
|
|
@@ -38,10 +43,10 @@ pivtools-cli init --output ./work/config.yaml
|
|
| 38 |
# edit config.yaml to point sources at ./tc/planar_noisy
|
| 39 |
pivtools-cli ensemble --config ./work/config.yaml
|
| 40 |
|
| 41 |
-
# 4. Benchmark against DNS
|
| 42 |
python ./tc/scripts/benchmark_comparison.py \
|
| 43 |
--mode ensemble \
|
| 44 |
-
--gt-dir ./tc/ground_truth \
|
| 45 |
--ensemble-dir ./work/calibrated_piv/4000/Cam1/ensemble \
|
| 46 |
--num-frames 4000 \
|
| 47 |
--output-dir ./work/validation
|
|
@@ -54,27 +59,39 @@ MTT69/TurbulentChannel/
|
|
| 54 |
├── README.md (this file)
|
| 55 |
├── LICENSE (CC-BY-4.0)
|
| 56 |
├── ground_truth/
|
| 57 |
-
│
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
| 60 |
│ └── calibration_boards/ 20 synthetic dotboard calibration images
|
| 61 |
-
|
| 62 |
-
|
|
|
|
| 63 |
│ ├── camera2/ cam 2 TIFFs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
│ ├── calibration/
|
| 65 |
│ │ ├── cam1/ 20 stereo dotboard images, cam 1
|
| 66 |
│ │ └── cam2/ 20 stereo dotboard images, cam 2
|
| 67 |
-
│
|
|
|
|
| 68 |
│ └── mask_Cam2.mat
|
| 69 |
└── scripts/
|
| 70 |
├── benchmark_comparison.py Planar + ensemble vs DNS
|
| 71 |
├── stereo_benchmark_comparison.py Stereo 3-component + 6 stresses vs DNS
|
| 72 |
├── cross_method_comparison.py Multi-method overlay figures
|
| 73 |
-
├── paper_figures.py Combined clean+noisy paper figures
|
| 74 |
├── tcf_direct_stats.py Recompute ground truth from JHTDB particles
|
| 75 |
└── sig_configs/ EUROSIG configuration files (.cdl)
|
| 76 |
```
|
| 77 |
|
|
|
|
|
|
|
| 78 |
## Image specifications
|
| 79 |
|
| 80 |
| Parameter | Value |
|
|
@@ -83,14 +100,20 @@ MTT69/TurbulentChannel/
|
|
| 83 |
| Particle diameter | 3 px |
|
| 84 |
| Laser sheet thickness | 16 px (1.2 mm physical) |
|
| 85 |
| Number of pairs | 4000 |
|
| 86 |
-
| Case
|
|
|
|
| 87 |
| Case B noise | Gaussian, mean = 80, std = 16, SNR ≈ 8 |
|
| 88 |
| Stereo geometry | Two cameras at ±45° forward-scatter |
|
| 89 |
| dt | Matches JHTDB snapshot spacing (see CDL configs) |
|
| 90 |
|
| 91 |
## Ground truth
|
| 92 |
|
| 93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
| Key | Shape | Description |
|
| 96 |
|-----|-------|-------------|
|
|
@@ -115,7 +138,7 @@ Synthetic images are rendered from JHTDB turbulent-channel particle trajectories
|
|
| 115 |
| `sigconf_planar_noisy_B.cdl` | Planar frame B, 22k particles, noise pattern B |
|
| 116 |
| `SIGconf_Stereo_cam1_noisy_A.cdl`, `..._B.cdl` | Stereo cam 1, frames A and B |
|
| 117 |
| `SIGconf_Stereo_cam2_noisy_A.cdl`, `..._B.cdl` | Stereo cam 2, frames A and B |
|
| 118 |
-
| `sigconf_planar.cdl`, `SIGconf_Stereo_cam{1,2}.cdl` | Case A
|
| 119 |
|
| 120 |
To regenerate images bit-for-bit, install EUROSIG and invoke each `.cdl` with its associated particle-position files from JHTDB. See the SIG documentation for build instructions.
|
| 121 |
|
|
@@ -128,7 +151,7 @@ Compares planar or ensemble PIV against the DNS ground truth; produces U+, Reyno
|
|
| 128 |
```bash
|
| 129 |
python scripts/benchmark_comparison.py \
|
| 130 |
--mode ensemble \
|
| 131 |
-
--gt-dir ./ground_truth \
|
| 132 |
--ensemble-dir <path/to/your/ensemble_result_directory> \
|
| 133 |
--num-frames 4000 \
|
| 134 |
--output-dir ./out
|
|
@@ -139,7 +162,7 @@ python scripts/benchmark_comparison.py \
|
|
| 139 |
| `--mode` / `-m` | `instantaneous` or `ensemble` |
|
| 140 |
| `--runs` / `-r` | Comma-separated 0-based pass indices (e.g. `2,3`) |
|
| 141 |
| `--windows` / `-w` | Labels for those passes (e.g. `32,16`) |
|
| 142 |
-
| `--gt-dir` / `-g` | Directory containing `
|
| 143 |
| `--base-dir` / `-b` | PIV results base (instantaneous mode) |
|
| 144 |
| `--ensemble-dir` / `-e` | Direct path to ensemble result directory |
|
| 145 |
| `--num-frames` / `-n` | Frame count subdirectory (default 1000; use 4000 for this dataset) |
|
|
@@ -153,7 +176,7 @@ Uses LaTeX for labels (`text.usetex=True`); requires MiKTeX / TeXLive.
|
|
| 153 |
|
| 154 |
```bash
|
| 155 |
python scripts/stereo_benchmark_comparison.py \
|
| 156 |
-
--gt-dir ./ground_truth \
|
| 157 |
--stereo-base <path/to/your/stereo_results> \
|
| 158 |
--num-frames 4000 \
|
| 159 |
--output-dir ./out
|
|
@@ -165,7 +188,7 @@ Publication-quality plots comparing one pass from each of instantaneous, ensembl
|
|
| 165 |
|
| 166 |
```bash
|
| 167 |
python scripts/cross_method_comparison.py \
|
| 168 |
-
--gt-dir ./ground_truth \
|
| 169 |
--output-dir ./out \
|
| 170 |
--inst-stats <path/to/instantaneous/mean_stats.mat> \
|
| 171 |
--ens-dir <path/to/ensemble_dir> \
|
|
|
|
| 20 |
|
| 21 |
Synthetic particle-image-velocimetry (PIV) images of a turbulent channel flow at Re_τ ≈ 1000, paired with DNS-derived ground-truth statistics. Designed to benchmark PIV algorithms end-to-end against a reference dataset of known answer.
|
| 22 |
|
| 23 |
+
Two cases are provided:
|
| 24 |
+
|
| 25 |
+
- **Case A (clean)**: 85 000 particles per 2048 × 2048 image (≈ 5.2 ppw at 16 × 16 windows), no noise. Sets an upper bound on PIV accuracy.
|
| 26 |
+
- **Case B (noisy)**: 22 000 particles per image (≈ 1.3 ppw), Gaussian sensor noise (mean 80, std 16, SNR ≈ 8). Realistic experimental conditions.
|
| 27 |
+
|
| 28 |
+
Each case contains 4 000 image pairs in both planar and stereo (± 45° forward-scatter) geometries. Ground truth is provided separately for each case — both derive from the same underlying JHTDB channel snapshots but with their respective particle counts, so finite-sample statistics are self-consistent.
|
| 29 |
|
| 30 |
Companion to the PIVtools software paper (SoftwareX, submitted). The dataset is self-contained: drop it next to a [PIVtools](https://github.com/MTT69/python-PIVtools) install and the benchmark scripts reproduce every validation figure in the paper.
|
| 31 |
|
|
|
|
| 43 |
# edit config.yaml to point sources at ./tc/planar_noisy
|
| 44 |
pivtools-cli ensemble --config ./work/config.yaml
|
| 45 |
|
| 46 |
+
# 4. Benchmark against DNS (use ground_truth/clean for Case A, ground_truth/noisy for Case B)
|
| 47 |
python ./tc/scripts/benchmark_comparison.py \
|
| 48 |
--mode ensemble \
|
| 49 |
+
--gt-dir ./tc/ground_truth/noisy \
|
| 50 |
--ensemble-dir ./work/calibrated_piv/4000/Cam1/ensemble \
|
| 51 |
--num-frames 4000 \
|
| 52 |
--output-dir ./work/validation
|
|
|
|
| 59 |
├── README.md (this file)
|
| 60 |
├── LICENSE (CC-BY-4.0)
|
| 61 |
├── ground_truth/
|
| 62 |
+
│ ├── clean/direct_stats.mat DNS statistics for Case A (85k particles)
|
| 63 |
+
│ └── noisy/direct_stats.mat DNS statistics for Case B (22k particles)
|
| 64 |
+
├── planar_clean/ Case A planar images (4000 pairs, 85k particles)
|
| 65 |
+
│ └── B00001_A.tif … B04000_B.tif 2048 × 2048 TIFF, flat at root
|
| 66 |
+
├── planar_noisy/ Case B planar images (4000 pairs, 22k particles)
|
| 67 |
+
│ ├── B00001_A.tif … B04000_B.tif
|
| 68 |
│ └── calibration_boards/ 20 synthetic dotboard calibration images
|
| 69 |
+
│ (shared between Case A and Case B)
|
| 70 |
+
├── stereo_clean/ Case A stereo images (4000 pairs × 2 cameras)
|
| 71 |
+
│ ├── camera1/ cam 1 TIFFs
|
| 72 |
│ ├── camera2/ cam 2 TIFFs
|
| 73 |
+
│ ├── mask_Cam1.mat pixel-space masks
|
| 74 |
+
│ └── mask_Cam2.mat
|
| 75 |
+
├── stereo_noisy/ Case B stereo images (4000 pairs × 2 cameras)
|
| 76 |
+
│ ├── camera1/
|
| 77 |
+
│ ├── camera2/
|
| 78 |
│ ├── calibration/
|
| 79 |
│ │ ├── cam1/ 20 stereo dotboard images, cam 1
|
| 80 |
│ │ └── cam2/ 20 stereo dotboard images, cam 2
|
| 81 |
+
│ │ (shared between Case A and Case B)
|
| 82 |
+
│ ├── mask_Cam1.mat
|
| 83 |
│ └── mask_Cam2.mat
|
| 84 |
└── scripts/
|
| 85 |
├── benchmark_comparison.py Planar + ensemble vs DNS
|
| 86 |
├── stereo_benchmark_comparison.py Stereo 3-component + 6 stresses vs DNS
|
| 87 |
├── cross_method_comparison.py Multi-method overlay figures
|
| 88 |
+
├── paper_figures.py Combined clean + noisy paper figures
|
| 89 |
├── tcf_direct_stats.py Recompute ground truth from JHTDB particles
|
| 90 |
└── sig_configs/ EUROSIG configuration files (.cdl)
|
| 91 |
```
|
| 92 |
|
| 93 |
+
**Calibration boards are shared.** To avoid duplicate uploads, the calibration images for both Case A and Case B live at `planar_noisy/calibration_boards/` (planar) and `stereo_noisy/calibration/{cam1,cam2}/` (stereo). When processing Case A, point your PIVtools config at those same calibration paths.
|
| 94 |
+
|
| 95 |
## Image specifications
|
| 96 |
|
| 97 |
| Parameter | Value |
|
|
|
|
| 100 |
| Particle diameter | 3 px |
|
| 101 |
| Laser sheet thickness | 16 px (1.2 mm physical) |
|
| 102 |
| Number of pairs | 4000 |
|
| 103 |
+
| Case A particle count | 85 000 per image (≈ 5.2 ppw at 16 × 16 windows), no noise |
|
| 104 |
+
| Case B particle count | 22 000 per image (≈ 1.3 ppw at 16 × 16 windows) |
|
| 105 |
| Case B noise | Gaussian, mean = 80, std = 16, SNR ≈ 8 |
|
| 106 |
| Stereo geometry | Two cameras at ±45° forward-scatter |
|
| 107 |
| dt | Matches JHTDB snapshot spacing (see CDL configs) |
|
| 108 |
|
| 109 |
## Ground truth
|
| 110 |
|
| 111 |
+
Two ground-truth files are provided, one per case, each in its own subdirectory so the benchmark scripts can point at them directly via `--gt-dir`:
|
| 112 |
+
|
| 113 |
+
- `ground_truth/clean/direct_stats.mat` — Case A reference (85 000 particle trajectories)
|
| 114 |
+
- `ground_truth/noisy/direct_stats.mat` — Case B reference (22 000 trajectories)
|
| 115 |
+
|
| 116 |
+
Both are computed directly from the JHTDB particle position snapshots used to render the corresponding images. Benchmark Case A PIV against the clean file and Case B against the noisy one — finite-sample statistics are self-consistent within each case. Both share this schema:
|
| 117 |
|
| 118 |
| Key | Shape | Description |
|
| 119 |
|-----|-------|-------------|
|
|
|
|
| 138 |
| `sigconf_planar_noisy_B.cdl` | Planar frame B, 22k particles, noise pattern B |
|
| 139 |
| `SIGconf_Stereo_cam1_noisy_A.cdl`, `..._B.cdl` | Stereo cam 1, frames A and B |
|
| 140 |
| `SIGconf_Stereo_cam2_noisy_A.cdl`, `..._B.cdl` | Stereo cam 2, frames A and B |
|
| 141 |
+
| `sigconf_planar.cdl`, `SIGconf_Stereo_cam{1,2}.cdl` | Case A planar + stereo (85k particles, no noise) |
|
| 142 |
|
| 143 |
To regenerate images bit-for-bit, install EUROSIG and invoke each `.cdl` with its associated particle-position files from JHTDB. See the SIG documentation for build instructions.
|
| 144 |
|
|
|
|
| 151 |
```bash
|
| 152 |
python scripts/benchmark_comparison.py \
|
| 153 |
--mode ensemble \
|
| 154 |
+
--gt-dir ./ground_truth/noisy \
|
| 155 |
--ensemble-dir <path/to/your/ensemble_result_directory> \
|
| 156 |
--num-frames 4000 \
|
| 157 |
--output-dir ./out
|
|
|
|
| 162 |
| `--mode` / `-m` | `instantaneous` or `ensemble` |
|
| 163 |
| `--runs` / `-r` | Comma-separated 0-based pass indices (e.g. `2,3`) |
|
| 164 |
| `--windows` / `-w` | Labels for those passes (e.g. `32,16`) |
|
| 165 |
+
| `--gt-dir` / `-g` | Directory containing `direct_stats.mat` — e.g. `./ground_truth/noisy` or `./ground_truth/clean` (required) |
|
| 166 |
| `--base-dir` / `-b` | PIV results base (instantaneous mode) |
|
| 167 |
| `--ensemble-dir` / `-e` | Direct path to ensemble result directory |
|
| 168 |
| `--num-frames` / `-n` | Frame count subdirectory (default 1000; use 4000 for this dataset) |
|
|
|
|
| 176 |
|
| 177 |
```bash
|
| 178 |
python scripts/stereo_benchmark_comparison.py \
|
| 179 |
+
--gt-dir ./ground_truth/noisy \
|
| 180 |
--stereo-base <path/to/your/stereo_results> \
|
| 181 |
--num-frames 4000 \
|
| 182 |
--output-dir ./out
|
|
|
|
| 188 |
|
| 189 |
```bash
|
| 190 |
python scripts/cross_method_comparison.py \
|
| 191 |
+
--gt-dir ./ground_truth/noisy \
|
| 192 |
--output-dir ./out \
|
| 193 |
--inst-stats <path/to/instantaneous/mean_stats.mat> \
|
| 194 |
--ens-dir <path/to/ensemble_dir> \
|
ground_truth/clean/direct_stats.mat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd818526d6e49c557e932c30257f7a1a095333afa83ce7f8df6b462c811e18ce
|
| 3 |
+
size 1856680
|
ground_truth/{direct_stats_noisy.mat → noisy/direct_stats.mat}
RENAMED
|
File without changes
|