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, not stored by OSCR: 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
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-76098-y [code]
A single computational objective can produce specialization of streams in visual cortex.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, 1 reference, author Kendrick Kay
[2] doi:10.1371/journal.pcbi.1014563 [code]
Single pulse electrical stimulation in white matter modulates iEEG visual responses in human early visual cortex.
Journal: PLoS computational biology
In common: Statistics and Machine Learning Toolbox, author Kendrick Kay
[3] doi:10.1038/s41380-026-03640-1
Anxiety sensitivity and intolerance of uncertainty track distinct neurobehavioral dimensions of avoidance in anxiety-related disorders.
Journal: Molecular psychiatry
In common: author Kendrick Kay
[4] doi:10.1038/s41467-026-73938-9 [code]
Higher visual areas act like domain-general filters with strong selectivity and functional specialization.
Journal: Nature communications
In common: 3 references
[5] doi:10.1016/j.crmeth.2026.101480 [code]
DeepFaceMouse enables scalable prediction of large-scale brain activity from facial dynamics in mice.
Journal: Cell reports methods
In common: Deep Learning Toolbox, Statistics and Machine Learning Toolbox, methods / tools
[6] doi:10.1038/s41598-026-47179-1 [code]
Wavelet-enhanced autoencoder based image denoising with CNN fusion.
Journal: Scientific reports
In common: Deep Learning Toolbox, Statistics and Machine Learning Toolbox, methods / tools
[7] doi:10.7554/elife.107661 [code]
In vivo mapping of striatal neurodegeneration in Huntington's disease with Soma and Neurite Density Imaging.
Journal: eLife
In common: Deep Learning Toolbox, Statistics and Machine Learning Toolbox
[8] doi:10.3389/fpsyt.2026.1737357 [code]
A computational pipeline for a neurotransmitter-centric analysis of the effects of psychiatric medication on EEG spectral power.
Journal: Frontiers in psychiatry
In common: Deep Learning Toolbox, Statistics and Machine Learning Toolbox
[9] doi:10.1002/hbm.70553 [code]
Axon Diameter Mapping in the Living Human Brain with Ultra-High-Gradient Diffusion MRI at 500 mT/m Gradient Strength.
Journal: Human brain mapping
In common: Deep Learning Toolbox, Statistics and Machine Learning Toolbox
[10] doi:10.1038/s41593-026-02258-4 [code]
Laminar organization of cellular microcircuits modulating human interictal epileptiform discharges.
Journal: Nature neuroscience
In common: Deep Learning Toolbox, Statistics and Machine Learning Toolbox

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.

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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

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