Datasets:
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +105 -0
- completed_chunks.txt +55 -0
- metadata.json +10 -0
- test/basement/000000_measurement.png +3 -0
- test/basement/000001_measurement.png +3 -0
- test/basement/000002_measurement.png +3 -0
- test/basement/000003_measurement.png +3 -0
- test/basement/000004_measurement.png +3 -0
- test/basement/000005_measurement.png +3 -0
- test/basement/000006_measurement.png +3 -0
- test/basement/000007_measurement.png +3 -0
- test/basement/000008_measurement.png +3 -0
- test/basement/000009_measurement.png +3 -0
- test/basement/000010_measurement.png +3 -0
- test/basement/000011_measurement.png +3 -0
- test/basement/000012_measurement.png +3 -0
- test/basement/000013_measurement.png +3 -0
- test/basement/000014_measurement.png +3 -0
- test/basement/000015_measurement.png +3 -0
- test/basement/000016_measurement.png +3 -0
- test/basement/000017_measurement.png +3 -0
- test/basement/000018_measurement.png +3 -0
- test/basement/000019_measurement.png +3 -0
- test/basement/000020_measurement.png +3 -0
- test/basement/000021_measurement.png +3 -0
- test/basement/000022_measurement.png +3 -0
- test/basement/000023_measurement.png +3 -0
- test/basement/000024_measurement.png +3 -0
- test/basement/000025_measurement.png +3 -0
- test/basement/000026_measurement.png +3 -0
- test/basement/000027_measurement.png +3 -0
- test/basement/000028_measurement.png +3 -0
- test/basement/000029_measurement.png +3 -0
- test/basement/000030_measurement.png +3 -0
- test/basement/000031_measurement.png +3 -0
- test/basement/000032_measurement.png +3 -0
- test/basement/000033_measurement.png +3 -0
- test/basement/000034_measurement.png +3 -0
- test/basement/000035_measurement.png +3 -0
- test/basement/000036_measurement.png +3 -0
- test/bedroom-interior/000000_measurement.png +3 -0
- test/bedroom-interior/000001_measurement.png +3 -0
- test/bedroom-interior/000002_measurement.png +3 -0
- test/bedroom-interior/000003_measurement.png +3 -0
- test/bedroom-interior/000004_measurement.png +3 -0
- test/bedroom-interior/000005_measurement.png +3 -0
- test/bedroom-interior/000006_measurement.png +3 -0
- test/bedroom-interior/000007_measurement.png +3 -0
- test/bedroom-interior/000008_measurement.png +3 -0
- test/bedroom-interior/000009_measurement.png +3 -0
README.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- single-photon
|
| 7 |
+
- denoising
|
| 8 |
+
- computational-imaging
|
| 9 |
+
- diffusion
|
| 10 |
+
pretty_name: Single Photon Challenge - Full Preprocessed
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Single Photon Challenge — Full Preprocessed Dataset
|
| 14 |
+
|
| 15 |
+
Preprocessed measurement/target PNG pairs derived from the
|
| 16 |
+
[Single Photon Challenge](https://singlephotonchallenge.com/) reconstruction dataset.
|
| 17 |
+
|
| 18 |
+
## Source
|
| 19 |
+
|
| 20 |
+
The raw dataset (~425GB training, ~42GB test) is hosted by the
|
| 21 |
+
[WISION Lab](https://wisionlab.com/) at UW-Madison. Photoncubes contain 1024
|
| 22 |
+
binary frames from a simulated single-photon camera, paired with ground-truth
|
| 23 |
+
RGB reconstructions.
|
| 24 |
+
|
| 25 |
+
- **Challenge website:** <https://singlephotonchallenge.com/>
|
| 26 |
+
- **Download page:** <https://singlephotonchallenge.com/download>
|
| 27 |
+
- **VisionSIM toolkit:** <https://visionsim.readthedocs.io/>
|
| 28 |
+
|
| 29 |
+
## Preprocessing pipeline
|
| 30 |
+
|
| 31 |
+
Each photoncube was preprocessed using the same approach as the
|
| 32 |
+
[challenge FAQ naive sum](https://singlephotonchallenge.com/faq):
|
| 33 |
+
|
| 34 |
+
1. **Average** the last 16 binary frames → detection probability in [0, 1]
|
| 35 |
+
2. **Invert SPC response** (`invert_response=True`, `factor=0.5`)
|
| 36 |
+
→ linear RGB flux via `flux = -log(1 - p) / factor`
|
| 37 |
+
3. **sRGB tonemap** (`tonemap=True`) → standard gamma curve
|
| 38 |
+
4. **Save** as uint8 PNG
|
| 39 |
+
|
| 40 |
+
Measurements and targets are stored as 800×800 RGB PNGs.
|
| 41 |
+
|
| 42 |
+
## Dataset statistics
|
| 43 |
+
|
| 44 |
+
| Split | Measurements | Targets | Paired |
|
| 45 |
+
|-------|-------------|---------|--------|
|
| 46 |
+
| train | 1850 | 1850 | yes |
|
| 47 |
+
| test | 185 | 0 | no (test set has no ground truth) |
|
| 48 |
+
| **total** | **2035** | **1850** | |
|
| 49 |
+
|
| 50 |
+
## Directory structure
|
| 51 |
+
|
| 52 |
+
```
|
| 53 |
+
single_photon_challenge_full_preprocessed/
|
| 54 |
+
metadata.json
|
| 55 |
+
train/
|
| 56 |
+
<scene>/<frame>_measurement.png
|
| 57 |
+
<scene>/<frame>_target.png
|
| 58 |
+
test/
|
| 59 |
+
<scene>/<frame>_measurement.png
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
## Usage
|
| 63 |
+
|
| 64 |
+
```python
|
| 65 |
+
from huggingface_hub import snapshot_download
|
| 66 |
+
|
| 67 |
+
# Download the full preprocessed dataset
|
| 68 |
+
root = snapshot_download(
|
| 69 |
+
repo_id="ageppert/single_photon_challenge_full_preprocessed",
|
| 70 |
+
repo_type="dataset",
|
| 71 |
+
)
|
| 72 |
+
|
| 73 |
+
# Or use with the diffusion training codebase:
|
| 74 |
+
# Set in config.py:
|
| 75 |
+
# PREPROCESSED_DATA_CONFIG["dataset_source"] = "hf"
|
| 76 |
+
# PREPROCESSED_DATA_CONFIG["dataset_hf_repo"] = "ageppert/single_photon_challenge_full_preprocessed"
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
## Preprocessing parameters
|
| 80 |
+
|
| 81 |
+
```json
|
| 82 |
+
{
|
| 83 |
+
"source": "Single Photon Challenge reconstruction dataset",
|
| 84 |
+
"source_url": "https://singlephotonchallenge.com/download",
|
| 85 |
+
"num_frames": 16,
|
| 86 |
+
"invert_response": true,
|
| 87 |
+
"invert_factor": 0.5,
|
| 88 |
+
"tonemap": true,
|
| 89 |
+
"split": "all",
|
| 90 |
+
"notes": "Measurements are preprocessed from raw photoncubes using: naive sum averaging, SPC response inversion, and sRGB tonemapping. Saved as uint8 PNGs. Targets are copied from original ground-truth PNGs."
|
| 91 |
+
}
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## Citation
|
| 95 |
+
|
| 96 |
+
If you use this dataset, please cite the Single Photon Challenge:
|
| 97 |
+
|
| 98 |
+
```
|
| 99 |
+
@misc{singlephotonchallenge,
|
| 100 |
+
title={The Single Photon Challenge},
|
| 101 |
+
author={Jungerman, Sacha and Ingle, Atul and Nousias, Sotiris and Wei, Mian and White, Mel and Gupta, Mohit},
|
| 102 |
+
year={2025},
|
| 103 |
+
url={https://singlephotonchallenge.com/}
|
| 104 |
+
}
|
| 105 |
+
```
|
completed_chunks.txt
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
challenges/reconstruction/test_0.zip
|
| 2 |
+
challenges/reconstruction/test_1.zip
|
| 3 |
+
challenges/reconstruction/test_2.zip
|
| 4 |
+
challenges/reconstruction/test_3.zip
|
| 5 |
+
challenges/reconstruction/test_4.zip
|
| 6 |
+
challenges/reconstruction/train_0.zip
|
| 7 |
+
challenges/reconstruction/train_1.zip
|
| 8 |
+
challenges/reconstruction/train_10.zip
|
| 9 |
+
challenges/reconstruction/train_11.zip
|
| 10 |
+
challenges/reconstruction/train_12.zip
|
| 11 |
+
challenges/reconstruction/train_13.zip
|
| 12 |
+
challenges/reconstruction/train_14.zip
|
| 13 |
+
challenges/reconstruction/train_15.zip
|
| 14 |
+
challenges/reconstruction/train_16.zip
|
| 15 |
+
challenges/reconstruction/train_17.zip
|
| 16 |
+
challenges/reconstruction/train_18.zip
|
| 17 |
+
challenges/reconstruction/train_19.zip
|
| 18 |
+
challenges/reconstruction/train_2.zip
|
| 19 |
+
challenges/reconstruction/train_20.zip
|
| 20 |
+
challenges/reconstruction/train_21.zip
|
| 21 |
+
challenges/reconstruction/train_22.zip
|
| 22 |
+
challenges/reconstruction/train_23.zip
|
| 23 |
+
challenges/reconstruction/train_24.zip
|
| 24 |
+
challenges/reconstruction/train_25.zip
|
| 25 |
+
challenges/reconstruction/train_26.zip
|
| 26 |
+
challenges/reconstruction/train_27.zip
|
| 27 |
+
challenges/reconstruction/train_28.zip
|
| 28 |
+
challenges/reconstruction/train_29.zip
|
| 29 |
+
challenges/reconstruction/train_3.zip
|
| 30 |
+
challenges/reconstruction/train_30.zip
|
| 31 |
+
challenges/reconstruction/train_31.zip
|
| 32 |
+
challenges/reconstruction/train_32.zip
|
| 33 |
+
challenges/reconstruction/train_33.zip
|
| 34 |
+
challenges/reconstruction/train_34.zip
|
| 35 |
+
challenges/reconstruction/train_35.zip
|
| 36 |
+
challenges/reconstruction/train_36.zip
|
| 37 |
+
challenges/reconstruction/train_37.zip
|
| 38 |
+
challenges/reconstruction/train_38.zip
|
| 39 |
+
challenges/reconstruction/train_39.zip
|
| 40 |
+
challenges/reconstruction/train_4.zip
|
| 41 |
+
challenges/reconstruction/train_40.zip
|
| 42 |
+
challenges/reconstruction/train_41.zip
|
| 43 |
+
challenges/reconstruction/train_42.zip
|
| 44 |
+
challenges/reconstruction/train_43.zip
|
| 45 |
+
challenges/reconstruction/train_44.zip
|
| 46 |
+
challenges/reconstruction/train_45.zip
|
| 47 |
+
challenges/reconstruction/train_46.zip
|
| 48 |
+
challenges/reconstruction/train_47.zip
|
| 49 |
+
challenges/reconstruction/train_48.zip
|
| 50 |
+
challenges/reconstruction/train_49.zip
|
| 51 |
+
challenges/reconstruction/train_5.zip
|
| 52 |
+
challenges/reconstruction/train_6.zip
|
| 53 |
+
challenges/reconstruction/train_7.zip
|
| 54 |
+
challenges/reconstruction/train_8.zip
|
| 55 |
+
challenges/reconstruction/train_9.zip
|
metadata.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source": "Single Photon Challenge reconstruction dataset",
|
| 3 |
+
"source_url": "https://singlephotonchallenge.com/download",
|
| 4 |
+
"num_frames": 16,
|
| 5 |
+
"invert_response": true,
|
| 6 |
+
"invert_factor": 0.5,
|
| 7 |
+
"tonemap": true,
|
| 8 |
+
"split": "all",
|
| 9 |
+
"notes": "Measurements are preprocessed from raw photoncubes using: naive sum averaging, SPC response inversion, and sRGB tonemapping. Saved as uint8 PNGs. Targets are copied from original ground-truth PNGs."
|
| 10 |
+
}
|
test/basement/000000_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000001_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000002_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000003_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000004_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000005_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000006_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000007_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000008_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000009_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000010_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000011_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000012_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000013_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000014_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000015_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000016_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000017_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000018_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000019_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000020_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000021_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000022_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000023_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000024_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000025_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000026_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000027_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000028_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000029_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000030_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000031_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000032_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000033_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000034_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000035_measurement.png
ADDED
|
Git LFS Details
|
test/basement/000036_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000000_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000001_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000002_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000003_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000004_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000005_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000006_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000007_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000008_measurement.png
ADDED
|
Git LFS Details
|
test/bedroom-interior/000009_measurement.png
ADDED
|
Git LFS Details
|