File size: 6,110 Bytes
66984d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
license: mit
task_categories:
  - video-classification
  - image-segmentation
tags:
  - optical-gas-imaging
  - thermal-infrared
  - gas-leak-detection
  - synthetic-video
  - video-segmentation
pretty_name: SimGas v2
size_categories:
  - 10G<n<100G
---

# SimGas v2 (`weathon/sim_gas_v2`)

**SimGas v2** is a synthetic Optical Gas Imaging (OGI) benchmark dataset with exact ground-truth masks, gas-free counterfactual videos, per-object layer masks, and realistic dynamic industrial backgrounds.

![Final 9-Sample Visual QA](prod_v2_final_qa_9.jpg)

## Key Features
- **79 long industrial OGI videos** (`61.75 s`, `741` frames @ `12 fps`, lossless grayscale FFV1, `512 × 384`) spanning **30 industrial site types** and **4 radiometric weather conditions** (`SUNNY`, `CLOUDY`, `RAINY`, `NIGHT`).
- **Strict `train / val / test` split isolation** across **both** industrial scenes and moving foreground RGBA object assets:
  - `train`: **46** scenes (`9` approved objects + `2` steam assets)
  - `val`: **13** scenes (`5` strictly held-out objects)
  - `test`: **20** scenes (`4` strictly held-out objects + `1` steam asset)
- **Hybrid Thermal-Space Layered Backgrounds**:
  - Ambient-only 23s (`561` frames @ `24 fps`) Helios-Distilled industrial RGB bases -> min-L2 seam looping -> TherA thermal translation.
  - Visually QA-approved Wan-Alpha v2.0 RGBA foreground objects (workers, forklifts, trucks, SUVs, flags, windsocks) translated on real scene context ROIs via a 4-palette distilled strictly-local U-Net (`SmallLocalUNetV2`, `reflect` padding, zero spatial normalization) + 2-scalar radiometric tone match + static MoGe-2 soft-depth occlusion (`< 4.5 m` close-up vehicle safety gate) + native `12 fps` compositing.
- **Physically Grounded Gas Plume & Sensor Simulation**:
  - 3D GPU turbulent plume solver with wind shear, buoyancy, and scene geometry occlusion, radiometrically composited as `I = B * tau + G * (1 - tau)` (supporting hot/bright, cold/dark, and mixed-polarity plumes).
  - Tripod (`61`) and handheld camera shake (`18`) scenes, temporal + fixed-pattern sensor noise, plus gas-free counterfactuals (`background.mkv`) and ablation tracks (`frames_nonoise.mkv`, `frames_static.mkv`).

## Dataset Statistics
- **Total samples**: `79` (`train`: `46`, `val`: `13`, `test`: `20`)
- **Palettes**: `SUNNY`: `30`, `CLOUDY`: `27`, `RAINY`: `12`, `NIGHT`: `10`
- **Camera**: `tripod`: `61`, `handheld`: `18`
- **Leak vs No-leak**: `leak=True`: `74`, `leak=False`: `5`

## Repository Layout

```text
.
├── README.md
├── dataset_manifest.jsonl          # Per-sample metadata index across all 79 samples
├── eval_summary.json               # Aggregated LangGas & BGS evaluation ladder (val & test)
├── prod_v2_final_qa_9.jpg          # 9-sample visual QA montage (train/val/test)
├── eval/
│   ├── val/                        # Per-video LangGas & BGS ladder results on val (n=13)
│   └── test/                       # Per-video LangGas & BGS ladder results on test (n=20)
├── object_bank/
│   ├── manifest.json               # Split-isolated manifest of 21 QA-approved RGBA assets
│   ├── bank_preview.jpg            # Visual checkerboard QA preview
│   └── <asset_id>/pngs.zip         # Approved RGBA object sequences (81 frames each)
└── data/
    └── <split>/                    # train | val | test
        └── <scene_id>/
            ├── frames.mkv          # Final OGI sample video (gas + movers + shake + noise)
            ├── background.mkv      # Gas-free counterfactual (identical movers, shake, noise)
            ├── gt.mkv              # 3-class GT mask: 255 visible gas, 128 ignore, 0 background
            ├── gt_physical.mkv     # Physical opacity mask (alpha >= 0.05)
            ├── alpha.mkv           # Gas opacity [0..255]
            ├── contrast.mkv        # Signed radiance change (128 = 0)
            ├── frames_nonoise.mkv  # Ablation: without sensor noise
            ├── frames_static.mkv   # Ablation: static background without movers or noise
            ├── preview.mp4         # Side-by-side preview video
            ├── sheet.jpg           # 6-frame contact sheet
            ├── meta.json           # Full physical, camera, plume, and layer metadata
            └── layers/
                ├── influence.mkv       # Continuous foreground object alpha influence mask [0..255]
                ├── objects.mkv         # Foreground object instance ID mask
                ├── layered_rgb.mp4     # 12 fps composited RGB reference (with movers)
                ├── layered_thermal.mp4 # 12 fps composited thermal background (before gas/noise)
                ├── base_rgb.mp4        # Original 23s ambient-only Helios RGB base (24 fps)
                ├── base_thermal.mp4    # Original 23s ambient-only TherA thermal base (24 fps)
                ├── static_rgb.png      # Clean static RGB background plate (no movers)
                ├── layer_sheet.jpg     # 4-frame layering & occlusion QA sheet
                ├── spec.json           # Foreground object placement & trajectory specification
                └── layer_meta.json     # Compositing metadata (loop segment, tone match, object depths)
```

## Baseline Evaluation Ladder (`eval_summary.json`)

Evaluated independently on held-out `val` (`n=13`) and `test` (`n=20`) splits with the LangGas pipeline (`full_*`) and MOG2 background-subtraction baseline (`bgs_*`):

| Split | `full_frames` IoU (tripod) | `full_nonoise` IoU (tripod) | `full_static` IoU (tripod) | `full_v1mask` IoU | `full_bg` FLA (no-gas acc) | `bgs_frames` IoU (tripod) | `bgs_static` IoU (tripod) |
|---|---:|---:|---:|---:|---:|---:|---:|
| **`val` (`n=13`)** | 0.1291 (0.1557) | 0.2009 (0.2368) | 0.3707 (0.4414) | 0.1158 | 0.5483 | 0.1859 (0.2269) | 0.5225 (0.6642) |
| **`test` (`n=20`)** | 0.1308 (0.1222) | 0.1739 (0.1639) | 0.2640 (0.2644) | 0.1111 | 0.5010 | 0.2365 (0.2716) | 0.6057 (0.7332) |