├── 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 | ![Scenes overview](./images/scenes_overview.png) 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. `.csv`. 121 | The file with the spectrum contains two columns: "wavelength" and "value". 122 | 123 | The illuminants spectra are provided along with the experimental setup scheme and the photo. 124 | All source spectra are measured through the light box, to characterize the real spectra illuminating the objects. 125 | Also, the spectrum of both halogen lamps measured near the camera lens to get some imformation on relative spectral intensities. 126 | Note, that spectra of red, green and blue lights of 3-colored LED strip are additive. 127 | 128 | The reflectance spectra were measured relative to white matte polytetrafluoroethylene standard (please, see [paper](https://arxiv.org/abs/1908.06126) for the details). 129 | With the surface spectra we also provide a correspodence between scene masks and the surfaces names in `mask_to_surface.csv` file. 130 | By default, for each surface we provide a reflectance spectrum, measured at an angle 45 degrees. 131 | For metallic surfaces we also measured reftance spectrum at 90 degrees, which is given in additional file named `.specular.csv` 132 | 133 | ## Contribution 134 | 135 | Contributions (bug reports, bug fixes, improvements, etc.) are very welcome and should be submitted in the form of new issues and/or pull requests on GitHub. 136 | 137 | ## License & citation 138 | 139 | Copyright 2018 Visillect Service LLC 140 | Developed for Kharkevich Institute for Information Transmission Problems of the Russian Academy of Sciences (IITP RAS) 141 | 142 | Creative Commons License
Licensed under a Creative Commons Attribution-ShareAlike 4.0 International License 143 | -------------------------------------------------------------------------------- /images/lighting_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visillect/mls-dataset/9888b9d2259e7ecba1d00a2c2fd51a307daf78e1/images/lighting_overview.png -------------------------------------------------------------------------------- /images/matrix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visillect/mls-dataset/9888b9d2259e7ecba1d00a2c2fd51a307daf78e1/images/matrix.png -------------------------------------------------------------------------------- /images/scenes_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Visillect/mls-dataset/9888b9d2259e7ecba1d00a2c2fd51a307daf78e1/images/scenes_overview.png --------------------------------------------------------------------------------