Skip to main content
zenodoopen

Dataset: Modelling surface color discrimination under different lighting environments using image chromatic statistics and convolutional neural networks

<p><strong>Associated publication</strong></p> <p>[1] Samuel Ponting*, <strong>Takuma Morimoto</strong>*, Hannah E. Smithson, &ldquo;Modelling surface color discrimination under different lighting environments using image chromatic statistics and convolutional neural networks&rdquo;, *equal contribution, bioRxiv, <a href="https://www.google.com/url?q=https%3A%2F%2Fdoi.org%2F10.1101%2F2022.11.02.514864&amp;sa=D&amp;sntz=1&amp;usg=AOvVaw3KwSo7KmqPzBR1UMc1MHmk">https://doi.org/10.1101/2022.11.02.514864</a></p> <p>[2] Takuma Morimoto, and Hannah E. Smithson, &ldquo;Discrimination of spectral reflectance under complex environmental illumination,&rdquo; Journal of the Optical Society of America A, 35, 4, B244-B255 (2018) https://doi.org/10.1364/JOSAA.35.00B244</p> <p>&nbsp;</p> <p>Datasets contain 2 folders and 1 mat file.</p> <p>&nbsp;</p> <p><strong>(Folder 1) Stimuli</strong></p> <p><strong>(Folder 2) Psychophysics_data</strong></p> <p><strong>(Mat file) stimulusMagnitudeToMacLeodBoynton.mat</strong></p> <p>&nbsp;</p> <p>Details are described below.</p> <p>&nbsp;</p> <p>----------------------------------------------------------------------------------------------------------------------------------------</p> <p><strong>(Folder 1) Stimuli</strong></p> <p>&nbsp;</p> <p><strong>Overview of datasets</strong></p> <p>This Image dataset includes 57,600 images (2 gloss levels * 3 environments * 100 stimulus magnitudes * 8 hue directions * 12 camera angles from 0 to 330 degree in 30 degree step) in .mat format.</p> <p>&nbsp;</p> <p>The half of images were used in psychophysical experiment (camera angles: 0, 60, 120, 180, 240, 300 degrees).</p> <p>Other half images were used for testing chromatic statistics models and CNN-based models [1] (camera angles: 30, 90, 150, 210, 270, 330 degrees).</p> <p>&nbsp;</p> <p><strong>Each image file</strong></p> <p>Filename denotes a condition name and the camera angle as formatted in a following way.</p> <p>&nbsp;</p> <p>stim_&rdquo;environment&rdquo; _&rdquo;glossiness&rdquo;_&rdquo;hueAngle&rdquo;_&rdquo;magnitude&rdquo;_&rdquo;cameraAngle&rdquo;.mat</p> <p>e.g. &ldquo;stim_en1_glossy_hue45_n45_cameraAngle90.mat&rdquo;</p> <p>&nbsp;</p> <p>Stimulus magnitude 100 is a maximum saturation, and 1 corresponds to equal energy white (which was used as a distractor object).</p> <p>&nbsp;</p> <p>Each image file contains two valuables : MacLeodBoynton, XYZ</p> <p>&nbsp;</p> <p>Each variable contains an image of 128*128*3 pixels (height*width*channel).</p> <p>&nbsp;</p> <p>MacLeod-Boynton: MacLeod-Boynton chromaticity image (1st channel: L/(L+M), 2nd channel: S/(L+M), and 3rd channel L+M)</p> <p>XYZ: XYZ coordinates calculated based on 2-degree CIE 1931 xyz color matching function (1st channel: X, 2nd channel: Y, and 3rd channel Z)</p> <p>&nbsp;</p> <p>Luminance and L+M are both relative (normalised by the maximum luminance across all 57,600 images).</p> <p>&nbsp;</p> <p>----------------------------------------------------------------------------------------------------------------------------------------</p> <p><strong>(Folder 2) Psychophysics_data</strong></p> <p>Filename denotes the condition and observers formatted in a following way.</p> <p>&nbsp;</p> <p>data_&rdquo;environment&rdquo; _&rdquo;specularities&rdquo;_&rdquo;sessionNumber&rdquo;_&rdquo;obsever&rdquo;.mat</p> <p>e.g. data_en2_matte_session4_JH.mat or .csv</p> <p>&nbsp;</p> <p>Each file includes following variables:</p> <p>&nbsp;</p> <p>(Variable 1) threshold</p> <p>Thresholds are stored in MacLeod-Boynton (MB) chromaticity coordinates for all 8 hue directions (from 0 to 315 degree in 45 degree step).</p> <p>&nbsp;</p> <p>MacLeod-Boynton chromaticity coordinates were calculated in a following way.   </p> <p>These scalings are in accordance with description in CVRL main site (Chromaticity coordinates tab ).</p> <p>&nbsp;</p> <p>First of all, L, M, and S cone signals were calculated based on Stockman &amp; Sharpe cone fundamentals (energy in linear scale available at at http://www.cvrl.org).</p> <p>Each sensitivity curve was normalised to have 1.0 at the peak.</p> <p>&nbsp;</p> <p>Then, MB coordinates were calculated using equation (1-3).</p> <p>&nbsp;</p> <p>L/(L+M) = Lw*L/(Lw*L+Mw*M) - (1)</p> <p>S/(L+M) = Sw*S/(Lw*L+Mw*M) - (2)</p> <p>L+M = Lw*L+Mw*M - (3)</p> <p>&nbsp;</p> <p>where Lw = 0.689903; Mw = 0.348322;Sw = 1.93540.</p> <p>&nbsp;</p> <p>L, M and S denote L-cone, M-cone, S-cone excitations, respectively.</p> <p>&nbsp;</p> <p>Under this calculation, equal energy white becomes L/(L+M) = 0.7078 and S/(L+M) = 1.</p> <p>&nbsp;</p> <p>(Variable 2) staircase</p> <p>&nbsp;</p> <p>Since we ran 8 interleaved staircase (for 8 hue angles), information about 8 staircases are stored in this single variable.</p> <p>(staircase(1) corresponds to 0 degree, and staircase(8) corresponds to 315 degree)</p> <p>&nbsp;</p> <p>There are 5 fields:</p> <p>(i) groundtruth,    (ii) response,    (iii) correct, (iv) magnitude, (v) cameraAngle</p> <p>&nbsp;</p> <p>For each trial, the location of objects was defined in a following way.</p> <p>| 1 3 |</p> <p>| 2 4 |</p> <p>&nbsp;</p> <p>And each field stores following information for all trials in the staircase.</p> <p>&nbsp;</p> <p>(i) groundtruth</p> <p>Location of the target object</p> <p>&nbsp;</p> <p>(ii) response</p> <p>Location that the participant chose</p> <p>&nbsp;</p> <p>(iii) correct</p> <p>If the response was correct (1) or incorrect    (0)</p> <p>&nbsp;</p> <p>(iv) magnitude</p> <p>Stimulus magnitude of target object in each trial from 1 to 100 (1 for equal energy white and 100 for maximum saturation).</p> <p>&nbsp;</p> <p>(v) Camera angle</p> <p>Camera angles assigned for four objects in each trial.</p> <p>This data and (i) groundtruth allow reconstruct of the exact image for each trial.</p> <p>&nbsp;</p> <p>----------------------------------------------------------------------------------------------------------------------------------------</p> <p><strong>(Mat file) stimulusMagnitudeToMacLeodBoynton.mat</strong></p> <p>This file stores a variable &lsquo;stimulusMagnitudeToMacLeodBoynton&rsquo; (8*100*2) which describes correspondence map between stimulus magnitude and MacLeod-Boynton chromaticity.</p> <p>&nbsp;</p> <p>1st channel: hue direction from 0 degree to 315 degree, 45 degree step</p> <p>2nd channel: magnitude from 1 to 100</p> <p>3rd channel: MacLeod-Boynton coordinate, 1 being L/(L+M) and 2 being S/(L+M)</p> <p>&nbsp;</p>

ShareScore

40/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
4
Harmonization
4
Access
16
Reuse readiness
8
Engagement
8