The colors of images preferred by individual voxels can be used to delineate functionally distinct visually responsive brain areas.
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
- %% This is to check the chromatic statistics of the two image sets for adaptation experiments.
- % Add folders 'Functions' and 'PNGS' to the path.
- % The folder with images is called PNGS. There are two folders with natural and reflected images.
- % Uncomment the path to either natural or reflected depending which one you want to plot.
- % The script plots 10% of random pixels (300000) from each image in the set.
- clear;
- cd ..
- % cd PNGS/Natural
- cd PNGS/Reflect
- %%
- % xlabel('L/(L+M)');
- % ylabel('S/(L+M)');
- countadd=0;
- rgbMatrices = cell(97, 1);
- for i=1:97
- if i<10
- firstim=double(imread(['00',mat2str(i),'.png']))./255;
- else
- firstim=double(imread(['0',mat2str(i),'.png']))./255;
- end
- %%
- cfs = SelectConeFundamentals('StockmanMacleodJohnson');
- wavelengths=380:1:780;
- uniqueblue=476;
- blueindex=97;
- uniqueyellow=576;
- yellowindex=197;
- LLM_yellow=cfs(yellowindex,1)/(cfs(yellowindex,1)+cfs(yellowindex,2));
- SLM_yellow=cfs(yellowindex,3)/(cfs(yellowindex,1)+cfs(yellowindex,2));
- LLM_blue=cfs(blueindex,1)/(cfs(blueindex,1)+cfs(blueindex,2));
- SLM_blue=cfs(blueindex,3)/(cfs(blueindex,1)+cfs(blueindex,2));
- 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
- scalingfactor = 2.8*0.01606; % S-cone scaling from arc_config_sussex.
- [rgb, wavelengths]=SelectRGBs('DC13102022');
- [RGB2LMS,LMS2RGB]=RGBToLMS(cfs,rgb,0);
- gammas=SetGammas('DC13102022');
- firstim_gammas(:,:,1)=firstim(:,:,1).^gammas(1,1);
- firstim_gammas(:,:,2)=firstim(:,:,2).^gammas(1,2);
- firstim_gammas(:,:,3)=firstim(:,:,3).^gammas(1,3);
- [LMSmatrix, LLMmatrix, SLMmatrix, LANDMmatrix]=ImageRGBToLMS(RGB2LMS,firstim_gammas);
- N=3000000;
- randomindices=randperm(N);
- LLMmatrix2=LLMmatrix(:);
- SLMmatrix2=SLMmatrix(:);
- LANDMmatrix2=LANDMmatrix(:);
- LLMmatrixComp(:,:,i)=LLMmatrix2(randomindices(1:300000));
- SLMmatrixComp(:,:,i)=SLMmatrix2(randomindices(1:300000));
- LANDMmatrixComp(:,:,i)=LANDMmatrix2(randomindices(1:300000));
- end
- powernorm=0.4;% 0.4 to plot the image set chromaticities; 0.0 to get MacB spaces
- % PlotMacBHistogram(LLMmatrixComp(:), SLMmatrixComp(:), LANDMmatrixComp(:),LMS2RGB,powernorm);
- PlotMacBHistogram(LLMmatrixComp(:),SLMmatrixComp(:),LANDMmatrixComp(:).*0.5,LMS2RGB,powernorm); % This is for plotting MacB space.
- %% Uncomment this line if you want to save the figure
- % exportgraphics(gcf,'MacBsmallFont.pdf','ContentType','vector','BackgroundColor','none')
BW_Histogram_check_pixel_hues_in_images.m, no license · at the source
Overview
- School of Psychology, Sussex Neuroscience, University of Sussex, Falmer BN1 9QH, United Kingdom
- Center for Magnetic Resonance Research, Department of Radiology, University of Minnesota, Minneapolis, Minnesota, MN 55455
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
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
- 29 September 2026: the link answers (HTTP 200)
18 files
- Adaptation to altered color statistics/
Image_analysis_with_plot , MATLAB, 66 liness.zip/ Image_analysis_with_plot s/ BW_Histogram_check_pixel _hues_in_images.m - ColourInCNNs/
AnalyseAccuracy.m , MATLAB, 103 lines - ColourInCNNs/
BetweenConditionStatisti , MATLAB, 665 linescalComparisons.m - ColourInCNNs/
FToRatio.m , MATLAB, 22 lines - ColourInCNNs/
ImageXYZToSRGB.m , MATLAB, 19 lines - ColourInCNNs/
LabToXYZ.m , MATLAB, 28 lines - ColourInCNNs/
LxxToY.m , MATLAB, 30 lines - ColourInCNNs/
MakeCNNstimuliLAB.m , MATLAB, 218 lines - ColourInCNNs/
PlotAverageMDS.m , MATLAB, 362 lines - ColourInCNNs/
PlotAverageMDS_600L.m , MATLAB, 311 lines - ColourInCNNs/
PlotAverageMDS_640.m , MATLAB, 360 lines - ColourInCNNs/
PlotProbeStimuliCNN.m , MATLAB, 36 lines - ColourInCNNs/
SelectColourMatchingFunc , MATLAB, 37 linestions.m - ColourInCNNs/
StatsResults1_MDS_multiH , MATLAB, 251 lineseatmap.m - ColourInCNNs/
TrainCNNTaskExpt.m , MATLAB, 380 lines - ColourInCNNs/
XYZToF.m , MATLAB, 26 lines - ColourInCNNs/
XYZToLab.m , MATLAB, 72 lines - MoriguchiEtAl2025/
ReproduceQualiaStructure , MATLAB, 245 linessToShare.m
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://
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://
BibTeX
@article{pennock2026colo
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/
url = {https://
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/
VL - 123
IS - 15
SP - e2535986123
SN - 0027-8424
PB - National Academy of Sciences
DO - 10.1073/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1073/
"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":
"volume": "123",
"issue": "15",
"page": "e2535986123",
"DOI": "10.1073/
"PMID": "41945442",
"PMCID": "PMC13080022",
"ISSN": "0027-8424",
"publisher": "National Academy of Sciences",
"URL": "https://
"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 communicationsIn 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 intelligenceIn 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 communicationsIn 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: NatureIn 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 communicationsIn 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 communicationsIn 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: eLifeIn 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 mappingIn 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 18 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:e6315d9d4a54aaad…
Add the badge to the code's README
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 -->
[](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:endHTML
<!-- 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.
