AmygdalaGo-BOLT for boundary-aware segmentation of the human amygdala.
The 2 matches
- [1] § STAR★Methods › Method details › Model architecture › Multi-granularity adaptive collaboration ↔ H3/AmygdalaGo-BOLT/model/dim2/swin_unet.py, lines 935–1047 · score 0.62 · transformation layer, layer normalization, expanded, query, depth, bias
- [2] § STAR★Methods › Method details › Model architecture › Multi-granularity adaptive collaboration ↔ H3/AmygdalaGo-BOLT/model/dim3/utnetv2_utils.py, lines 12–77 · score 0.54 · semantic map, feature map, SoftMax, fusion, module, amygdala
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 · 1,688 lines · 36 KB · GPL-2.0 · 1 match
- # code is borrowed from the original repo and fit into our training framework
- # https://github.com/HuCaoFighting/Swin-Unet/tree/4375a8d6fa7d9c38184c5d3194db990a00a3e912
- from __future__ import absolute_import
- from __future__ import division
- from __future__ import print_function
- import torch
- import torch.nn as nn
- import torch.utils.checkpoint as checkpoint
- from einops import rearrange
- from timm.models.layers import DropPath, to_2tuple, trunc_normal_
- import copy
- import logging
- import math
- from os.path import join as pjoin
- import numpy as np
- from torch.nn import CrossEntropyLoss, Dropout, Softmax, Linear, Conv2d, LayerNorm
- from torch.nn.modules.utils import _pair
- from scipy import ndimage
- class Mlp(nn.Module):
- def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.):
- super().__init__()
- out_features = out_features or in_features
- hidden_features = hidden_features or in_features
- self.fc1 = nn.Linear(in_features, hidden_features)
- self.act = act_layer()
- self.fc2 = nn.Linear(hidden_features, out_features)
- self.drop = nn.Dropout(drop)
- def forward(self, x):
- x = self.fc1(x)
- x = self.act(x)
- x = self.drop(x)
- x = self.fc2(x)
- x = self.drop(x)
- return x
- def window_partition(x, window_size):
- """
- Args:
- x: (B, H, W, C)
- window_size (int): window size
- Returns:
- windows: (num_windows*B, window_size, window_size, C)
- """
- B, H, W, C = x.shape
- x = x.view(B, H // window_size, window_size, W // window_size, window_size, C)
- windows = x.permute(0, 1, 3, 2, 4, 5).contiguous().view(-1, window_size, window_size, C)
- return windows
- def window_reverse(windows, window_size, H, W):
- """
- Args:
- windows: (num_windows*B, window_size, window_size, C)
- window_size (int): Window size
- H (int): Height of image
- W (int): Width of image
- Returns:
- x: (B, H, W, C)
- """
- B = int(windows.shape[0] / (H * W / window_size / window_size))
- x = windows.view(B, H // window_size, W // window_size, window_size, window_size, -1)
- x = x.permute(0, 1, 3, 2, 4, 5).contiguous().view(B, H, W, -1)
- return x
- class WindowAttention(nn.Module):
- r""" Window based multi-head self attention (W-MSA) module with relative position bias.
- It supports both of shifted and non-shifted window.
- Args:
- dim (int): Number of input channels.
- window_size (tuple[int]): The height and width of the window.
- num_heads (int): Number of attention heads.
- qkv_bias (bool, optional): If True, add a learnable bias to query, key, value. Default: True
- qk_scale (float | None, optional): Override default qk scale of head_dim ** -0.5 if set
- attn_drop (float, optional): Dropout ratio of attention weight. Default: 0.0
- proj_drop (float, optional): Dropout ratio of output. Default: 0.0
- """
- def __init__(self, dim, window_size, num_heads, qkv_bias=True, qk_scale=None, attn_drop=0., proj_drop=0.):
- super().__init__()
- self.dim = dim
- self.window_size = window_size # Wh, Ww
- self.num_heads = num_heads
- head_dim = dim // num_heads
- self.scale = qk_scale or head_dim ** -0.5
- # define a parameter table of relative position bias
- self.relative_position_bias_table = nn.Parameter(
- torch.zeros((2 * window_size[0] - 1) * (2 * window_size[1] - 1), num_heads)) # 2*Wh-1 * 2*Ww-1, nH
- # get pair-wise relative position index for each token inside the window
- coords_h = torch.arange(self.window_size[0])
- coords_w = torch.arange(self.window_size[1])
- coords = torch.stack(torch.meshgrid([coords_h, coords_w])) # 2, Wh, Ww
- coords_flatten = torch.flatten(coords, 1) # 2, Wh*Ww
- relative_coords = coords_flatten[:, :, None] - coords_flatten[:, None, :] # 2, Wh*Ww, Wh*Ww
- relative_coords = relative_coords.permute(1, 2, 0).contiguous() # Wh*Ww, Wh*Ww, 2
- relative_coords[:, :, 0] += self.window_size[0] - 1 # shift to start from 0
- relative_coords[:, :, 1] += self.window_size[1] - 1
- relative_coords[:, :, 0] *= 2 * self.window_size[1] - 1
- relative_position_index = relative_coords.sum(-1) # Wh*Ww, Wh*Ww
- self.register_buffer("relative_position_index", relative_position_index)
- self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
- self.attn_drop = nn.Dropout(attn_drop)
- self.proj = nn.Linear(dim, dim)
- self.proj_drop = nn.Dropout(proj_drop)
- trunc_normal_(self.relative_position_bias_table, std=.02)
- self.softmax = nn.Softmax(dim=-1)
- def forward(self, x, mask=None):
- """
- Args:
- x: input features with shape of (num_windows*B, N, C)
- mask: (0/-inf) mask with shape of (num_windows, Wh*Ww, Wh*Ww) or None
- """
- B_, N, C = x.shape
- qkv = self.qkv(x).reshape(B_, N, 3, self.num_heads, C // self.num_heads).permute(2, 0, 3, 1, 4)
- q, k, v = qkv[0], qkv[1], qkv[2] # make torchscript happy (cannot use tensor as tuple)
- q = q * self.scale
- attn = (q @ k.transpose(-2, -1))
- relative_position_bias = self.relative_position_bias_table[self.relative_position_index.view(-1)].view(
- self.window_size[0] * self.window_size[1], self.window_size[0] * self.window_size[1], -1) # Wh*Ww,Wh*Ww,nH
- relative_position_bias = relative_position_bias.permute(2, 0, 1).contiguous() # nH, Wh*Ww, Wh*Ww
- attn = attn + relative_position_bias.unsqueeze(0)
- if mask is not None:
- nW = mask.shape[0]
- attn = attn.view(B_ // nW, nW, self.num_heads, N, N) + mask.unsqueeze(1).unsqueeze(0)
- attn = attn.view(-1, self.num_heads, N, N)
- attn = self.softmax(attn)
- else:
- attn = self.softmax(attn)
- attn = self.attn_drop(attn)
- x = (attn @ v).transpose(1, 2).reshape(B_, N, C)
- x = self.proj(x)
- x = self.proj_drop(x)
- return x
- def extra_repr(self) -> str:
- return f'dim={self.dim}, window_size={self.window_size}, num_heads={self.num_heads}'
- def flops(self, N):
- # calculate flops for 1 window with token length of N
- flops = 0
- # qkv = self.qkv(x)
- flops += N * self.dim * 3 * self.dim
- # attn = (q @ k.transpose(-2, -1))
- flops += self.num_heads * N * (self.dim // self.num_heads) * N
- # x = (attn @ v)
- flops += self.num_heads * N * N * (self.dim // self.num_heads)
- # x = self.proj(x)
- flops += N * self.dim * self.dim
- return flops
- class SwinTransformerBlock(nn.Module):
- r""" Swin Transformer Block.
- Args:
- dim (int): Number of input channels.
- input_resolution (tuple[int]): Input resulotion.
- num_heads (int): Number of attention heads.
- window_size (int): Window size.
- shift_size (int): Shift size for SW-MSA.
- mlp_ratio (float): Ratio of mlp hidden dim to embedding dim.
- qkv_bias (bool, optional): If True, add a learnable bias to query, key, value. Default: True
- qk_scale (float | None, optional): Override default qk scale of head_dim ** -0.5 if set.
- drop (float, optional): Dropout rate. Default: 0.0
- attn_drop (float, optional): Attention dropout rate. Default: 0.0
- drop_path (float, optional): Stochastic depth rate. Default: 0.0
- act_layer (nn.Module, optional): Activation layer. Default: nn.GELU
- norm_layer (nn.Module, optional): Normalization layer. Default: nn.LayerNorm
- """
- def __init__(self, dim, input_resolution, num_heads, window_size=7, shift_size=0,
- mlp_ratio=4., qkv_bias=True, qk_scale=None, drop=0., attn_drop=0., drop_path=0.,
- act_layer=nn.GELU, norm_layer=nn.LayerNorm):
- super().__init__()
- self.dim = dim
- self.input_resolution = input_resolution
- self.num_heads = num_heads
- self.window_size = window_size
- self.shift_size = shift_size
- self.mlp_ratio = mlp_ratio
- if min(self.input_resolution) <= self.window_size:
- # if window size is larger than input resolution, we don't partition windows
- self.shift_size = 0
- self.window_size = min(self.input_resolution)
- assert 0 <= self.shift_size < self.window_size, "shift_size must in 0-window_size"
- self.norm1 = norm_layer(dim)
- self.attn = WindowAttention(
- dim, window_size=to_2tuple(self.window_size), num_heads=num_heads,
- qkv_bias=qkv_bias, qk_scale=qk_scale, attn_drop=attn_drop, proj_drop=drop)
- self.drop_path = DropPath(drop_path) if drop_path > 0. else nn.Identity()
- self.norm2 = norm_layer(dim)
- mlp_hidden_dim = int(dim * mlp_ratio)
- self.mlp = Mlp(in_features=dim, hidden_features=mlp_hidden_dim, act_layer=act_layer, drop=drop)
- if self.shift_size > 0:
- # calculate attention mask for SW-MSA
- H, W = self.input_resolution
- img_mask = torch.zeros((1, H, W, 1)) # 1 H W 1
- h_slices = (slice(0, -self.window_size),
- slice(-self.window_size, -self.shift_size),
- slice(-self.shift_size, None))
- w_slices = (slice(0, -self.window_size),
- slice(-self.window_size, -self.shift_size),
- slice(-self.shift_size, None))
- cnt = 0
- for h in h_slices:
- for w in w_slices:
- img_mask[:, h, w, :] = cnt
- cnt += 1
- mask_windows = window_partition(img_mask, self.window_size) # nW, window_size, window_size, 1
- mask_windows = mask_windows.view(-1, self.window_size * self.window_size)
- attn_mask = mask_windows.unsqueeze(1) - mask_windows.unsqueeze(2)
- attn_mask = attn_mask.masked_fill(attn_mask != 0, float(-100.0)).masked_fill(attn_mask == 0, float(0.0))
- else:
- attn_mask = None
- self.register_buffer("attn_mask", attn_mask)
- def forward(self, x):
- H, W = self.input_resolution
- B, L, C = x.shape
- assert L == H * W, "input feature has wrong size"
- shortcut = x
- x = self.norm1(x)
- x = x.view(B, H, W, C)
- # cyclic shift
- if self.shift_size > 0:
- shifted_x = torch.roll(x, shifts=(-self.shift_size, -self.shift_size), dims=(1, 2))
- else:
- shifted_x = x
- # partition windows
- x_windows = window_partition(shifted_x, self.window_size) # nW*B, window_size, window_size, C
- x_windows = x_windows.view(-1, self.window_size * self.window_size, C) # nW*B, window_size*window_size, C
- # W-MSA/SW-MSA
- attn_windows = self.attn(x_windows, mask=self.attn_mask) # nW*B, window_size*window_size, C
- # merge windows
- attn_windows = attn_windows.view(-1, self.window_size, self.window_size, C)
- shifted_x = window_reverse(attn_windows, self.window_size, H, W) # B H' W' C
- # reverse cyclic shift
- if self.shift_size > 0:
- x = torch.roll(shifted_x, shifts=(self.shift_size, self.shift_size), dims=(1, 2))
- else:
- x = shifted_x
- x = x.view(B, H * W, C)
- # FFN
- x = shortcut + self.drop_path(x)
- x = x + self.drop_path(self.mlp(self.norm2(x)))
- return x
- def extra_repr(self) -> str:
- return f"dim={self.dim}, input_resolution={self.input_resolution}, num_heads={self.num_heads}, " \
- f"window_size={self.window_size}, shift_size={self.shift_size}, mlp_ratio={self.mlp_ratio}"
- def flops(self):
- flops = 0
- H, W = self.input_resolution
- # norm1
- flops += self.dim * H * W
- # W-MSA/SW-MSA
- nW = H * W / self.window_size / self.window_size
- flops += nW * self.attn.flops(self.window_size * self.window_size)
- # mlp
- flops += 2 * H * W * self.dim * self.dim * self.mlp_ratio
- # norm2
- flops += self.dim * H * W
- return flops
- class PatchMerging(nn.Module):
- r""" Patch Merging Layer.
- Args:
- input_resolution (tuple[int]): Resolution of input feature.
- dim (int): Number of input channels.
- norm_layer (nn.Module, optional): Normalization layer. Default: nn.LayerNorm
- """
- def __init__(self, input_resolution, dim, norm_layer=nn.LayerNorm):
- super().__init__()
- self.input_resolution = input_resolution
- self.dim = dim
- self.reduction = nn.Linear(4 * dim, 2 * dim, bias=False)
- self.norm = norm_layer(4 * dim)
- def forward(self, x):
- """
- x: B, H*W, C
- """
- H, W = self.input_resolution
- B, L, C = x.shape
- assert L == H * W, "input feature has wrong size"
- assert H % 2 == 0 and W % 2 == 0, f"x size ({H}*{W}) are not even."
- x = x.view(B, H, W, C)
- x0 = x[:, 0::2, 0::2, :] # B H/2 W/2 C
- x1 = x[:, 1::2, 0::2, :] # B H/2 W/2 C
- x2 = x[:, 0::2, 1::2, :] # B H/2 W/2 C
- x3 = x[:, 1::2, 1::2, :] # B H/2 W/2 C
- x = torch.cat([x0, x1, x2, x3], -1) # B H/2 W/2 4*C
- x = x.view(B, -1, 4 * C) # B H/2*W/2 4*C
- x = self.norm(x)
- x = self.reduction(x)
- return x
- def extra_repr(self) -> str:
- return f"input_resolution={self.input_resolution}, dim={self.dim}"
- def flops(self):
- H, W = self.input_resolution
- flops = H * W * self.dim
- flops += (H // 2) * (W // 2) * 4 * self.dim * 2 * self.dim
- return flops
- class PatchExpand(nn.Module):
- def __init__(self, input_resolution, dim, dim_scale=2, norm_layer=nn.LayerNorm):
- super().__init__()
- self.input_resolution = input_resolution
- self.dim = dim
- self.expand = nn.Linear(dim, 2*dim, bias=False) if dim_scale==2 else nn.Identity()
- self.norm = norm_layer(dim // dim_scale)
- def forward(self, x):
- """
- x: B, H*W, C
- """
- H, W = self.input_resolution
- x = self.expand(x)
- B, L, C = x.shape
- assert L == H * W, "input feature has wrong size"
- x = x.view(B, H, W, C)
- x = rearrange(x, 'b h w (p1 p2 c)-> b (h p1) (w p2) c', p1=2, p2=2, c=C//4)
- x = x.view(B,-1,C//4)
- x= self.norm(x)
- return x
- class FinalPatchExpand_X4(nn.Module):
- def __init__(self, input_resolution, dim, dim_scale=4, norm_layer=nn.LayerNorm):
- super().__init__()
- self.input_resolution = input_resolution
- self.dim = dim
- self.dim_scale = dim_scale
- self.expand = nn.Linear(dim, 16*dim, bias=False)
- self.output_dim = dim
- self.norm = norm_layer(self.output_dim)
- def forward(self, x):
- """
- x: B, H*W, C
- """
- H, W = self.input_resolution
- x = self.expand(x)
- B, L, C = x.shape
- assert L == H * W, "input feature has wrong size"
- x = x.view(B, H, W, C)
- x = rearrange(x, 'b h w (p1 p2 c)-> b (h p1) (w p2) c', p1=self.dim_scale, p2=self.dim_scale, c=C//(self.dim_scale**2))
- x = x.view(B,-1,self.output_dim)
- x= self.norm(x)
- return x
- class BasicLayer(nn.Module):
- """ A basic Swin Transformer layer for one stage.
- Args:
- dim (int): Number of input channels.
- input_resolution (tuple[int]): Input resolution.
- depth (int): Number of blocks.
- num_heads (int): Number of attention heads.
- window_size (int): Local window size.
- mlp_ratio (float): Ratio of mlp hidden dim to embedding dim.
- qkv_bias (bool, optional): If True, add a learnable bias to query, key, value. Default: True
- qk_scale (float | None, optional): Override default qk scale of head_dim ** -0.5 if set.
- drop (float, optional): Dropout rate. Default: 0.0
- attn_drop (float, optional): Attention dropout rate. Default: 0.0
- drop_path (float | tuple[float], optional): Stochastic depth rate. Default: 0.0
- norm_layer (nn.Module, optional): Normalization layer. Default: nn.LayerNorm
- downsample (nn.Module | None, optional): Downsample layer at the end of the layer. Default: None
- use_checkpoint (bool): Whether to use checkpointing to save memory. Default: False.
- """
- def __init__(self, dim, input_resolution, depth, num_heads, window_size,
- mlp_ratio=4., qkv_bias=True, qk_scale=None, drop=0., attn_drop=0.,
- drop_path=0., norm_layer=nn.LayerNorm, downsample=None, use_checkpoint=False):
- super().__init__()
- self.dim = dim
- self.input_resolution = input_resolution
- self.depth = depth
- self.use_checkpoint = use_checkpoint
- # build blocks
- self.blocks = nn.ModuleList([
- SwinTransformerBlock(dim=dim, input_resolution=input_resolution,
- num_heads=num_heads, window_size=window_size,
- shift_size=0 if (i % 2 == 0) else window_size // 2,
- mlp_ratio=mlp_ratio,
- qkv_bias=qkv_bias, qk_scale=qk_scale,
- drop=drop, attn_drop=attn_drop,
- drop_path=drop_path[i] if isinstance(drop_path, list) else drop_path,
- norm_layer=norm_layer)
- for i in range(depth)])
- # patch merging layer
- if downsample is not None:
- self.downsample = downsample(input_resolution, dim=dim, norm_layer=norm_layer)
- else:
- self.downsample = None
- def forward(self, x):
- for blk in self.blocks:
- if self.use_checkpoint:
- x = checkpoint.checkpoint(blk, x)
- else:
- x = blk(x)
- if self.downsample is not None:
- x = self.downsample(x)
- return x
- def extra_repr(self) -> str:
- return f"dim={self.dim}, input_resolution={self.input_resolution}, depth={self.depth}"
- def flops(self):
- flops = 0
- for blk in self.blocks:
- flops += blk.flops()
- if self.downsample is not None:
- flops += self.downsample.flops()
- return flops
- class BasicLayer_up(nn.Module):
- """ A basic Swin Transformer layer for one stage.
- Args:
- dim (int): Number of input channels.
- input_resolution (tuple[int]): Input resolution.
- depth (int): Number of blocks.
- num_heads (int): Number of attention heads.
- window_size (int): Local window size.
- mlp_ratio (float): Ratio of mlp hidden dim to embedding dim.
- qkv_bias (bool, optional): If True, add a learnable bias to query, key, value. Default: True
- qk_scale (float | None, optional): Override default qk scale of head_dim ** -0.5 if set.
- drop (float, optional): Dropout rate. Default: 0.0
- attn_drop (float, optional): Attention dropout rate. Default: 0.0
- drop_path (float | tuple[float], optional): Stochastic depth rate. Default: 0.0
- norm_layer (nn.Module, optional): Normalization layer. Default: nn.LayerNorm
- downsample (nn.Module | None, optional): Downsample layer at the end of the layer. Default: None
- use_checkpoint (bool): Whether to use checkpointing to save memory. Default: False.
- """
- def __init__(self, dim, input_resolution, depth, num_heads, window_size,
- mlp_ratio=4., qkv_bias=True, qk_scale=None, drop=0., attn_drop=0.,
- drop_path=0., norm_layer=nn.LayerNorm, upsample=None, use_checkpoint=False):
- super().__init__()
- self.dim = dim
- self.input_resolution = input_resolution
- self.depth = depth
- self.use_checkpoint = use_checkpoint
- # build blocks
- self.blocks = nn.ModuleList([
- SwinTransformerBlock(dim=dim, input_resolution=input_resolution,
- num_heads=num_heads, window_size=window_size,
- shift_size=0 if (i % 2 == 0) else window_size // 2,
- mlp_ratio=mlp_ratio,
- qkv_bias=qkv_bias, qk_scale=qk_scale,
- drop=drop, attn_drop=attn_drop,
- drop_path=drop_path[i] if isinstance(drop_path, list) else drop_path,
- norm_layer=norm_layer)
- for i in range(depth)])
- # patch merging layer
- if upsample is not None:
- self.upsample = PatchExpand(input_resolution, dim=dim, dim_scale=2, norm_layer=norm_layer)
- else:
- self.upsample = None
- def forward(self, x):
- for blk in self.blocks:
- if self.use_checkpoint:
- x = checkpoint.checkpoint(blk, x)
- else:
- x = blk(x)
- if self.upsample is not None:
- x = self.upsample(x)
- return x
- class PatchEmbed(nn.Module):
- r""" Image to Patch Embedding
- Args:
- img_size (int): Image size. Default: 224.
- patch_size (int): Patch token size. Default: 4.
- in_chans (int): Number of input image channels. Default: 3.
- embed_dim (int): Number of linear projection output channels. Default: 96.
- norm_layer (nn.Module, optional): Normalization layer. Default: None
- """
- def __init__(self, img_size=224, patch_size=4, in_chans=3, embed_dim=96, norm_layer=None):
- super().__init__()
- img_size = to_2tuple(img_size)
- patch_size = to_2tuple(patch_size)
- patches_resolution = [img_size[0] // patch_size[0], img_size[1] // patch_size[1]]
- self.img_size = img_size
- self.patch_size = patch_size
- self.patches_resolution = patches_resolution
- self.num_patches = patches_resolution[0] * patches_resolution[1]
- self.in_chans = in_chans
- self.embed_dim = embed_dim
- self.proj = nn.Conv2d(in_chans, embed_dim, kernel_size=patch_size, stride=patch_size)
- if norm_layer is not None:
- self.norm = norm_layer(embed_dim)
- else:
- self.norm = None
- def forward(self, x):
- B, C, H, W = x.shape
- # FIXME look at relaxing size constraints
- assert H == self.img_size[0] and W == self.img_size[1], \
- f"Input image size ({H}*{W}) doesn't match model ({self.img_size[0]}*{self.img_size[1]})."
- x = self.proj(x).flatten(2).transpose(1, 2) # B Ph*Pw C
- if self.norm is not None:
- x = self.norm(x)
- return x
- def flops(self):
- Ho, Wo = self.patches_resolution
- flops = Ho * Wo * self.embed_dim * self.in_chans * (self.patch_size[0] * self.patch_size[1])
- if self.norm is not None:
- flops += Ho * Wo * self.embed_dim
- return flops
- class SwinTransformerSys(nn.Module):
- r""" Swin Transformer
- A PyTorch impl of : `Swin Transformer: Hierarchical Vision Transformer using Shifted Windows` -
- https://arxiv.org/pdf/2103.14030
- Args:
- img_size (int | tuple(int)): Input image size. Default 224
- patch_size (int | tuple(int)): Patch size. Default: 4
- in_chans (int): Number of input image channels. Default: 3
- num_classes (int): Number of classes for classification head. Default: 1000
- embed_dim (int): Patch embedding dimension. Default: 96
- depths (tuple(int)): Depth of each Swin Transformer layer.
- num_heads (tuple(int)): Number of attention heads in different layers.
- window_size (int): Window size. Default: 7
- mlp_ratio (float): Ratio of mlp hidden dim to embedding dim. Default: 4
- qkv_bias (bool): If True, add a learnable bias to query, key, value. Default: True
- qk_scale (float): Override default qk scale of head_dim ** -0.5 if set. Default: None
- drop_rate (float): Dropout rate. Default: 0
- attn_drop_rate (float): Attention dropout rate. Default: 0
- drop_path_rate (float): Stochastic depth rate. Default: 0.1
- norm_layer (nn.Module): Normalization layer. Default: nn.LayerNorm.
- ape (bool): If True, add absolute position embedding to the patch embedding. Default: False
- patch_norm (bool): If True, add normalization after patch embedding. Default: True
- use_checkpoint (bool): Whether to use checkpointing to save memory. Default: False
- """
- def __init__(self, img_size=224, patch_size=4, in_chans=3, num_classes=1000,
- embed_dim=96, depths=[2, 2, 2, 2], depths_decoder=[1, 2, 2, 2], num_heads=[3, 6, 12, 24],
- window_size=7, mlp_ratio=4., qkv_bias=True, qk_scale=None,
- drop_rate=0., attn_drop_rate=0., drop_path_rate=0.1,
- norm_layer=nn.LayerNorm, ape=False, patch_norm=True,
- use_checkpoint=False, final_upsample="expand_first", **kwargs):
- super().__init__()
- print("SwinTransformerSys expand initial----depths:{};depths_decoder:{};drop_path_rate:{};num_classes:{}".format(depths,
- depths_decoder,drop_path_rate,num_classes))
- self.num_classes = num_classes
- self.num_layers = len(depths)
- self.embed_dim = embed_dim
- self.ape = ape
- self.patch_norm = patch_norm
- self.num_features = int(embed_dim * 2 ** (self.num_layers - 1))
- self.num_features_up = int(embed_dim * 2)
- self.mlp_ratio = mlp_ratio
- self.final_upsample = final_upsample
- # split image into non-overlapping patches
- self.patch_embed = PatchEmbed(
- img_size=img_size, patch_size=patch_size, in_chans=in_chans, embed_dim=embed_dim,
- norm_layer=norm_layer if self.patch_norm else None)
- num_patches = self.patch_embed.num_patches
- patches_resolution = self.patch_embed.patches_resolution
- self.patches_resolution = patches_resolution
- # absolute position embedding
- if self.ape:
- self.absolute_pos_embed = nn.Parameter(torch.zeros(1, num_patches, embed_dim))
- trunc_normal_(self.absolute_pos_embed, std=.02)
- self.pos_drop = nn.Dropout(p=drop_rate)
- # stochastic depth
- dpr = [x.item() for x in torch.linspace(0, drop_path_rate, sum(depths))] # stochastic depth decay rule
- # build encoder and bottleneck layers
- self.layers = nn.ModuleList()
- for i_layer in range(self.num_layers):
- layer = BasicLayer(dim=int(embed_dim * 2 ** i_layer),
- input_resolution=(patches_resolution[0] // (2 ** i_layer),
- patches_resolution[1] // (2 ** i_layer)),
- depth=depths[i_layer],
- num_heads=num_heads[i_layer],
- window_size=window_size,
- mlp_ratio=self.mlp_ratio,
- qkv_bias=qkv_bias, qk_scale=qk_scale,
- drop=drop_rate, attn_drop=attn_drop_rate,
- drop_path=dpr[sum(depths[:i_layer]):sum(depths[:i_layer + 1])],
- norm_layer=norm_layer,
- downsample=PatchMerging if (i_layer < self.num_layers - 1) else None,
- use_checkpoint=use_checkpoint)
- self.layers.append(layer)
- # build decoder layers
- self.layers_up = nn.ModuleList()
- self.concat_back_dim = nn.ModuleList()
- for i_layer in range(self.num_layers):
- concat_linear = nn.Linear(2*int(embed_dim*2**(self.num_layers-1-i_layer)),
- int(embed_dim*2**(self.num_layers-1-i_layer))) if i_layer > 0 else nn.Identity()
- if i_layer ==0 :
- layer_up = PatchExpand(input_resolution=(patches_resolution[0] // (2 ** (self.num_layers-1-i_layer)),
- patches_resolution[1] // (2 ** (self.num_layers-1-i_layer))), dim=int(embed_dim * 2 ** (self.num_layers-1-i_layer)), dim_scale=2, norm_layer=norm_layer)
- else:
- layer_up = BasicLayer_up(dim=int(embed_dim * 2 ** (self.num_layers-1-i_layer)),
- input_resolution=(patches_resolution[0] // (2 ** (self.num_layers-1-i_layer)),
- patches_resolution[1] // (2 ** (self.num_layers-1-i_layer))),
- depth=depths[(self.num_layers-1-i_layer)],
- num_heads=num_heads[(self.num_layers-1-i_layer)],
- window_size=window_size,
- mlp_ratio=self.mlp_ratio,
- qkv_bias=qkv_bias, qk_scale=qk_scale,
- drop=drop_rate, attn_drop=attn_drop_rate,
- drop_path=dpr[sum(depths[:(self.num_layers-1-i_layer)]):sum(depths[:(self.num_layers-1-i_layer) + 1])],
- norm_layer=norm_layer,
- upsample=PatchExpand if (i_layer < self.num_layers - 1) else None,
- use_checkpoint=use_checkpoint)
- self.layers_up.append(layer_up)
- self.concat_back_dim.append(concat_linear)
- self.norm = norm_layer(self.num_features)
- self.norm_up= norm_layer(self.embed_dim)
- if self.final_upsample == "expand_first":
- print("---final upsample expand_first---")
- self.up = FinalPatchExpand_X4(input_resolution=(img_size//patch_size,img_size//patch_size),dim_scale=4,dim=embed_dim)
- self.output = nn.Conv2d(in_channels=embed_dim,out_channels=self.num_classes,kernel_size=1,bias=False)
- self.apply(self._init_weights)
- def _init_weights(self, m):
- if isinstance(m, nn.Linear):
- trunc_normal_(m.weight, std=.02)
- if isinstance(m, nn.Linear) and m.bias is not None:
- nn.init.constant_(m.bias, 0)
- elif isinstance(m, nn.LayerNorm):
- nn.init.constant_(m.bias, 0)
- nn.init.constant_(m.weight, 1.0)
- @torch.jit.ignore
- def no_weight_decay(self):
- return {'absolute_pos_embed'}
- @torch.jit.ignore
- def no_weight_decay_keywords(self):
- return {'relative_position_bias_table'}
- #Encoder and Bottleneck
- def forward_features(self, x):
- x = self.patch_embed(x)
- if self.ape:
- x = x + self.absolute_pos_embed
- x = self.pos_drop(x)
- x_downsample = []
- for layer in self.layers:
- x_downsample.append(x)
- x = layer(x)
- x = self.norm(x) # B L C
- return x, x_downsample
- #Dencoder and Skip connection
- def forward_up_features(self, x, x_downsample):
- for inx, layer_up in enumerate(self.layers_up):
- if inx == 0:
- x = layer_up(x)
- else:
- x = torch.cat([x,x_downsample[3-inx]],-1)
- x = self.concat_back_dim[inx](x)
- x = layer_up(x)
- x = self.norm_up(x) # B L C
- return x
- def up_x4(self, x):
- H, W = self.patches_resolution
- B, L, C = x.shape
- assert L == H*W, "input features has wrong size"
- if self.final_upsample=="expand_first":
- x = self.up(x)
- x = x.view(B,4*H,4*W,-1)
- x = x.permute(0,3,1,2) #B,C,H,W
- x = self.output(x)
- return x
- def forward(self, x):
- x, x_downsample = self.forward_features(x)
- x = self.forward_up_features(x,x_downsample)
- x = self.up_x4(x)
- return x
- def flops(self):
- flops = 0
- flops += self.patch_embed.flops()
- for i, layer in enumerate(self.layers):
- flops += layer.flops()
- flops += self.num_features * self.patches_resolution[0] * self.patches_resolution[1] // (2 ** self.num_layers)
- flops += self.num_features * self.num_classes
- return flops
- logger = logging.getLogger(__name__)
- class SwinUnet_config():
- def __init__(self):
- self.patch_size = 4
- self.in_chans = 3
- self.num_classes = 4
- self.embed_dim = 96
- self.depths = [2, 2, 6, 2]
- self.num_heads = [3, 6, 12, 24]
- self.window_size = 7
- self.mlp_ratio = 4.
- self.qkv_bias = True
- self.qk_scale = None
- self.drop_rate = 0.
- self.drop_path_rate = 0.1
- self.ape = False
- self.patch_norm = True
- self.use_checkpoint = False
- class SwinUnet(nn.Module):
- def __init__(self, config, img_size=224, num_classes=21843, zero_head=False, vis=False):
- super(SwinUnet, self).__init__()
- self.num_classes = num_classes
- self.zero_head = zero_head
- self.config = config
- self.swin_unet = SwinTransformerSys(img_size=img_size,
- patch_size=config.patch_size,
- in_chans=config.in_chans,
- num_classes=self.num_classes,
- embed_dim=config.embed_dim,
- depths=config.depths,
- num_heads=config.num_heads,
- window_size=config.window_size,
- mlp_ratio=config.mlp_ratio,
- qkv_bias=config.qkv_bias,
- qk_scale=config.qk_scale,
- drop_rate=config.drop_rate,
- drop_path_rate=config.drop_path_rate,
- ape=config.ape,
- patch_norm=config.patch_norm,
- use_checkpoint=config.use_checkpoint)
- def forward(self, x):
- if x.size()[1] == 1:
- x = x.repeat(1,3,1,1)
- logits = self.swin_unet(x)
- return logits
- def load_from(self, pretrained_path):
- if pretrained_path is not None:
- print("pretrained_path:{}".format(pretrained_path))
- device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
- pretrained_dict = torch.load(pretrained_path, map_location=device)
- if "model" not in pretrained_dict:
- print("---start load pretrained modle by splitting---")
- pretrained_dict = {k[17:]:v for k,v in pretrained_dict.items()}
- for k in list(pretrained_dict.keys()):
- if "output" in k:
- print("delete key:{}".format(k))
- del pretrained_dict[k]
- msg = self.swin_unet.load_state_dict(pretrained_dict,strict=False)
- # print(msg)
- return
- pretrained_dict = pretrained_dict['model']
- print("---start load pretrained modle of swin encoder---")
- model_dict = self.swin_unet.state_dict()
- full_dict = copy.deepcopy(pretrained_dict)
- for k, v in pretrained_dict.items():
- if "layers." in k:
- current_layer_num = 3-int(k[7:8])
- current_k = "layers_up." + str(current_layer_num) + k[8:]
- full_dict.update({current_k:v})
- for k in list(full_dict.keys()):
- if k in model_dict:
- if full_dict[k].shape != model_dict[k].shape:
- print("delete:{};shape pretrain:{};shape model:{}".format(k,v.shape,model_dict[k].shape))
- del full_dict[k]
- msg = self.swin_unet.load_state_dict(full_dict, strict=False)
- # print(msg)
- else:
- print("none pretrain")
swin_unet.py at commit 9a1fc10, under GPL-2.0 · at the source
Overview
- Department of Radiology and Nuclear Medicine, Xuanwu Hospital, Capital Medical University, Beijing 100053, China
- State Key Laboratory of Cognitive Neuroscience and Learning, Beijing Normal University, Beijing 100875, China
- Faculty of Psychology, Beijing Normal University, Beijing 100875, China
- College of Biomedical Engineering and Instrument Science, Zhejiang University, Hangzhou 310027, China
- School of Psychology, Capital Normal University, Beijing 100048, China
- Developmental Population Neuroscience Research Center, McGovern Institute for Brain Research, Beijing Normal University, Beijing 100875, China
- National Basic Science Data Center, Beijing 100190, China
- School of Physics, Zhejiang University, Hangzhou 310058, China
- State Key Laboratory of Brain-Machine Intelligence, Zhejiang University, Hangzhou 310027, China
Abstract
Tracing the boundaries of the amygdala from brain images remains a major challenge in human neuroscience. Although large-scale neuroimaging studies increasingly collect thousands of scans to investigate structural development in children and adolescents, reliable segmentation of the amygdala is difficult due to its small size and complex morphology—particularly in pediatric populations. To address this, we developed AmygdalaGo-BOLT, a boundary-aware deep learning model specifically designed for amygdala segmentation. The model was trained and validated on 1,086 manually labeled pediatric MRI scans, with independent datasets used to assess generalizability. It integrates multiscale feature extraction, spatial priors, and self-attention mechanisms within a compact encoder-decoder architecture to enhance boundary detection. Across imaging centers and age groups, AmygdalaGo-BOLT demonstrates strong agreement with expert manual annotations, while substantially improving efficiency and accuracy relative to existing tools. This enables robust and scalable analysis of amygdala morphology in population neuroscience studies where manual tracing is impractical.
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
zuoxinian/ccs
9a1fc10bb560f5a2aa802c7f6fcc80c5a44366ee, 12 September 2024Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
732 files
- H1/
ccs_01_anatcheck_render. , Shell, 117 linessh - H1/
ccs_01_anatcheck_surf.sh , Shell, 116 lines - H1/
ccs_01_anatcheck_vol.sh , Shell, 119 lines - H1/
ccs_01_anatpreproc.sh , Shell, 156 lines - H1/
ccs_01_anatsurfrecon.sh , Shell, 74 lines - H1/
ccs_01_dtipreproc.sh , Shell, 95 lines - H1/
ccs_01_dtipreproc1.sh , Shell, 68 lines - H1/
ccs_01_dtipreproc2.sh , Shell, 62 lines - H1/
ccs_01_funcpreproc.sh , Shell, 125 lines - H1/
ccs_01_preanatreg.sh , Shell, 51 lines - H1/
ccs_02_anatcheck_fnirt.s , Shell, 69 linesh - H1/
ccs_02_anatpreregister.s , Shell, 108 linesh - H1/
ccs_02_anatreg_flirt.sh , Shell, 49 lines - H1/
ccs_02_anatregister.sh , Shell, 85 lines - H1/
ccs_02_anatregister_refi , Shell, 74 linesne.sh - H1/
ccs_02_dtibbregister.sh , Shell, 92 lines - H1/
ccs_02_dticheck_bbregist , Shell, 126 lineser.sh - H1/
ccs_02_dtipostproc.sh , Shell, 121 lines - H1/
ccs_02_funcbbregister.sh , Shell, 111 lines - H1/
ccs_02_funccheck_bbregis , Shell, 132 linester.sh - H1/
ccs_02_funccheck_fnirt.s , Shell, 45 linesh - H1/
ccs_02_funcregister.sh , Shell, 103 lines - H1/
ccs_03_dticheck_segment. , Shell, 63 linessh - H1/
ccs_03_dtisegment.sh , Shell, 54 lines - H1/
ccs_03_funcsegment.sh , Shell, 113 lines - H1/
ccs_04_funcAROMA.sh , Shell, 74 lines - H1/
ccs_04_funcnuisance.sh , Shell, 152 lines - H1/
ccs_05_funcpreproc_corte , Shell, 128 linesx.sh - H1/
ccs_05_funcpreproc_corte , Shell, 76 linesx_fsLR.sh - H1/
ccs_05_funcpreproc_nofil , Shell, 111 linest_cortex.sh - H1/
ccs_05_funcpreproc_nofil , Shell, 59 linest_cortex_fsLR.sh - H1/
ccs_anat_01_pre_freesurf , Shell, 100 lineser.sh - H1/
ccs_anat_02_freesurfer.s , Shell, 53 linesh - H1/
ccs_anat_03_postfs.sh , Shell, 77 lines - H2/
ccs_06_singlesubject2dAL , MATLAB, 213 linesFF.m - H2/
ccs_06_singlesubject2dCo , MATLAB, 204 linesnnDensity.m - H2/
ccs_06_singlesubject2dDu , MATLAB, 137 linesalRegress.m - H2/
ccs_06_singlesubject2dRe , MATLAB, 114 linesHo.m - H2/
ccs_06_singlesubject2dSF , MATLAB, 151 linesC.m - H2/
ccs_06_singlesubject2dVN , MATLAB, 299 linesCM.m - H2/
ccs_06_singlesubject2dVN , MATLAB, 269 linesCM_old.m - H2/
ccs_06_singlesubjectALFF , Shell, 166 lines.sh - H2/
ccs_06_singlesubjectDMRI , MATLAB, 284 linesparcels.m - H2/
ccs_06_singlesubjectDMRI , MATLAB, 265 linesparcels_old.m - H2/
ccs_06_singlesubjectICA. , Shell, 105 linessh - H2/
ccs_06_singlesubjectILC. , MATLAB, 67 linesm - H2/
ccs_06_singlesubjectParc , MATLAB, 57 lineselALFF.m - H2/
ccs_06_singlesubjectParc , MATLAB, 48 lineselCCC.m - H2/
ccs_06_singlesubjectQCP. , MATLAB, 179 linesm - H2/
ccs_06_singlesubjectQCP. , Shell, 79 linessh - H2/
ccs_06_singlesubjectRFMR , MATLAB, 251 linesIparcels.m - H2/
ccs_06_singlesubjectReHo , Shell, 149 lines.sh - H2/
ccs_06_singlesubjectSFC. , Shell, 126 linessh - H2/
ccs_06_singlesubjectVMHC , Shell, 123 lines-SFC.sh - H2/
ccs_06_singlesubjectVMHC , Shell, 173 lines.sh - H2/
ccs_06_singlesubjectVNCM , MATLAB, 215 lines.m - H2/
ccs_06_singlesubjectqcpR , MATLAB, 140 linesFMRI.m - H2/
ccs_06_singlesubjectqcpS , MATLAB, 104 linesMRI.m - H3/
AmygdalaGo-BOLT/ , Shell, 28 lines.ipynb_checkpoints/ cmd-checkpoint.sh - H3/
AmygdalaGo-BOLT/ , Python, 123 lines.ipynb_checkpoints/ inference-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 153 lines.ipynb_checkpoints/ inference_zcyy-checkpoin t.py - H3/
AmygdalaGo-BOLT/ , Shell, 28 linescmd.sh - H3/
AmygdalaGo-BOLT/ , Python, 72 linesdataset_conversion/ acdc_2d.py - H3/
AmygdalaGo-BOLT/ , Python, 71 linesdataset_conversion/ acdc_3d.py - H3/
AmygdalaGo-BOLT/ , Python, 81 linesdataset_conversion/ utils.py - H3/
AmygdalaGo-BOLT/ , Python, 16 lineseval/ eval_medpy.py - H3/
AmygdalaGo-BOLT/ , Python, 337 linesgradio_app/ .ipynb_checkpoints/ gradio_app-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 500 linesgradio_app/ .ipynb_checkpoints/ gradio_app-v1.0-checkpoi nt.py - H3/
AmygdalaGo-BOLT/ , Python, 340 linesgradio_app/ .ipynb_checkpoints/ gradio_app_release-check point.py - H3/
AmygdalaGo-BOLT/ , Jupyter, 482 linesgradio_app/ .ipynb_checkpoints/ nanjing_1111-checkpoint. ipynb - H3/
AmygdalaGo-BOLT/ , Shell, 1 linegradio_app/ .ipynb_checkpoints/ start-checkpoint.sh - H3/
AmygdalaGo-BOLT/ , Shell, 1 linegradio_app/ .ipynb_checkpoints/ stop-checkpoint.sh - H3/
AmygdalaGo-BOLT/ , Python, 4 linesgradio_app/ __init__.py - H3/
AmygdalaGo-BOLT/ , Python, 184 linesgradio_app/ app/ ui/ .ipynb_checkpoints/ interface-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 184 linesgradio_app/ app/ ui/ interface.py - H3/
AmygdalaGo-BOLT/ , Python, 343 linesgradio_app/ facial-nerve-tracking/ gradio_app-v1.0.py - H3/
AmygdalaGo-BOLT/ , Shell, 2 linesgradio_app/ facial-nerve-tracking/ start.sh - H3/
AmygdalaGo-BOLT/ , Shell, 2 linesgradio_app/ facial-nerve-tracking/ stop.sh - H3/
AmygdalaGo-BOLT/ , Python, 340 linesgradio_app/ gradio_app-v1.0.py - H3/
AmygdalaGo-BOLT/ , Python, 337 linesgradio_app/ gradio_app.py - H3/
AmygdalaGo-BOLT/ , Python, 447 linesgradio_app/ gradio_app_back.py - H3/
AmygdalaGo-BOLT/ , Jupyter, 482 linesgradio_app/ nanjing_1111.ipynb - H3/
AmygdalaGo-BOLT/ , Shell, 3 linesgradio_app/ start.sh - H3/
AmygdalaGo-BOLT/ , Shell, 2 linesgradio_app/ stop.sh - H3/
AmygdalaGo-BOLT/ , Python, 123 linesinference.py - H3/
AmygdalaGo-BOLT/ , Python, 1 lineinference/ __init__.py - H3/
AmygdalaGo-BOLT/ , Python, 76 linesinference/ inference2d.py - H3/
AmygdalaGo-BOLT/ , Python, 99 linesinference/ inference3d.py - H3/
AmygdalaGo-BOLT/ , Python, 44 linesinference/ utils.py - H3/
AmygdalaGo-BOLT/ , Python, 153 linesinference_zcyy.py - H3/
AmygdalaGo-BOLT/ , Python, 787 linesmetric/ lookup_tables.py - H3/
AmygdalaGo-BOLT/ , Python, 879 linesmetric/ metrics.py - H3/
AmygdalaGo-BOLT/ , Python, 58 linesmetric/ utils.py - H3/
AmygdalaGo-BOLT/ , Python, 1 linemodel/ __init__.py - H3/
AmygdalaGo-BOLT/ , Python, 7 linesmodel/ dim2/ __init__.py - H3/
AmygdalaGo-BOLT/ , Python, 47 linesmodel/ dim2/ attention_unet.py - H3/
AmygdalaGo-BOLT/ , Python, 60 linesmodel/ dim2/ attention_unet_utils.py - H3/
AmygdalaGo-BOLT/ , Python, 358 linesmodel/ dim2/ conv_layers.py - H3/
AmygdalaGo-BOLT/ , Python, 47 linesmodel/ dim2/ dual_attention_unet.py - H3/
AmygdalaGo-BOLT/ , Python, 163 linesmodel/ dim2/ dual_attention_utils.py - H3/
AmygdalaGo-BOLT/ , Python, 1,688 lines, 1 matchmodel/ dim2/ swin_unet.py - H3/
AmygdalaGo-BOLT/ , Python, 94 linesmodel/ dim2/ trans_layers.py - H3/
AmygdalaGo-BOLT/ , Python, 1,474 linesmodel/ dim2/ transunet.py - H3/
AmygdalaGo-BOLT/ , Python, 43 linesmodel/ dim2/ unet.py - H3/
AmygdalaGo-BOLT/ , Python, 61 linesmodel/ dim2/ unet_utils.py - H3/
AmygdalaGo-BOLT/ , Python, 79 linesmodel/ dim2/ unetpp.py - H3/
AmygdalaGo-BOLT/ , Python, 23 linesmodel/ dim2/ utils.py - H3/
AmygdalaGo-BOLT/ , Python, 63 linesmodel/ dim2/ utnetv2.py - H3/
AmygdalaGo-BOLT/ , Python, 355 linesmodel/ dim2/ utnetv2_utils.py - H3/
AmygdalaGo-BOLT/ , Python, 47 linesmodel/ dim3/ .ipynb_checkpoints/ attention_unet-checkpoin t.py - H3/
AmygdalaGo-BOLT/ , Python, 66 linesmodel/ dim3/ .ipynb_checkpoints/ attention_unet_utils-che ckpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 282 linesmodel/ dim3/ .ipynb_checkpoints/ conv_layers-checkpoint.p y - H3/
AmygdalaGo-BOLT/ , Python, 127 linesmodel/ dim3/ .ipynb_checkpoints/ trans_layers-checkpoint. py - H3/
AmygdalaGo-BOLT/ , Python, 67 linesmodel/ dim3/ .ipynb_checkpoints/ unet-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 78 linesmodel/ dim3/ .ipynb_checkpoints/ unet_utils-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 90 linesmodel/ dim3/ .ipynb_checkpoints/ unetpp-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 237 linesmodel/ dim3/ .ipynb_checkpoints/ unetr-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 29 linesmodel/ dim3/ .ipynb_checkpoints/ utils-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 77 linesmodel/ dim3/ .ipynb_checkpoints/ utnetv2-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 341 linesmodel/ dim3/ .ipynb_checkpoints/ utnetv2_utils-checkpoint .py - H3/
AmygdalaGo-BOLT/ , Python, 182 linesmodel/ dim3/ .ipynb_checkpoints/ vnet-checkpoint.py - H3/
AmygdalaGo-BOLT/ , Python, 7 linesmodel/ dim3/ __init__.py - H3/
AmygdalaGo-BOLT/ , Python, 47 linesmodel/ dim3/ attention_unet.py - H3/
AmygdalaGo-BOLT/ , Python, 66 linesmodel/ dim3/ attention_unet_utils.py - H3/
AmygdalaGo-BOLT/ , Python, 282 linesmodel/ dim3/ conv_layers.py - H3/
AmygdalaGo-BOLT/ , Python, 127 linesmodel/ dim3/ trans_layers.py - H3/
AmygdalaGo-BOLT/ , Python, 74 linesmodel/ dim3/ u2.py - H3/
AmygdalaGo-BOLT/ , Python, 67 linesmodel/ dim3/ unet.py - H3/
AmygdalaGo-BOLT/ , Python, 78 linesmodel/ dim3/ unet_utils.py - H3/
AmygdalaGo-BOLT/ , Python, 90 linesmodel/ dim3/ unetpp.py - H3/
AmygdalaGo-BOLT/ , Python, 237 linesmodel/ dim3/ unetr.py - H3/
AmygdalaGo-BOLT/ , Python, 29 linesmodel/ dim3/ utils.py - H3/
AmygdalaGo-BOLT/ , Python, 77 linesmodel/ dim3/ utnetv2.py - H3/
AmygdalaGo-BOLT/ , Python, 341 lines, 1 matchmodel/ dim3/ utnetv2_utils.py - H3/
AmygdalaGo-BOLT/ , Python, 182 linesmodel/ dim3/ vnet.py - H3/
AmygdalaGo-BOLT/ , Python, 170 linesmodel/ dim3/ vtunet.py - H3/
AmygdalaGo-BOLT/ , Python, 2,196 linesmodel/ dim3/ vtunet_utils.py - H3/
AmygdalaGo-BOLT/ , Python, 116 linesmodel/ utils.py - H3/
AmygdalaGo-BOLT/ , Python, 21 linestools/ 427_label.py - H3/
AmygdalaGo-BOLT/ , Python, 1 linetraining/ __init__.py - H3/
AmygdalaGo-BOLT/ , Python, 207 linestraining/ augmentation.py - H3/
AmygdalaGo-BOLT/ , Python, 1 linetraining/ dataset/ __init__.py - H3/
AmygdalaGo-BOLT/ , Python, 1 linetraining/ dataset/ dim2/ __init__.py - H3/
AmygdalaGo-BOLT/ , Python, 158 linestraining/ dataset/ dim2/ dataset_acdc.py - H3/
AmygdalaGo-BOLT/ , Python, 152 linestraining/ dataset/ dim3/ dataset_acdc.py - H3/
AmygdalaGo-BOLT/ , Python, 18 linestraining/ dataset/ utils.py - H3/
AmygdalaGo-BOLT/ , Python, 228 linestraining/ losses.py - H3/
AmygdalaGo-BOLT/ , Python, 83 linestraining/ utils.py - H3/
AmygdalaGo-BOLT/ , Python, 59 linestraining/ validation.py - H3/
DREAM/ , MATLAB, 94 linesDREAM1_repANOVA.m - H3/
DREAM/ , MATLAB, 92 linesDREAM_FreqCalc_EEG.m - H3/
DREAM/ , MATLAB, 42 linesDREAM_FreqCalc_FD.m - H3/
DREAM/ , MATLAB, 122 linesDREAM_FreqCalc_IMG.m - H3/
DREAM/ , MATLAB, 133 linesDREAM_FreqCalc_IMGd.m - H3/
DREAM/ , MATLAB, 130 linesDREAM_FreqCalc_IMGdp.m - H3/
DREAM/ , MATLAB, 423 linesD_core/ AFD_pop_loadbv.m - H3/
DREAM/ , MATLAB, 76 linesD_core/ CBIG_bandpass_matrix.m - H3/
DREAM/ , MATLAB, 123 linesD_core/ LFCD_IPN_computeMC.m - H3/
DREAM/ , MATLAB, 77 linesD_core/ bva-io1.5.13/ eegplugin_bva_io.m - H3/
DREAM/ , MATLAB, 71 linesD_core/ bva-io1.5.13/ loadbvef.m - H3/
DREAM/ , MATLAB, 48 linesD_core/ bva-io1.5.13/ parsebvmrk.m - H3/
DREAM/ , MATLAB, 423 linesD_core/ bva-io1.5.13/ pop_loadbv.m - H3/
DREAM/ , MATLAB, 140 linesD_core/ bva-io1.5.13/ pop_loadbva.m - H3/
DREAM/ , MATLAB, 204 linesD_core/ bva-io1.5.13/ pop_writebva.m - H3/
DREAM/ , MATLAB, 93 linesD_core/ bva-io1.5.13/ readbvconf.m - H3/
DREAM/ , MATLAB, 60 linesD_core/ ccs_core_lfobands.m - H3/
DREAM/ , MATLAB, 66 linesD_core/ fsio/ ComputeGeodesicProjectio n.m - H3/
DREAM/ , MATLAB, 52 linesD_core/ fsio/ MRIeuler2Mdc.m - H3/
DREAM/ , MATLAB, 113 linesD_core/ fsio/ MRIextractImage.m - H3/
DREAM/ , MATLAB, 143 linesD_core/ fsio/ MRIfspec.m - H3/
DREAM/ , MATLAB, 65 linesD_core/ fsio/ MRIisBHDR.m - H3/
DREAM/ , MATLAB, 62 linesD_core/ fsio/ MRIisMGH.m - H3/
DREAM/ , MATLAB, 45 linesD_core/ fsio/ MRImdc2euler.m - H3/
DREAM/ , MATLAB, 271 linesD_core/ fsio/ MRIread.m - H3/
DREAM/ , MATLAB, 56 linesD_core/ fsio/ MRIseg2labelxyz.m - H3/
DREAM/ , MATLAB, 88 linesD_core/ fsio/ MRIsegReg.m - H3/
DREAM/ , MATLAB, 103 linesD_core/ fsio/ MRIvol2vol.m - H3/
DREAM/ , MATLAB, 50 linesD_core/ fsio/ MRIvote.m - H3/
DREAM/ , MATLAB, 198 linesD_core/ fsio/ MRIwrite.m - H3/
DREAM/ , MATLAB, 34 linesD_core/ fsio/ MakeGeodesicOuterROI.m - H3/
DREAM/ , MATLAB, 49 linesD_core/ fsio/ PropagateGeodesic.m - H3/
DREAM/ , MATLAB, 121 linesD_core/ fsio/ ReadSiemensPhysio.m - H3/
DREAM/ , MATLAB, 11 linesD_core/ fsio/ SearchProjectionOnPial.m - H3/
DREAM/ , MATLAB, 76 linesD_core/ fsio/ angles2rotmat.m - H3/
DREAM/ , MATLAB, 47 linesD_core/ fsio/ barsegstats.m - H3/
DREAM/ , MATLAB, 92 linesD_core/ fsio/ bmm_mcvect.m - H3/
DREAM/ , MATLAB, 75 linesD_core/ fsio/ bmm_mcvhist.m - H3/
DREAM/ , MATLAB, 54 linesD_core/ fsio/ bmmcost.m - H3/
DREAM/ , MATLAB, 80 linesD_core/ fsio/ bmmroc.m - H3/
DREAM/ , MATLAB, 276 linesD_core/ fsio/ cc_cut_afd.m - H3/
DREAM/ , MATLAB, 284 linesD_core/ fsio/ cc_cut_dir_afd.m - H3/
DREAM/ , MATLAB, 47 linesD_core/ fsio/ cc_cut_table.m - H3/
DREAM/ , MATLAB, 42 linesD_core/ fsio/ combine_labels.m - H3/
DREAM/ , MATLAB, 148 linesD_core/ fsio/ compute_lgi.m - H3/
DREAM/ , MATLAB, 55 linesD_core/ fsio/ convert_fieldsign.m - H3/
DREAM/ , MATLAB, 395 linesD_core/ fsio/ convert_unwarp_resample. m - H3/
DREAM/ , MATLAB, 249 linesD_core/ fsio/ cortical_labeling_afd_tx t.m - H3/
DREAM/ , MATLAB, 256 linesD_core/ fsio/ cortical_labeling_dir_af d_txt.m - H3/
DREAM/ , MATLAB, 67 linesD_core/ fsio/ cortical_labeling_table. m - H3/
DREAM/ , MATLAB, 19 linesD_core/ fsio/ createMeshFacesOfVertex. m - H3/
DREAM/ , MATLAB, 51 linesD_core/ fsio/ dice_labels.m - H3/
DREAM/ , MATLAB, 134 linesD_core/ fsio/ dijk.m - H3/
DREAM/ , MATLAB, 19 linesD_core/ fsio/ dtifa.m - H3/
DREAM/ , MATLAB, 66 linesD_core/ fsio/ dtimatrix.m - H3/
DREAM/ , MATLAB, 49 linesD_core/ fsio/ find_corresponding_cente r_FSformat.m - H3/
DREAM/ , MATLAB, 84 linesD_core/ fsio/ fisher_twoclass.m - H3/
DREAM/ , MATLAB, 30 linesD_core/ fsio/ fread3.m - H3/
DREAM/ , MATLAB, 13 linesD_core/ fsio/ freesurfer_fread3.m - H3/
DREAM/ , MATLAB, 141 linesD_core/ fsio/ freesurfer_read_surf.m - H3/
DREAM/ , MATLAB, 33 linesD_core/ fsio/ fwrite3.m - H3/
DREAM/ , MATLAB, 25 linesD_core/ fsio/ getFaceArea.m - H3/
DREAM/ , MATLAB, 10 linesD_core/ fsio/ getFacesArea.m - H3/
DREAM/ , MATLAB, 20 linesD_core/ fsio/ getMeshArea.m - H3/
DREAM/ , MATLAB, 12 linesD_core/ fsio/ getOrthogonalVector.m - H3/
DREAM/ , MATLAB, 18 linesD_core/ fsio/ getVerticesAndFacesInSph ere.m - H3/
DREAM/ , MATLAB, 8 linesD_core/ fsio/ isInGeodesicROI.m - H3/
DREAM/ , MATLAB, 9 linesD_core/ fsio/ isVertexInRadius.m - H3/
DREAM/ , MATLAB, 52 linesD_core/ fsio/ isdicomfile.m - H3/
DREAM/ , MATLAB, 40 linesD_core/ fsio/ juelichmat2mat.m - H3/
DREAM/ , MATLAB, 134 linesD_core/ fsio/ labelic.m - H3/
DREAM/ , MATLAB, 169 linesD_core/ fsio/ llbmm.m - H3/
DREAM/ , MATLAB, 136 linesD_core/ fsio/ load_analyze.m - H3/
DREAM/ , MATLAB, 162 linesD_core/ fsio/ load_analyze_hdr.m - H3/
DREAM/ , MATLAB, 135 linesD_core/ fsio/ load_cor.m - H3/
DREAM/ , MATLAB, 101 linesD_core/ fsio/ load_csd.m - H3/
DREAM/ , MATLAB, 193 linesD_core/ fsio/ load_dicom_fl.m - H3/
DREAM/ , MATLAB, 126 linesD_core/ fsio/ load_dicom_series.m - H3/
DREAM/ , MATLAB, 120 linesD_core/ fsio/ load_gca.m - H3/
DREAM/ , MATLAB, 77 linesD_core/ fsio/ load_ima.m - H3/
DREAM/ , MATLAB, 272 linesD_core/ fsio/ load_mgh.m - H3/
DREAM/ , MATLAB, 122 linesD_core/ fsio/ load_mgh2.m - H3/
DREAM/ , MATLAB, 173 linesD_core/ fsio/ load_nifti.m - H3/
DREAM/ , MATLAB, 216 linesD_core/ fsio/ load_nifti_hdr.m - H3/
DREAM/ , MATLAB, 119 linesD_core/ fsio/ load_segstats.m - H3/
DREAM/ , MATLAB, 58 linesD_core/ fsio/ lta_read.m - H3/
DREAM/ , MATLAB, 83 linesD_core/ fsio/ make_outer_surface.m - H3/
DREAM/ , MATLAB, 113 linesD_core/ fsio/ make_roi_paths.m - H3/
DREAM/ , MATLAB, 51 linesD_core/ fsio/ mesh_adjacency.m - H3/
DREAM/ , MATLAB, 42 linesD_core/ fsio/ mesh_vertex_nearest.m - H3/
DREAM/ , MATLAB, 96 linesD_core/ fsio/ mksubfov.m - H3/
DREAM/ , MATLAB, 55 linesD_core/ fsio/ mri_cdf2p.m - H3/
DREAM/ , MATLAB, 63 linesD_core/ fsio/ mri_kurtosis.m - H3/
DREAM/ , MATLAB, 126 linesD_core/ fsio/ mri_surfrft_jlbr.m - H3/
DREAM/ , MATLAB, 41 linesD_core/ fsio/ mri_zcdf.m - H3/
DREAM/ , MATLAB, 159 linesD_core/ fsio/ mris_display.m - H3/
DREAM/ , MATLAB, 133 linesD_core/ fsio/ peakfinder.m - H3/
DREAM/ , MATLAB, 146 linesD_core/ fsio/ pons_cut_afd.m - H3/
DREAM/ , MATLAB, 160 linesD_core/ fsio/ pons_cut_dir_afd.m - H3/
DREAM/ , MATLAB, 38 linesD_core/ fsio/ pons_cut_table.m - H3/
DREAM/ , MATLAB, 82 linesD_core/ fsio/ pred2path.m - H3/
DREAM/ , MATLAB, 66 linesD_core/ fsio/ randb.m - H3/
DREAM/ , MATLAB, 28 linesD_core/ fsio/ read_ROIlabel.m - H3/
DREAM/ , MATLAB, 37 linesD_core/ fsio/ read_all.m - H3/
DREAM/ , MATLAB, 183 linesD_core/ fsio/ read_annotation.m - H3/
DREAM/ , MATLAB, 47 linesD_core/ fsio/ read_asc.m - H3/
DREAM/ , MATLAB, 31 linesD_core/ fsio/ read_ascii_curv.m - H3/
DREAM/ , MATLAB, 37 linesD_core/ fsio/ read_cor.m - H3/
DREAM/ , MATLAB, 76 linesD_core/ fsio/ read_csf_patch.m - H3/
DREAM/ , MATLAB, 57 linesD_core/ fsio/ read_curv.m - H3/
DREAM/ , MATLAB, 115 linesD_core/ fsio/ read_eccen_patch.m - H3/
DREAM/ , MATLAB, 106 linesD_core/ fsio/ read_freq_patch.m - H3/
DREAM/ , MATLAB, 76 linesD_core/ fsio/ read_fscolorlut.m - H3/
DREAM/ , MATLAB, 41 linesD_core/ fsio/ read_genesis_image.m - H3/
DREAM/ , MATLAB, 73 linesD_core/ fsio/ read_label.m - H3/
DREAM/ , MATLAB, 37 linesD_core/ fsio/ read_label_old.m - H3/
DREAM/ , MATLAB, 53 linesD_core/ fsio/ read_moviebyu.m - H3/
DREAM/ , MATLAB, 13 linesD_core/ fsio/ read_normals.m - H3/
DREAM/ , MATLAB, 113 linesD_core/ fsio/ read_patch.m - H3/
DREAM/ , MATLAB, 435 linesD_core/ fsio/ read_siemens_header.m - H3/
DREAM/ , MATLAB, 40 linesD_core/ fsio/ read_siemens_image.m - H3/
DREAM/ , MATLAB, 87 linesD_core/ fsio/ read_smooth_eccen.m - H3/
DREAM/ , MATLAB, 76 linesD_core/ fsio/ read_surf.m - H3/
DREAM/ , MATLAB, 36 linesD_core/ fsio/ read_type.m - H3/
DREAM/ , MATLAB, 203 linesD_core/ fsio/ read_vf.m - H3/
DREAM/ , MATLAB, 64 linesD_core/ fsio/ read_wfile.m - H3/
DREAM/ , MATLAB, 59 linesD_core/ fsio/ readrec.m - H3/
DREAM/ , MATLAB, 58 linesD_core/ fsio/ redo_lgi.m - H3/
DREAM/ , MATLAB, 11 linesD_core/ fsio/ remove_spaces.m - H3/
DREAM/ , MATLAB, 63 linesD_core/ fsio/ reorganize_verticeslist. m - H3/
DREAM/ , MATLAB, 246 linesD_core/ fsio/ ribbon_afd.m - H3/
DREAM/ , MATLAB, 263 linesD_core/ fsio/ ribbon_dir_afd.m - H3/
DREAM/ , MATLAB, 39 linesD_core/ fsio/ ribbon_table.m - H3/
DREAM/ , MATLAB, 11 linesD_core/ fsio/ rotmat.m - H3/
DREAM/ , MATLAB, 72 linesD_core/ fsio/ rotmat2angles.m - H3/
DREAM/ , MATLAB, 106 linesD_core/ fsio/ sampleSize.m - H3/
DREAM/ , MATLAB, 100 linesD_core/ fsio/ save_cor.m - H3/
DREAM/ , MATLAB, 122 linesD_core/ fsio/ save_mgh.m - H3/
DREAM/ , MATLAB, 113 linesD_core/ fsio/ save_mgh2.m - H3/
DREAM/ , MATLAB, 193 linesD_core/ fsio/ save_nifti.m - H3/
DREAM/ , MATLAB, 104 linesD_core/ fsio/ ssbloch.m - H3/
DREAM/ , MATLAB, 91 linesD_core/ fsio/ ssblochgrad.m - H3/
DREAM/ , MATLAB, 58 linesD_core/ fsio/ stringunique.m - H3/
DREAM/ , MATLAB, 35 linesD_core/ fsio/ strlen.m - H3/
DREAM/ , MATLAB, 162 linesD_core/ fsio/ subcortical_labeling_afd .m - H3/
DREAM/ , MATLAB, 191 linesD_core/ fsio/ subcortical_labeling_dir _afd.m - H3/
DREAM/ , MATLAB, 53 linesD_core/ fsio/ subcortical_labeling_tab le.m - H3/
DREAM/ , MATLAB, 165 linesD_core/ fsio/ surf_registration_afd.m - H3/
DREAM/ , MATLAB, 154 linesD_core/ fsio/ surf_registration_stats. m - H3/
DREAM/ , MATLAB, 45 linesD_core/ fsio/ surf_registration_table. m - H3/
DREAM/ , MATLAB, 155 linesD_core/ fsio/ talairaching_afd.m - H3/
DREAM/ , MATLAB, 196 linesD_core/ fsio/ talairaching_dir_afd.m - H3/
DREAM/ , MATLAB, 96 linesD_core/ fsio/ talairaching_stats.m - H3/
DREAM/ , MATLAB, 59 linesD_core/ fsio/ talairaching_table.m - H3/
DREAM/ , MATLAB, 22 linesD_core/ fsio/ transVertexToNormalAxisB ase.m - H3/
DREAM/ , MATLAB, 42 linesD_core/ fsio/ unwarp_init_globals.m - H3/
DREAM/ , MATLAB, 348 linesD_core/ fsio/ unwarp_resample.m - H3/
DREAM/ , MATLAB, 127 linesD_core/ fsio/ unwarp_scanners_table.m - H3/
DREAM/ , MATLAB, 112 linesD_core/ fsio/ vox2rasToQform.m - H3/
DREAM/ , MATLAB, 49 linesD_core/ fsio/ vox2ras_0to1.m - H3/
DREAM/ , MATLAB, 51 linesD_core/ fsio/ vox2ras_1to0.m - H3/
DREAM/ , MATLAB, 274 linesD_core/ fsio/ vox2ras_dfmeas.m - H3/
DREAM/ , MATLAB, 118 linesD_core/ fsio/ vox2ras_ksolve.m - H3/
DREAM/ , MATLAB, 225 linesD_core/ fsio/ vox2ras_rsolve.m - H3/
DREAM/ , MATLAB, 144 linesD_core/ fsio/ vox2ras_rsolveAA.m - H3/
DREAM/ , MATLAB, 53 linesD_core/ fsio/ vox2ras_tkreg.m - H3/
DREAM/ , MATLAB, 148 linesD_core/ fsio/ wm_seg_afd.m - H3/
DREAM/ , MATLAB, 167 linesD_core/ fsio/ wm_seg_dir_afd.m - H3/
DREAM/ , MATLAB, 37 linesD_core/ fsio/ wm_seg_table.m - H3/
DREAM/ , MATLAB, 104 linesD_core/ fsio/ write_analyze_hdr.m - H3/
DREAM/ , MATLAB, 150 linesD_core/ fsio/ write_annotation.m - H3/
DREAM/ , MATLAB, 34 linesD_core/ fsio/ write_ascii_curv.m - H3/
DREAM/ , MATLAB, 42 linesD_core/ fsio/ write_curv.m - H3/
DREAM/ , MATLAB, 91 linesD_core/ fsio/ write_label.m - H3/
DREAM/ , MATLAB, 66 linesD_core/ fsio/ write_lgi.m - H3/
DREAM/ , MATLAB, 76 linesD_core/ fsio/ write_path.m - H3/
DREAM/ , MATLAB, 66 linesD_core/ fsio/ write_wfile.m - H3/
DREAM/ , MATLAB, 52 linesD_core/ fsio/ xfm_read.m - H3/
DREAM/ , MATLAB, 237 linesD_core/ popfunc/ eeg_addnewevents.m - H3/
DREAM/ , MATLAB, 247 linesD_core/ popfunc/ eeg_amplitudearea.m - H3/
DREAM/ , MATLAB, 70 linesD_core/ popfunc/ eeg_chaninds.m - H3/
DREAM/ , MATLAB, 68 linesD_core/ popfunc/ eeg_chantype.m - H3/
DREAM/ , MATLAB, 651 linesD_core/ popfunc/ eeg_context.m - H3/
DREAM/ , MATLAB, 122 linesD_core/ popfunc/ eeg_countepochs.m - H3/
DREAM/ , MATLAB, 129 linesD_core/ popfunc/ eeg_decodechan.m - H3/
DREAM/ , MATLAB, 81 linesD_core/ popfunc/ eeg_dipselect.m - H3/
DREAM/ , MATLAB, 231 linesD_core/ popfunc/ eeg_eegrej.m - H3/
DREAM/ , MATLAB, 93 linesD_core/ popfunc/ eeg_emptyset.m - H3/
DREAM/ , MATLAB, 51 linesD_core/ popfunc/ eeg_epoch2continuous.m - H3/
DREAM/ , MATLAB, 208 linesD_core/ popfunc/ eeg_epochformat.m - H3/
DREAM/ , MATLAB, 73 linesD_core/ popfunc/ eeg_eventformat.m - H3/
DREAM/ , MATLAB, 160 linesD_core/ popfunc/ eeg_eventhist.m - H3/
DREAM/ , MATLAB, 154 linesD_core/ popfunc/ eeg_eventtable.m - H3/
DREAM/ , MATLAB, 182 linesD_core/ popfunc/ eeg_eventtypes.m - H3/
DREAM/ , MATLAB, 315 linesD_core/ popfunc/ eeg_getepochevent.m - H3/
DREAM/ , MATLAB, 50 linesD_core/ popfunc/ eeg_getica.m - H3/
DREAM/ , MATLAB, 136 linesD_core/ popfunc/ eeg_insertbound.m - H3/
DREAM/ , MATLAB, 178 linesD_core/ popfunc/ eeg_insertboundold.m - H3/
DREAM/ , MATLAB, 351 linesD_core/ popfunc/ eeg_interp.m - H3/
DREAM/ , MATLAB, 158 linesD_core/ popfunc/ eeg_laplac.m - H3/
DREAM/ , MATLAB, 105 linesD_core/ popfunc/ eeg_lat2point.m - H3/
DREAM/ , MATLAB, 82 linesD_core/ popfunc/ eeg_latencyur.m - H3/
DREAM/ , MATLAB, 134 linesD_core/ popfunc/ eeg_matchchans.m - H3/
DREAM/ , MATLAB, 68 linesD_core/ popfunc/ eeg_mergechan.m - H3/
DREAM/ , MATLAB, 127 linesD_core/ popfunc/ eeg_mergelocs.m - H3/
DREAM/ , MATLAB, 156 linesD_core/ popfunc/ eeg_mergelocs_diffstruct .m - H3/
DREAM/ , MATLAB, 118 linesD_core/ popfunc/ eeg_multieegplot.m - H3/
DREAM/ , MATLAB, 121 linesD_core/ popfunc/ eeg_oldica.m - H3/
DREAM/ , MATLAB, 91 linesD_core/ popfunc/ eeg_point2lat.m - H3/
DREAM/ , MATLAB, 262 linesD_core/ popfunc/ eeg_pv.m - H3/
DREAM/ , MATLAB, 277 linesD_core/ popfunc/ eeg_pvaf.m - H3/
DREAM/ , MATLAB, 183 linesD_core/ popfunc/ eeg_rejmacro.m - H3/
DREAM/ , MATLAB, 126 linesD_core/ popfunc/ eeg_rejsuperpose.m - H3/
DREAM/ , MATLAB, 83 linesD_core/ popfunc/ eeg_timeinterp.m - H3/
DREAM/ , MATLAB, 385 linesD_core/ popfunc/ eeg_topoplot.m - H3/
DREAM/ , MATLAB, 60 linesD_core/ popfunc/ eeg_urlatency.m - H3/
DREAM/ , MATLAB, 64 linesD_core/ popfunc/ getchanlist.m - H3/
DREAM/ , MATLAB, 375 linesD_core/ popfunc/ importevent.m - H3/
DREAM/ , MATLAB, 251 linesD_core/ popfunc/ pop_autorej.m - H3/
DREAM/ , MATLAB, 73 linesD_core/ popfunc/ pop_averef.m - H3/
DREAM/ , MATLAB, 264 linesD_core/ popfunc/ pop_biosig.m - H3/
DREAM/ , MATLAB, 270 linesD_core/ popfunc/ pop_biosig16.m - H3/
DREAM/ , MATLAB, 271 linesD_core/ popfunc/ pop_biosig16ying.m - H3/
DREAM/ , MATLAB, 103 linesD_core/ popfunc/ pop_chancenter.m - H3/
DREAM/ , MATLAB, 316 linesD_core/ popfunc/ pop_chancoresp.m - H3/
DREAM/ , MATLAB, 959 linesD_core/ popfunc/ pop_chanedit.m - H3/
DREAM/ , MATLAB, 299 linesD_core/ popfunc/ pop_chanevent.m - H3/
DREAM/ , MATLAB, 145 linesD_core/ popfunc/ pop_chansel.m - H3/
DREAM/ , MATLAB, 162 linesD_core/ popfunc/ pop_comments.m - H3/
DREAM/ , MATLAB, 77 linesD_core/ popfunc/ pop_compareerps.m - H3/
DREAM/ , MATLAB, 544 linesD_core/ popfunc/ pop_comperp.m - H3/
DREAM/ , MATLAB, 73 linesD_core/ popfunc/ pop_copyset.m - H3/
DREAM/ , MATLAB, 219 linesD_core/ popfunc/ pop_crossf.m - H3/
DREAM/ , MATLAB, 445 linesD_core/ popfunc/ pop_editeventfield.m - H3/
DREAM/ , MATLAB, 656 linesD_core/ popfunc/ pop_editeventvals.m - H3/
DREAM/ , MATLAB, 500 linesD_core/ popfunc/ pop_editset.m - H3/
DREAM/ , MATLAB, 243 linesD_core/ popfunc/ pop_eegfilt.m - H3/
DREAM/ , MATLAB, 195 linesD_core/ popfunc/ pop_eegplot.m - H3/
DREAM/ , MATLAB, 243 linesD_core/ popfunc/ pop_eegthresh.m - H3/
DREAM/ , MATLAB, 196 linesD_core/ popfunc/ pop_envtopo.m - H3/
DREAM/ , MATLAB, 403 linesD_core/ popfunc/ pop_epoch.m - H3/
DREAM/ , MATLAB, 697 linesD_core/ popfunc/ pop_erpimage.m - H3/
DREAM/ , MATLAB, 139 linesD_core/ popfunc/ pop_eventstat.m - H3/
DREAM/ , MATLAB, 69 linesD_core/ popfunc/ pop_expevents.m - H3/
DREAM/ , MATLAB, 70 linesD_core/ popfunc/ pop_expica.m - H3/
DREAM/ , MATLAB, 208 linesD_core/ popfunc/ pop_export.m - H3/
DREAM/ , MATLAB, 180 linesD_core/ popfunc/ pop_fileio.m - H3/
DREAM/ , MATLAB, 76 linesD_core/ popfunc/ pop_fileiodir.m - H3/
DREAM/ , MATLAB, 505 linesD_core/ popfunc/ pop_headplot.m - H3/
DREAM/ , MATLAB, 286 linesD_core/ popfunc/ pop_icathresh.m - H3/
DREAM/ , MATLAB, 289 linesD_core/ popfunc/ pop_importdata.m - H3/
DREAM/ , MATLAB, 147 linesD_core/ popfunc/ pop_importegimat.m - H3/
DREAM/ , MATLAB, 421 linesD_core/ popfunc/ pop_importepoch.m - H3/
DREAM/ , MATLAB, 226 linesD_core/ popfunc/ pop_importerplab.m - H3/
DREAM/ , MATLAB, 75 linesD_core/ popfunc/ pop_importev2.m - H3/
DREAM/ , MATLAB, 229 linesD_core/ popfunc/ pop_importevent.m - H3/
DREAM/ , MATLAB, 189 linesD_core/ popfunc/ pop_importpres.m - H3/
DREAM/ , MATLAB, 158 linesD_core/ popfunc/ pop_interp.m - H3/
DREAM/ , MATLAB, 273 linesD_core/ popfunc/ pop_jointprob.m - H3/
DREAM/ , MATLAB, 357 linesD_core/ popfunc/ pop_loadbci.m - H3/
DREAM/ , MATLAB, 234 linesD_core/ popfunc/ pop_loadcnt.m - H3/
DREAM/ , MATLAB, 105 linesD_core/ popfunc/ pop_loaddat.m - H3/
DREAM/ , MATLAB, 145 linesD_core/ popfunc/ pop_loadeeg.m - H3/
DREAM/ , MATLAB, 373 linesD_core/ popfunc/ pop_loadset.m - H3/
DREAM/ , MATLAB, 372 linesD_core/ popfunc/ pop_mergeset.m - H3/
DREAM/ , MATLAB, 226 linesD_core/ popfunc/ pop_newcrossf.m - H3/
DREAM/ , MATLAB, 570 linesD_core/ popfunc/ pop_newset.m - H3/
DREAM/ , MATLAB, 340 linesD_core/ popfunc/ pop_newtimef.m - H3/
DREAM/ , MATLAB, 200 linesD_core/ popfunc/ pop_plotdata.m - H3/
DREAM/ , MATLAB, 122 linesD_core/ popfunc/ pop_plottopo.m - H3/
DREAM/ , MATLAB, 403 linesD_core/ popfunc/ pop_prop.m - H3/
DREAM/ , MATLAB, 211 linesD_core/ popfunc/ pop_readegi.m - H3/
DREAM/ , MATLAB, 218 linesD_core/ popfunc/ pop_readlocs.m - H3/
DREAM/ , MATLAB, 114 linesD_core/ popfunc/ pop_readsegegi.m - H3/
DREAM/ , MATLAB, 229 linesD_core/ popfunc/ pop_rejchan.m - H3/
DREAM/ , MATLAB, 242 linesD_core/ popfunc/ pop_rejchanspec.m - H3/
DREAM/ , MATLAB, 313 linesD_core/ popfunc/ pop_rejcont.m - H3/
DREAM/ , MATLAB, 90 linesD_core/ popfunc/ pop_rejepoch.m - H3/
DREAM/ , MATLAB, 269 linesD_core/ popfunc/ pop_rejkurt.m - H3/
DREAM/ , MATLAB, 312 linesD_core/ popfunc/ pop_rejspec.m - H3/
DREAM/ , MATLAB, 215 linesD_core/ popfunc/ pop_rejtrend.m - H3/
DREAM/ , MATLAB, 291 linesD_core/ popfunc/ pop_reref.m - H3/
DREAM/ , MATLAB, 342 linesD_core/ popfunc/ pop_resample.m - H3/
DREAM/ , MATLAB, 179 linesD_core/ popfunc/ pop_rmbase.m - H3/
DREAM/ , MATLAB, 183 linesD_core/ popfunc/ pop_rmdat.m - H3/
DREAM/ , MATLAB, 538 linesD_core/ popfunc/ pop_runica.m - H3/
DREAM/ , MATLAB, 44 linesD_core/ popfunc/ pop_runscript.m - H3/
DREAM/ , MATLAB, 76 linesD_core/ popfunc/ pop_saveh.m - H3/
DREAM/ , MATLAB, 329 linesD_core/ popfunc/ pop_saveset.m - H3/
DREAM/ , MATLAB, 669 linesD_core/ popfunc/ pop_select.m - H3/
DREAM/ , MATLAB, 194 linesD_core/ popfunc/ pop_selectcomps.m - H3/
DREAM/ , MATLAB, 569 linesD_core/ popfunc/ pop_selectevent.m - H3/
DREAM/ , MATLAB, 146 linesD_core/ popfunc/ pop_signalstat.m - H3/
DREAM/ , MATLAB, 98 linesD_core/ popfunc/ pop_snapread.m - H3/
DREAM/ , MATLAB, 334 linesD_core/ popfunc/ pop_spectopo.m - H3/
DREAM/ , MATLAB, 163 linesD_core/ popfunc/ pop_subcomp.m - H3/
DREAM/ , MATLAB, 223 linesD_core/ popfunc/ pop_timef.m - H3/
DREAM/ , MATLAB, 101 linesD_core/ popfunc/ pop_timtopo.m - H3/
DREAM/ , MATLAB, 389 linesD_core/ popfunc/ pop_topoplot.m - H3/
DREAM/ , MATLAB, 88 linesD_core/ popfunc/ pop_writeeeg.m - H3/
DREAM/ , MATLAB, 180 linesD_core/ popfunc/ pop_writelocs.m - H3/
GrowthCharts/ , Shell, 23 linesCodes/ DT1_Template_Constructio n.sh - H3/
GrowthCharts/ , Shell, 22 linesCodes/ DT2_Individual_Segmentat ion.sh - H3/
GrowthCharts/ , Shell, 34 linesCodes/ DT3_ASTs_Registration_To _ST.sh - H3/
GrowthCharts/ , Shell, 36 linesCodes/ DT3_Individual_Registrai on_To_Template.sh - H3/
GrowthCharts/ , Shell, 29 linesCodes/ DT4_Indi_to_Standard.sh - H3/
GrowthCharts/ , Shell, 29 linesCodes/ DT4_Standard_to_Indi.sh - H3/
GrowthCharts/ , Shell, 23 linesCodes/ DT5_extract_volume.sh - H3/
ccs_07_grp_4dmaps.sh , Shell, 70 lines - H3/
ccs_07_grp_SurfaceMask.m , MATLAB, 59 lines - H3/
ccs_07_grp_boldmask.sh , Shell, 77 lines - H3/
ccs_07_grp_meanbold.sh , Shell, 78 lines - H3/
ccs_07_grp_meanstruc.sh , Shell, 93 lines - H3/
ccs_07_grp_surfcluster.s , Shell, 5 linesh - H3/
gradient/ , Python, 80 linesD1_FCmapZ_Computation_Ve ntralAttention_Subgroups .py - H3/
gradient/ , Python, 90 linesD1_GroupGradientComputat ion_DroppingOffNetwork.p y - H3/
gradient/ , Python, 58 linesD2_GroupGradientComputat ion_VentralAttention_Sub groups.py - H3/
gradient/ , MATLAB, 220 linesFigure1_Degree_Centralit y_Caulation& Surface_Rendering.m - H3/
gradient/ , MATLAB, 95 linesFigure2_Gradient_Map_Sur face_Rendering.m - H3/
gradient/ , MATLAB, 126 linesFigure3_ClusterDroppingo ff_Permutation_model.m - H3/
gradient/ , MATLAB, 118 linesFigure3_Random_Rotated_M ask_Generation.m - H3/
nmm/ , MATLAB, 10 linesccs_core_double4cell.m - H3/
nmm/ , MATLAB, 21 linesccs_ttest2_bayesadj.m - H3/
nmm/ , MATLAB, 68 linesnormmodel_00_getdata4R.m - H3/
nmm/ , MATLAB, 188 linesnormmodel_01_plotcharts. m - H3/
nmm/ , MATLAB, 188 linesnormmodel_01_plotchartsV 2.m - H3/
nmm/ , MATLAB, 91 linesnormmodel_02_ttest2.m - H3/
nmm/ , MATLAB, 96 linesnormmodel_03_udprs.m - H3/
nmm/ , R, 27 linestemplate_centiles.R - H3/
nmm/ , Shell, 20 linestemplate_gamlss.sh - H3/
reliability/ , MATLAB, 89 linesIPN_icc.m - H3/
reliability/ , MATLAB, 84 linesm_fitlme_icc.m - H3/
vistool/ , MATLAB, 116 linesccs_SurfStatView.m - H3/
vistool/ , Python, 253 linesccs_auto_montage_pic.py - H3/
vistool/ , MATLAB, 93 linesccs_extractcolormaps.m - H3/
vistool/ , Shell, 8 linesccs_hemiFS_lh_split.sh - H3/
vistool/ , Shell, 8 linesccs_hemiFS_rh_split.sh - H3/
vistool/ , MATLAB, 146 linesccs_hemiSurfStatView.m - H3/
vistool/ , MATLAB, 61 linesccs_mkcolormap.m - H3/
vistool/ , MATLAB, 131 linesccs_mri_surfrft_jlbr.m - H3/
vistool/ , Shell, 2 linesccs_surf_montage.sh - H3/
vistool/ , Shell, 10 linesccs_surf_split.sh - H3/
vistool/ , MATLAB, 111 linesrenderSurface.m - H3/
vistool/ , MATLAB, 3 linessurfstat/ @random/ char.m - H3/
vistool/ , MATLAB, 17 linessurfstat/ @random/ display.m - H3/
vistool/ , MATLAB, 3 linessurfstat/ @random/ double.m - H3/
vistool/ , MATLAB, 45 linessurfstat/ @random/ image.m - H3/
vistool/ , MATLAB, 2 linessurfstat/ @random/ isempty.m - H3/
vistool/ , MATLAB, 25 linessurfstat/ @random/ minus.m - H3/
vistool/ , MATLAB, 6 linessurfstat/ @random/ mpower.m - H3/
vistool/ , MATLAB, 73 linessurfstat/ @random/ mtimes.m - H3/
vistool/ , MATLAB, 25 linessurfstat/ @random/ plus.m - H3/
vistool/ , MATLAB, 136 linessurfstat/ @random/ random.m - H3/
vistool/ , MATLAB, 5 linessurfstat/ @random/ size.m - H3/
vistool/ , MATLAB, 2 linessurfstat/ @random/ subsref.m - H3/
vistool/ , MATLAB, 2 linessurfstat/ @term/ char.m - H3/
vistool/ , MATLAB, 14 linessurfstat/ @term/ display.m - H3/
vistool/ , MATLAB, 2 linessurfstat/ @term/ double.m - H3/
vistool/ , MATLAB, 26 linessurfstat/ @term/ image.m - H3/
vistool/ , MATLAB, 2 linessurfstat/ @term/ isempty.m - H3/
vistool/ , MATLAB, 28 linessurfstat/ @term/ minus.m - H3/
vistool/ , MATLAB, 8 linessurfstat/ @term/ mpower.m - H3/
vistool/ , MATLAB, 45 linessurfstat/ @term/ mtimes.m - H3/
vistool/ , MATLAB, 32 linessurfstat/ @term/ plus.m - H3/
vistool/ , MATLAB, 6 linessurfstat/ @term/ size.m - H3/
vistool/ , MATLAB, 10 linessurfstat/ @term/ subsref.m - H3/
vistool/ , MATLAB, 109 linessurfstat/ @term/ term.m - H3/
vistool/ , MATLAB, 3 linessurfstat/ I.m - H3/
vistool/ , MATLAB, 44 linessurfstat/ SurfStatAvSurf.m - H3/
vistool/ , MATLAB, 58 linessurfstat/ SurfStatAvVol.m - H3/
vistool/ , MATLAB, 36 linessurfstat/ SurfStatColLim.m - H3/
vistool/ , MATLAB, 29 linessurfstat/ SurfStatColormap.m - H3/
vistool/ , MATLAB, 48 linessurfstat/ SurfStatCoord2Ind.m - H3/
vistool/ , MATLAB, 17 linessurfstat/ SurfStatDataCursor.m - H3/
vistool/ , MATLAB, 28 linessurfstat/ SurfStatDataCursorP.m - H3/
vistool/ , MATLAB, 26 linessurfstat/ SurfStatDataCursorQ.m - H3/
vistool/ , MATLAB, 70 linessurfstat/ SurfStatDelete.m - H3/
vistool/ , MATLAB, 78 linessurfstat/ SurfStatEdg.m - H3/
vistool/ , MATLAB, 128 linessurfstat/ SurfStatF.m - H3/
vistool/ , MATLAB, 39 linessurfstat/ SurfStatInd2Coord.m - H3/
vistool/ , MATLAB, 74 linessurfstat/ SurfStatInflate.m - H3/
vistool/ , MATLAB, 346 linessurfstat/ SurfStatLinMod.m - H3/
vistool/ , MATLAB, 37 linessurfstat/ SurfStatListDir.m - H3/
vistool/ , MATLAB, 23 linessurfstat/ SurfStatMaskCut.m - H3/
vistool/ , MATLAB, 82 linessurfstat/ SurfStatNorm.m - H3/
vistool/ , MATLAB, 107 linessurfstat/ SurfStatP.m - H3/
vistool/ , MATLAB, 166 linessurfstat/ SurfStatPCA.m - H3/
vistool/ , MATLAB, 147 linessurfstat/ SurfStatPeakClus.m - H3/
vistool/ , MATLAB, 141 linessurfstat/ SurfStatPlot.m - H3/
vistool/ , MATLAB, 66 linessurfstat/ SurfStatQ.m - H3/
vistool/ , MATLAB, 44 linessurfstat/ SurfStatROI.m - H3/
vistool/ , MATLAB, 39 linessurfstat/ SurfStatROILabel.m - H3/
vistool/ , MATLAB, 113 linessurfstat/ SurfStatReadData.m - H3/
vistool/ , MATLAB, 57 linessurfstat/ SurfStatReadData1.m - H3/
vistool/ , MATLAB, 133 linessurfstat/ SurfStatReadSurf.m - H3/
vistool/ , MATLAB, 172 linessurfstat/ SurfStatReadSurf1.m - H3/
vistool/ , MATLAB, 190 linessurfstat/ SurfStatReadVol.m - H3/
vistool/ , MATLAB, 663 linessurfstat/ SurfStatReadVol1.m - H3/
vistool/ , MATLAB, 442 linessurfstat/ SurfStatResels.m - H3/
vistool/ , MATLAB, 85 linessurfstat/ SurfStatSmooth.m - H3/
vistool/ , MATLAB, 35 linessurfstat/ SurfStatStand.m - H3/
vistool/ , MATLAB, 85 linessurfstat/ SurfStatSurf2Vol.m - H3/
vistool/ , MATLAB, 160 linessurfstat/ SurfStatT.m - H3/
vistool/ , MATLAB, 128 linessurfstat/ SurfStatView.m - H3/
vistool/ , MATLAB, 309 linessurfstat/ SurfStatView1.m - H3/
vistool/ , MATLAB, 157 linessurfstat/ SurfStatViewData.m - H3/
vistool/ , MATLAB, 159 linessurfstat/ SurfStatViewDataFlat.m - H3/
vistool/ , MATLAB, 91 linessurfstat/ SurfStatViews.m - H3/
vistool/ , MATLAB, 59 linessurfstat/ SurfStatVol2Surf.m - H3/
vistool/ , MATLAB, 41 linessurfstat/ SurfStatWriteData.m - H3/
vistool/ , MATLAB, 81 linessurfstat/ SurfStatWriteSurf.m - H3/
vistool/ , MATLAB, 96 linessurfstat/ SurfStatWriteSurf1.m - H3/
vistool/ , MATLAB, 44 linessurfstat/ SurfStatWriteVol.m - H3/
vistool/ , MATLAB, 756 linessurfstat/ SurfStatWriteVol1.m - H3/
vistool/ , MATLAB, 20 linessurfstat/ fac2var.m - H3/
vistool/ , MATLAB, 60 linessurfstat/ gl.m - H3/
vistool/ , MATLAB, 71 linessurfstat/ redmod.m - H3/
vistool/ , MATLAB, 41 linessurfstat/ spectral.m - H3/
vistool/ , MATLAB, 769 linessurfstat/ stat_threshold.m - H3/
vistool/ , MATLAB, 33 linessurfstat/ var2fac.m - H3/
vistool/ , MATLAB, 160 linestestCT_lifespan.m - H3/
vistool/ , MATLAB, 276 linesviridis.m - core/
IPN_FDR.m , MATLAB, 22 lines - core/
IPN_FisherZtest.m , MATLAB, 15 lines - core/
IPN_calLCAM.m , MATLAB, 76 lines - core/
IPN_calLCAMw.m , MATLAB, 75 lines - core/
IPN_ccc.m , MATLAB, 15 lines - core/
IPN_cell2mat.m , MATLAB, 14 lines - core/
IPN_centBetweenness.m , MATLAB, 26 lines - core/
IPN_centBetweenness_old. , MATLAB, 22 linesm - core/
IPN_centCloseness.m , MATLAB, 21 lines - core/
IPN_centCloseness_old.m , MATLAB, 10 lines - core/
IPN_centCommunicability. , MATLAB, 28 linesm - core/
IPN_centDegree.m , MATLAB, 19 lines - core/
IPN_centEigenvector.m , MATLAB, 26 lines - core/
IPN_centNSubgraph.m , MATLAB, 57 lines - core/
IPN_centPagerank.m , MATLAB, 64 lines - core/
IPN_centSubgraph.m , MATLAB, 70 lines - core/
IPN_compR2Z.m , MATLAB, 13 lines - core/
IPN_computeRegErr.m , MATLAB, 30 lines - core/
IPN_cspy.m , MATLAB, 105 lines - core/
IPN_demean.m , MATLAB, 6 lines - core/
IPN_doSingleSubject_regi , MATLAB, 98 linesonCENT_aal.m - core/
IPN_doSingleSubject_regi , MATLAB, 100 linesonCENT_cameron.m - core/
IPN_doSingleSubject_regi , MATLAB, 94 linesonCENT_dosenbach2010.m - core/
IPN_doSingleSubject_regi , MATLAB, 96 linesonCENT_hoa25.m - core/
IPN_doSingleSubject_voxe , MATLAB, 122 lineslCENT.m - core/
IPN_doSingleSubject_voxe , MATLAB, 32 lineslGraph.m - core/
IPN_doSingleSubject_voxe , MATLAB, 67 lineslNSubgraph.m - core/
IPN_etaSquare.m , MATLAB, 14 lines - core/
IPN_falH.m , MATLAB, 82 lines - core/
IPN_falH_old.m , MATLAB, 21 lines - core/
IPN_fastCorr.m , MATLAB, 26 lines - core/
IPN_getsexInfo.m , MATLAB, 15 lines - core/
IPN_gretna_R2b.m , MATLAB, 112 lines - core/
IPN_icc.m , MATLAB, 89 lines - core/
IPN_kendallW.m , MATLAB, 27 lines - core/
IPN_kendallWmat.m , MATLAB, 17 lines - core/
IPN_parcunit_hoa25_save. , MATLAB, 15 linesm - core/
IPN_pval2corr.m , MATLAB, 31 lines - core/
IPN_rms.m , MATLAB, 3 lines - core/
IPN_ssd.m , MATLAB, 16 lines - core/
IPN_statT2Z.m , MATLAB, 6 lines - core/
IPN_subCell.m , MATLAB, 7 lines - core/
IPN_voxel_writetoCSV.m , MATLAB, 49 lines - core/
IPN_voxel_writetoGEXF.m , MATLAB, 71 lines - core/
IPN_voxel_writetoPAIRS.m , MATLAB, 21 lines - core/
IPN_write4LinkComm.m , MATLAB, 41 lines - core/
IPN_writetoGEXF.m , MATLAB, 73 lines - core/
LFCD_IPN_computeMC.m , MATLAB, 123 lines - core/
LFCD_alff.m , MATLAB, 65 lines - core/
LFCD_alffMatrix.m , MATLAB, 33 lines - core/
LFCD_alff_test.m , MATLAB, 62 lines - core/
LFCD_corr_covar.m , MATLAB, 21 lines - core/
LFCD_doGroupSurfMask.m , MATLAB, 31 lines - core/
LFCD_matchstrCell.m , MATLAB, 10 lines - core/
LFCD_metricQC.m , MATLAB, 53 lines - core/
LFCD_spm_read_vols.m , MATLAB, 30 lines - core/
LFCD_spm_write_vols.m , MATLAB, 34 lines - core/
LFCD_writetoGEXF4DMN.m , MATLAB, 127 lines - core/
LFCD_writetoGEXF4gRAICAR , MATLAB, 104 lines.m - core/
ccs_ReHo.m , MATLAB, 18 lines - core/
ccs_checkGeometry_surfac , MATLAB, 41 linese.m - core/
ccs_circos_normalize.m , MATLAB, 9 lines - core/
ccs_concatCell.m , MATLAB, 12 lines - core/
ccs_core_buildyeo2011.m , MATLAB, 73 lines - core/
ccs_core_buildyeo2017.m , MATLAB, 126 lines - core/
ccs_core_bwvgraph.m , MATLAB, 1,195 lines - core/
ccs_core_calLCAM.m , MATLAB, 71 lines - core/
ccs_core_curvfit_agepoly , MATLAB, 27 lines123.m - core/
ccs_core_distdpdtLCAM.m , MATLAB, 96 lines - core/
ccs_core_dualreg.m , MATLAB, 51 lines - core/
ccs_core_fastCoRR.m , MATLAB, 26 lines - core/
ccs_core_gparcmetric.m , MATLAB, 52 lines - core/
ccs_core_graphnbtw.m , MATLAB, 40 lines - core/
ccs_core_graphnbtw2.m , MATLAB, 42 lines - core/
ccs_core_lfobands.m , MATLAB, 60 lines - core/
ccs_core_map3dReHo.sh , Shell, 40 lines - core/
ccs_core_polyagecurvfit. , MATLAB, 28 linesm - core/
ccs_core_polyfit.m , MATLAB, 26 lines - core/
ccs_core_regressplot.m , MATLAB, 82 lines - core/
ccs_core_seedSurf.m , MATLAB, 90 lines - core/
ccs_core_surfclust.m , MATLAB, 131 lines - core/
ccs_findstrCell.m , MATLAB, 7 lines - core/
ccs_generateDivisions_su , MATLAB, 227 linesrface.m - core/
ccs_get3x3x3ts.m , MATLAB, 16 lines - core/
ccs_getINFO_surface.m , MATLAB, 57 lines - core/
ccs_getmetricsCONN.m , MATLAB, 131 lines - core/
ccs_gpanda_FiberNumMatri , MATLAB, 209 linesx.m - core/
ccs_icc2zstat.m , MATLAB, 8 lines - core/
ccs_locateNBRS_surface.m , MATLAB, 35 lines - core/
ccs_parReHo.m , MATLAB, 18 lines - core/
ccs_parsave.m , MATLAB, 8 lines - core/
ccs_regress.m , MATLAB, 16 lines - core/
ccs_scatterplot.m , MATLAB, 43 lines - core/
ccs_strfind.m , MATLAB, 7 lines - core/
ccs_subcell.m , MATLAB, 5 lines - core/
ccs_write2graph_gexf.m , MATLAB, 115 lines - core/
outlets/ , MATLAB, 31 linesccs_ReHo.m - core/
outlets/ , MATLAB, 41 linesccs_checkGeometry_surfac e.m - core/
outlets/ , MATLAB, 9 linesccs_circos_normalize.m - core/
outlets/ , MATLAB, 12 linesccs_concatCell.m - core/
outlets/ , MATLAB, 82 linesccs_core_regressplot.m - core/
outlets/ , MATLAB, 7 linesccs_findstrCell.m - core/
outlets/ , MATLAB, 227 linesccs_generateDivisions_su rface.m - core/
outlets/ , MATLAB, 16 linesccs_get3x3x3ts.m - core/
outlets/ , MATLAB, 57 linesccs_getINFO_surface.m - core/
outlets/ , MATLAB, 131 linesccs_getmetricsCONN.m - core/
outlets/ , MATLAB, 8 linesccs_icc2zstat.m - core/
outlets/ , MATLAB, 35 linesccs_locateNBRS_surface.m - core/
outlets/ , MATLAB, 18 linesccs_parReHo.m - core/
outlets/ , MATLAB, 8 linesccs_parsave.m - core/
outlets/ , MATLAB, 16 linesccs_regress.m - core/
outlets/ , MATLAB, 43 linesccs_scatterplot.m - core/
outlets/ , MATLAB, 7 linesccs_strfind.m - core/
outlets/ , MATLAB, 5 linesccs_subcell.m - core/
outlets/ , MATLAB, 121 linesccs_yeo7rsn_contours.m - core/
outlets/ , MATLAB, 49 linesicbm_fsl2tal.m - core/
outlets/ , MATLAB, 50 linesicbm_other2tal.m - core/
outlets/ , MATLAB, 49 linesicbm_spm2tal.m - core/
outlets/ , MATLAB, 52 linestal2icbm_fsl.m - core/
outlets/ , MATLAB, 53 linestal2icbm_other.m - core/
outlets/ , MATLAB, 52 linestal2icbm_spm.m - projects/
ccsdemo/ , MATLAB, 40 linesccs_core_graphnbtw.m - projects/
ccsdemo/ , MATLAB, 32 linesccs_core_graphwalk.m - projects/
ccsdemo/ , MATLAB, 25 linesdemo_walkCentrality.m - projects/
hcpdemo/ , MATLAB, 65 linesccshcp_core_alff.m - projects/
hcpdemo/ , MATLAB, 33 linesccshcp_core_alffmat.m - projects/
hcpdemo/ , MATLAB, 75 linesccshcp_core_bwvgraph.m - projects/
hcpdemo/ , MATLAB, 14 linesccshcp_core_dc.m - projects/
hcpdemo/ , MATLAB, 29 linesccshcp_core_ec.m - projects/
hcpdemo/ , MATLAB, 31 linesccshcp_core_fastcorr.m - projects/
hcpdemo/ , MATLAB, 73 linesccshcp_core_pc.m - projects/
hcpdemo/ , MATLAB, 18 linesccshcp_core_reho.m - projects/
hcpdemo/ , MATLAB, 70 linesccshcp_core_sc.m - projects/
hcpdemo/ , MATLAB, 81 linesccshcp_core_scec.m - projects/
hcpdemo/ , MATLAB, 35 linesccshcp_seedvertex_conte6 9.m - projects/
hcpdemo/ , MATLAB, 395 linesdemo_classmetrics.m - projects/
hcpdemo/ , MATLAB, 275 linesdemo_fconnblock.m - projects/
hcpdemo/ , MATLAB, 357 linesdemo_vismetrics.m - projects/
hcpdemo/ , MATLAB, 64 linesgenerate_adjmat_conte69. m - projects/
hcpdemo/ , MATLAB, 69 linesgenerate_adjmat_hcp64sur f59k.m - projects/
hcpdemo/ , MATLAB, 36 linesgenerate_yeo2011rsnCI.m - projects/
hcpdemo/ , MATLAB, 40 linesgenerate_yeo2015cogcomPA .m - projects/
hcpdemo/ , MATLAB, 41 linesmapping_gsurfmetrics.m - projects/
hcpdemo/ , MATLAB, 353 linesmapping_surfmetrics.m - projects/
hcpdemo/ , MATLAB, 203 linesmapping_surfmetrics7T.m - projects/
hcpdemo/ , MATLAB, 220 linesrender_statsurfs.m - samplesScripts/
ccs_anat_01_pre_freesurf , Shell, 100 lineser.sh - samplesScripts/
ccs_anat_02_freesurfer.s , Shell, 53 linesh - samplesScripts/
ccs_anat_03_postfs.sh , Shell, 77 lines - samplesScripts/
ccs_anatproc_template.sh , Shell, 105 lines - samplesScripts/
ccs_funcproc_template.sh , Shell, 130 lines - samplesScripts/
ccs_postproc_template.sh , Shell, 73 lines - samplesScripts/
ccs_pre_bids2ccs.py , Python, 118 lines - samplesScripts/
runSurfaceCCS_template.m , MATLAB, 74 lines - samplesScripts/
step1_ccs_preproc_anat_F , Python, 48 linesS.py - samplesScripts/
step2_ccs_preproc_anat_p , Python, 48 linesostFS.py - samplesScripts/
step3_ccs_preproc_func_a , Python, 47 linesllsteps.py - samplesScripts/
step4_ccs_preproc_CCS2HC , Python, 81 linesP.py - samplesScripts/
template_preproc_funcpar , Shell, 35 linest.sh - LICENSE, License, 340 lines
- README.md, Text, 92 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:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 730 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
- figshare:6, at figshare; found in “Data and code availability”
Data and code availability
• The manually segmented amygdala datasets from the Chongqing cohort of the Chinese Color Nest Cohort (CKG-CCNC), used for model training and internal validation, are publicly available via the National Science DataBank (https://
Reproduced under the paper's license (CC BY-NC), 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, issue, pages, dates, 11 authors, 2 keywords, 11 MeSH terms, 14 funders, 45 references.
Cite
This paper
Zhou, Q., Dong, B., Gao, P., Wei, J., Xiao, J., Wang, W., Liang, P., Lin, D., Lu, J., Zuo, X.-N., & He, H. (2026). AmygdalaGo-BOLT for boundary-aware segmentation of the human amygdala. Cell reports methods, 6(7), 101473. https://
BibTeX
@article{zhou2026amygdal
author = {Zhou, Quan and Dong, Bo and Gao, Peng and Wei, Jintao and Xiao, Jiale and Wang, Wei and Liang, Peipeng and Lin, Danhua and Lu, Jie and Zuo, Xi-Nian and He, Hongjian},
title = {{AmygdalaGo-BOLT for boundary-aware segmentation of the human amygdala}},
journal = {Cell reports methods},
year = {2026},
month = jun,
volume = {6},
number = {7},
pages = {101473},
publisher = {Elsevier},
issn = {2667-2375},
doi = {10.1016/
url = {https://
pmid = {42229420},
pmcid = {PMC13390094}
}
RIS
TY - JOUR
AU - Zhou, Quan
AU - Dong, Bo
AU - Gao, Peng
AU - Wei, Jintao
AU - Xiao, Jiale
AU - Wang, Wei
AU - Liang, Peipeng
AU - Lin, Danhua
AU - Lu, Jie
AU - Zuo, Xi-Nian
AU - He, Hongjian
TI - AmygdalaGo-BOLT for boundary-aware segmentation of the human amygdala
T2 - Cell reports methods
J2 - Cell Rep Methods
PY - 2026
DA - 2026/
VL - 6
IS - 7
SP - 101473
SN - 2667-2375
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "AmygdalaGo-BOLT for boundary-aware segmentation of the human amygdala",
"container-title": "Cell reports methods",
"author": [
{
"family": "Zhou",
"given": "Quan"
},
{
"family": "Dong",
"given": "Bo"
},
{
"family": "Gao",
"given": "Peng"
},
{
"family": "Wei",
"given": "Jintao"
},
{
"family": "Xiao",
"given": "Jiale"
},
{
"family": "Wang",
"given": "Wei"
},
{
"family": "Liang",
"given": "Peipeng"
},
{
"family": "Lin",
"given": "Danhua"
},
{
"family": "Lu",
"given": "Jie"
},
{
"family": "Zuo",
"given": "Xi-Nian"
},
{
"family": "He",
"given": "Hongjian"
}
],
"container-title-short":
"volume": "6",
"issue": "7",
"page": "101473",
"DOI": "10.1016/
"PMID": "42229420",
"PMCID": "PMC13390094",
"ISSN": "2667-2375",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
2
]
]
}
}
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/s41467-026-76011-7 [code]
- Human cortex organizes dynamic co-fluctuations along the sensorimotor-association
axis. Journal: Nature communicationsIn common: MONAI, Brain Connectivity Toolbox, Connectome Workbench, 20 other tools, 1 reference, author Xi-Nian Zuo - [2] doi:10.1038/s41467-026-73668-y [code]
- Convergent and divergent brain-cognition development in early adolescence.Journal: Nature communicationsIn common: Connectome Workbench, AFNI, GIfTI library for MATLAB, 13 other tools, 1 reference, author Xi-Nian Zuo
- [3] doi:10.1038/s41467-026-71151-2 [code]
- Common and distinct neural correlates of social interaction processing and theory of mind in narratives.Journal: Nature communicationsIn common: Brain Connectivity Toolbox, Connectome Workbench, AFNI, 14 other tools
- [4] doi:10.1038/s41398-026-04025-2 [code]
- Brain energetic landscapes shape state dysregulation in major depressive disorder: a morphological network controllability perspective.Journal: Translational psychiatryIn common: Brain Connectivity Toolbox, Connectome Workbench, AFNI, 13 other tools
- [5] doi:10.1002/hbm.70483 [code]
- Untamed: Unconstrained Tensor Decomposition and Graph Node Embedding for Cortical Parcellation.Journal: Human brain mappingIn common: Connectome Workbench, AFNI, GIfTI library for MATLAB, 13 other tools, methods / tools
- [6] doi:10.1371/journal.pbio.3003856 [code]
- Aging and metabolism contribute separately to brain-body health.Journal: PLoS biologyIn common: Connectome Workbench, AFNI, GIfTI library for MATLAB, 12 other tools, structural MRI / diffusion, 1 reference
- [7] 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: Connectome Workbench, AFNI, GIfTI library for MATLAB, 12 other tools, methods / tools
- [8] doi:10.1093/braincomms/fcag134 [code]
- Neurophysiological, imaging and neurobiological markers of central fatigue in multiple sclerosis.Journal: Brain communicationsIn common: Connectome Workbench, AFNI, GIfTI library for MATLAB, 12 other tools, structural MRI / diffusion
- [9] doi:10.1038/s41467-026-76452-0 [code]
- Music evokes shared neural representations of imagined narratives across sensory modalities.Journal: Nature communicationsIn common: Connectome Workbench, AFNI, GIfTI library for MATLAB, 12 other tools
- [10] doi:10.1016/j.xcrm.2026.102943 [code]
- Parent-of-origin effects in Alzheimer's liability dissociate neurocognitive and cardiovascular traits in at-risk individuals.Journal: Cell reports. MedicineIn common: Connectome Workbench, AFNI, GIfTI library for MATLAB, 12 other tools
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: 1 repository of the authors' code, each at its verified commit and with its license, 730 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:10315d5e863a2162…
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.
