OSCR

Volume-inflation registration (INFREG) for morphometric analysis of human focal cortical dysplasia type II.

Code ↔ Paper

2 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 2 matches
  1. [1] § STAR★Methods › Method details › Neuroimaging normalization ↔ src/MRI_func_brain.m, lines 111 to 136 · score 0.60 · intensity normalization, SANLM, nonlocal, denoising, CAT, filtering · Report a mismatch
  2. [2] § STAR★Methods › Method details › Assessment of feature maps for FCD lesions diagnosis and prediction ↔ vox2organ/utils/eval_metrics.py, lines 176 to 207 · score 0.57 · Dice score, ground truth, metrics, predicting · 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

MATLAB · 169 lines · 4.5 KB · no license · 1 match

  1. function [varargout] = MRI_func_brain(sMRI,func,varargin)
  2. %UNTITLED2 此处显示有关此函数的摘要
  3. % 此处显示详细说明
  4. sMRI = MRI_read_Data(sMRI,'verbose',0);
  5. switch func
  6. case 'seg_kmeans'
  7. output = mri_seg_kmeans(sMRI,varargin{:});
  8. case 'rand_crop'
  9. output = mri_randcrop(sMRI,varargin{:});
  10. case 'bw_seedgrowth'
  11. output = mri_bw_seedgrowth(sMRI,varargin{:});
  12. case 'directional_smooth'
  13. output = mri_directional_smooth(sMRI,varargin{:});
  14. case 'denoise'
  15. output = mri_denoise(sMRI);
  16. case 'pvcnorm'
  17. output = mri_pvcnorm(sMRI,varargin{:});
  18. end
  19. if ~iscell(output)
  20. output = {output};
  21. end
  22. varargout = output;
  23. end
  24. function sImg = mri_seg_kmeans(sMRI,varargin)
  25. options_default = structure('N',3,'mask',[]);
  26. [options, eval_str] = resolve_input(options_default,varargin);
  27. eval(eval_str);
  28. temp = single(sMRI.data);
  29. if ~isempty(mask)
  30. [L,L_cen] = imsegkmeans3(temp(mask>0),3);
  31. L_cen = sort(L_cen);
  32. else
  33. [L,L_cen] = imsegkmeans3(temp,N);
  34. [L_cen,idx] = sort(L_cen);
  35. [~,idx] = sort(idx);
  36. L = reshape(idx(L),size(L));
  37. end
  38. for i = 1:3
  39. L_frac{i} = power(exp(1),-2*abs((temp-L_cen(i))));
  40. end
  41. L_sum = L_frac{1}+L_frac{2}+L_frac{3};
  42. for i = 1:3
  43. temp = L_frac{i}./L_sum;
  44. csf_mean = mean(temp(mask==0),"omitnan");
  45. temp = (temp - csf_mean)./(1-csf_mean); temp(temp<0) = 0;
  46. L_frac{i} = temp;
  47. end
  48. end
  49. function [out] = mri_randcrop(img,varargin)
  50. options_default = structure('mask',[],'sz',50);
  51. [options, eval_str] = resolve_input(options_default,varargin);
  52. eval(eval_str);
  53. if isstruct(img)
  54. img = img.data;
  55. end
  56. if length(sz) == 1
  57. sz = [sz,sz];
  58. end
  59. mask(1:round(sz(1)/2),:) = 0; mask(:,1:round(sz(2)/2)) = 0;
  60. mask(end-round(sz(1)/2):end,:) = 0; mask(:,end-round(sz(2)/2):end) = 0;
  61. idx = find(mask>0);
  62. crop_idx = idx(randi(length(idx),1));
  63. [y,x] = ind2sub(size(img),crop_idx);
  64. crop_loc = [y,x] - round(sz/2)-1;
  65. img_crop = img(crop_loc(1)+[1:sz(1)],crop_loc(2)+[1:sz(2)]);
  66. out = {img_crop,crop_loc,crop_idx};
  67. end
  68. function bw_grow = mri_bw_seedgrowth(bw,varargin)
  69. % 从一个种子点寻找邻域(如沿着灰白质边界走
  70. options_default = structure('seed',[],'N',5);
  71. [options, eval_str] = resolve_input(options_default,varargin);
  72. eval(eval_str);
  73. temp = single(bw);
  74. temp(seed(1),seed(2)) = 100; % 设为一个大值
  75. bw_grow = 0*single(bw);
  76. for i = 1:N
  77. temp = imfilter(temp,ones(3),'same').*bw;
  78. temp(temp>20) = 100; temp(temp>0 & temp<20) = 1;
  79. bw_grow(temp>1) = bw_grow(temp>1)+1;
  80. end
  81. end
  82. function img_filt = mri_directional_smooth(img,Gx0,Gy0,sm_mask,N)
  83. img_filt = img;
  84. for i = 1:N
  85. img_smx = imfilter(img_filt,[1/2 -1 1/2],'replicate');
  86. img_smy = imfilter(img_filt,[1/2;-1;1/2],'replicate');
  87. temp = img_smx.*Gx0+img_smy.*Gy0;
  88. img_filt = img_filt + temp.*sm_mask;
  89. end
  90. end
  91. function output = mri_denoise(sMRI)
  92. % from cat12: cat_vol_sanlm.m
  93. % nonlocal means for denoising
  94. job.intlim = [1,1]-0.0001;
  95. job.rician = 0;
  96. src = single(sMRI.data);
  97. % histogram limit
  98. [src,srcth] = cat_stat_histth(src,job.intlim);
  99. % use intensity normalisation because cat_sanlm did not filter values below ~0.01
  100. th = max( cat_stat_nanmean( src(src(:)>cat_stat_nanmean(src(src(:)>0))) ) , ...
  101. abs(cat_stat_nanmean( src(src(:)<abs(cat_stat_nanmean(src(src(:)<0)))))) );
  102. src = (src / th) * 100;
  103. src = (src - srcth(1)); % avoid negative values!
  104. cat_sanlm(src,3,1,job.rician);
  105. src = src + srcth(1); % restore original intensity range
  106. src = (src / 100) * th;
  107. sMRI_filt = sMRI;
  108. sMRI_filt.data = src;
  109. output = {sMRI_filt};
  110. end
  111. function output = mri_pvcnorm(sMRI,varargin)
  112. options_default = structure('label',[]);
  113. [options, eval_str] = resolve_input(options_default,varargin);
  114. eval(eval_str);
  115. % from % [Ym] = cat_main_gintnorm1639(single(T1_raw.data),Tth);
  116. Ysrc = single(sMRI.data);
  117. if isequal(sMRI.size,size(label))
  118. T3th = 0; T3thx = 0;
  119. for i = 1:3
  120. T3th(i+1) = median(Ysrc(abs(label - i) < 0.3));
  121. T3thx(i+1) = i;
  122. end
  123. else
  124. T3th = label.T3th;
  125. T3thx = label.T3thx;
  126. end
  127. Ym = 0*Ysrc;
  128. for i=2:4
  129. M = Ysrc>T3th(i-1) & Ysrc<=T3th(i);
  130. Ym(M(:)) = T3thx(i-1) + (Ysrc(M(:)) - T3th(i-1))/diff(T3th(i-1:i))*diff(T3thx(i-1:i));
  131. end
  132. M = Ysrc>=T3th(end);
  133. Ym(M(:)) = T3thx(i) + (Ysrc(M(:)) - T3th(i))/diff(T3th(end-1:end))*diff(T3thx(i-1:i));
  134. Ym = Ym / 3;
  135. sMRI_norm = sMRI;
  136. sMRI_norm.data = Ym;
  137. output = {sMRI_norm,T3th};
  138. end

MRI_func_brain.m at commit 9568fdd, no license · at the source

Overview

Authors: Yongsheng Zhang1, Haojie Han1, Fang Chen2, Hongen Liao1,2
ORCID iDs: Yongsheng Zhang
  1. School of Biomedical Engineering, Tsinghua University, Beijing 100084, China
  2. School of Biomedical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China
Institutions: Tsinghua University (China); Shanghai Jiao Tong University (China)
Journal: iScience, volume 29, issue 9, article 117446
Dates: received 31 October 2025; accepted 20 August 2026; published online 9 September 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1016/j.isci.2026.117446 · PMID 42755994 · PMCID PMC13582014 · OpenAlex W7212078393
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: structural MRI / diffusion (modality), human (organism), epilepsy (population)
Methods: Connectivity, Statistics, Spectral & time-frequency, Machine learning, fMRI & imaging
Keywords: brain, registration, inflation, focal cortical dysplasia, voxel-based morphometry
Topic: Glioma Diagnosis and Treatment (Oncology, Medicine), according to OpenAlex
Funding: National Natural Science Foundation of China (U22A2051, 82027807, 62201315); Science and Technology Commission of Shanghai Municipality (24511104100); National Key Research and Development Program of China (2022YFC- 2405200)
Citations: not cited yet (Europe PMC); 56 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.

Repositories

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

ifsunrise/brain-inflate-registration

License: none: the authors keep all their rights
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 9568fddc506662d40ae9f088951b3494efb24bee, 26 July 2026
Languages: MATLAB (24)
Size: 26 files, 24 scripts
Software Heritage: not archived
Found in: “Data and code availability”
Holds: README, 11 notebooks
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Image Processing Toolbox (10 files), Brainstorm (1 file), CAT12 (1 file), Parallel Computing Toolbox (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
25 files

ai-med/Vox2Cortex

License: GPL-3.0
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: ef10ca2cf9999e1698a98a4bf9dce19b0000bd10, 21 May 2025
Languages: Python (49), Shell (3), Jupyter (2)
Size: 93 files, 54 scripts
Software Heritage: not archived
Found in: the resources table
Holds: README, license file, environment (docker/Dockerfile), 2 notebooks
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: PyTorch (27 files), NumPy (24 files), NiBabel (16 files), Matplotlib (5 files), scikit-image (5 files), pandas (4 files), SciPy (3 files), FreeSurfer (2 files), PyTorch Geometric (1 file), SimpleITK (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
56 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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 78 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

Datasets cited

Availability statements

The paper has a data availability statement and a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing them here; in short, from what the harvester recognized in them:

Read them in the paper: doi.org/10.1016/j.isci.2026.117446.

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 3, 28 September 2026

  • Authors: added Yongsheng Zhang (0000-0002-3086-2168); removed Yongsheng Zhang
  • Funding: added National Natural Science Foundation of China: U22A2051, 82027807, 62201315; Science and Technology Commission of Shanghai Municipality: 24511104100; National Key Research and Development Program of China: 2022YFC- 2405200

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 5 keywords, 56 references.

Cite

This paper

Zhang, Y., Han, H., Chen, F., & Liao, H. (2026). Volume-inflation registration (INFREG) for morphometric analysis of human focal cortical dysplasia type II. iScience, 29(9), 117446. https://doi.org/10.1016/j.isci.2026.117446

BibTeX

@article{zhang2026volume,
author = {Zhang, Yongsheng and Han, Haojie and Chen, Fang and Liao, Hongen},
title = {{Volume-inflation registration (INFREG) for morphometric analysis of human focal cortical dysplasia type II}},
journal = {iScience},
year = {2026},
month = sep,
volume = {29},
number = {9},
pages = {117446},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/j.isci.2026.117446},
url = {https://doi.org/10.1016/j.isci.2026.117446},
pmid = {42755994},
pmcid = {PMC13582014}
}

RIS

TY - JOUR
AU - Zhang, Yongsheng
AU - Han, Haojie
AU - Chen, Fang
AU - Liao, Hongen
TI - Volume-inflation registration (INFREG) for morphometric analysis of human focal cortical dysplasia type II
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/09/09
VL - 29
IS - 9
SP - 117446
SN - 2589-0042
PB - Elsevier
DO - 10.1016/j.isci.2026.117446
UR - https://doi.org/10.1016/j.isci.2026.117446
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.isci.2026.117446",
"type": "article-journal",
"title": "Volume-inflation registration (INFREG) for morphometric analysis of human focal cortical dysplasia type II",
"container-title": "iScience",
"author": [
{
"family": "Zhang",
"given": "Yongsheng"
},
{
"family": "Han",
"given": "Haojie"
},
{
"family": "Chen",
"given": "Fang"
},
{
"family": "Liao",
"given": "Hongen"
}
],
"container-title-short": "iScience",
"volume": "29",
"issue": "9",
"page": "117446",
"DOI": "10.1016/j.isci.2026.117446",
"PMID": "42755994",
"PMCID": "PMC13582014",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.isci.2026.117446",
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
9
]
]
}
}

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.1007/s00234-026-04103-8 [code]
Enhanced detection of subtle cortical abnormalities in focal epilepsy using 7 T MRI surface-based models and graph neural networks.
Journal: Neuroradiology
In common: PyTorch Geometric, FreeSurfer, NiBabel, 5 other tools, epilepsy, structural MRI / diffusion, 7 references
[2] doi:10.1038/s41597-023-02386-7 [code]
An open presurgery MRI dataset of people with epilepsy and focal cortical dysplasia type II.
Journal: Scientific data
In common: NiBabel, NumPy, OpenNeuro ds004199, epilepsy, structural MRI / diffusion, 8 references
[3] doi:10.1002/epi4.70336 [code]
Quantifying extra-lesional interhemispheric cortical asymmetry in focal cortical dysplasia type II.
Journal: Epilepsia open
In common: NiBabel, pandas, SciPy, 2 other tools, OpenNeuro ds004199, epilepsy, structural MRI / diffusion, 5 references
[4] doi:10.1186/s13244-024-01635-6 [code]
Deep learning-based automated lesion segmentation on pediatric focal cortical dysplasia II preoperative MRI: a reliable approach.
Journal: Insights into imaging
In common: scikit-image, SciPy, Matplotlib, 1 other tool, epilepsy, structural MRI / diffusion, 8 references
[5] doi:10.1093/braincomms/fcaf228 [code]
Lesion distribution and network mapping in dyskinetic cerebral palsy.
Journal: Brain communications
In common: CAT12, Parallel Computing Toolbox, FreeSurfer, 6 other tools, OpenNeuro ds004199, 1 reference
[6] doi:10.1186/s13244-024-01803-8
Focal cortical dysplasia lesion segmentation using multiscale transformer.
Journal: Insights into imaging
In common: OpenNeuro ds004199, epilepsy, 7 references
[7] doi:10.1186/s40708-026-00299-w
Pipeline evaluation of a state-of-the-art AI algorithm for detection of focal cortical dysplasia: insights into potential failure sources.
Journal: Brain informatics
In common: OpenNeuro ds004199, epilepsy, structural MRI / diffusion, 6 references
[8] doi:10.64898/2026.08.18.26360725 [code]
Temporal pole blurring in hippocampal sclerosis reflects seizure-disrupted myelination
Journal: medRxiv (preprint)
In common: PyTorch Geometric, FreeSurfer, NiBabel, 5 other tools, epilepsy, structural MRI / diffusion, 4 references
[9] doi:10.1038/s44303-024-00031-5
Focal cortical dysplasia (type II) detection with multi-modal MRI and a deep-learning framework.
Journal: Npj imaging
In common: OpenNeuro ds004199, epilepsy, structural MRI / diffusion, 6 references
[10] doi:10.1093/brain/awac224 [code]
Interpretable surface-based detection of focal cortical dysplasias: a Multi-centre Epilepsy Lesion Detection study.
Journal: Brain : a journal of neurology
In common: FreeSurfer, NiBabel, pandas, 3 other tools, epilepsy, structural MRI / diffusion, 5 references

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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1016/j.isci.2026.117446.svg)](https://openscicode.org/badge/doi/10.1016/j.isci.2026.117446)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117446.svg
   :target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117446
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117446"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117446.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.