Human-in-the-Loop Enhances Machine Learning Inference in Intraoperative Optical Coherence Tomography Glioma Imaging.
The 2 matches
- [1] § 2. Materials and Methods › 2.3. OCT Scans Preprocessing and Parametric Maps ↔ Part3_Processor.py, lines 65 to 99 · score 0.59 · generate OAC, speckle contrast, intensity, window, RSC, OCT · Report a mismatch
- [2] § 2. Materials and Methods › 2.1. OCT Setup ↔ Part1_Generator.py, lines 5 to 45 · score 0.55 · central wavelength, laterally, beam, pixel, depth, scans · Report a mismatch
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
Python · 106 lines · 3.6 KB · no license · 1 match
- import numpy as np
- import matplotlib.pyplot as plt
- from scipy.ndimage import uniform_filter
- import os
- # ==========================================
- # CONFIGURATION (Dataset Specific)
- # ==========================================
- HPX = 6.0 # Pixel size (microns) - Updated to Zenodo spec
- WINDOW_SIZE = 20 # Window for Speckle Contrast
- def load_and_linearize_image(filename):
- """
- Loads PNG and restores Linear Intensity.
- Assumes PNG is 0..1 mapping to 0..40dB.
- """
- if not os.path.exists(filename):
- raise FileNotFoundError(f"File {filename} not found.")
- img = plt.imread(filename)
- if img.ndim == 3:
- if img.shape[2] == 4: img = img[:, :, :3]
- img = np.mean(img, axis=2)
- if img.max() > 1.0:
- img = img / 255.0
- # Linearization: I = 10^(4 * P) -> 4 comes from 40dB / 10
- intensity = 10.0 ** (img * 4.0)
- return intensity
- def calculate_oac(intensity, h_px):
- epsilon = 1e-10
- I_rev = intensity[::-1, :]
- cumsum_rev = np.cumsum(I_rev, axis=0)
- cumsum_from_bottom = cumsum_rev[::-1, :]
- denom_term = cumsum_from_bottom - 0.5 * intensity
- mu = intensity / (2 * h_px * (denom_term + epsilon))
- return mu
- def calculate_speckle_contrast_map(data, window_size=20):
- mean_val = uniform_filter(data, size=window_size, mode='reflect')
- mean_sq_val = uniform_filter(data**2, size=window_size, mode='reflect')
- var_val = mean_sq_val - mean_val**2
- var_val[var_val < 0] = 0
- std_val = np.sqrt(var_val)
- sc_map = std_val / (mean_val + 1e-10)
- # Crop borders to avoid artifacts
- border = window_size // 2
- sc_map_cropped = sc_map[border:-border, border:-border]
- # Pad back to original size to keep image dimensions consistent for SSIM
- sc_map_padded = np.pad(sc_map_cropped, border, mode='edge')
- return sc_map_padded
- def save_map(data, filename, vmin=None, vmax=None):
- """Saves a normalized grayscale map for metric comparison."""
- if vmin is None: vmin = np.min(data)
- if vmax is None: vmax = np.max(data)
- norm_data = np.clip((data - vmin) / (vmax - vmin + 1e-10), 0, 1)
- plt.imsave(filename, norm_data, cmap='gray')
- def generate_maps(input_image_path):
- """
- Generates OAC, SC, and RSC maps from a structural OCT image.
- Saves them with suffixes _OAC.png, _SC.png, _RSC.png.
- Returns a dictionary of generated file paths.
- """
- base_name = os.path.splitext(input_image_path)[0]
- # 1. Load
- intensity = load_and_linearize_image(input_image_path)
- # 2. OAC
- mu_map = calculate_oac(intensity, HPX)
- oac_path = base_name + "_OAC.png"
- # OAC limits: usually 0 to 99th percentile
- save_map(mu_map, oac_path, vmin=np.min(mu_map), vmax=np.percentile(mu_map, 99))
- # 3. SC (on Intensity)
- sc_map = calculate_speckle_contrast_map(intensity, WINDOW_SIZE)
- sc_path = base_name + "_SC.png"
- save_map(sc_map, sc_path, vmin=0.5, vmax=5.0) # Standard limits
- # 4. RSC (on OAC)
- rsc_map = calculate_speckle_contrast_map(mu_map, WINDOW_SIZE)
- rsc_path = base_name + "_RSC.png"
- save_map(rsc_map, rsc_path, vmin=0.5, vmax=5.0)
- print(f"[Processor] Generated maps for {input_image_path}")
- return {
- 'Struct': input_image_path,
- 'OAC': oac_path,
- 'SC': sc_path,
- 'RSC': rsc_path
- }
- if __name__ == "__main__":
- # Test run (requires Test_Scan.png from Part 2)
- if os.path.exists("Test_Scan.png"):
- generate_maps("Test_Scan.png")
- else:
- print("Run Part 2 first to generate Test_Scan.png")
Part3_Processor.py at commit 9508e27, no license · at the source
Overview
- Russian Academy of Sciences, Institute of Applied Physics, 46 Ulyanov Str., 603951 Nizhny Novgorod, Russia; (R.Z.); (A.S.); (A.M.); (V.Z.); (K.Y.)
- Department of Neurosurgery, Privolzhsky Research Medical University, 10/1, Minin and Pozharsky Sq., 603950 Nizhny Novgorod, Russia; (A.G.); (E.K.); (L.K.); (S.K.)
Abstract
Background/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
SynthOCTChallenge/SynthOCT_Baseline
9508e27c4b0bd54e0d76172a1c85af329472f2fb, 15 June 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
7 files
- Metrics_evaluation/
Metric_Performance_Test_ , Python, 258 linesv5_MicroMesoMacro_Empiri cal.py - Metrics_evaluation/
Metric_Plotter_MICCAI_Ex , Python, 265 linesperiment_sensitivity_fin al.py - Metrics_evaluation/
Metrics_Plots_with_Inter , Python, 216 linesvals_and_SignificanceLev el.py - Orchestrator.py, Python, 243 lines
- Part1_Generator.py, Python, 83 lines, 1 match
- Part3_Processor.py, Python, 106 lines, 1 match
- README.md, Text, 145 lines
accounts.opticelastograph.com
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 6 scripts, each with its path and the digest of its content;
- 2 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
No dataset and no data link were found in the paper.
Data Availability Statement
The data presented in this study are available in this article or Supplementary Material. All scan examples used in this study are available in the Supplementary Material. To support reviewer-requested reproducibility and open science, and to facilitate independent multi-center validation, the intraoperative in vivo OCT scans used in this study are attached to this paper under a Conditional Non-Exclusive License. To the best of our knowledge, this dataset represents the first publicly available intraoperative in vivo OCT scans of human brain gliomas globally. Under this Conditional Non-Exclusive License, the use of these materials is permitted subject to prior notification of the authors and on the condition that this article is appropriately cited. The data used in this retrospective study were originally acquired during RSF project No. 23-75-10068; however, that project did not provide financial support for the specific research presented in this paper. The code that converts OCT scans into physics-based maps (OAC and RSC) can be found 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, 10 authors, 6 keywords, 9 MeSH terms, 1 funder, 18 references.
Cite
This paper
Zinatullin, R., Sovetsky, A., Grishin, A., Kiseleva, E., Kukhnina, L., Korikova, S., Matveyev, A., Zaitsev, V., Yashin, K., & Matveev, L. (2026). Human-in-the-Loop Enhances Machine Learning Inference in Intraoperative Optical Coherence Tomography Glioma Imaging. Medical sciences (Basel, Switzerland), 14(2), 263. https://
BibTeX
@article{zinatullin2026h
author = {Zinatullin, Radik and Sovetsky, Alexander and Grishin, Artem and Kiseleva, Elena and Kukhnina, Liudmila and Korikova, Svetlana and Matveyev, Alexander and Zaitsev, Vladimir and Yashin, Konstantin and Matveev, Lev},
title = {{Human-in-the-Loop Enhances Machine Learning Inference in Intraoperative Optical Coherence Tomography Glioma Imaging}},
journal = {Medical sciences (Basel, Switzerland)},
year = {2026},
month = may,
volume = {14},
number = {2},
pages = {263},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {2076-3271},
doi = {10.3390/
url = {https://
pmid = {42201055},
pmcid = {PMC13214701}
}
RIS
TY - JOUR
AU - Zinatullin, Radik
AU - Sovetsky, Alexander
AU - Grishin, Artem
AU - Kiseleva, Elena
AU - Kukhnina, Liudmila
AU - Korikova, Svetlana
AU - Matveyev, Alexander
AU - Zaitsev, Vladimir
AU - Yashin, Konstantin
AU - Matveev, Lev
TI - Human-in-the-Loop Enhances Machine Learning Inference in Intraoperative Optical Coherence Tomography Glioma Imaging
T2 - Medical sciences (Basel, Switzerland)
J2 - Med Sci (Basel)
PY - 2026
DA - 2026/
VL - 14
IS - 2
SP - 263
SN - 2076-3271
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3390/
"type": "article-journal",
"title": "Human-in-the-Loop Enhances Machine Learning Inference in Intraoperative Optical Coherence Tomography Glioma Imaging",
"container-title": "Medical sciences (Basel, Switzerland)",
"author": [
{
"family": "Zinatullin",
"given": "Radik"
},
{
"family": "Sovetsky",
"given": "Alexander"
},
{
"family": "Grishin",
"given": "Artem"
},
{
"family": "Kiseleva",
"given": "Elena"
},
{
"family": "Kukhnina",
"given": "Liudmila"
},
{
"family": "Korikova",
"given": "Svetlana"
},
{
"family": "Matveyev",
"given": "Alexander"
},
{
"family": "Zaitsev",
"given": "Vladimir"
},
{
"family": "Yashin",
"given": "Konstantin"
},
{
"family": "Matveev",
"given": "Lev"
}
],
"container-title-short":
"volume": "14",
"issue": "2",
"page": "263",
"DOI": "10.3390/
"PMID": "42201055",
"PMCID": "PMC13214701",
"ISSN": "2076-3271",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
20
]
]
}
}
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.1109/jtehm.2024.3430035 [code]
- XAI-Based Assessment of the AMURA Model for Detecting Amyloid-β and Tau Microstructural Signatures in Alzheimer's Disease.Journal: IEEE journal of translational engineering in health and medicineIn common: scikit-image, PyTorch, pandas, 3 other tools, 1 reference
- [2] doi:10.3389/fnins.2026.1803154 [code]
- Multimodal machine learning reveals neurobiological signatures of binge-type eating disorders.Journal: Frontiers in neuroscienceIn common: seaborn, pandas, SciPy, 2 other tools, other condition, 1 reference
- [3] doi:10.1038/s41586-023-06615-2 [code]
- Ultra-fast deep-learned CNS tumour classification during surgery.Journal: NatureIn common: PyTorch, pandas, Matplotlib, 1 other tool, other condition, 1 reference
- [4] doi:10.1186/s12967-023-04222-3 [code]
- Assessment of brain cancer atlas maps with multimodal imaging features.Journal: Journal of translational medicineIn common: pandas, SciPy, Matplotlib, 1 other tool, other condition, 1 reference
- [5] doi:10.1093/braincomms/fcaf346 [code]
- Presurgical structural connectivity predicts postsurgical cognitive impairment in glioma patients.Journal: Brain communicationsIn common: pandas, Matplotlib, NumPy, other condition, 1 reference
- [6] doi:10.1016/j.isci.2026.117281 [code]
- Spatial pattern-driven interpretable model and biological correlates in brain glioblastoma-lymphoma differentiation.Journal: iScienceIn common: pandas, NumPy, other condition, 1 reference
- [7] doi:10.1016/j.dib.2026.112478
- BraTioUS: A multicenter dataset of baseline intraoperative brain tumor ultrasound images.Journal: Data in briefIn common: other, other condition, 1 reference
- [8] doi:10.3171/case24139 [code]
- Advanced tractography-guided laser ablation of a perirolandic long-term epilepsy-associated tumor: illustrative case.Journal: Journal of neurosurgery. Case lessonsIn common: NumPy, other condition, 1 reference
- [9] doi:10.1364/boe.513877
- Brain tumor grading diagnosis using transfer learning based on optical coherence tomography.Journal: Biomedical optics expressIn common: other, other condition, 1 reference
- [10] doi:10.1117/1.jbo.30.1.010501
- Quantitative assessment of the generalizability of a brain tumor Raman spectroscopy machine learning model to various tumor types including astrocytoma and oligodendroglioma.Journal: Journal of biomedical opticsIn common: other condition, 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.
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: 2 repositories of the authors' code, each at its verified commit and with its license, 6 scripts, and 2 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:9189becdc3a26429…
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.3390/medsci14020263)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3390/medsci14020263.svg
:target: https://openscicode.org/badge/doi/10.3390/medsci14020263
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3390/medsci14020263"><img src="https://openscicode.org/badge/doi/10.3390/medsci14020263.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
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)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
