OSCR

The colors of images preferred by individual voxels can be used to delineate functionally distinct visually responsive brain areas.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 66 lines · 2.5 KB · no license

  1. %% This is to check the chromatic statistics of the two image sets for adaptation experiments.
  2. % Add folders 'Functions' and 'PNGS' to the path.
  3. % The folder with images is called PNGS. There are two folders with natural and reflected images.
  4. % Uncomment the path to either natural or reflected depending which one you want to plot.
  5. % The script plots 10% of random pixels (300000) from each image in the set.
  6. clear;
  7. cd ..
  8. % cd PNGS/Natural
  9. cd PNGS/Reflect
  10. %%
  11. % xlabel('L/(L+M)');
  12. % ylabel('S/(L+M)');
  13. countadd=0;
  14. rgbMatrices = cell(97, 1);
  15. for i=1:97
  16. if i<10
  17. firstim=double(imread(['00',mat2str(i),'.png']))./255;
  18. else
  19. firstim=double(imread(['0',mat2str(i),'.png']))./255;
  20. end
  21. %%
  22. cfs = SelectConeFundamentals('StockmanMacleodJohnson');
  23. wavelengths=380:1:780;
  24. uniqueblue=476;
  25. blueindex=97;
  26. uniqueyellow=576;
  27. yellowindex=197;
  28. LLM_yellow=cfs(yellowindex,1)/(cfs(yellowindex,1)+cfs(yellowindex,2));
  29. SLM_yellow=cfs(yellowindex,3)/(cfs(yellowindex,1)+cfs(yellowindex,2));
  30. LLM_blue=cfs(blueindex,1)/(cfs(blueindex,1)+cfs(blueindex,2));
  31. SLM_blue=cfs(blueindex,3)/(cfs(blueindex,1)+cfs(blueindex,2));
  32. whitePoint = [0.6913 1.0700]; % grand mean chromaticity of the original and the reflected image sets; checked for 'DC13102022' calibration; last checked 08.02.23
  33. scalingfactor = 2.8*0.01606; % S-cone scaling from arc_config_sussex.
  34. [rgb, wavelengths]=SelectRGBs('DC13102022');
  35. [RGB2LMS,LMS2RGB]=RGBToLMS(cfs,rgb,0);
  36. gammas=SetGammas('DC13102022');
  37. firstim_gammas(:,:,1)=firstim(:,:,1).^gammas(1,1);
  38. firstim_gammas(:,:,2)=firstim(:,:,2).^gammas(1,2);
  39. firstim_gammas(:,:,3)=firstim(:,:,3).^gammas(1,3);
  40. [LMSmatrix, LLMmatrix, SLMmatrix, LANDMmatrix]=ImageRGBToLMS(RGB2LMS,firstim_gammas);
  41. N=3000000;
  42. randomindices=randperm(N);
  43. LLMmatrix2=LLMmatrix(:);
  44. SLMmatrix2=SLMmatrix(:);
  45. LANDMmatrix2=LANDMmatrix(:);
  46. LLMmatrixComp(:,:,i)=LLMmatrix2(randomindices(1:300000));
  47. SLMmatrixComp(:,:,i)=SLMmatrix2(randomindices(1:300000));
  48. LANDMmatrixComp(:,:,i)=LANDMmatrix2(randomindices(1:300000));
  49. end
  50. powernorm=0.4;% 0.4 to plot the image set chromaticities; 0.0 to get MacB spaces
  51. % PlotMacBHistogram(LLMmatrixComp(:), SLMmatrixComp(:), LANDMmatrixComp(:),LMS2RGB,powernorm);
  52. PlotMacBHistogram(LLMmatrixComp(:),SLMmatrixComp(:),LANDMmatrixComp(:).*0.5,LMS2RGB,powernorm); % This is for plotting MacB space.
  53. %% Uncomment this line if you want to save the figure
  54. % exportgraphics(gcf,'MacBsmallFont.pdf','ContentType','vector','BackgroundColor','none')

BW_Histogram_check_pixel_hues_in_images.m, no license · at the source

Overview

  1. School of Psychology, Sussex Neuroscience, University of Sussex, Falmer BN1 9QH, United Kingdom
  2. Center for Magnetic Resonance Research, Department of Radiology, University of Minnesota, Minneapolis, Minnesota, MN 55455
Institutions: University of Sussex (United Kingdom); University of Minnesota (United States)
Dates: received 10 December 2025; accepted 9 March 2026; published online 7 April 2026; in print 14 April 2026
Type: Brief report · Language: English
License: CC BY
Identifiers: DOI 10.1073/pnas.2535986123 · PMID 41945442 · PMCID PMC13080022 · OpenAlex W7151579366
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: fMRI (modality), human (organism), methods / tools (subfield)
Keywords: natural scenes, natural scenes dataset, fMRI, functional mapping, color
MeSH: Brain*, Brain Mapping*, Color Perception*, Visual Cortex*, Color, Humans, Magnetic Resonance Imaging, Photic Stimulation (* major topic)
Topic: Face Recognition and Perception (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: European Research Council (772193, COLOURCODE 949242, COLOURMIND 772193, 949242)
Citations: cited by 2 papers (Europe PMC); 15 references in the paper
Notices: A comment on this paper has been published (42081735, from Europe PMC)

Abstract

We exploited co-occurrences between color and other properties of natural scenes to identify and visualize functionally distinct brain regions. For each voxel in the Natural Scenes Dataset (NSD), we computed a scaled response-weighted average of the stimulus images. The colors of “voxel-preferred images” (VPIs) reflect stimulus properties that covary with color in natural scenes: Color serves as a tag for functional distinctions in voxel responses. Mapping VPIs onto cortical surfaces revealed reliable and structured color patterns that segment voxel clusters. Boundaries between clusters of similarly colored VPIs tend to coincide with boundaries defined using other methods, and heterogeneity within regions suggests functional subdivisions. VPIs provide a simple data-driven method for analyzing fMRI responses to natural scenes and visualizing cortical organization.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above.

OSF v5wxn

License: none: the authors keep all their rights
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Languages: MATLAB (17)
Size: 61 files, 17 scripts
Software Heritage: not checked
Found in: the references
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
  • 29 September 2026: the link answers (HTTP 200)
18 files
At the source: osf.io/v5wxn/

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 18 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data, Materials, and Software Availability

The NSD is at https://naturalscenesdataset.org (14). Scripts to reproduce all results, with versions of Figs. 1 C–G and I and 2A for all participants are at https://osf.io/v5wxn/ (15).

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 5 keywords, 8 MeSH terms, 1 funder, 13 references, 1 integrity notice.

Cite

This paper

Pennock, I. M. L., Racey, C., Kay, K., Franklin, A., & Bosten, J. M. (2026). The colors of images preferred by individual voxels can be used to delineate functionally distinct visually responsive brain areas. Proceedings of the National Academy of Sciences of the United States of America, 123(15), e2535986123. https://doi.org/10.1073/pnas.2535986123

BibTeX

@article{pennock2026colors,
author = {Pennock, Ian M L and Racey, Chris and Kay, Kendrick and Franklin, Anna and Bosten, Jenny M},
title = {{The colors of images preferred by individual voxels can be used to delineate functionally distinct visually responsive brain areas}},
journal = {Proceedings of the National Academy of Sciences of the United States of America},
year = {2026},
month = apr,
volume = {123},
number = {15},
pages = {e2535986123},
publisher = {National Academy of Sciences},
issn = {0027-8424},
doi = {10.1073/pnas.2535986123},
url = {https://doi.org/10.1073/pnas.2535986123},
pmid = {41945442},
pmcid = {PMC13080022}
}

RIS

TY - JOUR
AU - Pennock, Ian M L
AU - Racey, Chris
AU - Kay, Kendrick
AU - Franklin, Anna
AU - Bosten, Jenny M
TI - The colors of images preferred by individual voxels can be used to delineate functionally distinct visually responsive brain areas
T2 - Proceedings of the National Academy of Sciences of the United States of America
J2 - Proc Natl Acad Sci U S A
PY - 2026
DA - 2026/04/07
VL - 123
IS - 15
SP - e2535986123
SN - 0027-8424
PB - National Academy of Sciences
DO - 10.1073/pnas.2535986123
UR - https://doi.org/10.1073/pnas.2535986123
LA - en
ER -

CSL-JSON

{
"id": "10.1073/pnas.2535986123",
"type": "article-journal",
"title": "The colors of images preferred by individual voxels can be used to delineate functionally distinct visually responsive brain areas",
"container-title": "Proceedings of the National Academy of Sciences of the United States of America",
"author": [
{
"family": "Pennock",
"given": "Ian M L"
},
{
"family": "Racey",
"given": "Chris"
},
{
"family": "Kay",
"given": "Kendrick"
},
{
"family": "Franklin",
"given": "Anna"
},
{
"family": "Bosten",
"given": "Jenny M"
}
],
"container-title-short": "Proc Natl Acad Sci U S A",
"volume": "123",
"issue": "15",
"page": "e2535986123",
"DOI": "10.1073/pnas.2535986123",
"PMID": "41945442",
"PMCID": "PMC13080022",
"ISSN": "0027-8424",
"publisher": "National Academy of Sciences",
"URL": "https://doi.org/10.1073/pnas.2535986123",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
7
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41467-026-69345-9 [code]
A 7T fMRI dataset of synthetic images for out-of-distribution modeling of vision.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, methods / tools, fMRI, 2 references, author Kendrick Kay
[2] doi:10.1162/imag.a.130 [code]
Tuning of cortical color mechanisms revealed using steady-state visually evoked potentials.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Deep Learning Toolbox, Statistics and Machine Learning Toolbox, author Jenny M Bosten
[3] doi:10.1038/s42256-025-01072-0 [code]
High-level visual representations in the human brain are aligned with large language models.
Journal: Nature machine intelligence
In common: Statistics and Machine Learning Toolbox, 2 references, author Kendrick Kay
[4] doi:10.1038/s41467-024-50310-3 [code]
Modeling short visual events through the BOLD moments video fMRI dataset and metadata.
Journal: Nature communications
In common: fMRI, 2 references, author Kendrick Kay
[5] doi:10.1162/imag.a.36 [code]
Comparing the carbon footprint of fMRI data processing and analysis approaches.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Statistics and Machine Learning Toolbox, methods / tools, fMRI, author Chris Racey
[6] doi:10.1038/s41586-024-07805-2 [code]
Frontostriatal salience network expansion in individuals in depression.
Journal: Nature
In common: Statistics and Machine Learning Toolbox, fMRI, 1 reference, author Kendrick Kay
[7] doi:10.1038/s41467-022-34134-7 [code]
Natural scene sampling reveals reliable coarse-scale orientation tuning in human V1.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, fMRI, 1 reference, author Kendrick Kay
[8] doi:10.1038/s41467-025-67767-5 [code]
Motion-corrected eye tracking improves gaze accuracy during visual fMRI experiments.
Journal: Nature communications
In common: methods / tools, fMRI, 1 reference, author Kendrick Kay
[9] doi:10.7554/elife.77599 [code]
Improving the accuracy of single-trial fMRI response estimates using GLMsingle.
Journal: eLife
In common: methods / tools, fMRI, 1 reference, author Kendrick Kay
[10] doi:10.1002/hbm.70003 [code]
Measuring and reducing the carbon footprint of fMRI preprocessing in fMRIPrep.
Journal: Human brain mapping
In common: methods / tools, fMRI, author Chris Racey

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1073/pnas.2535986123.svg)](https://openscicode.org/badge/doi/10.1073/pnas.2535986123)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1073/pnas.2535986123.svg
   :target: https://openscicode.org/badge/doi/10.1073/pnas.2535986123
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1073/pnas.2535986123"><img src="https://openscicode.org/badge/doi/10.1073/pnas.2535986123.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.