This page provides an introduction to the Blurry-Edges dataset, detailing the training, validation, testing sets, and real-captured data along with their purpose, structure, and usage. First, the optics setup is listed below.
Parameter | Value | Unit |
---|---|---|
Pixel pitch | 5.86e-6 | m |
Sensor distance | 0.1104 | m |
Optical power #1 | 10.0 | dpt |
Optical power #2 | 10.2 | dpt |
Aperture diameter | 0.006 | m |
Working range | 0.75-1.18 | m |
All data can be downloaded via OneDrive. The training, validation, and testing data are stored in .npy
format with .png
previews provided in .zip
files for visualization. The dataset is organized in a hierarchical folder structure. Click on the folder icons to expand/collapse the contents:
The training and validation sets are located in ./data_train_val
folder, containing 8,000 and 2,000 randomly generated samples, respectively. They consist solely of basic geometrics, i.e., rectangles, circles, and triangles. We provide a pair of defocused noisy images, a pair of defocused clean images, a pair of derivative maps, an all-in-focus image, a photo level value, a boundary map, a boundary distance map, a boundary depth map, and a depth map for each sample. The image size is 147 by 147. To accelarate the local stage training, we randomly cropped 16,000 and 4,000 patch samples from the training and the validation sets, respectively, focusing on regions with prominent boundaries. The patch size is 21 by 21. These patch samples are stored in ./data_train_val/patches
folder. Both sets can be generated using train_val_data_generator.py
script available in the GitHub repository.
Testing set is located in ./data_test
folder. The background is randomly selected from the Painting dataset, and the foreground uses images from the MS-COCO dataset. There are two versions, regular and large image sizes. The regular version contains 200 samples with 147 by 147 image size, while the large version contains 10 samples with 659 by 659 image size. Each sample includes a pair of defocused noisy images, a photon level value, and a depth map. The data can be generated using test_data_generator.py
script available in the GitHub repository.
Real-captured data is located in ./data_real_captured
folder. It contains 5 scenes captured with two different exposure times, 4395.25us and 10011.37us, to demonstrate the versatility of the Blurry-Edges approach. Each scene includes a stack of defocused noisy images (on this page, we only show a pair) and a depth map. The image size is 299 by 299. The setup we used is shown in the next section.
In the paper and dataset, we used a prototype camera system that is similar to the setup in Focal Track, including an Optotune EL-16-40TC-VIS-5D-C to change the optical power and a FLIR Grasshopper3 GS3-U3-23S6C-C camera.
Alternatively, we provide another setup with a beamsplitter and a fixed lens. In this setup, we use two Basler daA3840-45uc cameras with different sensor distances. This allows for more flexibility in adjusting the focus and depth of field.