aharoon commited on
Commit
6482dfa
·
verified ·
1 Parent(s): 4613079

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +180 -1
README.md CHANGED
@@ -5,4 +5,183 @@ task_categories:
5
  - feature-extraction
6
  language:
7
  - en
8
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  - feature-extraction
6
  language:
7
  - en
8
+ ---
9
+
10
+ # FPP-ML-Bench: Fringe Projection Profilometry Benchmarking Dataset
11
+
12
+ [![arXiv](https://img.shields.io/badge/arXiv-2601.08900-b31b1b.svg)](https://arxiv.org/abs/2601.08900)
13
+ [![SPIE Photonics West](https://img.shields.io/badge/SPIE%20Photonics%20West-Presentation-blue)](https://spie.org/photonics-west/presentation/Comprehensive-machine-learning-benchmarking-for-fringe-projection-profilometry-with-photorealistic/13904-1)
14
+ [![GitHub](https://img.shields.io/badge/GitHub-Code-green)](https://github.com/AnushLak/fpp-ml-bench)
15
+
16
+ The first open-source, photorealistic synthetic dataset for single-shot fringe projection profilometry (FPP), generated using [VIRTUS-FPP](https://arxiv.org/abs/2509.22685) in NVIDIA Isaac Sim. This dataset was created to enable standardized benchmarking and systematic comparison of deep learning approaches for single-shot 3D depth reconstruction from fringe patterns.
17
+
18
+ ## Dataset Summary
19
+
20
+ | Property | Value |
21
+ |----------|-------|
22
+ | Total fringe images | 15,600 |
23
+ | Depth reconstructions | 300 |
24
+ | Objects | 50 |
25
+ | Viewpoints per object | 6 |
26
+ | Resolution | 960 × 960 pixels |
27
+ | Measurement range | 1.5–1.8 m |
28
+ | Ground truth method | 18-step phase shifting + Gray-code unwrapping |
29
+ | Train / Val / Test split | 240 / 30 / 30 (object-level) |
30
+
31
+ ## Loading the Dataset
32
+
33
+ ```python
34
+ import scipy.io as sio
35
+ from PIL import Image
36
+ import numpy as np
37
+
38
+ # Load a fringe image
39
+ fringe = np.array(Image.open("train/fringe/sample.png").convert("L"), dtype=np.float32) / 255.0
40
+
41
+ # Load the corresponding ground truth depth map
42
+ mat = sio.loadmat("train/depth/sample.mat")
43
+
44
+ # Available depth keys depending on normalization:
45
+ depth_raw = mat["depthMap"] # Raw depth in mm
46
+ depth_global_normalized = mat["depthMapMeters"] # Depth in meters (raw / 1000)
47
+ depth_individual_normalized = mat["depthMapNormalized"] # Per-sample [0, 1] normalized
48
+ ```
49
+
50
+ ### Denormalizing Individual Normalized Depth
51
+
52
+ Each sample has stored normalization parameters to recover metric depth:
53
+
54
+ ```python
55
+ # Load normalization parameters
56
+ params = sio.loadmat("info_depth_params/train/depth/sample.mat")
57
+ depth_min = float(params["depth_min"])
58
+ depth_max = float(params["depth_max"])
59
+
60
+ # Recover depth in mm from [0, 1] normalized prediction
61
+ depth_mm = depth_normalized * (depth_max - depth_min) + depth_min
62
+ ```
63
+
64
+ ## Dataset Structure
65
+
66
+ ```
67
+ fpp-ml-bench/
68
+ ├── train/ # 240 samples (40 objects × 6 viewpoints)
69
+ │ ├── fringe/ # Input fringe pattern images (.png)
70
+ │ └── depth/ # Ground truth depth maps (.mat)
71
+ ├── val/ # 30 samples (5 objects × 6 viewpoints)
72
+ │ ├── fringe/
73
+ │ └── depth/
74
+ ├── test/ # 30 samples (5 objects × 6 viewpoints)
75
+ │ ├── fringe/
76
+ │ └── depth/
77
+ └── info_depth_params/ # Per-sample normalization parameters
78
+ ├── train/depth/ # depth_min, depth_max per sample (.mat)
79
+ ├── val/depth/
80
+ └── test/depth/
81
+ ```
82
+
83
+ ### File Formats
84
+
85
+ - **Fringe images** (`.png`): Single-channel 8-bit grayscale, 960×960 pixels. Each image is the first frame of an 18-step phase-shifting sequence.
86
+ - **Depth maps** (`.mat`): MATLAB files containing three depth representations per sample:
87
+ - `depthMap`: Raw depth in millimeters
88
+ - `depthMapMeters`: Global normalized (raw / 1000, in meters)
89
+ - `depthMapNormalized`: Individual normalized to [0, 1] using per-sample min/max
90
+ - **Normalization parameters** (`.mat`): Contains `depth_min` and `depth_max` for each sample, required to recover metric depth from individual normalized predictions.
91
+
92
+ ### Depth Normalization Strategies
93
+
94
+ The dataset includes three depth representations to support systematic evaluation of data representation strategies. Our benchmarking study found these lead to dramatically different model performance:
95
+
96
+ | Strategy | Key (`mat` file) | Range | Performance (Object MAE) |
97
+ |----------|-----------------|-------|--------------------------|
98
+ | Raw | `depthMap` | 0–2000 mm | 148.07 mm |
99
+ | Global normalized | `depthMapMeters` | 0–2 m | 82.49 mm |
100
+ | Individual normalized | `depthMapNormalized` | [0, 1] | 16.20 mm |
101
+
102
+ Individual normalization decouples shape from scale, achieving 9.1× improvement over raw depth. See the [paper](https://arxiv.org/abs/2601.08900) for full analysis.
103
+
104
+ ## Data Acquisition
105
+
106
+ ### Virtual FPP System
107
+
108
+ All data were generated using [VIRTUS-FPP](https://arxiv.org/abs/2509.22685), a physics-based virtual FPP system built in NVIDIA Isaac Sim. The pipeline integrates OptiX ray tracing for photorealistic rendering, PhysX for physics, and USD for 3D scene composition. The projector is modeled via the inverse camera model, enabling accurate fringe projection at arbitrary distances without hardware constraints.
109
+
110
+ | Parameter | Value |
111
+ |-----------|-------|
112
+ | Camera focal length | 50 cm |
113
+ | Camera resolution | 960 × 960 pixels |
114
+ | Projector intensity | 40 nits |
115
+ | Projector offset | 0.1 m below, 0.125 m left of camera |
116
+ | Stereo reprojection error | 0.056 pixels |
117
+ | Projector reprojection error | 0.049 pixels |
118
+
119
+ ### Objects
120
+
121
+ 50 objects were sourced from two datasets:
122
+ - **YCB Object Dataset**: Household objects (containers, tools, food items)
123
+ - **NVIDIA Physical AI Warehouse**: Industrial components
124
+
125
+ Objects span cylindrical containers, rectangular boxes, complex shapes (power drills, sprayguns), and industrial components, providing diversity in surface characteristics and morphological complexity.
126
+
127
+ All objects use consistent matte material properties: roughness = 0.95, specular = 0.15, AO-to-diffuse = 0.95.
128
+
129
+ ### Multi-View Acquisition
130
+
131
+ Each object was rotated about the vertical axis in 60° increments, yielding 6 viewpoints per object with approximately 50% overlap between adjacent views:
132
+
133
+ $$R_z(\theta_i) = \begin{bmatrix} \cos\theta_i & -\sin\theta_i & 0 \\ \sin\theta_i & \cos\theta_i & 0 \\ 0 & 0 & 1 \end{bmatrix}, \quad \theta_i = i \cdot 60°, \quad i = 0,1,...,5$$
134
+
135
+ ### Ground Truth Generation
136
+
137
+ Ground truth depth maps were generated using an 18-step phase-shifting sequence combined with Gray-code temporal unwrapping and triangulation. This provides perfect ground truth geometry free from the measurement errors inherent to physical systems.
138
+
139
+ ## Train/Val/Test Split
140
+
141
+ The dataset is split at the **object level** to ensure evaluation on completely unseen geometries:
142
+
143
+ | Split | Objects | Samples | Percentage |
144
+ |-------|---------|---------|------------|
145
+ | Train | 40 | 240 | 80% |
146
+ | Val | 5 | 30 | 10% |
147
+ | Test | 5 | 30 | 10% |
148
+
149
+ **Important:** No object appears in more than one split. This prevents the model from memorizing object shapes seen during training and forces generalization to novel geometries.
150
+
151
+ ## Intended Uses
152
+
153
+ - Benchmarking deep learning architectures for single-shot FPP depth estimation
154
+ - Evaluating data representation and loss function strategies for fringe-to-depth learning
155
+ - Developing and validating learning-based 3D reconstruction methods
156
+ - Research into the fundamental limitations of single-shot depth recovery from structured light
157
+
158
+ ## Limitations
159
+
160
+ - **Synthetic only**: All data is rendered in simulation. Domain gap to real-world FPP systems has not been characterized. See [paper](https://arxiv.org/abs/2601.08900) for discussion and future work on sim-to-real transfer.
161
+ - **Material properties**: All objects use identical matte materials. Specular, translucent, or highly reflective surfaces are not represented.
162
+ - **Single projector pattern**: Only the first fringe image from each 18-step sequence is used as model input. The remaining 17 patterns are used solely for ground truth generation.
163
+ - **Fixed measurement range**: All objects are scanned at 1.5–1.8 m. Performance at other distances is unknown.
164
+
165
+ ## Citation
166
+
167
+ If you use this dataset in your research, please cite:
168
+
169
+ ```bibtex
170
+ @article{lakshman2026comprehensive,
171
+ title={Comprehensive Machine Learning Benchmarking for Fringe Projection Profilometry with Photorealistic Synthetic Data},
172
+ author={Lakshman S, Anush and Haroon, Adam and Li, Beiwen},
173
+ journal={arXiv preprint arXiv:2601.08900},
174
+ year={2026}
175
+ }
176
+
177
+ @article{haroon2025virtus,
178
+ title={VIRTUS-FPP: virtual sensor modeling for fringe projection profilometry in NVIDIA Isaac Sim},
179
+ author={Haroon, Adam and Lakshman, Anush and Balasubramaniam, Badrinath and Li, Beiwen},
180
+ journal={arXiv preprint arXiv:2509.22685},
181
+ year={2025}
182
+ }
183
+ ```
184
+
185
+ ## Contact
186
+
187
+ For questions or issues, please open an issue on [GitHub](https://github.com/AnushLak/FPP-ML-Benchmarking) or contact [anushlak@iastate.edu](mailto:anushlak@iastate.edu) or [aharoon@iastate.edu](mailto:aharoon@iastate.edu).