OSCR

Registration-Based Analysis of the Three-Dimensional Shape of the Retinal Nerve Fiber Layer for Detection of Glaucomatous Defects.

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

Python · 92 lines · 2.8 KB · no license

  1. import sys
  2. import os
  3. from time import time
  4. import numpy as np
  5. import cv2 as cv
  6. from dipy.io.image import save_nifti
  7. from skimage.filters import rank
  8. from skimage.morphology import disk
  9. # Loading the passed arguments
  10. # The correct way to run the script would be something in like
  11. # python create_model_template.py "Z:\Source Files\Automontage Output Files\Python Output Wide Field\OutputFolder" csv_file_path
  12. # or
  13. # python create_model_template.py input_dir
  14. csv_path = None
  15. input_dir = sys.argv[1]
  16. if len(sys.argv) > 2:
  17. csv_path = sys.argv[2]
  18. if os.path.exists(input_dir) == False:
  19. raise Exception("The input directory does not exist!")
  20. if csv_path is None:
  21. subj_list = os.listdir(input_dir)
  22. subj_paths = [os.path.join(input_dir, s) for s in subj_list]
  23. else:
  24. subj_list = []
  25. subj_paths = []
  26. import csv
  27. with open(csv_path, mode='r') as csvfile:
  28. csvreader = csv.reader(csvfile)
  29. for idx, row in enumerate(csvreader):
  30. if idx == 0:
  31. continue
  32. subj_id = row[0]
  33. image_n = row[1]
  34. image_id = row[2]
  35. eye = row[3]
  36. subj_list.append(subj_id+'_'+image_n+'_'+eye)
  37. subj_paths.append(os.path.join(input_dir, 'ID_'+subj_id+'_'+image_n, eye, 'AC_'+image_id))
  38. model_volume = None
  39. s_idx = 0
  40. for sub_path, sub_dir in zip(subj_paths, subj_list):
  41. s_t = time()
  42. # Note that we are using a fixed shape here
  43. # The numbers might have to change if applied on a different site
  44. # As long as there is sufficient depth to normalize the raw data
  45. # it should be fine.
  46. volume = []
  47. # Load and normalize/blur volume
  48. for i in range(0, 164, 4):
  49. try:
  50. image = cv.imread(os.path.join(sub_path, sub_dir+'_NormalizedILM_'+str(i)+'.jpg'), 0)
  51. except:
  52. image = cv.imread(os.path.join(sub_path, sub_dir+'_NormalizedILM_'+str(i)+'.png'), 0)
  53. volume.append(image)
  54. volume = np.stack(volume, axis=-1)
  55. for i in range(0, 164, 4):
  56. image = volume[..., i//4]
  57. image = rank.mean_percentile(image, footprint=disk(7), p0=.1, p1=.9)
  58. volume[..., i//4] = image
  59. if sub_dir.endswith('OD'):
  60. volume = np.flip(volume, axis=1)
  61. image = volume / np.max(volume)
  62. image = np.nan_to_num(image)
  63. if model_volume is None:
  64. shape = image.shape
  65. model_volume = np.zeros(shape+(len(subj_paths),))
  66. model_volume[..., s_idx] = image
  67. s_idx += 1
  68. model = np.zeros(shape)
  69. for i in range(shape[0]):
  70. for j in range(shape[1]):
  71. for k in range(shape[2]):
  72. line = model_volume[i, j, k]
  73. try:
  74. model[i, j, k] = np.median(line[line!=0])
  75. except:
  76. model[i, j, k] = 0
  77. model = np.nan_to_num(model)
  78. save_nifti('model_volume.nii.gz', model, np.eye(4))

create_model_template.py at commit 66decdb, no license · at the source

Overview

Authors: Jong Sung Park1, Brett J. King2, Eleftherios Garyfallidis1, William H. Swanson2
  1. Luddy School of Informatics, Computing, and Engineering, Indiana University, Bloomington, IN, USA
  2. School of Optometry, Indiana University, Bloomington, IN, USA
Institutions: Indiana University Bloomington (United States); Indiana University (United States)
Journal: Translational vision science & technology, volume 15, issue 3, article 8
Dates: received 25 July 2025; accepted 27 January 2026; published online 9 March 2026; in print March 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1167/tvst.15.3.8 · PMID 41800848 · PMCID PMC12988675 · OpenAlex W7134230838
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), other condition (population), clinical / translational (subfield)
Methods: Connectivity, fMRI & imaging
Keywords: glaucoma, nerve fiber layer, registration
MeSH: Glaucoma*, Imaging, Three-Dimensional*, Nerve Fibers*, Retinal Ganglion Cells*, Tomography, Optical Coherence*, Aged, Female, Humans, Male, Middle Aged, Visual Field Tests, Visual Fields (* major topic)
Journal subjects: Glaucoma
Topic: Glaucoma and retinal disorders (Ophthalmology, Medicine), according to OpenAlex
Funding: NEI NIH HHS (R01 EY024542)
Citations: not cited yet (Europe PMC); 44 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

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

pjsjongsung/detect_defect

License: none: the authors keep all their rights
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: 66decdb92aca13d82c5dd6472ec3903c34ff08a2, 30 September 2025
Languages: Python (2)
Size: 4 files, 2 scripts
Software Heritage: not archived
Found in: the text, “Discussion”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: DIPY (2 files), NumPy (2 files), OpenCV (2 files), scikit-image (2 files), Matplotlib (1 file), SciPy (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
3 files

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;
  • 2 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.

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

Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 3 keywords, 12 MeSH terms, 1 funder, 37 references.

Cite

This paper

Park, J. S., King, B. J., Garyfallidis, E., & Swanson, W. H. (2026). Registration-Based Analysis of the Three-Dimensional Shape of the Retinal Nerve Fiber Layer for Detection of Glaucomatous Defects. Translational vision science & technology, 15(3), 8. https://doi.org/10.1167/tvst.15.3.8

BibTeX

@article{park2026registration,
author = {Park, Jong Sung and King, Brett J. and Garyfallidis, Eleftherios and Swanson, William H.},
title = {{Registration-Based Analysis of the Three-Dimensional Shape of the Retinal Nerve Fiber Layer for Detection of Glaucomatous Defects}},
journal = {Translational vision science \& technology},
year = {2026},
month = mar,
volume = {15},
number = {3},
pages = {8},
publisher = {Association for Research in Vision and Ophthalmology},
issn = {2164-2591},
doi = {10.1167/tvst.15.3.8},
url = {https://doi.org/10.1167/tvst.15.3.8},
pmid = {41800848},
pmcid = {PMC12988675}
}

RIS

TY - JOUR
AU - Park, Jong Sung
AU - King, Brett J.
AU - Garyfallidis, Eleftherios
AU - Swanson, William H.
TI - Registration-Based Analysis of the Three-Dimensional Shape of the Retinal Nerve Fiber Layer for Detection of Glaucomatous Defects
T2 - Translational vision science & technology
J2 - Transl Vis Sci Technol
PY - 2026
DA - 2026/03/01
VL - 15
IS - 3
SP - 8
SN - 2164-2591
PB - Association for Research in Vision and Ophthalmology
DO - 10.1167/tvst.15.3.8
UR - https://doi.org/10.1167/tvst.15.3.8
LA - en
ER -

CSL-JSON

{
"id": "10.1167/tvst.15.3.8",
"type": "article-journal",
"title": "Registration-Based Analysis of the Three-Dimensional Shape of the Retinal Nerve Fiber Layer for Detection of Glaucomatous Defects",
"container-title": "Translational vision science & technology",
"author": [
{
"family": "Park",
"given": "Jong Sung"
},
{
"family": "King",
"given": "Brett J."
},
{
"family": "Garyfallidis",
"given": "Eleftherios"
},
{
"family": "Swanson",
"given": "William H."
}
],
"container-title-short": "Transl Vis Sci Technol",
"volume": "15",
"issue": "3",
"page": "8",
"DOI": "10.1167/tvst.15.3.8",
"PMID": "41800848",
"PMCID": "PMC12988675",
"ISSN": "2164-2591",
"publisher": "Association for Research in Vision and Ophthalmology",
"URL": "https://doi.org/10.1167/tvst.15.3.8",
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
1
]
]
}
}

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.3390/diagnostics16172861 [code]
Microstructural Changes in the Corpus Callosum in Different Forms of Sporadic Age-Related Cerebral Small Vessel Disease.
Journal: Diagnostics (Basel, Switzerland)
In common: DIPY, OpenCV, scikit-image, 3 other tools, clinical / translational, 1 reference
[2] doi:10.1007/s00234-026-03993-y [code]
A comprehensive framework for automated segmentation of perivascular spaces in brain MRI with the nnU-Net.
Journal: Neuroradiology
In common: DIPY, scikit-image, SciPy, 1 other tool, 3 references
[3] doi:10.1162/imag.a.1276 [code]
High-resolution whole-brain magnetic resonance spectroscopic imaging in youth at risk for psychosis.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: DIPY, scikit-image, SciPy, 2 other tools, clinical / translational, 1 reference
[4] doi:10.1002/nbm.70353 [code]
Automated Surface-Based Segmentation of Deep Gray Matter Regions Based on Diffusion Tensor Images Reveals Unique Age Trajectories Over the Healthy Lifespan.
Journal: NMR in biomedicine
In common: DIPY, scikit-image, SciPy, 1 other tool, 2 references
[5] doi:10.1038/s43856-026-01614-6 [code]
Simulation-based inference at the theoretical limit for fast, robust microstructural MRI with minimal diffusion data.
Journal: Communications medicine
In common: DIPY, scikit-image, SciPy, 2 other tools, 1 reference
[6] doi:10.7554/elife.108408 [code]
Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI.
Journal: eLife
In common: DIPY, scikit-image, SciPy, 2 other tools, 1 reference
[7] doi:10.1186/s12916-026-04770-7 [code]
Impairment of brain short association fibers across clinical stages in amyotrophic lateral sclerosis: a new biomarker mirroring disease progression.
Journal: BMC medicine
In common: DIPY, scikit-image, SciPy, 2 other tools, clinical / translational, other condition
[8] doi:10.1162/imag.a.1366 [code]
MICAFlow: Fast and robust MRI preprocessing bridging research neuroimaging and clinical practice.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: DIPY, SciPy, Matplotlib, 1 other tool, 2 references
[9] doi:10.1371/journal.pcbi.1014571 [code]
SynAPSeg: A novel dataset and image analysis framework for deep learning-based synapse detection and quantification.
Journal: PLoS computational biology
In common: OpenCV, scikit-image, SciPy, 2 other tools, 1 reference
[10] doi:10.1038/s41598-026-39162-7 [code]
White matter microstructure differences in obstructive sleep apnea severity groups assessed by diffusion tensor metrics and biophysical modeling.
Journal: Scientific reports
In common: DIPY, scikit-image, SciPy, 1 other tool, 1 reference

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.