Art's hidden topology: A window into human perception.
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] § 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 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] § 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] § 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] § 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] § 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
- using DrWatson
- @quickactivate "arttopopaper"
- # ===-===-===-===-
- "14c_load_image_complexity_metrics.jl" |> scriptsdir |> include
- # ===-===-===-===-
- using CairoMakie
- # ===-===-===-
- # Load data
- category_labels1 = FSlope_df[:, :set]
- data_array1 = FSlope_df[:, "Fourier slope"]
- data_array1 = abs.(data_array1)
- category_labels2 = PHOG_df[:, :set]
- data_array2 = PHOG_df[:, "Self-Similarity"]
- data_array3 = PHOG_df[:, "Complexity"]
- data_array4 = PHOG_df[:, "Anisotropy"]
- data_array4 = abs.(data_array4)
- category_labels3 = category_labels2
- data_array5 = EdgeOrientation_df[:, "avg-shannon20-80"]
- data_array6 = EdgeOrientation_df[:, "edge-density"]
- category_labels4 = (@pipe land_areas_df |> filter(:dim => ==(0), _))[:, :dataset]
- data_array7 = (@pipe land_areas_df |> filter(:dim => ==(0), _))[:, :pland_area]
- data_array8 = (@pipe land_areas_df |> filter(:dim => ==(1), _))[:, :pland_area]
- ## ===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-
- # Plot the data
- use_print_size = true
- total_metrics = size(all_data_df, 2) - 2
- total_datasets = length(all_data_df.set |> unique)
- total_cols = 2
- if length(data_names_vec) < 4
- scaling_factor = 0.8
- else
- scaling_factor = length(data_names_vec)
- end
- if use_print_size
- plt_width = 300 + 150 * total_datasets
- plt_height = 700
- else
- plt_height = round(Int, 1700 * scaling_factor ÷ total_cols)
- plt_width = 100 + 150 * total_datasets
- end
- area_axis_args = (yscale = log10,)
- #
- f = Figure(resolution = (plt_width, plt_height));
- fgl = GridLayout(f[1, 1])
- axis_vec = []
- Box(
- fgl[4, 1],
- strokecolor = (:red, 0.7),
- linestyle = :solid,
- strokewidth = 4,
- color = :white,
- alignmode = Outside(),
- halign = :left,
- )
- Box(
- fgl[4, 2],
- strokecolor = (:red, 0.7),
- linestyle = :solid,
- strokewidth = 4,
- color = :white,
- alignmode = Outside(),
- halign = :left,
- )
- for k = 1:total_metrics
- if k <= 4
- col = 1
- row = k
- else
- col = 2
- row = k - 4
- end
- args = (yticklabelrotation = pi / 2, xtrimspine = true, area_axis_args...)
- push!(axis_vec, CairoMakie.Axis(fgl[row, col]; args...))
- end
- axis_fl,
- axis_selfsim,
- axis_complex,
- axis_pland0,
- axis_aniso,
- axis_avg_shannon_20_80,
- axis_edge_density,
- axis_pland1 = axis_vec
- colors = [Makie.wong_colors(8)...];
- for (i, (ax, labels, data_arr, title)) in
- zip(
- [
- axis_fl,
- axis_selfsim,
- axis_complex,
- axis_pland0,
- axis_aniso,
- axis_avg_shannon_20_80,
- axis_edge_density,
- axis_pland1,
- ],
- [
- category_labels1,
- category_labels2,
- category_labels2,
- category_labels4,
- category_labels2,
- category_labels3,
- category_labels3,
- category_labels4,
- ],
- [
- data_array1,
- data_array2,
- data_array3,
- data_array7,
- data_array4,
- data_array5,
- data_array6,
- data_array8,
- ],
- [
- "Abs. Fourier slope",
- "Self-Similarity",
- "Complexity",
- "Persistence landscapes'\narea, dim 0",
- "Abs. Anisotropy",
- "Avg. Shannon20-80",
- "Edge density",
- "Persistence landscapes'\narea, dim 1",
- ],
- ) |> enumerate
- @info "Working on a metric: $(i)"
- y_label = title
- img_title = ""
- if i == total_metrics
- x_label = "Category"
- else
- x_label = ""
- hidexdecorations!(
- ax,
- label = true,
- ticklabels = false,
- ticks = false,
- grid = false,
- minorgrid = false,
- minorticks = false,
- )
- end
- or = :vertical
- ax.xgridvisible = false
- ax.ygridvisible = false
- ax.rightspinevisible = false
- ax.topspinevisible = false
- # ===-
- colours_vec = colors[indexin(category_labels1, unique(category_labels1)) .* 3]
- CairoMakie.rainclouds!(
- ax,
- labels,
- data_arr;
- # jitter_width=0.2,
- plot_boxplots = true,
- clouds = nothing,
- orientation = or,
- gap = 0.1,
- center_boxplot = false,
- boxplot_nudge = -0.15,
- boxplot_width = 0.4,
- markersize = 10,
- color = colours_vec,
- )
- f
- CairoMakie.xlims!(ax, low = 0.6, high = total_datasets + 0.4)
- ax.xticks = 1:total_datasets
- ax.ylabel = y_label
- CairoMakie.ylims!(ax, low = 0.0001, high = 1e8)
- f
- ax.yticklabelsize = 10
- ax.ylabelsize = 12
- hidexdecorations!(
- ax,
- label = true,
- ticklabels = true,
- ticks = false,
- grid = true,
- minorgrid = true,
- minorticks = true,
- )
- end
- overlapping_elements =
- data_array5[1:12] .< 1e6 .&&
- data_array5[1:12] .> 1e2 .&&
- data_array6[1:12] .< 1e6 .&&
- data_array6[1:12] .> 1e4
- @info "The elements overlapping in their landscapes area are $(land_areas_df[1:12, :][overlapping_elements, :file])"
- group_color =
- [PolyElement(color = color, strokecolor = :transparent) for color in colors[3:3:6]]
- Legend(
- fgl[end+1, :],
- group_color,
- ["Artist", "Pseudo-art"],
- tellwidth = false,
- tellheight = true,
- nbanks = 2,
- framevisible = false,
- )
- rowgap!(fgl, 30)
- colgap!(fgl, 10)
- f
- ## ===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-
- # Save image
- @info "Saving..."
- script_prefix = "14ca"
- plot_14c_dir(args...) =
- plotsdir("section14", script_prefix * "-metrics-comparison", args...)
- savename_val = @savename useddata
- if use_print_size
- out_name0 =
- plot_14c_dir("print", "$(script_prefix)_metrics_comparison_$(savename_val).png")
- safesave(out_name0, f)
- out_name1 = plot_14c_dir(
- "print",
- "pdf",
- "$(script_prefix)_metrics_comparison_$(savename_val).pdf",
- )
- safesave(out_name1, f)
- @info "Saved."
- else
- out_name0 = plot_14c_dir("metrics_comparison_$(savename_val).png")
- safesave(out_name0, f)
- out_name1 = plot_14c_dir("pdf", "metrics_comparison_$(savename_val).pdf")
- safesave(out_name1, f)
- @info "Saved."
- end
- ## ===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-===-
- #
- do_nothing = "ok"
14ca_visualize_image_complexity_metrics.jl at commit cc56bf9, no license · at the source
Overview
- UH Biocomputation Research Group, Department of Computer Science, University of Hertfordshire, Hatfield, United Kingdom
- Independent Artist, Warsaw, Poland
- In Situ Contemporary Art Foundation, International Laboratory of Culture, Sokołowsko, Poland
- Institute of Psychology, Faculty of Philosophy and Social Sciences, Nicolaus Copernicus University in Toruń, Toruń, Poland
- Institute of Theoretical Physics and Mark Kac Center for Complex Systems Research, Jagiellonian University, Kraków, Poland
- Center for Theoretical Physics, Polish Academy of Sciences, Warsaw, Poland
- Center of Trustworthy AI for Life Sciences – International Research Agendas Programme, University of Warsaw, Warsaw, Poland
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
cc56bf96fd14fc76298a8ba9e6eb00ec2461372c, 6 October 2025Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
47 files
- scripts/
0a_convert_samples_to_bw , Julia, 118 lines.jl - scripts/
12_get_images_rescaling_ , Julia, 180 linestrajectory.jl - scripts/
12c2_plot_images_rescali , Julia, 223 linesng_trajectory_separate_v er2.jl - scripts/
14c_load_image_complexit , Julia, 161 lines, 1 matchy_metrics.jl - scripts/
14ca_visualize_image_com , Julia, 268 lines, 2 matchesplexity_metrics.jl - scripts/
17_load_data_for_cycle_a , Julia, 68 linesnalysis.jl - scripts/
17g2_makie_plot_cycles_w , Julia, 161 linesith_cycle_permimiter.jl - scripts/
17g_makie_plot_cycles_wi , Julia, 183 linesth_persistence.jl - scripts/
17h4_cycles_per_unit_all , Julia, 218 lines_window_sizes.jl - scripts/
17i_cycles_in_unit_cover , Julia, 170 linesage.jl - scripts/
17ig2_RMSE_ECDF_persiste , Julia, 415 linesnce_ECDF.jl - scripts/
17ig2g_plot_image_ECDF_a , Julia, 305 linesll_params.jl - scripts/
17ig3_ECDF_generation_no , Julia, 435 linest_looking.jl - scripts/
17ig3da_plot_histograms_ , Julia, 304 linesof_not_looking_MSE_per_i mage_paper.jl - scripts/
17ig3lb2_art_vs_fake_loo , Julia, 262 lines, 1 matchking_all_metrics_ver2.jl - scripts/
17j_cycles_in_unit_cover , Julia, 240 linesage_both_config.jl - scripts/
17jg2g_plot_image_ECDF_a , Julia, 271 linesll_params_BW+WB.jl - scripts/
17jg3_ECDF_generation_no , Julia, 445 linest_looking.jl - scripts/
17jg3k2_looking_vs_not_l , Julia, 343 linesooking_comparison_ver2.j l - scripts/
2f3b_load_and_makie_plot , Julia, 457 lines_persistence_landscapes_ both_dim_ver3.jl - scripts/
2f3h_load_and_makie_plot , Julia, 163 lines_persistence_landscapes_ with_cycles_visualisatio n.jl - scripts/
2f3ha_makie_plot_persist , Julia, 285 linesence_landscapes_with_cyc les_visualisation.jl - scripts/
2f3hb_makie_plot_persist , Julia, 331 linesence_landscapes_with_cyc les_visualisation_joined _channels.jl - scripts/
2g_get_persistence_lands , Julia, 167 linescapes_summary.jl - scripts/
2gb2_makie_plot_landscap , Julia, 192 lineses_comparison_matrix.jl - scripts/
2gd2_makie_average_lands , Julia, 179 linescapes_comparison_all_lan dscapes.jl - scripts/
2m4_betti_curves_average , Julia, 388 lines_with_individual_ver2.jl - scripts/
2n3_histogram_manipulati , Julia, 210 lineson_grayscale_with_lansdc apes_for_paper.jl - scripts/
2n3a_demonstrate_histogr , Julia, 258 linesam_manipulation.jl - scripts/
2n3b_distance_matrix_for , Julia, 128 lines_manipulated_histograms. jl - scripts/
2n3ba_plot_distance_matr , Julia, 194 linesix_for_manipulated_histo grams.jl - scripts/
config.jl , Julia, 156 lines, 1 match - src/
ArgsParsing.jl , Julia, 67 lines - src/
CycleCoverageUtils.jl , Julia, 510 lines - src/
DataStructuresUtils.jl , Julia, 54 lines - src/
DistributionsUtils.jl , Julia, 398 lines - src/
ECDFPlotting.jl , Julia, 249 lines - src/
GazePointHeatMap_py.jl , Julia, 95 lines - src/
HeatmapsUtils.jl , Julia, 155 lines - src/
HistogramManipulations.j , Julia, 45 linesl - src/
LandscapesPlotting.jl , Julia, 119 lines - src/
MakiePlots.jl , Julia, 110 lines - src/
SequenceAnalysis.jl , Julia, 118 lines - src/
et_utils.jl , Julia, 425 lines - src/
loading_utils.jl , Julia, 65 lines - src/
statistics_utils.jl , Julia, 76 lines, 1 match - README.md, Text, 116 lines
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://
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://
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/
url = {https://
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/
VL - 22
IS - 5
SP - e1014156
SN - 1553-734X
PB - PLOS
DO - 10.1371/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1371/
"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":
"volume": "22",
"issue": "5",
"page": "e1014156",
"DOI": "10.1371/
"PMID": "42133620",
"PMCID": "PMC13175340",
"ISSN": "1553-734X",
"publisher": "PLOS",
"URL": "https://
"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 neuroscienceIn 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 applicationsIn 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 pathogensIn 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 biologyIn 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 biologyIn common: Makie, DataFrames.jl
- [6] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn 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: eNeuroIn 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 biologyIn 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 biologyIn 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: NatureIn 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.
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, 46 scripts, and 6 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:5625a1537ade189c…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
