A modular and flexible pipeline for intraoperative electrode reconstruction and localization in patients with brain lesions.
The 3 matches
- [1] § Materials and methods › Electrode localization and reconstruction ↔ hubconf.py, lines 218–239 · score 0.57 · DPT Large model, MiDaS, pretrained, location, depth, maps
- [2] § Materials and methods › Electrode localization and reconstruction ↔ ExampleCode_Intraoperative_Electrode_Localization/example_mainMNIIntraopDeID.m, lines 212–258 · score 0.53 · rigid body, MNI, RAS, MRI, electrodes, localization
- [3] § Materials and methods › Electrode localization and reconstruction ↔ run.py, lines 208–277 · score 0.53 · DPT Large, depth maps, camera, alignment, MiDaS, trained
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 · 435 lines · 13 KB · MIT · 1 match
- dependencies = ["torch"]
- import torch
- from midas.dpt_depth import DPTDepthModel
- from midas.midas_net import MidasNet
- from midas.midas_net_custom import MidasNet_small
- def DPT_BEiT_L_512(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT_BEiT_L_512 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="beitl16_512",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3_1/dpt_beit_large_512.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_BEiT_L_384(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT_BEiT_L_384 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="beitl16_384",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3_1/dpt_beit_large_384.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_BEiT_B_384(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT_BEiT_B_384 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="beitb16_384",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3_1/dpt_beit_base_384.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_SwinV2_L_384(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT_SwinV2_L_384 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="swin2l24_384",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3_1/dpt_swin2_large_384.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_SwinV2_B_384(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT_SwinV2_B_384 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="swin2b24_384",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3_1/dpt_swin2_base_384.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_SwinV2_T_256(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT_SwinV2_T_256 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="swin2t16_256",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3_1/dpt_swin2_tiny_256.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_Swin_L_384(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT_Swin_L_384 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="swinl12_384",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3_1/dpt_swin_large_384.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_Next_ViT_L_384(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT_Next_ViT_L_384 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="next_vit_large_6m",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3_1/dpt_next_vit_large_384.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_LeViT_224(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT_LeViT_224 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="levit_384",
- non_negative=True,
- head_features_1=64,
- head_features_2=8,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3_1/dpt_levit_224.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_Large(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT-Large model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="vitl16_384",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3/dpt_large_384.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def DPT_Hybrid(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS DPT-Hybrid model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = DPTDepthModel(
- path=None,
- backbone="vitb_rn50_384",
- non_negative=True,
- )
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v3/dpt_hybrid_384.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def MiDaS(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS v2.1 model for monocular depth estimation
- pretrained (bool): load pretrained weights into model
- """
- model = MidasNet()
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v2_1/midas_v21_384.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def MiDaS_small(pretrained=True, **kwargs):
- """ # This docstring shows up in hub.help()
- MiDaS v2.1 small model for monocular depth estimation on resource-constrained devices
- pretrained (bool): load pretrained weights into model
- """
- model = MidasNet_small(None, features=64, backbone="efficientnet_lite3", exportable=True, non_negative=True, blocks={'expand': True})
- if pretrained:
- checkpoint = (
- "https://github.com/isl-org/MiDaS/releases/download/v2_1/midas_v21_small_256.pt"
- )
- state_dict = torch.hub.load_state_dict_from_url(
- checkpoint, map_location=torch.device('cpu'), progress=True, check_hash=True
- )
- model.load_state_dict(state_dict)
- return model
- def transforms():
- import cv2
- from torchvision.transforms import Compose
- from midas.transforms import Resize, NormalizeImage, PrepareForNet
- from midas import transforms
- transforms.default_transform = Compose(
- [
- lambda img: {"image": img / 255.0},
- Resize(
- 384,
- 384,
- resize_target=None,
- keep_aspect_ratio=True,
- ensure_multiple_of=32,
- resize_method="upper_bound",
- image_interpolation_method=cv2.INTER_CUBIC,
- ),
- NormalizeImage(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
- PrepareForNet(),
- lambda sample: torch.from_numpy(sample["image"]).unsqueeze(0),
- ]
- )
- transforms.small_transform = Compose(
- [
- lambda img: {"image": img / 255.0},
- Resize(
- 256,
- 256,
- resize_target=None,
- keep_aspect_ratio=True,
- ensure_multiple_of=32,
- resize_method="upper_bound",
- image_interpolation_method=cv2.INTER_CUBIC,
- ),
- NormalizeImage(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
- PrepareForNet(),
- lambda sample: torch.from_numpy(sample["image"]).unsqueeze(0),
- ]
- )
- transforms.dpt_transform = Compose(
- [
- lambda img: {"image": img / 255.0},
- Resize(
- 384,
- 384,
- resize_target=None,
- keep_aspect_ratio=True,
- ensure_multiple_of=32,
- resize_method="minimal",
- image_interpolation_method=cv2.INTER_CUBIC,
- ),
- NormalizeImage(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]),
- PrepareForNet(),
- lambda sample: torch.from_numpy(sample["image"]).unsqueeze(0),
- ]
- )
- transforms.beit512_transform = Compose(
- [
- lambda img: {"image": img / 255.0},
- Resize(
- 512,
- 512,
- resize_target=None,
- keep_aspect_ratio=True,
- ensure_multiple_of=32,
- resize_method="minimal",
- image_interpolation_method=cv2.INTER_CUBIC,
- ),
- NormalizeImage(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]),
- PrepareForNet(),
- lambda sample: torch.from_numpy(sample["image"]).unsqueeze(0),
- ]
- )
- transforms.swin384_transform = Compose(
- [
- lambda img: {"image": img / 255.0},
- Resize(
- 384,
- 384,
- resize_target=None,
- keep_aspect_ratio=False,
- ensure_multiple_of=32,
- resize_method="minimal",
- image_interpolation_method=cv2.INTER_CUBIC,
- ),
- NormalizeImage(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]),
- PrepareForNet(),
- lambda sample: torch.from_numpy(sample["image"]).unsqueeze(0),
- ]
- )
- transforms.swin256_transform = Compose(
- [
- lambda img: {"image": img / 255.0},
- Resize(
- 256,
- 256,
- resize_target=None,
- keep_aspect_ratio=False,
- ensure_multiple_of=32,
- resize_method="minimal",
- image_interpolation_method=cv2.INTER_CUBIC,
- ),
- NormalizeImage(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]),
- PrepareForNet(),
- lambda sample: torch.from_numpy(sample["image"]).unsqueeze(0),
- ]
- )
- transforms.levit_transform = Compose(
- [
- lambda img: {"image": img / 255.0},
- Resize(
- 224,
- 224,
- resize_target=None,
- keep_aspect_ratio=False,
- ensure_multiple_of=32,
- resize_method="minimal",
- image_interpolation_method=cv2.INTER_CUBIC,
- ),
- NormalizeImage(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]),
- PrepareForNet(),
- lambda sample: torch.from_numpy(sample["image"]).unsqueeze(0),
- ]
- )
- return transforms
hubconf.py at commit 4545977, under MIT · at the source
Overview
- College of Medicine, Northeast Ohio Medical University, Rootstown, OH, United States
- Department of Neurology, Mass General Brigham, Boston, MA, United States
- Center for Neurotechnology and Neurorecovery, Boston, MA, United States
- Division of Neuro-Oncology, Department of Neurosurgery, University of California, San Francisco, San Francisco, CA, United States
- Department of Neurosurgery, Mass General Brigham, Boston, MA, United States
- Department of Neurosurgery, Oregon Health State University, Portland, OR, United States
- Department of Neurosurgery, University of California, San Diego, La Jolla, CA, United States
- Center for Neuro-Oncology, Department of Medical Oncology, Dana-Farber Cancer Institute, Boston, MA, United States
Abstract
Intraoperative intracranial electrophysiological recordings provide unique access to human cortical dynamics but remain difficult to translate across patients due to inconsistent localization of transient surface electrodes. Unlike chronic implantations, intraoperative electrodes are placed transiently, rarely visible on imaging, and often inconsistently documented. We present an open-source imaging pipeline, ALIGNER (Advanced Localization and Imaging Guidance for Neurosurgical Electrode Recording), designed to reconstruct intraoperative surface electrode array placements and quantitatively map neural activity to individualized anatomical and pathological substrates. By enabling anatomical localization of these electrodes, this framework supports systematic analysis of spatial gradients in neural activity relative to pathological tissue. We developed a multimodal reconstruction framework integrating pre- and postoperative MRI and CT, cortical surface modeling, semi-automated pathology segmentation, intraoperative photographs or videos when available, and physics-based electrode modeling. To improve robustness in cases with distorted anatomy, artificial intelligence tools such as SynthSR were used to enable reliable cortical surface reconstruction prior to FreeSurfer processing. A monocular depth-estimation network was incorporated to constrain electrode placement in conjunction with Blender cloth-physics simulation when photographic images were available, while atlas- and note-guided inference supported reconstruction otherwise. The pipeline was applied to 38 neurosurgical patients across drug-resistant epilepsy resection (n = 24), malformation (n = 1), brain tumor (n = 11), and deep brain stimulation (n = 2) cases, achieving some type of reconstruction and electrode localization in all participants. By exporting electrode coordinates for quantitative spatial analyses, including distance-based mapping relative to lesions and resection cavities, ALIGNER enables anatomically grounded and reproducible analysis of intraoperative electrophysiology. This open-source framework provides foundational infrastructure for cancer neuroscience studies of tumor–neuron interactions and establishes a scalable platform for future neurostimulation, implantable neurodevice, and brain–computer interface applications requiring precise anatomical localization.
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 3 matches between paragraphs and lines of code.
Center-For-Neurotechnology/BrainInterface3D
3dbaf34b002eef7625f5e872779cc3725d73673b, 18 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
6 files
- ChangingLabelsGiftiandHC
Poutputs.m , MATLAB, 92 lines - ExampleCode_Intraoperati
ve_Electrode_Localizatio , Python, 58 linesn/ ExportBlenderVerticesWor ldViewDeID.py - ExampleCode_Intraoperati
ve_Electrode_Localizatio , MATLAB, 262 lines, 1 matchn/ example_mainMNIIntraopDe ID.m - ExampleCode_Intraoperati
ve_Electrode_Localizatio , Python, 60 linesn/ extract_geodesic_distanc es.py - LICENSE, License, 21 lines
- README.md, Text, 136 lines
PerkLab/SlicerFreeSurfer
fe78ea4b5516d1ed97cf629890f24bd52af585f1, 23 July 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
31 files
- FreeSurfer/
vtkFSIO.h , C/C++, 47 lines - FreeSurfer/
vtkFSLookupTable.h , C/C++, 164 lines - FreeSurfer/
vtkFSSurfaceAnnotationRe , C/C++, 111 linesader.h - FreeSurfer/
vtkFSSurfaceHelper.h , C/C++, 46 lines - FreeSurfer/
vtkFSSurfaceLabelReader. , C/C++, 121 linesh - FreeSurfer/
vtkFSSurfaceReader.h , C/C++, 86 lines - FreeSurfer/
vtkFSSurfaceScalarReader , C/C++, 62 lines.h - FreeSurfer/
vtkFSSurfaceWFileReader. , C/C++, 77 linesh - FreeSurfer/
vtkFreeSurferExport.h , C/C++, 30 lines - FreeSurferImporter/
Logic/ , C/C++, 81 linesvtkSlicerFreeSurferExtru deTool.h - FreeSurferImporter/
Logic/ , C/C++, 108 linesvtkSlicerFreeSurferImpor terLogic.h - FreeSurferImporter/
MRML/ , C/C++, 85 linesvtkFreeSurferCurveGenera tor.h - FreeSurferImporter/
MRML/ , C/C++, 82 linesvtkMRMLFreeSurferModelOv erlayStorageNode.h - FreeSurferImporter/
MRML/ , C/C++, 50 linesvtkMRMLFreeSurferModelSt orageNode.h - FreeSurferImporter/
MRML/ , C/C++, 142 linesvtkMRMLFreeSurferProcedu ralColorNode.h - FreeSurferImporter/
qSlicerFreeSurferImporte , C/C++, 61 linesrCurveReader.h - FreeSurferImporter/
qSlicerFreeSurferImporte , C/C++, 78 linesrModule.h - FreeSurferImporter/
qSlicerFreeSurferImporte , C/C++, 63 linesrModuleWidget.h - FreeSurferImporter/
qSlicerFreeSurferImporte , C/C++, 60 linesrPlaneReader.h - FreeSurferImporter/
qSlicerFreeSurferImporte , C/C++, 54 linesrScalarOverlayOptionsWid get.h - FreeSurferImporter/
qSlicerFreeSurferImporte , C/C++, 61 linesrScalarOverlayReader.h - FreeSurferImporter/
qSlicerFreeSurferImporte , C/C++, 61 linesrSegmentationReader.h - FreeSurferImporter/
qSlicerXcedeCatalogReade , C/C++, 60 linesr.h - FreeSurferMarkups/
Logic/ , C/C++, 62 linesvtkSlicerFreeSurferMarku psLogic.h - FreeSurferMarkups/
MRML/ , C/C++, 87 linesvtkFreeSurferCurveGenera tor.h - FreeSurferMarkups/
MRML/ , C/C++, 126 linesvtkMRMLMarkupsFreeSurfer CurveNode.h - FreeSurferMarkups/
MRML/ , C/C++, 157 linesvtkSlicerFreeSurferDijks traGraphGeodesicPath.h - FreeSurferMarkups/
qSlicerFreeSurferMarkups , C/C++, 78 linesModule.h - NiBabelModelIO/
NiBabelModelIO.py , Python, 288 lines - LICENSE, License, 29 lines
- README.md, Text, 16 lines
isl-org/MiDaS
454597711a62eabcbf7d1e89f3fb9f569051ac9b, 23 August 2024Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
60 files
- hubconf.py, Python, 435 lines, 1 match
- midas/
backbones/ , Python, 196 linesbeit.py - midas/
backbones/ , Python, 106 lineslevit.py - midas/
backbones/ , Python, 39 linesnext_vit.py - midas/
backbones/ , Python, 13 linesswin.py - midas/
backbones/ , Python, 34 linesswin2.py - midas/
backbones/ , Python, 52 linesswin_common.py - midas/
backbones/ , Python, 249 linesutils.py - midas/
backbones/ , Python, 221 linesvit.py - midas/
base_model.py , Python, 16 lines - midas/
blocks.py , Python, 439 lines - midas/
dpt_depth.py , Python, 166 lines - midas/
midas_net.py , Python, 76 lines - midas/
midas_net_custom.py , Python, 128 lines - midas/
model_loader.py , Python, 242 lines - midas/
transforms.py , Python, 234 lines - mobile/
android/ , Java, 121 linesapp/ src/ androidTest/ java/ org/ tensorflow/ lite/ examples/ classification/ ClassifierTest.java - mobile/
android/ , Java, 717 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ CameraActivity.java - mobile/
android/ , Java, 575 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ CameraConnectionFragment .java - mobile/
android/ , Java, 238 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ ClassifierActivity.java - mobile/
android/ , Java, 203 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ LegacyCameraConnectionFr agment.java - mobile/
android/ , Java, 72 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ customview/ AutoFitTextureView.java - mobile/
android/ , Java, 48 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ customview/ OverlayView.java - mobile/
android/ , Java, 67 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ customview/ RecognitionScoreView.jav a - mobile/
android/ , Java, 23 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ customview/ ResultsView.java - mobile/
android/ , Java, 115 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ env/ BorderedText.java - mobile/
android/ , Java, 152 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ env/ ImageUtils.java - mobile/
android/ , Java, 186 linesapp/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ env/ Logger.java - mobile/
android/ , Java, 376 lineslib_support/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ Classifier.java - mobile/
android/ , Java, 71 lineslib_support/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ ClassifierFloatEfficient Net.java - mobile/
android/ , Java, 72 lineslib_support/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ ClassifierFloatMobileNet .java - mobile/
android/ , Java, 71 lineslib_support/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ ClassifierQuantizedEffic ientNet.java - mobile/
android/ , Java, 72 lineslib_support/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ ClassifierQuantizedMobil eNet.java - mobile/
android/ , Java, 278 lineslib_task_api/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ Classifier.java - mobile/
android/ , Java, 45 lineslib_task_api/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ ClassifierFloatEfficient Net.java - mobile/
android/ , Java, 43 lineslib_task_api/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ ClassifierFloatMobileNet .java - mobile/
android/ , Java, 43 lineslib_task_api/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ ClassifierQuantizedEffic ientNet.java - mobile/
android/ , Java, 44 lineslib_task_api/ src/ main/ java/ org/ tensorflow/ lite/ examples/ classification/ tflite/ ClassifierQuantizedMobil eNet.java - mobile/
android/ , Python, 75 linesmodels/ src/ main/ assets/ run_tflite.py - mobile/
ios/ , Shell, 14 linesRunScripts/ download_models.sh - ros/
additions/ , Shell, 5 linesdo_catkin_make.sh - ros/
additions/ , Shell, 5 linesdownloads.sh - ros/
additions/ , Shell, 34 linesinstall_ros_melodic_ubun tu_17_18.sh - ros/
additions/ , Shell, 33 linesinstall_ros_noetic_ubunt u_20.sh - ros/
additions/ , Shell, 16 linesmake_package_cpp.sh - ros/
launch_midas_cpp.sh , Shell, 2 lines - ros/
midas_cpp/ , Python, 61 linesscripts/ listener.py - ros/
midas_cpp/ , Python, 61 linesscripts/ listener_original.py - ros/
midas_cpp/ , Python, 53 linesscripts/ talker.py - ros/
midas_cpp/ , C++, 285 linessrc/ main.cpp - ros/
run_talker_listener_test , Shell, 16 lines.sh - run.py, Python, 277 lines, 1 match
- tf/
make_onnx_model.py , Python, 112 lines - tf/
run_onnx.py , Python, 119 lines - tf/
run_pb.py , Python, 135 lines - tf/
transforms.py , Python, 234 lines - tf/
utils.py , Python, 82 lines - utils.py, Python, 199 lines
- LICENSE, License, 21 lines
- README.md, Text, 300 lines
cnr-isti-vclab/PyMeshLab
9c30334547750bcbe7126278b16739349643d04b, 3 February 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
105 files
- docs/
conf.py , Python, 60 lines - pymeshlab/
__init__.py , Python, 53 lines - pymeshlab/
polyscope_functions.py , Python, 27 lines - pymeshlab/
replacer.py , Python, 44 lines - pymeshlab/
tests/ , Python, 1 line__init__.py - pymeshlab/
tests/ , Python, 32 linesexample_apply_filter.py - pymeshlab/
tests/ , Python, 35 linesexample_apply_filter_out put.py - pymeshlab/
tests/ , Python, 20 linesexample_apply_filter_par ameters.py - pymeshlab/
tests/ , Python, 20 linesexample_apply_filter_par ameters_check_default_va lues.py - pymeshlab/
tests/ , Python, 33 linesexample_apply_filter_par ameters_percentage.py - pymeshlab/
tests/ , Python, 26 linesexample_apply_filter_par ameters_point.py - pymeshlab/
tests/ , Python, 75 linesexample_custom_mesh_attr ibutes.py - pymeshlab/
tests/ , Python, 30 linesexample_filter_script_cr eate_and_save.py - pymeshlab/
tests/ , Python, 22 linesexample_filter_script_lo ad_and_apply.py - pymeshlab/
tests/ , Python, 47 linesexample_get_mesh_values. py - pymeshlab/
tests/ , Python, 150 linesexample_import_mesh_from _arrays.py - pymeshlab/
tests/ , Python, 62 linesexample_import_poly_mesh _from_arrays.py - pymeshlab/
tests/ , Python, 42 linesexample_load_mesh.py - pymeshlab/
tests/ , Python, 27 linesexample_load_project.py - pymeshlab/
tests/ , Python, 21 linesexample_save_mesh.py - pymeshlab/
tests/ , Python, 17 linesexample_save_project.py - pymeshlab/
tests/ , MATLAB, not shown heresample_meshes/ sample_filter_script.mlx - pymeshlab/
tests/ , Python, 13 linessamples_common.py - pymeshlab/
tests/ , Python, 19 linestest_ambient_occlusion.p y - pymeshlab/
tests/ , Python, 23 linestest_delete_mesh.py - pymeshlab/
tests/ , Python, 36 linestest_delete_small_compon ents.py - pymeshlab/
tests/ , Python, 22 linestest_hausdorff.py - pymeshlab/
tests/ , Python, 14 linestest_laplacian_smoothing .py - pymeshlab/
tests/ , Python, 16 linestest_merge_meshes.py - pymeshlab/
tests/ , Python, 22 linestest_mesh_booleans.py - pymeshlab/
tests/ , Python, 10 linestest_number_plugins.py - pymeshlab/
tests/ , Python, 20 linestest_select_faces_with_e dge_longer_than.py - pymeshlab/
tests/ , Python, 19 linestest_texture_map_defragm entation.py - pymeshlab/
tests/ , Python, 18 linestest_u3d_exporter.py - scripts/
Linux/ , Shell, 8 lines0_setup_env.sh - scripts/
Linux/ , Shell, 65 lines1_build.sh - scripts/
Linux/ , Shell, 67 lines2_deploy.sh - scripts/
Linux/ , Shell, 62 linesmake_wheel.sh - scripts/
Windows/ , Shell, 3 lines0_setup_env.sh - scripts/
Windows/ , Shell, 65 lines1_build.sh - scripts/
Windows/ , Shell, 40 lines2_deploy.sh - scripts/
macOS/ , Shell, 3 lines0_setup_env.sh - scripts/
macOS/ , Shell, 98 lines1_build.sh - scripts/
macOS/ , Shell, 37 lines2_deploy.sh - scripts/
macOS/ , Shell, 84 linesinternal/ 2a_bundle.sh - setup.py, Python, 67 lines
- src/
pymeshlab/ , C++, 46 linesbindings/ pyboundingbox.cpp - src/
pymeshlab/ , C/C++, 34 linesbindings/ pyboundingbox.h - src/
pymeshlab/ , C++, 34 linesbindings/ pycamera.cpp - src/
pymeshlab/ , C/C++, 34 linesbindings/ pycamera.h - src/
pymeshlab/ , C++, 66 linesbindings/ pycolor.cpp - src/
pymeshlab/ , C/C++, 34 linesbindings/ pycolor.h - src/
pymeshlab/ , C++, 41 linesbindings/ pyexceptions.cpp - src/
pymeshlab/ , C/C++, 33 linesbindings/ pyexceptions.h - src/
pymeshlab/ , C++, 39 linesbindings/ pyimage.cpp - src/
pymeshlab/ , C/C++, 34 linesbindings/ pyimage.h - src/
pymeshlab/ , C++, 192 linesbindings/ pymesh.cpp - src/
pymeshlab/ , C/C++, 34 linesbindings/ pymesh.h - src/
pymeshlab/ , C++, 146 linesbindings/ pymeshset.cpp - src/
pymeshlab/ , C/C++, 34 linesbindings/ pymeshset.h - src/
pymeshlab/ , C++, 42 linesbindings/ pymodule_functions.cpp - src/
pymeshlab/ , C/C++, 34 linesbindings/ pymodule_functions.h - src/
pymeshlab/ , C++, 39 linesbindings/ pypercentage_value.cpp - src/
pymeshlab/ , C/C++, 34 linesbindings/ pypercentage_value.h - src/
pymeshlab/ , C++, 39 linesbindings/ pypure_value.cpp - src/
pymeshlab/ , C/C++, 34 linesbindings/ pypure_value.h - src/
pymeshlab/ , C++, 23 linesdebug_main.cpp - src/
pymeshlab/ , C++, 39 linesdoc_main.cpp - src/
pymeshlab/ , C/C++, 56 linesdocs/ pyboundingbox_doc.h - src/
pymeshlab/ , C/C++, 126 linesdocs/ pycolor_doc.h - src/
pymeshlab/ , C/C++, 46 linesdocs/ pyexceptions_doc.h - src/
pymeshlab/ , C/C++, 47 linesdocs/ pyimage_doc.h - src/
pymeshlab/ , C/C++, 353 linesdocs/ pymesh_doc.h - src/
pymeshlab/ , C/C++, 194 linesdocs/ pymeshset_doc.h - src/
pymeshlab/ , C/C++, 78 linesdocs/ pymodule_functions_doc.h - src/
pymeshlab/ , C/C++, 49 linesdocs/ pypercentage_value_doc.h - src/
pymeshlab/ , C/C++, 42 linesdocs/ pypure_value_doc.h - src/
pymeshlab/ , C++, 32 lineskeygen_main.cpp - src/
pymeshlab/ , C++, 61 linesmain.cpp - src/
pymeshlab/ , C++, 42 linespymeshlab/ bounding_box.cpp - src/
pymeshlab/ , C/C++, 43 linespymeshlab/ bounding_box.h - src/
pymeshlab/ , C++, 55 linespymeshlab/ color.cpp - src/
pymeshlab/ , C/C++, 45 linespymeshlab/ color.h - src/
pymeshlab/ , C/C++, 57 linespymeshlab/ exceptions.h - src/
pymeshlab/ , C++, 245 linespymeshlab/ helpers/ common.cpp - src/
pymeshlab/ , C/C++, 125 linespymeshlab/ helpers/ common.h - src/
pymeshlab/ , C++, 768 linespymeshlab/ helpers/ meshset_helper.cpp - src/
pymeshlab/ , C/C++, 124 linespymeshlab/ helpers/ meshset_helper.h - src/
pymeshlab/ , C++, 108 linespymeshlab/ helpers/ verbosity_manager.cpp - src/
pymeshlab/ , C/C++, 64 linespymeshlab/ helpers/ verbosity_manager.h - src/
pymeshlab/ , C++, 41 linespymeshlab/ image.cpp - src/
pymeshlab/ , C/C++, 43 linespymeshlab/ image.h - src/
pymeshlab/ , C++, 388 linespymeshlab/ mesh.cpp - src/
pymeshlab/ , C/C++, 154 linespymeshlab/ mesh.h - src/
pymeshlab/ , C++, 360 linespymeshlab/ meshset.cpp - src/
pymeshlab/ , C/C++, 111 linespymeshlab/ meshset.h - src/
pymeshlab/ , C++, 220 linespymeshlab/ module_functions.cpp - src/
pymeshlab/ , C/C++, 53 linespymeshlab/ module_functions.h - src/
pymeshlab/ , C++, 44 linespymeshlab/ percentage_value.cpp - src/
pymeshlab/ , C/C++, 50 linespymeshlab/ percentage_value.h - src/
pymeshlab/ , C++, 37 linespymeshlab/ pure_value.cpp - src/
pymeshlab/ , C/C++, 47 linespymeshlab/ pure_value.h - src/
utilities/ , C++, 9 linesdummy_bin_mac_deploy/ main.cpp - LICENSE, License, 674 lines
- README.md, Text, 107 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:
- 4 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 194 scripts, each with its path and the digest of its content;
- 3 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 that support the findings of this study are available from the corresponding author upon reasonable request and agreement to only receive de-identified data. Documentation and code including commands for different packages are available at the main repository (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, 27 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 25 authors, 7 keywords, 10 MeSH terms, 3 funders, 70 references.
Cite
This paper
Rabbani, H., Das, I., Mandal, A. S., Nelson, T., Hadar, P., Hsueh, B., Ciordia, R., Coughlin, B. F., Peng, E., Cleary, D. R., Collins, K. L., Raslan, A. M. T., Williams, Z. M., Choi, B. D., Cosgrove, G. R., Dayeh, S. A., Jones, P. S., Tiwana, H. K., Dunn, G. P., . . . Paulk, A. C. (2026). A modular and flexible pipeline for intraoperative electrode reconstruction and localization in patients with brain lesions. Frontiers in neural circuits, 20, 1814667. https://
BibTeX
@article{rabbani2026modu
author = {Rabbani, Haziq and Das, Ipsita and Mandal, Ayan S and Nelson, Thomas and Hadar, Peter and Hsueh, Brian and Ciordia, Roberto and Coughlin, Brian F and Peng, Emory and Cleary, Daniel R and Collins, Kelly L and Raslan, Ahmed M T and Williams, Ziv M and Choi, Bryan D and Cosgrove, Garth Rees and Dayeh, Shadi A and Jones, Pamela S and Tiwana, Harmanpreet K and Dunn, Gavin P and Richardson, R Mark and Bi, Wenya Linda and Tobochnik, Steven and Cash, Sydney S and Cahill, Daniel P and Paulk, Angelique C},
title = {{A modular and flexible pipeline for intraoperative electrode reconstruction and localization in patients with brain lesions}},
journal = {Frontiers in neural circuits},
year = {2026},
month = jun,
volume = {20},
pages = {1814667},
publisher = {Frontiers Media SA},
issn = {1662-5110},
doi = {10.3389/
url = {https://
pmid = {42358667},
pmcid = {PMC13290761}
}
RIS
TY - JOUR
AU - Rabbani, Haziq
AU - Das, Ipsita
AU - Mandal, Ayan S
AU - Nelson, Thomas
AU - Hadar, Peter
AU - Hsueh, Brian
AU - Ciordia, Roberto
AU - Coughlin, Brian F
AU - Peng, Emory
AU - Cleary, Daniel R
AU - Collins, Kelly L
AU - Raslan, Ahmed M T
AU - Williams, Ziv M
AU - Choi, Bryan D
AU - Cosgrove, Garth Rees
AU - Dayeh, Shadi A
AU - Jones, Pamela S
AU - Tiwana, Harmanpreet K
AU - Dunn, Gavin P
AU - Richardson, R Mark
AU - Bi, Wenya Linda
AU - Tobochnik, Steven
AU - Cash, Sydney S
AU - Cahill, Daniel P
AU - Paulk, Angelique C
TI - A modular and flexible pipeline for intraoperative electrode reconstruction and localization in patients with brain lesions
T2 - Frontiers in neural circuits
J2 - Front Neural Circuits
PY - 2026
DA - 2026/
VL - 20
SP - 1814667
SN - 1662-5110
PB - Frontiers Media SA
DO - 10.3389/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3389/
"type": "article-journal",
"title": "A modular and flexible pipeline for intraoperative electrode reconstruction and localization in patients with brain lesions",
"container-title": "Frontiers in neural circuits",
"author": [
{
"family": "Rabbani",
"given": "Haziq"
},
{
"family": "Das",
"given": "Ipsita"
},
{
"family": "Mandal",
"given": "Ayan S"
},
{
"family": "Nelson",
"given": "Thomas"
},
{
"family": "Hadar",
"given": "Peter"
},
{
"family": "Hsueh",
"given": "Brian"
},
{
"family": "Ciordia",
"given": "Roberto"
},
{
"family": "Coughlin",
"given": "Brian F"
},
{
"family": "Peng",
"given": "Emory"
},
{
"family": "Cleary",
"given": "Daniel R"
},
{
"family": "Collins",
"given": "Kelly L"
},
{
"family": "Raslan",
"given": "Ahmed M T"
},
{
"family": "Williams",
"given": "Ziv M"
},
{
"family": "Choi",
"given": "Bryan D"
},
{
"family": "Cosgrove",
"given": "Garth Rees"
},
{
"family": "Dayeh",
"given": "Shadi A"
},
{
"family": "Jones",
"given": "Pamela S"
},
{
"family": "Tiwana",
"given": "Harmanpreet K"
},
{
"family": "Dunn",
"given": "Gavin P"
},
{
"family": "Richardson",
"given": "R Mark"
},
{
"family": "Bi",
"given": "Wenya Linda"
},
{
"family": "Tobochnik",
"given": "Steven"
},
{
"family": "Cash",
"given": "Sydney S"
},
{
"family": "Cahill",
"given": "Daniel P"
},
{
"family": "Paulk",
"given": "Angelique C"
}
],
"container-title-short":
"volume": "20",
"page": "1814667",
"DOI": "10.3389/
"PMID": "42358667",
"PMCID": "PMC13290761",
"ISSN": "1662-5110",
"publisher": "Frontiers Media SA",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
10
]
]
}
}
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/s41586-026-10631-3 [code]
- A prognostic human brain network for diffuse midline glioma.Journal: NatureIn common: GIfTI library for MATLAB, FieldTrip, TensorFlow, 3 other tools, other condition, 4 references
- [2] doi:10.3389/frai.2026.1771088 [code]
- Few-shot deployment of pretrained MRI transformers in brain imaging tasks.Journal: Frontiers in artificial intelligenceIn common: OpenCV, NiBabel, PyTorch, 2 other tools, methods / tools, structural MRI / diffusion, 5 references
- [3] doi:10.1002/advs.76596 [code]
- DDSurfer: A Weakly-Supervised Dual-Stream Deep Learning Framework for Cortical Surface Reconstruction From Diffusion MRI.Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)In common: NiBabel, PyTorch, pandas, 1 other tool, methods / tools, structural MRI / diffusion, 5 references
- [4] doi:10.1038/s41467-026-76011-7 [code]
- Human cortex organizes dynamic co-fluctuations along the sensorimotor-association
axis. Journal: Nature communicationsIn common: GIfTI library for MATLAB, FieldTrip, OpenCV, 3 other tools, 2 references - [5] doi:10.1038/s41598-026-55397-w [code]
- Fast surface reconstruction of human brain MRI: benchmarking deep-learning based morphometry tools.Journal: Scientific reportsIn common: NiBabel, PyTorch, pandas, 1 other tool, methods / tools, structural MRI / diffusion, 5 references
- [6] doi:10.1038/s41586-026-10448-0 [code]
- Plasticity and language in the anaesthetized human hippocampus.Journal: NatureIn common: TensorFlow, PyTorch, NumPy, 4 references
- [7] doi:10.1002/alz.71649 [code]
- Postmortem brain MRI reveals differential associations of subcortical and limbic volumes with cortical thinning and neurodegenerative pathologies.Journal: Alzheimer's & dementia : the journal of the Alzheimer's AssociationIn common: OpenCV, NiBabel, PyTorch, 2 other tools, structural MRI / diffusion, other condition, 3 references
- [8] doi:10.1016/j.crmeth.2026.101473 [code]
- AmygdalaGo-BOLT for boundary-aware segmentation of the human amygdala.Journal: Cell reports methodsIn common: GIfTI library for MATLAB, FieldTrip, OpenCV, 3 other tools, methods / tools, structural MRI / diffusion
- [9] doi:10.1162/imag.a.1183 [code]
- Learning-based segmentation of diffusion-weighted MR images with arbitrary &
lt;i& gt;q& lt;/ i& gt;-space samplings. Journal: Imaging neuroscience (Cambridge, Mass.)In common: TensorFlow, NiBabel, PyTorch, 2 other tools, methods / tools, structural MRI / diffusion, 3 references - [10] doi:10.1016/j.neuroimage.2026.122171 [code]
- A conserved node degree-based backbone and flexible hub organization of brain connectome during naturalistic movie watching.Journal: NeuroImageIn common: GIfTI library for MATLAB, FieldTrip, NiBabel, 2 other tools, methods / tools, 2 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: 4 repositories of the authors' code, each at its verified commit and with its license, 194 scripts, and 3 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:3ea0e67fcf0826b0…
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.
