OSCR

Art's hidden topology: A window into human perception.

Code ↔ Paper

6 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 6 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § 2 Materials and methods › 2.3 Images and preprocessing › 2.3.1 Art images. ↔ scripts/config.jl, lines 107–156 · score 0.95 · Czarne dziury pami, Jelita czerni, Ucho czerni, Wibracje czasu, Wn trze, uca czerni
  2. [2] § 2 Materials and methods › 2.7 Statistical analysis › 2.7.2 Statistical Image Properties (SIP). ↔ scripts/14ca_visualize_image_complexity_metrics.jl, lines 1–28 · score 0.65 · Fourier slope, edge density, PHOG, Anisotropy, orientation
  3. [3] § 2 Materials and methods › 2.4 Experimental procedure › 2.4.4 Eye tracking recording and data analysis. ↔ src/statistics_utils.jl, the whole file · a weak match · score 0.61 · Kruskal Wallis, Mann Whitney, ANOVA, FDR
  4. [4] § 2 Materials and methods › 2.4 Experimental procedure › 2.4.4 Eye tracking recording and data analysis. ↔ scripts/17ig3lb2_art_vs_fake_looking_all_metrics_ver2.jl, lines 217–262 · score 0.61 · Kruskal Wallis, Mann Whitney, ANOVA, FDR
  5. [5] § 2 Materials and methods › 2.7 Statistical analysis › 2.7.2 Statistical Image Properties (SIP). ↔ scripts/14c_load_image_complexity_metrics.jl, lines 1–83 · score 0.56 · Fourier slope, entropy, PHOG, orientation, edge, persistent
  6. [6] § 3 Results › 3.5 Comparison of the persistent homology with current state-of-the-art methods ↔ scripts/14ca_visualize_image_complexity_metrics.jl, lines 90–167 · score 0.56 · Fourier slope, edge density, anisotropy, metrics, landscape, persistent

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

Julia · 268 lines · 6 KB · no license · 2 matches

  1. using DrWatson
  2. @quickactivate "arttopopaper"
  3. # ===-===-===-===-
  4. "14c_load_image_complexity_metrics.jl" |> scriptsdir |> include
  5. # ===-===-===-===-
  6. using CairoMakie
  7. # ===-===-===-
  8. # Load data
  9. category_labels1 = FSlope_df[:, :set]
  10. data_array1 = FSlope_df[:, "Fourier slope"]
  11. data_array1 = abs.(data_array1)
  12. category_labels2 = PHOG_df[:, :set]
  13. data_array2 = PHOG_df[:, "Self-Similarity"]
  14. data_array3 = PHOG_df[:, "Complexity"]
  15. data_array4 = PHOG_df[:, "Anisotropy"]
  16. data_array4 = abs.(data_array4)
  17. category_labels3 = category_labels2
  18. data_array5 = EdgeOrientation_df[:, "avg-shannon20-80"]
  19. data_array6 = EdgeOrientation_df[:, "edge-density"]
  20. category_labels4 = (@pipe land_areas_df |> filter(:dim => ==(0), _))[:, :dataset]
  21. data_array7 = (@pipe land_areas_df |> filter(:dim => ==(0), _))[:, :pland_area]
  22. data_array8 = (@pipe land_areas_df |> filter(:dim => ==(1), _))[:, :pland_area]
  23. ## ===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-
  24. # Plot the data
  25. use_print_size = true
  26. total_metrics = size(all_data_df, 2) - 2
  27. total_datasets = length(all_data_df.set |> unique)
  28. total_cols = 2
  29. if length(data_names_vec) < 4
  30. scaling_factor = 0.8
  31. else
  32. scaling_factor = length(data_names_vec)
  33. end
  34. if use_print_size
  35. plt_width = 300 + 150 * total_datasets
  36. plt_height = 700
  37. else
  38. plt_height = round(Int, 1700 * scaling_factor ÷ total_cols)
  39. plt_width = 100 + 150 * total_datasets
  40. end
  41. area_axis_args = (yscale = log10,)
  42. #
  43. f = Figure(resolution = (plt_width, plt_height));
  44. fgl = GridLayout(f[1, 1])
  45. axis_vec = []
  46. Box(
  47. fgl[4, 1],
  48. strokecolor = (:red, 0.7),
  49. linestyle = :solid,
  50. strokewidth = 4,
  51. color = :white,
  52. alignmode = Outside(),
  53. halign = :left,
  54. )
  55. Box(
  56. fgl[4, 2],
  57. strokecolor = (:red, 0.7),
  58. linestyle = :solid,
  59. strokewidth = 4,
  60. color = :white,
  61. alignmode = Outside(),
  62. halign = :left,
  63. )
  64. for k = 1:total_metrics
  65. if k <= 4
  66. col = 1
  67. row = k
  68. else
  69. col = 2
  70. row = k - 4
  71. end
  72. args = (yticklabelrotation = pi / 2, xtrimspine = true, area_axis_args...)
  73. push!(axis_vec, CairoMakie.Axis(fgl[row, col]; args...))
  74. end
  75. axis_fl,
  76. axis_selfsim,
  77. axis_complex,
  78. axis_pland0,
  79. axis_aniso,
  80. axis_avg_shannon_20_80,
  81. axis_edge_density,
  82. axis_pland1 = axis_vec
  83. colors = [Makie.wong_colors(8)...];
  84. for (i, (ax, labels, data_arr, title)) in
  85. zip(
  86. [
  87. axis_fl,
  88. axis_selfsim,
  89. axis_complex,
  90. axis_pland0,
  91. axis_aniso,
  92. axis_avg_shannon_20_80,
  93. axis_edge_density,
  94. axis_pland1,
  95. ],
  96. [
  97. category_labels1,
  98. category_labels2,
  99. category_labels2,
  100. category_labels4,
  101. category_labels2,
  102. category_labels3,
  103. category_labels3,
  104. category_labels4,
  105. ],
  106. [
  107. data_array1,
  108. data_array2,
  109. data_array3,
  110. data_array7,
  111. data_array4,
  112. data_array5,
  113. data_array6,
  114. data_array8,
  115. ],
  116. [
  117. "Abs. Fourier slope",
  118. "Self-Similarity",
  119. "Complexity",
  120. "Persistence landscapes'\narea, dim 0",
  121. "Abs. Anisotropy",
  122. "Avg. Shannon20-80",
  123. "Edge density",
  124. "Persistence landscapes'\narea, dim 1",
  125. ],
  126. ) |> enumerate
  127. @info "Working on a metric: $(i)"
  128. y_label = title
  129. img_title = ""
  130. if i == total_metrics
  131. x_label = "Category"
  132. else
  133. x_label = ""
  134. hidexdecorations!(
  135. ax,
  136. label = true,
  137. ticklabels = false,
  138. ticks = false,
  139. grid = false,
  140. minorgrid = false,
  141. minorticks = false,
  142. )
  143. end
  144. or = :vertical
  145. ax.xgridvisible = false
  146. ax.ygridvisible = false
  147. ax.rightspinevisible = false
  148. ax.topspinevisible = false
  149. # ===-
  150. colours_vec = colors[indexin(category_labels1, unique(category_labels1)) .* 3]
  151. CairoMakie.rainclouds!(
  152. ax,
  153. labels,
  154. data_arr;
  155. # jitter_width=0.2,
  156. plot_boxplots = true,
  157. clouds = nothing,
  158. orientation = or,
  159. gap = 0.1,
  160. center_boxplot = false,
  161. boxplot_nudge = -0.15,
  162. boxplot_width = 0.4,
  163. markersize = 10,
  164. color = colours_vec,
  165. )
  166. f
  167. CairoMakie.xlims!(ax, low = 0.6, high = total_datasets + 0.4)
  168. ax.xticks = 1:total_datasets
  169. ax.ylabel = y_label
  170. CairoMakie.ylims!(ax, low = 0.0001, high = 1e8)
  171. f
  172. ax.yticklabelsize = 10
  173. ax.ylabelsize = 12
  174. hidexdecorations!(
  175. ax,
  176. label = true,
  177. ticklabels = true,
  178. ticks = false,
  179. grid = true,
  180. minorgrid = true,
  181. minorticks = true,
  182. )
  183. end
  184. overlapping_elements =
  185. data_array5[1:12] .< 1e6 .&&
  186. data_array5[1:12] .> 1e2 .&&
  187. data_array6[1:12] .< 1e6 .&&
  188. data_array6[1:12] .> 1e4
  189. @info "The elements overlapping in their landscapes area are $(land_areas_df[1:12, :][overlapping_elements, :file])"
  190. group_color =
  191. [PolyElement(color = color, strokecolor = :transparent) for color in colors[3:3:6]]
  192. Legend(
  193. fgl[end+1, :],
  194. group_color,
  195. ["Artist", "Pseudo-art"],
  196. tellwidth = false,
  197. tellheight = true,
  198. nbanks = 2,
  199. framevisible = false,
  200. )
  201. rowgap!(fgl, 30)
  202. colgap!(fgl, 10)
  203. f
  204. ## ===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-
  205. # Save image
  206. @info "Saving..."
  207. script_prefix = "14ca"
  208. plot_14c_dir(args...) =
  209. plotsdir("section14", script_prefix * "-metrics-comparison", args...)
  210. savename_val = @savename useddata
  211. if use_print_size
  212. out_name0 =
  213. plot_14c_dir("print", "$(script_prefix)_metrics_comparison_$(savename_val).png")
  214. safesave(out_name0, f)
  215. out_name1 = plot_14c_dir(
  216. "print",
  217. "pdf",
  218. "$(script_prefix)_metrics_comparison_$(savename_val).pdf",
  219. )
  220. safesave(out_name1, f)
  221. @info "Saved."
  222. else
  223. out_name0 = plot_14c_dir("metrics_comparison_$(savename_val).png")
  224. safesave(out_name0, f)
  225. out_name1 = plot_14c_dir("pdf", "metrics_comparison_$(savename_val).pdf")
  226. safesave(out_name1, f)
  227. @info "Saved."
  228. end
  229. ## ===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-
  230. #
  231. do_nothing = "ok"

14ca_visualize_image_complexity_metrics.jl at commit cc56bf9, no license · at the source

Overview

Authors: Emil Dmitruk1, Beata Bajno2, Lidia Kot3, Joanna Dreszer4, Bibianna Bałaj4, Ewa Ratajczak4, Marcin Hajnowski4, Romuald A. Janik5, Marek Kuś6, Shabnam N. Kadir1, Jacek Rogala7
  1. UH Biocomputation Research Group, Department of Computer Science, University of Hertfordshire, Hatfield, United Kingdom
  2. Independent Artist, Warsaw, Poland
  3. In Situ Contemporary Art Foundation, International Laboratory of Culture, Sokołowsko, Poland
  4. Institute of Psychology, Faculty of Philosophy and Social Sciences, Nicolaus Copernicus University in Toruń, Toruń, Poland
  5. Institute of Theoretical Physics and Mark Kac Center for Complex Systems Research, Jagiellonian University, Kraków, Poland
  6. Center for Theoretical Physics, Polish Academy of Sciences, Warsaw, Poland
  7. Center of Trustworthy AI for Life Sciences – International Research Agendas Programme, University of Warsaw, Warsaw, Poland
Journal: PLoS computational biology, volume 22, issue 5, article e1014156
Dates: received 21 January 2025; accepted 23 March 2026; published online 14 May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1371/journal.pcbi.1014156 · PMID 42133620 · PMCID PMC13175340 · OpenAlex W4403540011
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), pain (population), cognitive (subfield)
Methods: Statistics, Spectral & time-frequency, Connectivity, Physiology & signal measures, Machine learning
MeSH: Art*, Paintings*, Visual Perception*, Computational Biology, Humans (* major topic)
Journal subjects: Biology and Life Sciences, Neuroscience, Cognitive Science, Cognitive Psychology, Perception, Sensory Perception, Vision, Psychology, Social Sciences, Physiology, Sensory Physiology, Visual System, Eye Movements, Sensory Systems, Research and Analysis Methods, Bioassays and Physiological Analysis, Electrophysiological Techniques, Brain Electrophysiology, Electroencephalography, Electrophysiology, Neurophysiology, Brain Mapping, Medicine and Health Sciences, Clinical Medicine, Clinical Neurophysiology, Imaging Techniques, Neuroimaging, Physical Sciences, Mathematics, Topology, Separation Processes, Filtration, Research Design, Survey Research, Questionnaires
Topic: Art, Technology, and Culture (Visual Arts and Performing Arts, Arts and Humanities), according to OpenAlex
Funding: University of Warsaw (N/A)
Citations: not cited yet (Europe PMC); 90 references in the paper

Abstract

Generations of researchers have sought a link between features of an artistic image and the audience’s experience. However, a direct link between the properties of an image and the responses evoked has still not been established. Given the importance of shape to human perception and artistic creation, it can be assumed that one of the most important aspects of an artistic image is the use of different visual structures. We show that a method from the field of computational topology, persistent homology, can be used to analyse properties of image structures and composition at multiple scales. In order to determine the reliability of this method as a tool for analysing visual artworks, we analysed two different sets of abstract paintings that revealed significant discrepancies in the eye tracking, electrical brain activity and the subjective experience of viewers. Our research showed that our newly developed method not only clearly distinguished between two sets of images but also allowed us to map topological features onto gaze fixation heat maps. Furthermore, the extent to which various artistic images violate a topological duality (Alexander duality) is significantly different from that of pseudo-art. It is intriguing that a diverse group of eminent abstract artists seem to favour a special rate of violation close to a specific value.

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

Repository

Its files are read in the Code ↔ Paper reader above, with 6 matches between paragraphs and lines of code.

edd26/arttoppaper

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: cc56bf96fd14fc76298a8ba9e6eb00ec2461372c, 6 October 2025
Languages: Julia (46)
Size: 58 files, 46 scripts
Software Heritage: not archived
Found in: “Data Availability”
Holds: README, environment (Project.toml)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: Makie (18 files), DataFrames.jl (5 files), Distributions.jl (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
47 files

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;
  • 46 scripts, each with its path and the digest of its content;
  • 6 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • 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

Datasets cited

Data Availability

Data are available at: https://osf.io/6u4p2/?view_only=d38603b8105a4724afd3572a49daee8a. Code for the image analyses is available here: https://github.com/edd26/arttoppaper.

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, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 11 authors, 5 MeSH terms, 1 funder, 61 references.

Cite

This paper

Dmitruk, E., Bajno, B., Kot, L., Dreszer, J., Bałaj, B., Ratajczak, E., Hajnowski, M., Janik, R. A., Kuś, M., Kadir, S. N., & Rogala, J. (2026). Art's hidden topology: A window into human perception. PLoS computational biology, 22(5), e1014156. https://doi.org/10.1371/journal.pcbi.1014156

BibTeX

@article{dmitruk2026art,
author = {Dmitruk, Emil and Bajno, Beata and Kot, Lidia and Dreszer, Joanna and Bałaj, Bibianna and Ratajczak, Ewa and Hajnowski, Marcin and Janik, Romuald A. and Kuś, Marek and Kadir, Shabnam N. and Rogala, Jacek},
title = {{Art's hidden topology: A window into human perception}},
journal = {PLoS computational biology},
year = {2026},
month = may,
volume = {22},
number = {5},
pages = {e1014156},
publisher = {PLOS},
issn = {1553-734X},
doi = {10.1371/journal.pcbi.1014156},
url = {https://doi.org/10.1371/journal.pcbi.1014156},
pmid = {42133620},
pmcid = {PMC13175340}
}

RIS

TY - JOUR
AU - Dmitruk, Emil
AU - Bajno, Beata
AU - Kot, Lidia
AU - Dreszer, Joanna
AU - Bałaj, Bibianna
AU - Ratajczak, Ewa
AU - Hajnowski, Marcin
AU - Janik, Romuald A.
AU - Kuś, Marek
AU - Kadir, Shabnam N.
AU - Rogala, Jacek
TI - Art's hidden topology: A window into human perception
T2 - PLoS computational biology
J2 - PLoS Comput Biol
PY - 2026
DA - 2026/05/14
VL - 22
IS - 5
SP - e1014156
SN - 1553-734X
PB - PLOS
DO - 10.1371/journal.pcbi.1014156
UR - https://doi.org/10.1371/journal.pcbi.1014156
LA - en
ER -

CSL-JSON

{
"id": "10.1371/journal.pcbi.1014156",
"type": "article-journal",
"title": "Art's hidden topology: A window into human perception",
"container-title": "PLoS computational biology",
"author": [
{
"family": "Dmitruk",
"given": "Emil"
},
{
"family": "Bajno",
"given": "Beata"
},
{
"family": "Kot",
"given": "Lidia"
},
{
"family": "Dreszer",
"given": "Joanna"
},
{
"family": "Bałaj",
"given": "Bibianna"
},
{
"family": "Ratajczak",
"given": "Ewa"
},
{
"family": "Hajnowski",
"given": "Marcin"
},
{
"family": "Janik",
"given": "Romuald A."
},
{
"family": "Kuś",
"given": "Marek"
},
{
"family": "Kadir",
"given": "Shabnam N."
},
{
"family": "Rogala",
"given": "Jacek"
}
],
"container-title-short": "PLoS Comput Biol",
"volume": "22",
"issue": "5",
"page": "e1014156",
"DOI": "10.1371/journal.pcbi.1014156",
"PMID": "42133620",
"PMCID": "PMC13175340",
"ISSN": "1553-734X",
"publisher": "PLOS",
"URL": "https://doi.org/10.1371/journal.pcbi.1014156",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
14
]
]
}
}

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/s41593-026-02342-9 [code]
Interpretable abstractions of artificial neural networks predict behavior and neural activity during human information gathering.
Journal: Nature neuroscience
In common: Makie, DataFrames.jl, Distributions.jl
[2] doi:10.1038/s41540-026-00749-5 [code]
A novel approach to quantify out-of-distribution uncertainty in Neural and Universal Differential Equations.
Journal: NPJ systems biology and applications
In common: Makie, DataFrames.jl, Distributions.jl
[3] doi:10.1371/journal.ppat.1014263 [code]
PrP turnover in vivo and the time to effect of prion disease therapeutics.
Journal: PLoS pathogens
In common: Makie, DataFrames.jl, Distributions.jl
[4] doi:10.1371/journal.pcbi.1013078 [code]
One model to rule them all: Unification of voltage-gated potassium channel models via deep non-linear mixed effects modelling.
Journal: PLoS computational biology
In common: Makie, DataFrames.jl, Distributions.jl
[5] doi:10.1371/journal.pcbi.1014214 [code]
Evolutionary Kuramoto dynamics unravels origins of chimera states in neural populations.
Journal: PLoS computational biology
In common: Makie, DataFrames.jl
[6] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: DataFrames.jl, Distributions.jl
[7] doi:10.1523/eneuro.0379-25.2026 [code]
Next-Generation Neural Mass Models Reproduce Features of Speech Processing.
Journal: eNeuro
In common: DataFrames.jl, Distributions.jl
[8] doi:10.1371/journal.pcbi.1014222 [code]
Neural population models for EEG: From Canonical models to alternative model structures.
Journal: PLoS computational biology
In common: DataFrames.jl, Distributions.jl
[9] doi:10.1371/journal.pcbi.1014575 [code]
Remembering the "when": Hebbian memory models for the time of past events.
Journal: PLoS computational biology
In common: DataFrames.jl, Distributions.jl
[10] doi:10.1038/s41586-026-10629-x [code]
Whole-genome duplication shaped cell-type evolution in the vertebrate brain.
Journal: Nature
In common: DataFrames.jl, Distributions.jl

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.