Volume-inflation registration (INFREG) for morphometric analysis of human focal cortical dysplasia type II.
The 2 matches
- [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] § 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
- function [varargout] = MRI_func_brain(sMRI,func,varargin)
- %UNTITLED2 此处显示有关此函数的摘要
- % 此处显示详细说明
- sMRI = MRI_read_Data(sMRI,'verbose',0);
- switch func
- case 'seg_kmeans'
- output = mri_seg_kmeans(sMRI,varargin{:});
- case 'rand_crop'
- output = mri_randcrop(sMRI,varargin{:});
- case 'bw_seedgrowth'
- output = mri_bw_seedgrowth(sMRI,varargin{:});
- case 'directional_smooth'
- output = mri_directional_smooth(sMRI,varargin{:});
- case 'denoise'
- output = mri_denoise(sMRI);
- case 'pvcnorm'
- output = mri_pvcnorm(sMRI,varargin{:});
- end
- if ~iscell(output)
- output = {output};
- end
- varargout = output;
- end
- function sImg = mri_seg_kmeans(sMRI,varargin)
- options_default = structure('N',3,'mask',[]);
- [options, eval_str] = resolve_input(options_default,varargin);
- eval(eval_str);
- temp = single(sMRI.data);
- if ~isempty(mask)
- [L,L_cen] = imsegkmeans3(temp(mask>0),3);
- L_cen = sort(L_cen);
- else
- [L,L_cen] = imsegkmeans3(temp,N);
- [L_cen,idx] = sort(L_cen);
- [~,idx] = sort(idx);
- L = reshape(idx(L),size(L));
- end
- for i = 1:3
- L_frac{i} = power(exp(1),-2*abs((temp-L_cen(i))));
- end
- L_sum = L_frac{1}+L_frac{2}+L_frac{3};
- for i = 1:3
- temp = L_frac{i}./L_sum;
- csf_mean = mean(temp(mask==0),"omitnan");
- temp = (temp - csf_mean)./(1-csf_mean); temp(temp<0) = 0;
- L_frac{i} = temp;
- end
- end
- function [out] = mri_randcrop(img,varargin)
- options_default = structure('mask',[],'sz',50);
- [options, eval_str] = resolve_input(options_default,varargin);
- eval(eval_str);
- if isstruct(img)
- img = img.data;
- end
- if length(sz) == 1
- sz = [sz,sz];
- end
- mask(1:round(sz(1)/2),:) = 0; mask(:,1:round(sz(2)/2)) = 0;
- mask(end-round(sz(1)/2):end,:) = 0; mask(:,end-round(sz(2)/2):end) = 0;
- idx = find(mask>0);
- crop_idx = idx(randi(length(idx),1));
- [y,x] = ind2sub(size(img),crop_idx);
- crop_loc = [y,x] - round(sz/2)-1;
- img_crop = img(crop_loc(1)+[1:sz(1)],crop_loc(2)+[1:sz(2)]);
- out = {img_crop,crop_loc,crop_idx};
- end
- function bw_grow = mri_bw_seedgrowth(bw,varargin)
- % 从一个种子点寻找邻域(如沿着灰白质边界走
- options_default = structure('seed',[],'N',5);
- [options, eval_str] = resolve_input(options_default,varargin);
- eval(eval_str);
- temp = single(bw);
- temp(seed(1),seed(2)) = 100; % 设为一个大值
- bw_grow = 0*single(bw);
- for i = 1:N
- temp = imfilter(temp,ones(3),'same').*bw;
- temp(temp>20) = 100; temp(temp>0 & temp<20) = 1;
- bw_grow(temp>1) = bw_grow(temp>1)+1;
- end
- end
- function img_filt = mri_directional_smooth(img,Gx0,Gy0,sm_mask,N)
- img_filt = img;
- for i = 1:N
- img_smx = imfilter(img_filt,[1/2 -1 1/2],'replicate');
- img_smy = imfilter(img_filt,[1/2;-1;1/2],'replicate');
- temp = img_smx.*Gx0+img_smy.*Gy0;
- img_filt = img_filt + temp.*sm_mask;
- end
- end
- function output = mri_denoise(sMRI)
- % from cat12: cat_vol_sanlm.m
- % nonlocal means for denoising
- job.intlim = [1,1]-0.0001;
- job.rician = 0;
- src = single(sMRI.data);
- % histogram limit
- [src,srcth] = cat_stat_histth(src,job.intlim);
- % use intensity normalisation because cat_sanlm did not filter values below ~0.01
- th = max( cat_stat_nanmean( src(src(:)>cat_stat_nanmean(src(src(:)>0))) ) , ...
- abs(cat_stat_nanmean( src(src(:)<abs(cat_stat_nanmean(src(src(:)<0)))))) );
- src = (src / th) * 100;
- src = (src - srcth(1)); % avoid negative values!
- cat_sanlm(src,3,1,job.rician);
- src = src + srcth(1); % restore original intensity range
- src = (src / 100) * th;
- sMRI_filt = sMRI;
- sMRI_filt.data = src;
- output = {sMRI_filt};
- end
- function output = mri_pvcnorm(sMRI,varargin)
- options_default = structure('label',[]);
- [options, eval_str] = resolve_input(options_default,varargin);
- eval(eval_str);
- % from % [Ym] = cat_main_gintnorm1639(single(T1_raw.data),Tth);
- Ysrc = single(sMRI.data);
- if isequal(sMRI.size,size(label))
- T3th = 0; T3thx = 0;
- for i = 1:3
- T3th(i+1) = median(Ysrc(abs(label - i) < 0.3));
- T3thx(i+1) = i;
- end
- else
- T3th = label.T3th;
- T3thx = label.T3thx;
- end
- Ym = 0*Ysrc;
- for i=2:4
- M = Ysrc>T3th(i-1) & Ysrc<=T3th(i);
- Ym(M(:)) = T3thx(i-1) + (Ysrc(M(:)) - T3th(i-1))/diff(T3th(i-1:i))*diff(T3thx(i-1:i));
- end
- M = Ysrc>=T3th(end);
- Ym(M(:)) = T3thx(i) + (Ysrc(M(:)) - T3th(i))/diff(T3th(end-1:end))*diff(T3thx(i-1:i));
- Ym = Ym / 3;
- sMRI_norm = sMRI;
- sMRI_norm.data = Ym;
- output = {sMRI_norm,T3th};
- end
MRI_func_brain.m at commit 9568fdd, no license · at the source
Overview
- School of Biomedical Engineering, Tsinghua University, Beijing 100084, China
- School of Biomedical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China
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
9568fddc506662d40ae9f088951b3494efb24bee, 26 July 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
25 files
- mlx livescripts/
FCD_Process_map18.mlx , MATLAB, to read at its source - mlx livescripts/
FCD_Process_meanMAP.mlx , MATLAB, to read at its source - mlx livescripts/
FCD_Process_surfMeanMap. , MATLAB, to read at its sourcemlx - mlx livescripts/
FCD_Process_vox2cortex.m , MATLAB, to read at its sourcelx - mlx livescripts/
Paper_inflatReg_Figs.mlx , MATLAB, to read at its source - mlx livescripts/
SEEG_Process_AtlasLeft_s , MATLAB, to read at its sourceurfer.mlx - mlx livescripts/
SEEG_Process_AtlasLeft_s , MATLAB, to read at its sourceurferFlat.mlx - mlx livescripts/
SEEG_Process_AtlasRight_ , MATLAB, to read at its sourcesurfer.mlx - mlx livescripts/
SEEG_Process_AtlasRight_ , MATLAB, to read at its sourcesurferFlat.mlx - mlx livescripts/
SEEG_Process_Atlas_infla , MATLAB, to read at its sourcetVol.mlx - src/
BIDS_batch_vox2cortex_v2 , MATLAB, 161 lines.m - src/
FCD_batch_inflatReg.m , MATLAB, 376 lines - src/
FCD_batch_surfSquareReg_ , MATLAB, 491 linesfine.m - src/
MRI_func_GEO.mlx , MATLAB, to read at its source - src/
MRI_func_ROI.m , MATLAB, 746 lines - src/
MRI_func_brain.m , MATLAB, 169 lines, 1 match - src/
MRI_read_Data.m , MATLAB, 656 lines - src/
MRI_register.m , MATLAB, 304 lines - src/
MRI_warp.m , MATLAB, 194 lines - src/
Surf_func_ROI.m , MATLAB, 1,630 lines - src/
Surf_voxelise.m , MATLAB, 1,267 lines - src/
generate_feamaps.m , MATLAB, 71 lines - src/
plot_mri.m , MATLAB, 625 lines - src/
plot_surf.m , MATLAB, 376 lines - README.md, Text, 60 lines
ai-med/Vox2Cortex
ef10ca2cf9999e1698a98a4bf9dce19b0000bd10, 21 May 2025Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
56 files
- docker/
build.sh , Shell, 10 lines - preprocessing/
abdomen/ , Python, 98 linesaverage_organ_template.p y - preprocessing/
abdomen/ , Jupyter, 66 linescompute_intensity_stats. ipynb - preprocessing/
abdomen/ , Jupyter, 249 linespreprocess_abdomen_ct_1k .ipynb - preprocessing/
brain/ , Python, 191 linespreprocess.py - preprocessing/
brain/ , Shell, 42 linespreprocess_scans.sh - preprocessing/
brain/ , Shell, 55 linesv2cc_resampling.sh - supplementary_material/
abdomen_template/ , Python, 25 linescreate_color_file.py - supplementary_material/
brain_template/ , Python, 18 linescreate_color_file.py - supplementary_material/
brain_template/ , Python, 10 linesfsaverage/ fs2ply.py - supplementary_material/
brain_template/ , Python, 10 linesfsaverage6/ fs2ply.py - vox2organ/
__init__.py , Python, 10 lines - vox2organ/
data/ , Python, 1 line__init__.py - vox2organ/
data/ , Python, 201 linesabdomen.py - vox2organ/
data/ , Python, 161 linescortex.py - vox2organ/
data/ , Python, 28 linescortex_labels.py - vox2organ/
data/ , Python, 311 linesdataset.py - vox2organ/
data/ , Python, 21 linesdataset_split_handler.py - vox2organ/
data/ , Python, 771 linesimage_and_mesh_dataset.p y - vox2organ/
data/ , Python, 63 linessupported_datasets.py - vox2organ/
logger/ , Python, 1 line__init__.py - vox2organ/
logger/ , Python, 469 lineslogger.py - vox2organ/
main.py , Python, 298 lines - vox2organ/
models/ , Python, 1 line__init__.py - vox2organ/
models/ , Python, 95 linesbase_model.py - vox2organ/
models/ , Python, 365 linesgraph_net.py - vox2organ/
models/ , Python, 20 linesmodel_handler.py - vox2organ/
models/ , Python, 322 linesu_net.py - vox2organ/
models/ , Python, 265 linesunet_flow.py - vox2organ/
models/ , Python, 214 linesvox2cortex.py - vox2organ/
params/ , Python, 1 line__init__.py - vox2organ/
params/ , Python, 361 linesdefault.py - vox2organ/
params/ , Python, 154 linesgroups.py - vox2organ/
params/ , Python, 7 linesmodels.py - vox2organ/
utils/ , Python, 1 line__init__.py - vox2organ/
utils/ , Python, 188 linescoordinate_transform.py - vox2organ/
utils/ , Python, 105 linescortical_thickness.py - vox2organ/
utils/ , Python, 15 linescustom_layers.py - vox2organ/
utils/ , Python, 90 linesdistributed.py - vox2organ/
utils/ , Python, 280 lines, 1 matcheval_metrics.py - vox2organ/
utils/ , Python, 311 linesevaluate.py - vox2organ/
utils/ , Python, 102 linesfeature_aggregation.py - vox2organ/
utils/ , Python, 81 linesfile_handle.py - vox2organ/
utils/ , Python, 200 linesgraph_conv.py - vox2organ/
utils/ , Python, 602 lineslosses.py - vox2organ/
utils/ , Python, 498 linesmesh.py - vox2organ/
utils/ , Python, 11 linesmodel_names.py - vox2organ/
utils/ , Python, 22 linesmodes.py - vox2organ/
utils/ , Python, 287 linestemplate.py - vox2organ/
utils/ , Python, 251 linestest.py - vox2organ/
utils/ , Python, 886 linestrain.py - vox2organ/
utils/ , Python, 17 linestrain_test.py - vox2organ/
utils/ , Python, 443 linesutils.py - vox2organ/
utils/ , Python, 104 linesvisualization.py - LICENSE, License, 674 lines
- README.md, Text, 140 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:
- 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
- openneuro:ds004199, at OpenNeuro; found in “Data and code availability”
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:
- they point to a dataset: OpenNeuro ds004199
- they point to the authors' code: ifsunrise/
brain-inflate-registrati on - they say that the data are available on request
- they say that the code is available on request
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://
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/
url = {https://
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/
VL - 29
IS - 9
SP - 117446
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"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":
"volume": "29",
"issue": "9",
"page": "117446",
"DOI": "10.1016/
"PMID": "42755994",
"PMCID": "PMC13582014",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"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: NeuroradiologyIn 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 dataIn 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 openIn 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 imagingIn 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 communicationsIn 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 imagingIn 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 informaticsIn 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 myelinationJournal: 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 imagingIn 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 neurologyIn 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.
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, 78 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:b878c0a7206f0abb…
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.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:endHTML
<!-- 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.
