File size: 6,368 Bytes
0128918
 
 
 
 
 
 
e9ed969
0128918
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59f5d54
0128918
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
license: cc-by-nc-4.0
---

# LRID-simplified Dataset

## πŸ“– Overview
This is a **simplified version** of the **Low-light Raw Image Denoising (LRID)** dataset, designed for low-light image denoising research. It is part of the PMN_TPAMI project (Learnability Enhancement for Low-light Raw Denoising: A Data Perspective, TPAMI 2024).  
Compared to the full LRID dataset, this version retains only the essential components for **validation purposes** while significantly reducing the size.

GitHub: https://github.com/megvii-research/PMN/tree/TPAMI

## πŸ—‚οΈ Dataset Structure
```
PMN_TPAMI 
 └─LRID_simplified                  # Simplified dataset for training & evaluation
     β”œβ”€bias                           # Dark frames (sensor bias)
     β”œβ”€bias-hot                       # Dark frames in hot mode of the sensor
     β”‚
     β”œβ”€indoor_x5                      # Indoor scenes
     β”‚   │─100                          # Long-Exposure Raw Data (ISO-100)
     β”‚   β”‚   β”œβ”€000                      # Scene Number (only the first frame of the original 25 is kept)
     β”‚   β”‚   └─...
     β”‚   β”‚
     β”‚   β”œβ”€6400                       # Low-light noisy data (ISO-6400)
     β”‚   β”‚   β”œβ”€1                        # Digital gain (low-light ratio)
     β”‚   β”‚   β”‚   β”œβ”€000                  # Scene number (only the first frame of the original 10 is kept)
     β”‚   β”‚   β”‚   └─...
     β”‚   β”‚   └─...
     β”‚   β”‚
     β”‚   β”œβ”€npy                        # Binary data
     β”‚   β”‚   └─GT_align_ours            # Ground truth after multi-frame fusion
     β”‚   β”‚
     β”‚   β”œβ”€ref                        # Long-exposure reference data (ISO-100)
     β”‚   β”‚   β”œβ”€000                      # Scene number
     β”‚   β”‚   β”‚   β”œβ”€β”€ *.dng                # RAW reference frame (ISO-100)
     β”‚   β”‚   β”‚   └── *.jpeg               # JPEG image after camera ISP
     β”‚   β”‚   └─...
     β”‚   β”‚
     β”‚   └─metadata_indoor_x5_gt.pkl  # Metadata (white balance, CCM, etc.)
     β”‚
     β”œβ”€outdoor_x3                     # Outdoor scenes
     β”‚   └─...                          # (Structure similar to indoor_x5)
     β”‚
     β”œβ”€indoor_x3                      # Indoor scenes with ND filter
     β”‚   └─...                          # (Structure similar to indoor_x5)
     β”‚
     β”œβ”€outdoor_x5                     # Outdoor scenes (abandon)
     β”‚   └─...                          # (Structure similar to indoor_x5)
     β”‚
     └─resources                      # Noise calibration results (e.g., dark shading)
```

## 🎯 Key Features
- **Simplified version**:  
  - βœ… Only the **first noisy frame** per scene/setting is kept (originally 10 frames per scene for training).  
  - βœ… All ground truth images are retained.  
  - βœ… Dark frames (`bias`, `bias-hot`) are included for calibration.  
  - βœ… **Reference data** (`ref/`) provides ISO-100 long-exposure RAW and its camera-processed JPEG for each scene.  
  - ❌ Original images used for dataset creation are excluded.  
  - ❌ Intermediate results are excluded.  
  - ❌ Most noisy frames used for training are excluded.

## πŸ“Š Scene Categories
| Subset | Description | Gain | Lighting Condition |
|--------|-------------|------|-------------------|
| `indoor_x5` | Indoor scenes | 5Γ— | Low-light |
| `outdoor_x3` | Outdoor scenes | 3Γ— | Low-light |
| `indoor_x3` | Indoor scenes with ND filter | 3Γ— | Controlled lighting |
| `outdoor_x5` (abandon) | Outdoor scenes | 5Γ— | Low-light (a little misalignment) |

## πŸ” Contents Description
- **Noisy frames** (e.g., `indoor_x5/6400/1/000/`): contain the **first frame** of each burst in RAW format.  
- **Ground truth** (`npy/GT_align_ours`): multi-frame fusion results stored as NumPy binaries (aligned and denoised).  
- **Reference** (`ref/`): for each scene, an ISO-100 long-exposure RAW and its corresponding JPEG (processed by the camera ISP) are provided as ideal references.  
- **Metadata** (`.pkl` files): include white balance gains, color correction matrices (CCM), and other camera parameters essential for accurate raw data processing.  
- **Dark frames** (`bias/`, `bias-hot/`): sensor bias frames under normal and hot modes, useful for noise calibration and dark current subtraction.  
- **Resources** (`resources/`): calibration data such as dark shading patterns.

## βš™οΈ Usage Notes
- This dataset is intended for **validation or testing** rather than full training due to the reduced number of noisy frames.  
- Each scene originally contained 10 frames; only the first frame (index `000`) is preserved in this simplified version.  
- Ground truth images are generated by aligning and fusing multiple frames, providing high-quality clean references.  
- The `ref/` folders contain the ISO-100 long-exposure captures, which serve as near-ideal clean references for evaluating denoising performance.  
- Metadata files are crucial for correctly interpreting the raw sensor data; please refer to them when applying any ISP pipeline.

## πŸ”— Access
**Full LRID Dataset**: The complete version with all training frames (10 frames per scene) is currently being uploaded and will be available soon.

URL: https://huggingface.co/datasets/hansen97/LRID

## πŸ“ Citation
If you use this dataset in your research, please cite:
```
@inproceedings{feng2022learnability,
    author = {Feng, Hansen and Wang, Lizhi and Wang, Yuzhi and Huang, Hua},
    title = {Learnability Enhancement for Low-Light Raw Denoising: Where Paired Real Data Meets Noise Modeling},
    booktitle = {Proceedings of the 30th ACM International Conference on Multimedia},
    year = {2022},
    pages = {1436–1444},
    numpages = {9},
    location = {Lisboa, Portugal},
    series = {MM '22}
}

@ARTICLE{feng2023learnability,
  author={Feng, Hansen and Wang, Lizhi and Wang, Yuzhi and Fan, Haoqiang and Huang, Hua},
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence}, 
  title={Learnability Enhancement for Low-Light Raw Image Denoising: A Data Perspective}, 
  year={2024},
  volume={46},
  number={1},
  pages={370-387},
  doi={10.1109/TPAMI.2023.3301502}
}
```

## πŸ“§ Contact
For questions or issues, please contact Hansen at [hansen97@outlook.com](mailto:hansen97@outlook.com).