Datasets:
Tasks:
Image-to-Image
Modalities:
Image
Formats:
imagefolder
Languages:
English
Size:
1K - 10K
ArXiv:
License:
Update README.md
Browse files
README.md
CHANGED
|
@@ -21,61 +21,112 @@ task_categories:
|
|
| 21 |
|
| 22 |
## Dataset Overview
|
| 23 |
|
| 24 |
-
PolarFree is a high-quality dataset designed for polarization-based reflection removal tasks, as introduced in the CVPR 2025 paper "PolarFree: Polarization-based Reflection-Free Imaging". The dataset aims to support tasks such as image reflection removal and image enhancement, particularly suitable for training and evaluating image
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Dataset Structure
|
| 27 |
|
| 28 |
-
The dataset is organized as follows
|
| 29 |
|
| 30 |
```
|
| 31 |
dataset/
|
| 32 |
├── train/
|
| 33 |
-
│
|
| 34 |
-
│
|
| 35 |
-
│
|
| 36 |
-
│
|
| 37 |
-
│
|
| 38 |
-
│
|
| 39 |
-
│
|
| 40 |
-
│
|
| 41 |
-
│
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
├── test/
|
| 43 |
-
│
|
| 44 |
-
│
|
| 45 |
-
│
|
| 46 |
-
│
|
| 47 |
-
│
|
| 48 |
-
│
|
| 49 |
-
│
|
| 50 |
-
│
|
| 51 |
-
│
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
```
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
"input/scene_id/001_rgb.png"
|
| 64 |
-
],
|
| 65 |
-
"gt": [
|
| 66 |
-
"gt/scene_id/000_000.png",
|
| 67 |
-
"gt/scene_id/000_045.png",
|
| 68 |
-
"gt/scene_id/000_090.png",
|
| 69 |
-
"gt/scene_id/000_rgb.png"
|
| 70 |
-
]
|
| 71 |
-
}
|
| 72 |
-
```
|
| 73 |
|
| 74 |
-
|
| 75 |
|
| 76 |
-
|
| 77 |
|
| 78 |
-
|
| 79 |
|
| 80 |
## Citation
|
| 81 |
|
|
|
|
| 21 |
|
| 22 |
## Dataset Overview
|
| 23 |
|
| 24 |
+
PolarFree is a high-quality dataset designed for polarization-based reflection removal tasks, as introduced in the CVPR 2025 paper "PolarFree: Polarization-based Reflection-Free Imaging". The dataset aims to support tasks such as image reflection removal and image enhancement, particularly suitable for training and evaluating polarization-based image reflection removal models.
|
| 25 |
+
|
| 26 |
+
## Download Dataset
|
| 27 |
+
```
|
| 28 |
+
huggingface-cli download Mingde/PolaRGB --repo-type dataset --local-dir ./PolaRGB
|
| 29 |
+
```
|
| 30 |
|
| 31 |
## Dataset Structure
|
| 32 |
|
| 33 |
+
The dataset is organized as follows:
|
| 34 |
|
| 35 |
```
|
| 36 |
dataset/
|
| 37 |
├── train/
|
| 38 |
+
│ ├── easy (or hard)/ # difficulty split
|
| 39 |
+
│ │ ├── input/
|
| 40 |
+
│ │ │ ├── 00/ # scene 0
|
| 41 |
+
│ │ │ │ ├── 000_000.png
|
| 42 |
+
│ │ │ │ ├── 000_045.png
|
| 43 |
+
│ │ │ │ ├── 000_090.png
|
| 44 |
+
│ │ │ │ ├── 000_135.png
|
| 45 |
+
│ │ │ │ ├── 000_rgb.png
|
| 46 |
+
│ │ │ │ ├── 001_000.png
|
| 47 |
+
│ │ │ │ ├── 001_045.png
|
| 48 |
+
│ │ │ │ ├── 001_090.png
|
| 49 |
+
│ │ │ │ ├── 001_135.png
|
| 50 |
+
│ │ │ │ ├── 001_rgb.png
|
| 51 |
+
│ │ │ │ └── ...
|
| 52 |
+
│ │ │ ├── 01/ # scene 1
|
| 53 |
+
│ │ │ │ ├── 000_000.png
|
| 54 |
+
│ │ │ │ ├── 000_045.png
|
| 55 |
+
│ │ │ │ ├── 000_090.png
|
| 56 |
+
│ │ │ │ ├── 000_135.png
|
| 57 |
+
│ │ │ │ ├── 000_rgb.png
|
| 58 |
+
│ │ │ │ ├── 001_000.png
|
| 59 |
+
│ │ │ │ ├── 001_045.png
|
| 60 |
+
│ │ │ │ ├── 001_090.png
|
| 61 |
+
│ │ │ │ ├── 001_135.png
|
| 62 |
+
│ │ │ │ ├── 001_rgb.png
|
| 63 |
+
│ │ │ │ └── ...
|
| 64 |
+
│ │ │ └── ...
|
| 65 |
+
│ │ ├── gt/
|
| 66 |
+
│ │ │ ├── 00/ # scene 0
|
| 67 |
+
│ │ │ │ ├── 000_000.png
|
| 68 |
+
│ │ │ │ ├── 000_045.png
|
| 69 |
+
│ │ │ │ ├── 000_090.png
|
| 70 |
+
│ │ │ │ ├── 000_135.png
|
| 71 |
+
│ │ │ │ └── 000_rgb.png
|
| 72 |
+
│ │ │ ├── 01/ # scene 1
|
| 73 |
+
│ │ │ │ ├── 000_000.png
|
| 74 |
+
│ │ │ │ ├── 000_045.png
|
| 75 |
+
│ │ │ │ ├── 000_090.png
|
| 76 |
+
│ │ │ │ ├── 000_135.png
|
| 77 |
+
│ │ │ │ └── 000_rgb.png
|
| 78 |
+
│ │ │ └── ...
|
| 79 |
+
│
|
| 80 |
├── test/
|
| 81 |
+
│ ├── input/
|
| 82 |
+
│ │ ├── 00/ # scene 0
|
| 83 |
+
│ │ │ ├── 000_000.png
|
| 84 |
+
│ │ │ ├── 000_045.png
|
| 85 |
+
│ │ │ ├── 000_090.png
|
| 86 |
+
│ │ │ ├── 000_135.png
|
| 87 |
+
│ │ │ ├── 000_rgb.png
|
| 88 |
+
│ │ │ └── ...
|
| 89 |
+
│ │ ├── 01/ # scene 1
|
| 90 |
+
│ │ │ ├── 000_000.png
|
| 91 |
+
│ │ │ ├── 000_045.png
|
| 92 |
+
│ │ │ ├── 000_090.png
|
| 93 |
+
│ │ │ ├── 000_135.png
|
| 94 |
+
│ │ │ ├── 000_rgb.png
|
| 95 |
+
│ │ │ └── ...
|
| 96 |
+
│ │ └── ...
|
| 97 |
+
│
|
| 98 |
+
│ ├── gt/
|
| 99 |
+
│ │ ├── 00/ # scene 0
|
| 100 |
+
│ │ │ ├── 000_000.png
|
| 101 |
+
│ │ │ ├── 000_045.png
|
| 102 |
+
│ │ │ ├── 000_090.png
|
| 103 |
+
│ │ │ ├── 000_135.png
|
| 104 |
+
│ │ │ └── 000_rgb.png
|
| 105 |
+
│ │ ├── 01/ # scene 1
|
| 106 |
+
│ │ │ ├── 000_000.png
|
| 107 |
+
│ │ │ ├── 000_045.png
|
| 108 |
+
│ │ │ ├── 000_090.png
|
| 109 |
+
│ │ │ ├── 000_135.png
|
| 110 |
+
│ │ │ └── 000_rgb.png
|
| 111 |
+
│ │ └── ...
|
| 112 |
+
└── ...
|
| 113 |
```
|
| 114 |
|
| 115 |
+
1. The dataset is divided into **train** and **test** subsets, and both follow a similar directory structure.
|
| 116 |
+
2. The **train** subset is further divided into **easy** and **hard** sets, which share the same internal structure. The **test** subset is not split by difficulty, but its structure is identical.
|
| 117 |
+
3. Taking the **test** set as an example, it contains two subfolders: **input** and **gt**. The *input* folder stores images with reflections, while the *gt* folder contains the corresponding clean images without reflections. Both folders include the same number of scenes (e.g., 00, 01, 02, ...).
|
| 118 |
+
4. In `test/input/00`, there are multiple images named in the format `xxx_yyy.png`. Here, **xxx** denotes the index of the captured sample within scene `00`. **yyy** may be one of {000, 045, 090, 135, rgb}: the first four represent polarization-based images, and `rgb` corresponds to the RGB image of the current scene.
|
| 119 |
+
5. In `test/gt/00`, there is a single image named `000_yyy.png`, where '000_rgb.png' serves as the ground truth for all captured samples in the corresponding `input/00` folder.
|
| 120 |
+
|
| 121 |
+
To train or evaluate a polarization-based reflection removal model, each sample pair can be constructed as follows. For a given scene (e.g., 00), the input consists of five images—000_000.png, 000_045.png, 000_090.png, 000_135.png, and 000_rgb.png—and the corresponding ground truth is gt/00/000_rgb.png. Similarly:
|
| 122 |
+
|
| 123 |
+
- input/00/{001_000.png, 001_045.png, 001_090.png, 001_135.png, 001_rgb.png} → gt/00/000_rgb.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
|
| 125 |
+
- input/00/{002_000.png, 002_045.png, 002_090.png, 002_135.png, 002_rgb.png} → gt/00/000_rgb.png
|
| 126 |
|
| 127 |
+
and so on for the remaining examples within the same scene.
|
| 128 |
|
| 129 |
+
If you want raw images, please find them at https://huggingface.co/datasets/Mingde/PolaRGB_raw or contact me via mingdeyao@foxmail.com.
|
| 130 |
|
| 131 |
## Citation
|
| 132 |
|