├── README.md
└── images
├── lighting_overview.png
├── matrix.png
└── scenes_overview.png
/README.md:
--------------------------------------------------------------------------------
1 | # Multiple Light Source Dataset for Colour Research
2 |
3 | + Images of **24 multiple object scenes**.
4 | + Each scene is taken under **18 multiple light source illumination scenarios**, the illuminants are varying in dominant spectral colours, intensity and distance from the scene.
5 | + **Spectral characteristics** of the camera, illuminants sources and uniformly coloured object surfaces.
6 | + Pixel-by-pixel masks of uniformly coloured object surfaces for each scene.
7 |
8 | We mainly address the realistic scenarios for evaluation of computational colour constancy algorithms, but also have aimed to make the data as general as possible for computational colour science and computer vision.
9 | Details have been published in: [Multiple Light Source Dataset for Colour Research](https://arxiv.org/abs/1908.06126).
10 |
11 | If you use this dataset, please, cite the appropriate paper.
12 |
13 | @article{smagina2019multiple,
14 | title={Multiple Light Source Dataset for Colour Research},
15 | author={Smagina, Anna and Ershov, Egor and Grigoryev, Anton},
16 | journal={arXiv preprint:1908.06126},
17 | year={2019}
18 | }
19 |
20 | ## Image data
21 |
22 | 
23 |
24 | An overview of all 24 recorded MLS scenes is given on the figure above.
25 |
26 | Each scene was constructed inside a 60x60x60 cm softbox and illuminated from the outside.
27 | Illumination of each scene is varied in 18 configurations:
28 |
29 |
30 |
31 | Each image of the scene is marked with a list of the turned-on light sources, which are ones of the following:
32 |
33 | + 2HAL are two halogen lights, installed at the distance about 1.2 m each; form the lighting close to embient,
34 | + DESK is a desktop lamp installed at 20 cm from the softbox,
35 | + LED-R025, LED-R050, LED-RG025, LED-BG025 etc is a 3-colored (red, green, blue) LED strip mounted at the top of softbox; the letters R, RG, GB or B indicates turned-on colored components of the LED-lapm, while the numbers 025, 050, 070 and 100 indicates the percentage of the emitting power.
36 |
37 | The shooting was performed with the white balance adjusted to 6500K.
38 | No additional white balance correction was performed during the post-processing of the images.
39 |
40 | Each scene is also provided with the pixel-by-pixel colouring annotation given in a 8-bit PNG file, in which
41 | unique pixels colour corresponds to uniform colouring of the scene presented in a spectral data (see section below).
42 |
43 | **Full resolution (2314 x 1900)**
44 |
45 | [16-bit single channel raw images](https://bit.ly/2lSFbvb) `ftp://vis.iitp.ru/mls-dataset/images_16bit_raw.zip` 2.9 GB
46 |
47 | [masks](https://bit.ly/2kLs7aD) `ftp://vis.iitp.ru/mls-dataset/masks_16bit_raw.zip` 4 MB
48 |
49 | **Half-resolution (1157 x 950)**
50 |
51 | [16-bit linear color images](https://bit.ly/2QjKL6J) `ftp://vis.iitp.ru/mls-dataset/images_16bit_color.zip` 2.0 GB
52 |
53 | [masks](https://bit.ly/375RLdz) `ftp://vis.iitp.ru/mls-dataset/masks_16bit_color.zip` < 1 MB
54 |
55 | To read 16-bit 3-channel PNG with Python use [pypng](https://pythonhosted.org/pypng/) package.
56 |
57 | Note, that the images above are provided in hardware RGB.
58 | But some algorithms of colour vision, like colour-based image segmentation, may require not only the linearity of the colour space but also perceptually uniformity (at least more than a typical hardware RGB could provide).
59 | For that purpose, you can apply a transform to a “custom sRGB” calculated by adjusting observed with the camera and calculated from spectral data colour coordinates of colour chart patches in a linearized sRGB space (this is not a true sRGB since the image of the colour chat, used in this experiment, was taken under diffuse halogen illumination, e.g. 2HAL, instead of D65 illuminant).
60 | The linear part of this transform is given as
61 |
62 |
63 |
64 | where *alpha* is a scaling coefficient for brightness normalisation (choose manually).
65 |
66 | **Quarter resolution (578 x 475) for preview**
67 |
68 | [jpeg images](https://bit.ly/2LSqC6j) `ftp://vis.iitp.ru/mls-dataset/images_preview.zip` 89 MB
69 |
70 | [masks](https://bit.ly/2YwJnhH) `ftp://vis.iitp.ru/mls-dataset/masks_preview.zip` < 1MB
71 |
72 | Images files are organized as following:
73 |
74 |
75 | ├── 01 76 | │ ├── 01_2HAL_DESK_LED-B025.{tif, png, jpg} 77 | │ ├── 01_2HAL_DESK_LED-B050.{tif, png, jpg} 78 | │ ├── 01_2HAL_DESK_LED-B075.{tif, png, jpg} 79 | │ ├── 01_2HAL_DESK_LED-B100.{tif, png, jpg} 80 | │ ├── 01_2HAL_DESK_LED-BG025.{tif, png, jpg} 81 | │ ├── ... 82 | │ ├── 01_2HAL_DESK.{tif, png, jpg} 83 | │ └── 01_2HAL.{tif, png, jpg} 84 | ├── 02 85 | │ ... 86 | ├── 03 87 | │ ... 88 |89 | 90 | where the subdirectory name and the first number in the file name — 01, 02, 03 etc — indicates scene number, while the other part of file name — 2HAL, 2HAL_DESK, 2HAL_DESK_LED-B025 etc — is a list of turned on illuminants (see description above in this section). 91 | 92 | Masks files are named as <*scene_number*>.png. 93 | 94 | 95 | 96 | 99 | 100 | ## Camera spectral sensitivity 101 | 102 | The shooting was performed on Canon 5D Mark III, the spectral for which was measured by Baek et al. in 103 | [Compact Single-Shot Hyperspectral Imaging Using a Prism. SH Baek, I Kim, D Gutierrez, MH Kim 104 | ACM Transactions on Graphics, 2017](https://www.researchgate.net/profile/Min_Kim48/publication/321232127_Compact_single-shot_hyperspectral_imaging_using_a_prism/links/5c1815574585157ac1ca090a/Compact-single-shot-hyperspectral-imaging-using-a-prism.pdf). 105 | 106 | We also provide camera spectral data in csv-format extracted from the paper above with [Web Plot Digitizer](https://automeris.io/WebPlotDigitizer/citation.html) 107 | 108 | [camera spectral sensitivities](https://bit.ly/3629emK) `ftp://vis.iitp.ru/mls-dataset/Canon5DMarkIII_spectralSensitivity.csv` < 1 MB 109 | 110 | ## Spectra 111 | 112 | [illuminants](https://bit.ly/315t0dy) `ftp://vis.iitp.ru/mls-dataset/illuminants.zip` 4 MB 113 | 114 | [surfaces](https://bit.ly/2YfcPh0) `ftp://vis.iitp.ru/mls-dataset/surfaces.zip` < 1 MB 115 | 116 | [spectra measurement photo](https://bit.ly/2Krv5eE) `ftp://vis.iitp.ru/mls-dataset/spectra_measurement_photo_examples.zip` 2 MB 117 | 118 | Illuminants and surfaces spectra are given in the range from 380 nm to 780 nm with sampling every 0.6-0.7 nm. 119 | 120 | Each illuminant and each surface has a unique name, by which the csv-file with the assotiated spectrum is named, e.g. `