OSCR

Association Between Anterior Hippocampal Gyrification and Episodic Memory Performance in Neurotypical Young Adults.

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] § Materials and Methods › Hippocampal Segmentation Using HippUnfold ↔ hippunfold/workflow/scripts/seg_synthseg.py, lines 497–522 · score 0.56 · SynthSeg, UNet, network, model, HippUnfold, nn
  2. [2] § Materials and Methods › Hippocampal Segmentation Using HippUnfold ↔ nnunetv2/experiment_planning/experiment_planners/default_experiment_planner.py, lines 155–196 · score 0.50 · lower resolution, artifacts, anisotropic, smaller, voxel, 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 · 637 lines · 19 KB · MIT · 1 match

  1. #!/usr/bin/env python3
  2. """
  3. Fully isolated SynthSeg inference script for hippocampus segmentation.
  4. This script contains all necessary code and does not require local imports.
  5. Author: Mahmoud Yaser (mahmoud1yaser)
  6. """
  7. import argparse
  8. import os
  9. import time
  10. import torch
  11. import torch.nn as nn
  12. import torch.nn.functional as F
  13. import numpy as np
  14. import nibabel as nib
  15. from typing import Sequence, Tuple, Optional
  16. from types import GeneratorType as generator
  17. from cornucopia import LoadTransform
  18. from cornucopia.utils import warps # original sampling ops
  19. # utils.ensure_list equivalent
  20. def _ensure_list(x, size=None, crop=True):
  21. if not isinstance(x, (list, tuple, range)):
  22. x = [x]
  23. elif not isinstance(x, list):
  24. x = list(x)
  25. if size and len(x) < size:
  26. x += x[-1:] * (size - len(x))
  27. if size and crop:
  28. x = x[:size]
  29. return x
  30. # === Modules (subset of learn2synth.modules) ===
  31. class ConvBlockBase(nn.Sequential):
  32. """Original ConvBlockBase (order auto-fix, norm channel inference)."""
  33. def __init__(
  34. self,
  35. ndim,
  36. in_channels,
  37. out_channels,
  38. opt_conv=None,
  39. activation="LeakyReLU",
  40. norm=None,
  41. dropout=False,
  42. order="cand",
  43. ):
  44. super().__init__()
  45. self.order = self._fix_order(order)
  46. conv_cls = getattr(nn, f"Conv{ndim}d")
  47. opt_conv = dict(opt_conv or {})
  48. opt_conv.setdefault("kernel_size", 3)
  49. opt_conv.setdefault("bias", True)
  50. opt_conv.setdefault("padding", "same")
  51. conv = conv_cls(in_channels, out_channels, **opt_conv)
  52. act = self._make_activation(activation)
  53. drop = self._make_dropout(dropout, ndim)
  54. norm_mod = self._make_norm(norm, ndim, conv, self.order)
  55. for ch in self.order:
  56. if ch == "n" and norm_mod is not None:
  57. self.add_module("norm", norm_mod)
  58. elif ch == "c":
  59. self.add_module("conv", conv)
  60. elif ch == "d" and drop is not None:
  61. self.add_module("dropout", drop)
  62. elif ch == "a" and act is not None:
  63. self.add_module("activation", act)
  64. @staticmethod
  65. def _fix_order(order):
  66. order = order.lower()
  67. for ch in "ncda":
  68. if ch not in order:
  69. order += ch
  70. return order
  71. @staticmethod
  72. def _make_activation(activation):
  73. if not activation:
  74. return None
  75. if isinstance(activation, str):
  76. activation = getattr(nn, activation)
  77. return activation() if isinstance(activation, type) else activation
  78. @staticmethod
  79. def _make_dropout(dropout, ndim):
  80. if not dropout:
  81. return None
  82. if isinstance(dropout, (int, float)):
  83. return getattr(nn, f"Dropout{ndim}d")(p=float(dropout))
  84. return dropout() if isinstance(dropout, type) else dropout
  85. @staticmethod
  86. def _make_norm(norm, ndim, conv, order):
  87. if not norm:
  88. return None
  89. if isinstance(norm, bool) and norm:
  90. norm = "batch"
  91. idx_n = order.index("n")
  92. idx_c = order.index("c")
  93. in_ch = conv.in_channels if idx_n < idx_c else conv.out_channels
  94. if isinstance(norm, str):
  95. if "instance" in norm.lower():
  96. norm_cls = getattr(nn, f"InstanceNorm{ndim}d")
  97. return norm_cls(in_ch)
  98. if "batch" in norm.lower():
  99. norm_cls = getattr(nn, f"BatchNorm{ndim}d")
  100. return norm_cls(in_ch)
  101. if "layer" in norm.lower():
  102. return nn.GroupNorm(in_ch, in_ch)
  103. return norm() if isinstance(norm, type) else norm
  104. class ConvBlock(ConvBlockBase):
  105. def __init__(
  106. self,
  107. ndim,
  108. in_channels,
  109. out_channels,
  110. kernel_size=3,
  111. bias=True,
  112. activation="LeakyReLU",
  113. norm="instance",
  114. dropout=0,
  115. order="cand",
  116. ):
  117. super().__init__(
  118. ndim,
  119. in_channels,
  120. out_channels,
  121. opt_conv=dict(kernel_size=kernel_size, bias=bias, padding="same"),
  122. activation=activation,
  123. norm=norm,
  124. dropout=dropout,
  125. order=order,
  126. )
  127. class ConvGroup(nn.Sequential):
  128. """Original ConvGroup logic (handles in/mid/out transitions, residual)."""
  129. def __init__(
  130. self,
  131. ndim,
  132. in_channels,
  133. mid_channels=None,
  134. out_channels=None,
  135. kernel_size=3,
  136. nb_conv=2,
  137. residual=False,
  138. activation="LeakyReLU",
  139. norm="instance",
  140. dropout=0,
  141. order="cand",
  142. ):
  143. self.residual = residual
  144. mid_channels = mid_channels or in_channels
  145. out_channels = out_channels or mid_channels
  146. nb_conv = (
  147. nb_conv - (in_channels != mid_channels) - (out_channels != mid_channels)
  148. )
  149. layers = []
  150. if in_channels != mid_channels:
  151. layers.append(
  152. ConvBlock(
  153. ndim,
  154. in_channels,
  155. mid_channels,
  156. kernel_size,
  157. activation=activation,
  158. norm=norm,
  159. dropout=dropout,
  160. order=order,
  161. )
  162. )
  163. for _ in range(nb_conv):
  164. layers.append(
  165. ConvBlock(
  166. ndim,
  167. mid_channels,
  168. mid_channels,
  169. kernel_size,
  170. activation=activation,
  171. norm=norm,
  172. dropout=dropout,
  173. order=order,
  174. )
  175. )
  176. if out_channels != mid_channels:
  177. layers.append(
  178. ConvBlock(
  179. ndim,
  180. mid_channels,
  181. out_channels,
  182. kernel_size,
  183. activation=activation,
  184. norm=norm,
  185. dropout=dropout,
  186. order=order,
  187. )
  188. )
  189. super().__init__(*layers)
  190. def forward(self, x):
  191. if self.residual:
  192. for layer in self:
  193. ident = x
  194. x = layer(x)
  195. if x.shape[1] == ident.shape[1]:
  196. x = x + ident
  197. return x
  198. return super().forward(x)
  199. class Downsample(nn.Module):
  200. """Original warps-based Downsample."""
  201. def __init__(self, factor=2, anchor="center"):
  202. super().__init__()
  203. self.factor = factor
  204. self.anchor = anchor
  205. def forward(self, x, shape=None):
  206. factor = None if shape else self.factor
  207. return warps.downsample(x, factor, shape, self.anchor)
  208. class Upsample(nn.Module):
  209. """Original warps-based Upsample."""
  210. def __init__(self, factor=2, anchor="center"):
  211. super().__init__()
  212. self.factor = factor
  213. self.anchor = anchor
  214. def forward(self, x, shape=None):
  215. factor = None if shape else self.factor
  216. return warps.upsample(x, factor, shape, self.anchor)
  217. class ConvBlockDown(nn.Sequential):
  218. """Original ConvBlockDown (downsample + conv group)."""
  219. def __init__(
  220. self,
  221. ndim,
  222. in_channels,
  223. out_channels,
  224. factor=2,
  225. kernel_size=3,
  226. activation="LeakyReLU",
  227. norm="instance",
  228. dropout=0,
  229. order="cand",
  230. ):
  231. super().__init__()
  232. self.downsample = Downsample(factor=factor)
  233. self.conv = ConvBlock(
  234. ndim,
  235. in_channels,
  236. out_channels,
  237. kernel_size=kernel_size,
  238. activation=activation,
  239. norm=norm,
  240. dropout=dropout,
  241. order=order,
  242. )
  243. def forward(self, x):
  244. return self.conv(self.downsample(x))
  245. class ConvBlockUp(nn.Module):
  246. """Original ConvBlockUp (conv + upsample + skip combine)."""
  247. def __init__(
  248. self,
  249. ndim,
  250. in_channels,
  251. out_channels,
  252. factor=2,
  253. kernel_size=3,
  254. activation="LeakyReLU",
  255. norm="instance",
  256. dropout=0,
  257. order="cand",
  258. combine="cat",
  259. ):
  260. super().__init__()
  261. self.conv = ConvBlock(
  262. ndim,
  263. in_channels,
  264. out_channels,
  265. kernel_size=kernel_size,
  266. activation=activation,
  267. norm=norm,
  268. dropout=dropout,
  269. order=order,
  270. )
  271. self.upsample = Upsample(factor=factor)
  272. self.combine = combine
  273. def forward(self, x, skip=None):
  274. shape = None if skip is None else skip.shape[2:]
  275. x = self.conv(x)
  276. x = self.upsample(x, shape)
  277. if skip is not None:
  278. x = torch.cat([x, skip], dim=1) if self.combine == "cat" else x + skip
  279. return x
  280. class EncoderBlock(nn.Sequential):
  281. def __init__(self, down, conv):
  282. super().__init__()
  283. self.down = down
  284. self.conv = conv
  285. def forward(self, x):
  286. return self.conv(self.down(x))
  287. class DecoderBlock(nn.Sequential):
  288. def __init__(self, conv, up):
  289. super().__init__()
  290. self.conv = conv
  291. self.up = up
  292. def forward(self, x, skip=None):
  293. x = self.conv(x)
  294. return self.up(x, skip)
  295. class UNet(nn.Module):
  296. """Original-style UNet (encoder/decoder pyramids with warps sampling)."""
  297. class defaults:
  298. nb_levels = 6
  299. nb_features = (16, 24, 32, 48, 64, 96, 128, 192, 256, 320)
  300. nb_conv = 2
  301. kernel_size = 3
  302. activation = "LeakyReLU"
  303. norm = "instance"
  304. dropout = 0
  305. residual = False
  306. factor = 2
  307. use_strides = False
  308. order = "cand"
  309. combine = "cat"
  310. def __init__(self, ndim, **kwargs):
  311. super().__init__()
  312. # load defaults
  313. for k, v in UNet.defaults.__dict__.items():
  314. if not k.startswith("_"):
  315. kwargs.setdefault(k, v)
  316. for k, v in kwargs.items():
  317. setattr(self, k, v)
  318. self.ndim = ndim
  319. self.nb_features = _ensure_list(self.nb_features, self.nb_levels)
  320. self.in_channels = self.out_channels = self.nb_features[0]
  321. # encoder
  322. i, o = self.nb_features[0], self.nb_features[0]
  323. encoder = [self._conv_block(i, o)]
  324. for n in range(1, len(self.nb_features) - 1):
  325. i, o = self.nb_features[n - 1], self.nb_features[n]
  326. encoder.append(EncoderBlock(self._down_block(i, o), self._conv_block(o)))
  327. if self.nb_levels > 1:
  328. i, o = self.nb_features[-2], self.nb_features[-1]
  329. encoder.append(self._down_block(i, o))
  330. self.encoder = nn.Sequential(*encoder)
  331. # decoder
  332. decoder = []
  333. for n in range(len(self.nb_features) - 1):
  334. i, o = self.nb_features[-n - 1], self.nb_features[-n - 2]
  335. m = i
  336. if self.combine == "cat" and n > 0:
  337. i *= 2
  338. decoder.append(DecoderBlock(self._conv_block(i, m), self._up_block(m, o)))
  339. i, o = self.nb_features[0], self.nb_features[0]
  340. if self.nb_levels > 1 and self.combine == "cat":
  341. i *= 2
  342. decoder.append(self._conv_block(i, o))
  343. self.decoder = nn.Sequential(*decoder)
  344. def _conv_block(self, i, o=None):
  345. return ConvGroup(
  346. self.ndim,
  347. i,
  348. o or i,
  349. kernel_size=self.kernel_size,
  350. nb_conv=self.nb_conv,
  351. activation=self.activation,
  352. norm=self.norm,
  353. dropout=self.dropout,
  354. order=self.order,
  355. residual=self.residual,
  356. )
  357. def _down_block(self, i, o=None):
  358. return ConvBlockDown(
  359. self.ndim,
  360. i,
  361. o or i,
  362. factor=self.factor,
  363. kernel_size=1,
  364. activation=self.activation,
  365. norm=self.norm,
  366. dropout=self.dropout,
  367. order=self.order,
  368. )
  369. def _up_block(self, i, o=None):
  370. return ConvBlockUp(
  371. self.ndim,
  372. i,
  373. o or i,
  374. factor=self.factor,
  375. kernel_size=1,
  376. activation=self.activation,
  377. norm=self.norm,
  378. dropout=self.dropout,
  379. order=self.order,
  380. combine=self.combine,
  381. )
  382. def forward(self, x):
  383. nb_levels = len(self.encoder)
  384. if any(s < 2**nb_levels for s in x.shape[2:]):
  385. raise ValueError(
  386. f"UNet with {nb_levels} levels requires input spatial dims >= {2**nb_levels}"
  387. )
  388. skips = []
  389. for layer in self.encoder:
  390. x = layer(x)
  391. skips.append(x)
  392. x = skips.pop(-1)
  393. for n in range(len(self.decoder) - 1):
  394. x = self.decoder[n].conv(x)
  395. x = self.decoder[n].up(x, skips.pop(-1))
  396. x = self.decoder[-1](x)
  397. return x
  398. class SegNet(nn.Sequential):
  399. def __init__(
  400. self,
  401. ndim,
  402. in_channels,
  403. out_channels,
  404. kernel_size=3,
  405. activation="Softmax",
  406. backbone="UNet",
  407. kwargs_backbone=None,
  408. ):
  409. if isinstance(backbone, str):
  410. backbone_cls = globals()[backbone]
  411. backbone = backbone_cls(ndim, **(kwargs_backbone or {}))
  412. act = None
  413. if (
  414. activation
  415. and isinstance(activation, str)
  416. and activation.lower() == "softmax"
  417. ):
  418. act = nn.Softmax(1)
  419. feat = ConvBlock(
  420. ndim,
  421. in_channels,
  422. backbone.in_channels,
  423. kernel_size=kernel_size,
  424. activation=None,
  425. norm=None,
  426. )
  427. pred = ConvBlock(
  428. ndim,
  429. backbone.out_channels,
  430. out_channels,
  431. kernel_size=1,
  432. activation=act,
  433. norm=None,
  434. )
  435. super().__init__(feat, backbone, pred)
  436. class SynthSeg(nn.Module):
  437. def __init__(self, segnet):
  438. super().__init__()
  439. self.segnet = segnet
  440. def forward(self, x):
  441. return self.segnet(x)
  442. class Model(nn.Module):
  443. def __init__(
  444. self,
  445. ndim: int = 3,
  446. nb_classes: int = 9,
  447. seg_nb_levels: int = 6,
  448. seg_features: Sequence[int] = (16, 24, 32, 48, 64, 96),
  449. seg_activation: str = "LeakyReLU",
  450. seg_nb_conv: int = 2,
  451. seg_norm: Optional[str] = "instance",
  452. **kwargs,
  453. ):
  454. super().__init__()
  455. backbone = UNet(
  456. ndim,
  457. nb_levels=seg_nb_levels,
  458. nb_features=seg_features,
  459. nb_conv=seg_nb_conv,
  460. activation=seg_activation,
  461. norm=seg_norm,
  462. )
  463. segnet = SegNet(ndim, 1, nb_classes, backbone=backbone, activation=None)
  464. self.network = SynthSeg(segnet)
  465. def forward(self, x):
  466. return self.network(x)
  467. # add Real synth patch class and apply after instantiation
  468. class Real(torch.nn.Module):
  469. def __init__(self, synth):
  470. super().__init__()
  471. self.synth = synth
  472. def forward(self, slab, img, lab):
  473. mask = (lab >= 1001) & (lab <= 1008)
  474. new_lab = torch.zeros_like(lab)
  475. new_lab[mask] = lab[mask] - 1000
  476. return img, new_lab, img, new_lab
  477. # ==============================================================================
  478. # MAIN SCRIPT LOGIC
  479. # ==============================================================================
  480. def load_nifti(path, device="cpu"):
  481. """Load NIfTI file using cornucopia LoadTransform - the working method."""
  482. load_transform = LoadTransform(ndim=3, dtype=torch.float32, device=device)
  483. tensor = load_transform(path)
  484. print(f"Loaded image - shape: {tensor.shape}, dtype: {tensor.dtype}")
  485. print(f"Data range: [{tensor.min():.6f}, {tensor.max():.6f}]")
  486. return tensor
  487. def save_nifti(pred, output_path, reference_path):
  488. """Save prediction as NIfTI file - matching working inference.py exactly"""
  489. # Get affine from reference image if available
  490. affine = np.eye(4)
  491. if reference_path and os.path.exists(reference_path):
  492. try:
  493. reference_img = nib.load(reference_path)
  494. affine = reference_img.affine
  495. except Exception as e:
  496. print(f"Warning: Could not load affine from {reference_path}: {e}")
  497. # Convert to numpy and ensure correct data type
  498. pred_np = pred.cpu().numpy()
  499. # CRITICAL: Apply the same processing as in the working inference.py
  500. # Flip over x-axis (axis=0) to maintain same alignment as input image
  501. if pred_np.shape and pred_np.shape[0] > 0:
  502. pred_np = np.flip(pred_np, axis=0)
  503. # Create NIfTI image with the same affine as the reference
  504. nii_img = nib.Nifti1Image(pred_np.astype(np.uint8), affine)
  505. # Save as NIfTI
  506. nib.save(nii_img, output_path)
  507. def main():
  508. start_total_time = time.time()
  509. parser = argparse.ArgumentParser(
  510. description="SynthSeg hippocampus segmentation inference"
  511. )
  512. parser.add_argument("input", help="Input NIfTI file (.nii or .nii.gz)")
  513. parser.add_argument("checkpoint", help="Model checkpoint (.ckpt file)")
  514. parser.add_argument(
  515. "-o", "--output", required=True, help="Output segmentation file"
  516. )
  517. parser.add_argument("--device", default="auto", choices=["auto", "cpu", "cuda"])
  518. args = parser.parse_args()
  519. if not os.path.exists(args.input):
  520. raise FileNotFoundError(f"Input file not found: {args.input}")
  521. if not os.path.exists(args.checkpoint):
  522. raise FileNotFoundError(f"Checkpoint file not found: {args.checkpoint}")
  523. device = torch.device(
  524. "cuda"
  525. if (args.device == "auto" and torch.cuda.is_available())
  526. else (args.device if args.device != "auto" else "cpu")
  527. )
  528. print(f"Using device: {device}")
  529. output_dir = os.path.dirname(args.output)
  530. if output_dir:
  531. os.makedirs(output_dir, exist_ok=True)
  532. print("Loading original model...")
  533. model = Model()
  534. # patch synth like original inference
  535. if hasattr(model.network, "synth"):
  536. model.network.synth = Real(getattr(model.network, "synth", None))
  537. first_param = next(model.parameters()).clone().detach()
  538. checkpoint = torch.load(args.checkpoint, map_location="cpu")
  539. if "state_dict" in checkpoint:
  540. model.load_state_dict(checkpoint["state_dict"])
  541. print("Loaded state_dict from checkpoint")
  542. else:
  543. model.load_state_dict(checkpoint)
  544. print("Loaded checkpoint directly")
  545. if torch.allclose(first_param, next(model.parameters())):
  546. print("WARNING: parameters unchanged after loading checkpoint")
  547. model.to(device).eval()
  548. print("Loading input image...")
  549. img = LoadTransform(ndim=3, dtype=torch.float32, device=device)(args.input)
  550. if img.dim() == 4:
  551. img = img.unsqueeze(0) # (1,1,D,H,W)
  552. else:
  553. raise ValueError(f"Unexpected input shape {img.shape}")
  554. start_inference_time = time.time()
  555. with torch.no_grad():
  556. pred_logits = model(img)
  557. inference_time = time.time() - start_inference_time
  558. pred = pred_logits.argmax(dim=1) if pred_logits.shape[1] > 1 else pred_logits
  559. pred = pred[0]
  560. print(f"Model inference time: {inference_time:.3f} s")
  561. save_nifti(pred, args.output, args.input)
  562. total_time = time.time() - start_total_time
  563. print("Saved segmentation:", args.output)
  564. print(f"Total processing time: {total_time:.3f} s")
  565. if __name__ == "__main__":
  566. main()

seg_synthseg.py at commit 544fdb6, under MIT · at the source

Overview

Authors: Nima Talaei1,2, Jordan DeKraker3, Bradley G. Karat1,2, Ali R. Khan1,2,4,5, Stefan Köhler1,6
  1. Western Institute for Neuroscience, Centre for Brain and Mind, University of Western Ontario London Ontario Canada
  2. Robarts Research Institute, Schulich School of Medicine and Dentistry, University of Western Ontario London Ontario Canada
  3. McConnell Brain Imaging Centre, Montreal Neurological Institute and Hospital, McGill University, Montreal Quebec Canada
  4. School of Biomedical Engineering, the University of Western Ontario London Canada
  5. Department of Medical Biophysics, Schulich School of Medicine and Dentistry The University of Western Ontario London Canada
  6. Department of Psychology University of Western Ontario London Ontario Canada
Journal: Hippocampus, volume 36, issue 5, article e70124
Dates: received 14 November 2025; accepted 10 August 2026; published online 24 August 2026; in print September 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1002/hipo.70124 · PMID 42635459 · PMCID PMC13501942 · OpenAlex W7204104652
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: structural MRI / diffusion (modality), human (organism), healthy (population), cognitive (subfield)
Methods: Statistics, Machine learning, Connectivity
Keywords: episodic memory, gyrification, hippocampus, MRI, surface‐based morphometry
MeSH: Hippocampus*, Memory, Episodic*, Adolescent, Adult, Female, Humans, Image Processing, Computer-Assisted, Magnetic Resonance Imaging, Male, Neuropsychological Tests, Organ Size, Young Adult (* major topic)
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Canada Research Chairs (CRC‐2023‐00087); Natural Sciences and Engineering Research Council of Canada (RGPIN‐2023‐05558, RGPIN‐2026‐05465); Canada Foundation for Innovation (CFI) John R. Evans Leaders Fund (Project #37427); Canada First Research Excellence Fund; Brain Canada Foundation
Citations: not cited yet (Europe PMC); 53 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.

khanlab/hippunfold

License: MIT
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 544fdb6e37eb42567b1ad3c7f4901a180bdb19b8, 15 June 2026
Languages: Python (27), Shell (4), MATLAB (1)
Size: 331 files, 32 scripts
Software Heritage: archived
Found in: “Data Availability Statement”
Holds: README, license file, environment (Dockerfile, poetry.lock, pyproject.toml, docs/requirements.txt), continuous integration, documentation
Not found: CITATION.cff, tests
Tools: NumPy (16 files), NiBabel (15 files), Matplotlib (6 files), SciPy (4 files), Nilearn (3 files), pandas (3 files), GIfTI library for MATLAB (1 file), Nighres (1 file), PyTorch (1 file), seaborn (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
34 files

mic-dkfz/nnunet

License: Apache-2.0
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 202f6baa0adc2ef5f7b615df19cc4da970412cc0, 25 September 2026
Languages: Python (216), Shell (7)
Size: 303 files, 223 scripts
Software Heritage: archived
Found in: the text, “Training a New Segmentation Model”
Holds: README, license file, environment (pyproject.toml, setup.py), tests, continuous integration, documentation
Not found: CITATION.cff
Tools: nnU-Net (125 files), NumPy (73 files), PyTorch (56 files), SimpleITK (10 files), scikit-image (6 files), SciPy (5 files), NiBabel (4 files), pandas (4 files), tifffile (3 files), Matplotlib (2 files), scikit-learn (1 file), seaborn (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
225 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;
  • 255 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

Code and data availability statement

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

Read it in the paper: doi.org/10.1002/hipo.70124.

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

  • Publisher: n/a → Wiley

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 5 keywords, 12 MeSH terms, 5 funders, 53 references.

Cite

This paper

Talaei, N., DeKraker, J., Karat, B. G., Khan, A. R., & Köhler, S. (2026). Association Between Anterior Hippocampal Gyrification and Episodic Memory Performance in Neurotypical Young Adults. Hippocampus, 36(5), e70124. https://doi.org/10.1002/hipo.70124

BibTeX

@article{talaei2026association,
author = {Talaei, Nima and DeKraker, Jordan and Karat, Bradley G. and Khan, Ali R. and Köhler, Stefan},
title = {{Association Between Anterior Hippocampal Gyrification and Episodic Memory Performance in Neurotypical Young Adults}},
journal = {Hippocampus},
year = {2026},
month = sep,
volume = {36},
number = {5},
pages = {e70124},
publisher = {Wiley},
issn = {1050-9631},
doi = {10.1002/hipo.70124},
url = {https://doi.org/10.1002/hipo.70124},
pmid = {42635459},
pmcid = {PMC13501942}
}

RIS

TY - JOUR
AU - Talaei, Nima
AU - DeKraker, Jordan
AU - Karat, Bradley G.
AU - Khan, Ali R.
AU - Köhler, Stefan
TI - Association Between Anterior Hippocampal Gyrification and Episodic Memory Performance in Neurotypical Young Adults
T2 - Hippocampus
J2 - Hippocampus
PY - 2026
DA - 2026/09/01
VL - 36
IS - 5
SP - e70124
SN - 1050-9631
PB - Wiley
DO - 10.1002/hipo.70124
UR - https://doi.org/10.1002/hipo.70124
LA - en
ER -

CSL-JSON

{
"id": "10.1002/hipo.70124",
"type": "article-journal",
"title": "Association Between Anterior Hippocampal Gyrification and Episodic Memory Performance in Neurotypical Young Adults",
"container-title": "Hippocampus",
"author": [
{
"family": "Talaei",
"given": "Nima"
},
{
"family": "DeKraker",
"given": "Jordan"
},
{
"family": "Karat",
"given": "Bradley G."
},
{
"family": "Khan",
"given": "Ali R."
},
{
"family": "Köhler",
"given": "Stefan"
}
],
"container-title-short": "Hippocampus",
"volume": "36",
"issue": "5",
"page": "e70124",
"DOI": "10.1002/hipo.70124",
"PMID": "42635459",
"PMCID": "PMC13501942",
"ISSN": "1050-9631",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/hipo.70124",
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
1
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.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 Association
In common: Nighres, nnU-Net, SimpleITK, 9 other tools, structural MRI / diffusion, 1 reference
[2] doi:10.1186/s12880-026-02335-x [code]
Automatic lateral ventricle and choroid plexus segmentation method in infant brain MR images.
Journal: BMC medical imaging
In common: nnU-Net, SimpleITK, tifffile, 9 other tools, structural MRI / diffusion, 2 references
[3] doi:10.3389/fmed.2026.1875760 [code]
Adaptive multi-stage domain unlearning for white-matter lesion segmentation.
Journal: Frontiers in medicine
In common: nnU-Net, SimpleITK, tifffile, 9 other tools, structural MRI / diffusion, 2 references
[4] doi:10.1016/j.adro.2026.102092 [code]
Effect of Anatomic Contextual Information on the Performance of a Convolutional Neural Network Tasked With Brain Metastasis Detection.
Journal: Advances in radiation oncology
In common: nnU-Net, SimpleITK, tifffile, 9 other tools, 2 references
[5] doi:10.21037/qims-2026-0792 [code]
An nnU-Net-based framework with adaptive feature representation for 3D brain tumor segmentation.
Journal: Quantitative imaging in medicine and surgery
In common: nnU-Net, SimpleITK, tifffile, 9 other tools, structural MRI / diffusion, 1 reference
[6] doi:10.3389/fnins.2026.1870124 [code]
An end-to-end pipeline for automated fetal brain segmentation and biometry from 3D SSFP MRI.
Journal: Frontiers in neuroscience
In common: nnU-Net, SimpleITK, tifffile, 9 other tools, structural MRI / diffusion, 1 reference
[7] doi:10.1007/s12021-026-09817-x [code]
Circle of Willis-Guided Localization for Simultaneous Detection and Classification of Large Vessel Occlusions in Brain CTA.
Journal: Neuroinformatics
In common: nnU-Net, SimpleITK, tifffile, 9 other tools, 1 reference
[8] doi:10.64898/2026.07.15.26357954 [code]
Portable Ultra-Low Field MRI Deep-Learning Algorithms for White Matter Lesion Segmentation Improve Accuracy and Reflect Clinical Disability in Multiple Sclerosis
Journal: medRxiv (preprint)
In common: nnU-Net, SimpleITK, tifffile, 9 other tools, structural MRI / diffusion
[9] doi:10.1136/jnnp-2025-335884 [code]
Diffusivity anisotropy signature of slowly expanding lesions predicts progression independent of relapse activity in multiple sclerosis.
Journal: Journal of neurology, neurosurgery, and psychiatry
In common: nnU-Net, SimpleITK, tifffile, 9 other tools, structural MRI / diffusion
[10] doi:10.1038/s41598-026-55397-w [code]
Fast surface reconstruction of human brain MRI: benchmarking deep-learning based morphometry tools.
Journal: Scientific reports
In common: Nighres, SimpleITK, scikit-image, 6 other tools, structural MRI / diffusion, 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.

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.