Skip to main content

The Brain in Sections: Sagittal, Coronal and Transverse Slices

Movies of the human brain cut slice by slice in its three planes, drawn with ggplot2 and made into GIFs with magick from the MNI305 average brain that FreeSurfer keeps as fsaverage: what a sagittal, a coronal and a transverse section show, from the lobes to the thalamus, the basal ganglia and the hippocampus, and why white matter looks white on an MRI scan.

What is this?

An MRI scanner sees the head as a stack of thin slices, and doctors and neuroscientists look at the brain one slice at a time, in three planes at right angles to each other. This page cuts the average human brain in each of the three planes, from one side to the other, draws every slice with ggplot2 and joins the slices into a movie. Five questions:

  1. How is the brain cut?
  2. What does a sagittal section show?
  3. What does a coronal section show?
  4. What does a transverse section show?
  5. Why does white matter look white?

The scan is MNI305, the average of the MRI scans of 305 young adults, laid over each other after each was turned and stretched to the same size (Evans et al. 1993). FreeSurfer, a widely used program for measuring the brain on MRI scans, keeps it with everything but the brain taken away as the scan of its average brain, fsaverage (FreeSurfer’s notes on fsaverage). The labels come with it: FreeSurfer’s segmentation of fsaverage, which names the structure that each cube of 1 mm lies in (Fischl et al. 2002). The lobes of the cortex come from the Desikan–Killiany atlas of fsaverage’s surface (Desikan et al. 2006), which comes with the R packages ggseg.formats and ggseg.meshes (Mowinckel and Vidal-Piñeiro 2020). The scan and the labels, 1.9 MB and 0.4 MB, are downloaded once from the server of the fsbrain package (Schäfer and Ecker 2020). It is the same brain as on Inside the Human Brain, which shows its parts in 3D.

The words of this page:

  • a section (or slice) is the face of a cut through the brain. The three planes of the cuts are (Betts et al. 2022):
    • sagittal: it divides left from right. The midsagittal plane runs down the middle, between the two hemispheres;
    • coronal (or frontal): it divides front from back;
    • transverse (or horizontal; on MRI scans usually axial): it divides top from bottom;
  • a T1-weighted scan is the kind of MRI scan made to show the anatomy of the brain: white matter comes out light, gray matter darker and fluid dark (question 5 says why);
  • gray matter is made of the bodies of nerve cells: the cortex, the folded outer layer of the brain, and the nuclei, lumps of gray matter deep inside it. White matter is made of their long fibers, wrapped in a fatty sheath, myelin. The ventricles are the hollows in the middle of the brain, filled with fluid;
  • the cerebrum is the two hemispheres, by far the largest part of the brain. Its cortex is folded into ridges, gyri (one gyrus), and grooves, sulci (one sulcus); the deepest groove on the side of each hemisphere is the lateral sulcus. The medial wall is the part of the inner face of each hemisphere where it joins the structures under it;
  • a segmentation gives each cube of a scan the name of the part of the brain that it lies in; an atlas does the same for an average brain, here for the points of the surface of its cortex;
  • a voxel is a small cube of the scan, here 1 mm on each side: a pixel in three dimensions;
  • coordinates are in mm, in the frame of MNI305: x runs from the left (−) to the right (+), y from the back (−) to the front (+), and z from the bottom (−) to the top (+). The point 0, 0, 0 lies near the anterior commissure, a small bundle of fibers that crosses between the hemispheres;
  • left and right: the pictures show the brain’s left on the left, as if seen from the left side, from behind or from above. This is the neurological convention; hospitals often show the brain’s left on the right of the picture, the radiological convention (nibabel’s notes).

The parts of the brain on the movies, and what they do, simplified as on Inside the Human Brain:

  • the lobes of the cerebrum: the frontal lobe (planning, deciding, speaking and moving), the parietal lobe (touch, and where things are), the temporal lobe (hearing, language and memory) and the occipital lobe (seeing). The atlas counts two more parts of the cortex as lobes of their own: the cingulate gyrus, along the inner face of each hemisphere (emotion, attention and memory), and the insula, hidden deep in the lateral sulcus (feelings from inside the body, and taste);
  • the basal ganglia, nuclei of movement, habits and reward: the caudate nucleus, the putamen, the globus pallidus and the nucleus accumbens;
  • the thalamus, the relay station of the senses on their way to the cortex, and under it the ventral diencephalon, FreeSurfer’s name for the hypothalamus (hunger, sleep, hormones) and the small nuclei and bundles of fibers around it;
  • the hippocampus (making new memories) and the amygdala (emotion and fear), inside the temporal lobe;
  • the corpus callosum, the bridge of fibers between the two hemispheres;
  • the cerebellum (balance and the timing of movements) and the brain stem (breathing, heartbeat, sleep and waking), under the back of the cerebrum.

Packages

Code
# install.packages(c("ggplot2","magick","ragg","ggrepel","freesurferformats","ggseg.formats",
#                    "ggseg.meshes","FNN"))
library(ggplot2)
library(magick)
Code
# short labels of numbers and lists for the text
number<-function(x) {
  result<-format(round(x),big.mark=",",trim=TRUE)
  return(result)
}
one<-function(x) {
  result<-format(round(x,1),nsmall=1,trim=TRUE)
  return(result)
}
percent<-function(x) {
  result<-paste0(round(x),"%")
  return(result)
}
and_list<-function(x) {
  result<-if(length(x)<2) paste(x) else paste(paste(x[-length(x)],collapse=", "),"and",
                                               x[length(x)])
  return(result)
}
lower_first<-function(x) {
  result<-paste0(tolower(substr(x,1,1)),substring(x,2))
  return(result)
}
# a coordinate with its sign, and a minus sign rather than a hyphen: "+4", "−24", "0"
signed<-function(x) {
  result<-paste0(if(x>0) "+" else if(x<0) "−" else "",abs(x))
  return(result)
}

The data

The scan and its labels

Code
# fsaverage keeps both volumes as 256 × 256 × 256 cubes of 1 mm: brain.mgz, the scan with everything
# but the brain taken away, and aseg.mgz, the label of each cube (FreeSurfer numbers them: 3 is the
# cortex of the left hemisphere, 17 the left hippocampus...). The server of the fsbrain package keeps
# a copy of both. The page keeps its download: a file is downloaded into a temporary file first,
# which takes its place only if its checksum is that of the file the page was written for, so that
# a download cut off halfway is never kept
cached_file<-function(url,file,md5,tries=3) {
  if(file.exists(file)&&unname(tools::md5sum(file))==md5)
    return(file)
  part<-paste0(file,".part")
  for(k in seq_len(tries)) {
    done<-tryCatch(download.file(url,part,mode="wb",quiet=TRUE)==0,error=function(e) FALSE)
    if(done&&unname(tools::md5sum(part))==md5) {
      file.rename(part,file)
      return(file)
    }
    if(k<tries)
      Sys.sleep(10)
  }
  unlink(part)
  stop("Could not download ",url," with the expected checksum")
}
cache<-tools::R_user_dir("illustration","cache")
dir.create(cache,recursive=TRUE,showWarnings=FALSE)
server<-"https://rcmd.org/projects/nitestdata/subjects_dir/fsaverage/mri/"
checksums<-c(brain="b8bc4b5854f2d5e66d5c4f95d4f9cf63",aseg="b4a8f385370e5c831cdbe2f2a00d2d51")
volumes<-list()
for(v in names(checksums)) {
  file<-cached_file(paste0(server,v,".mgz"),file.path(cache,paste0("fsaverage_",v,".mgz")),
                    checksums[[v]])
  volumes[[v]]<-freesurferformats::read.fs.mgh(file,with_header=TRUE)
}

# the cubes are stored from right to left, from top to bottom and from back to front. Turned round,
# they run from left to right (x), from back to front (y) and from bottom to top (z), the axes of
# MNI305; mm holds the coordinate of each row of cubes along each axis. Both volumes have 256 cubes
# along each side and the same frame
voxel_matrix<-freesurferformats::mghheader.vox2ras(volumes$aseg$header)
stopifnot(all(voxel_matrix[1:3,1:3]==rbind(c(-1,0,0),c(0,0,1),c(0,-1,0))),
          all(dim(volumes$aseg$data)[1:3]==256),all(dim(volumes$brain$data)[1:3]==256),
          isTRUE(all.equal(freesurferformats::mghheader.vox2ras(volumes$brain$header),
                           voxel_matrix)))
turn<-function(volume) {
  result<-aperm(volume[256:1,256:1,,1],c(1,3,2))
  return(result)
}
scan<-turn(volumes$brain$data)
labels<-turn(volumes$aseg$data)
mm<-list(x=sort(voxel_matrix[1,1]*(0:255)+voxel_matrix[1,4]),
         y=sort(voxel_matrix[2,3]*(0:255)+voxel_matrix[2,4]),
         z=sort(voxel_matrix[3,2]*(0:255)+voxel_matrix[3,4]))
# a check of the turn: 1,000 cubes of the brain, taken at random, keep their labels at the
# coordinates that FreeSurfer gives them
set.seed(1)
stored<-which(volumes$aseg$data[,,,1]>0,arr.ind=TRUE)
stored<-stored[sample(nrow(stored),1000),1:3]
xyz<-(cbind(stored-1,1)%*%t(voxel_matrix))[,1:3]
stopifnot(all(volumes$aseg$data[cbind(stored,1)]==
                labels[cbind(match(xyz[,1],mm$x),match(xyz[,2],mm$y),match(xyz[,3],mm$z))]))

# how far the brain reaches along each axis, in mm, and its tissues: how many cubes of each and how
# bright they are on the scan
cubes<-which(labels>0,arr.ind=TRUE)
extent<-list(x=range(mm$x[cubes[,1]]),y=range(mm$y[cubes[,2]]),z=range(mm$z[cubes[,3]]))
tissue_list<-read.csv(sep="|",colClasses="character",text="code|name|labels|grey
grey|Grey matter|3 42 8 47 10 11 12 13 17 18 26 28 49 50 51 52 53 54 58 60|#7a7a7a
white|White matter|2 41 7 46 77 85 251 252 253 254 255|#c9c9c9
stem|Brain stem|16|#a3a3a3
fluid|Fluid|4 5 14 15 24 43 44 72|#2e2e2e
other|Choroid plexus and vessels|30 31 62 63|#2e2e2e")
label_numbers<-function(x) {
  result<-as.integer(strsplit(x," ")[[1]])
  return(result)
}
tissue_list$volume<-sapply(tissue_list$labels,function(x) sum(labels%in%label_numbers(x))/1000)
tissue_list$brightness<-sapply(tissue_list$labels,
                               function(x) mean(scan[labels%in%label_numbers(x)]))
brightness<-setNames(tissue_list$brightness,tissue_list$code)
cortex_brightness<-mean(scan[labels%in%c(3,42)])

The labels fit the scan: on average, the cubes labeled white matter are brighter (93 on the scan’s scale, on which 0 is black and the brightest cube is 118) than those of the cortex (68), and those of the ventricles are the darkest (41), as on any T1-weighted scan. The brain reaches 140 mm from side to side, 175 mm from front to back and 149 mm from the top down to the brain stem, where the scan ends.

The lobes of the cortex

Code
# the Desikan-Killiany atlas gives each point of the surface of fsaverage5's cortex a region, and each
# region a lobe. Each cube labeled cortex (3 on the left, 42 on the right) takes the lobe of the
# nearest point of the surface halfway through the cortex of its hemisphere, found with the k-d tree
# of the FNN package; ggseg.meshes keeps the surface turned a quarter round. The points of no region
# lie on the medial wall, where the hemisphere is cut away from the structures under it
atlas<-ggseg.formats::dk()
atlas_points<-atlas$data$vertices
atlas_lobes<-unique(as.data.frame(atlas$core)[,c("label","lobe")])
lobe<-array(NA_character_,dim(labels))
distance<-c()
for(h in c("lh","rh")) {
  mesh<-ggseg.meshes::get_cortical_mesh(h,"midthickness")
  points<-cbind(-mesh$vertices$y,mesh$vertices$x,mesh$vertices$z)
  region<-rep(NA_character_,nrow(points))
  for(k in grep(paste0("^",h,"_"),atlas_points$label))
    region[atlas_points$vertices[[k]]+1]<-atlas_points$label[k]
  cortex<-which(labels==if(h=="lh") 3 else 42,arr.ind=TRUE)
  nearest<-FNN::get.knnx(points,cbind(mm$x[cortex[,1]],mm$y[cortex[,2]],mm$z[cortex[,3]]),k=1)
  lobe[cortex]<-atlas_lobes$lobe[match(region[nearest$nn.index[,1]],atlas_lobes$label)]
  distance<-c(distance,nearest$nn.dist[,1])
}
# the lobes; the atlas also has a region of white matter (its "corpus callosum"), which is no lobe
lobes<-c(frontal="Frontal lobe",parietal="Parietal lobe",temporal="Temporal lobe",
         occipital="Occipital lobe",cingulate="Cingulate gyrus",insula="Insula")
lobe[!lobe%in%names(lobes)]<-NA
with_lobe<-100*mean(!is.na(lobe[labels%in%c(3,42)]))
# how far each lobe reaches along an axis: its least and its greatest coordinate, in mm
lobe_cubes<-which(!is.na(lobe),arr.ind=TRUE)
lobe_of_cube<-lobe[lobe_cubes]
lobe_reach<-function(axis) {
  coordinate<-mm[[axis]][lobe_cubes[,match(axis,c("x","y","z"))]]
  result<-sapply(names(lobes),function(l) range(coordinate[lobe_of_cube==l]))
  return(result)
}
# the lobes whose cortex reaches beyond a coordinate (above it if "above", below it otherwise)
lobes_beyond<-function(axis,coordinate,above) {
  reach<-lobe_reach(axis)
  found<-if(above) reach[2,]>coordinate else reach[1,]<coordinate
  result<-names(lobes)[found]
  return(result)
}

98% of the cubes of cortex get a lobe; the others lie by the medial wall. Half of all the cubes of cortex lie within 2.0 mm of the point of the surface whose lobe they take, and 96% within 5 mm.

The parts named on the movies

Code
# the structures under the cortex, colored on the movies: their names, labels and colors. Each pair
# that touches in the volume is told apart also by readers who do not tell red from green (checked
# with a color-vision validator), and the list beside each movie names them
deep_list<-read.csv(sep="|",colClasses="character",text="code|name|labels|colour
caudate|Caudate nucleus|11 50|#e24d8b
putamen|Putamen|12 51|#338ced
pallidum|Globus pallidus|13 52|#eb6263
accumbens|Nucleus accumbens|26 58|#0aac23
thalamus|Thalamus|10 49|#d28e05
ventraldc|Ventral diencephalon|28 60|#9887ef
hippocampus|Hippocampus|17 53|#00a888
amygdala|Amygdala|18 54|#e76624")
# the parts named on the movies but not colored, and the least area of a part, in mm², that a
# section must cut to show its name
named_list<-read.csv(sep="|",colClasses="character",text="code|name|labels|smallest
lateral|Lateral ventricle|4 5 43 44|40
third|Third ventricle|14|12
fourth|Fourth ventricle|15|12
callosum|Corpus callosum|251 252 253 254 255|12
cerebellum|Cerebellum|7 8 46 47|40
brainstem|Brain stem|16|40")
# from a label (0 to 255) to the code of its structure, its named part and its tissue
label_lookup<-function(table) {
  result<-rep(NA_character_,256)
  for(k in seq_len(nrow(table)))
    result[label_numbers(table$labels[k])+1]<-table$code[k]
  return(result)
}
deep_of<-label_lookup(deep_list)
named_of<-label_lookup(named_list)
tissue_of<-label_lookup(tissue_list)
# FreeSurfer's labels of the left and of the right hemisphere; the others lie in the middle
left_labels<-c(2:5,7,8,10:13,17,18,26,28,30,31)
right_labels<-c(41:44,46,47,49:54,58,60,62,63)

A section

Code
# the pictures show the brain with 3 mm to spare. Each plane: the axis that it cuts, the axis that
# runs across its picture and the one that runs up it. A sagittal section is seen from the left,
# with the front of the brain on the left of the picture (flip)
crop<-lapply(extent,function(r) r+c(-3,3))
planes<-list(sagittal=list(cut="x",across="y",up="z",flip=TRUE),
             coronal=list(cut="y",across="x",up="z",flip=FALSE),
             transverse=list(cut="z",across="x",up="y",flip=FALSE))
# where a coordinate falls across a picture, in mm from its left edge
across_of<-function(p,coordinate) {
  result<-coordinate-crop[[p$across]][1]
  if(p$flip)
    result<-diff(crop[[p$across]])-result
  return(result)
}
# a section as a table of its cubes: h across and v up the picture, in mm from its corner, and the
# brightness, the label, the side, the lobe, the structure, the named part and the tissue of each
section<-function(plane,position) {
  p<-planes[[plane]]
  across<-which(mm[[p$across]]>=crop[[p$across]][1]&mm[[p$across]]<=crop[[p$across]][2])
  up<-which(mm[[p$up]]>=crop[[p$up]][1]&mm[[p$up]]<=crop[[p$up]][2])
  grid<-expand.grid(across=across,up=up)
  index<-matrix(0L,nrow(grid),3,dimnames=list(NULL,c("x","y","z")))
  index[,p$cut]<-match(position,mm[[p$cut]])
  index[,p$across]<-grid$across
  index[,p$up]<-grid$up
  label<-labels[index]
  result<-data.frame(h=across_of(p,mm[[p$across]][grid$across]),
                     v=mm[[p$up]][grid$up]-crop[[p$up]][1],brightness=scan[index],label=label,
                     side=ifelse(label%in%left_labels,"left",
                                 ifelse(label%in%right_labels,"right","middle")),
                     lobe=lobe[index],deep=deep_of[label+1],named=named_of[label+1],
                     tissue=tissue_of[label+1])
  return(result)
}
# where a name goes: the cube of the part nearest to its center, if the section cuts enough of it
anchor<-function(cubes,smallest) {
  if(nrow(cubes)<smallest)
    return(NULL)
  centre<-c(mean(cubes$h),mean(cubes$v))
  k<-which.min((cubes$h-centre[1])^2+(cubes$v-centre[2])^2)
  result<-data.frame(h=cubes$h[k],v=cubes$v[k])
  return(result)
}
# the names on a section: the lobes on the left hemisphere (on a sagittal section, on the hemisphere
# that it cuts), the other parts on the right hemisphere or in the middle, so that fewer names crowd
# together
name_tags<-function(s,plane) {
  tags<-list()
  for(l in names(lobes)) {
    cubes<-s[!is.na(s$lobe)&s$lobe==l&(plane=="sagittal"|s$side=="left"),]
    a<-anchor(cubes,if(l=="insula") 25 else 120)
    if(!is.null(a))
      tags[[length(tags)+1]]<-cbind(a,text=lobes[[l]])
  }
  for(k in seq_len(nrow(named_list))) {
    cubes<-s[!is.na(s$named)&s$named==named_list$code[k]&(plane=="sagittal"|s$side!="left"),]
    a<-anchor(cubes,as.numeric(named_list$smallest[k]))
    if(!is.null(a))
      tags[[length(tags)+1]]<-cbind(a,text=named_list$name[k])
  }
  result<-do.call(rbind,tags)
  return(result)
}
# the outline of the brain seen across a plane, for the small brain beside each movie: every line of
# cubes along the cut that holds some brain
outline<-function(plane) {
  p<-planes[[plane]]
  seen<-apply(labels>0,match(c(p$across,p$up),c("x","y","z")),any)
  cells<-which(seen,arr.ind=TRUE)
  result<-data.frame(h=across_of(p,mm[[p$across]][cells[,1]]),
                     v=mm[[p$up]][cells[,2]]-crop[[p$up]][1])
  return(result)
}
# the sagittal movie's small brain is seen from above, the other two from the left
small_plane<-c(sagittal="transverse",coronal="sagittal",transverse="sagittal")
outlines<-lapply(small_plane,outline)

A frame of a movie

Code
# the inks of the movies, on black: text, quieter text, the structures that a section does not cut,
# and the line of the cut
ink<-"#efefef"
quiet_ink<-"#9c9c9c"
dim_ink<-"#6e6e6e"
dim_swatch<-"#333333"
cut_colour<-"#ffd84d"
# the scan in gray, from black to white; the brightest cubes (white matter) are white
grey_of<-function(brightness) {
  level<-pmin(brightness/105,1)
  result<-rgb(level,level,level)
  return(result)
}
# the size of the frames: 2 pixels for each mm of brain, 6 mm between the two pictures, a column of
# 215 pixels on the right for the small brain and the list, and room above for the titles
pixels<-2
gap<-6
column<-215
frame_size<-function(plane) {
  p<-planes[[plane]]
  result<-c(width=round((2*(diff(crop[[p$across]])+1)+gap)*pixels+column+20),
            height=round((diff(crop[[p$up]])+1)*pixels+104))
  return(result)
}
titles<-c(sagittal="Sagittal sections, from the left side to the right",
          coronal="Coronal sections, from the front to the back",
          transverse="Transverse sections, from the bottom to the top")
# where a section is, in words
position_words<-function(plane,position) {
  result<-switch(plane,
    sagittal=if(position==0) "x = 0 mm: the midline" else
      paste0("x = ",signed(position)," mm: ",abs(position)," mm ",
             if(position<0) "left" else "right"," of the midline"),
    coronal=paste0("y = ",signed(position)," mm: ",extent$y[2]-position,
                   " mm behind the front of the brain"),
    transverse=paste0("z = ",signed(position)," mm: ",extent$z[2]-position,
                      " mm below the top of the brain"))
  return(result)
}
# one frame: the scan on the left, the same section on the right with its tissues in grays, its
# structures in color and its parts named, and a column with the small brain, which shows where the
# cut is, and the structures, lit when the section cuts them
frame_plot<-function(plane,position) {
  p<-planes[[plane]]
  width<-diff(crop[[p$across]])+1
  height<-diff(crop[[p$up]])+1
  s<-section(plane,position)
  s$fill<-grey_of(s$brightness)
  parts<-s
  parts$h<-parts$h+width+gap
  parts$fill<-ifelse(is.na(parts$tissue),"#000000",
                     tissue_list$grey[match(parts$tissue,tissue_list$code)])
  coloured<-!is.na(parts$deep)
  parts$fill[coloured]<-deep_list$colour[match(parts$deep[coloured],deep_list$code)]
  tags<-name_tags(parts,plane)
  # the small brain, shrunk into the top of the column, and the line of the cut across it
  left<-2*width+2*gap+4
  room<-column/pixels
  q<-planes[[small_plane[[plane]]]]
  shrink<-min(0.55*room/(diff(crop[[q$across]])+1),0.32*height/(diff(crop[[q$up]])+1))
  bottom<-height-(diff(crop[[q$up]])+1)*shrink
  small<-outlines[[plane]]
  small$h<-left+small$h*shrink
  small$v<-bottom+small$v*shrink
  if(p$cut==q$across) {
    h<-left+across_of(q,position)*shrink
    cut<-data.frame(h=h,h_end=h,v=bottom-2,v_end=height+2)
  } else {
    v<-bottom+(position-crop[[q$up]][1])*shrink
    cut<-data.frame(h=left-2,h_end=left+(diff(crop[[q$across]])+1)*shrink+2,v=v,v_end=v)
  }
  # the list of structures, lit when the section cuts them
  is_cut<-deep_list$code%in%s$deep
  list_rows<-data.frame(h=left+2,v=bottom-10-(seq_len(nrow(deep_list))-1)*18/pixels,
                        name=deep_list$name,swatch=ifelse(is_cut,deep_list$colour,dim_swatch),
                        ink=ifelse(is_cut,ink,dim_ink))
  directions<-if(plane=="sagittal") c("front","back") else c("left","right")
  result<-ggplot()+
    geom_raster(data=s,aes(h,v,fill=fill),interpolate=TRUE)+
    geom_raster(data=parts,aes(h,v,fill=fill))+
    geom_raster(data=small,aes(h,v),fill="#5a5a5a")+
    geom_segment(data=cut,aes(x=h,xend=h_end,y=v,yend=v_end),colour=cut_colour,linewidth=0.9)+
    annotate("text",x=c(0,width+gap),y=height+3,label=c("The scan","What it shows"),hjust=0,
             vjust=0,colour=ink,size=4.3)+
    annotate("text",x=c(0,width,width+gap,2*width+gap),y=-3,label=rep(directions,2),
             hjust=c(0,1,0,1),vjust=1,colour=quiet_ink,size=3.4)+
    geom_point(data=list_rows,aes(h,v,colour=swatch),shape=15,size=4.6)+
    geom_text(data=list_rows,aes(h+4.5,v,label=name,colour=ink),hjust=0,size=3.7)+
    scale_fill_identity()+
    scale_colour_identity()+
    coord_fixed(xlim=c(0,left+room),ylim=c(-9,height+11),expand=FALSE,clip="off")+
    labs(title=titles[[plane]],subtitle=position_words(plane,position))+
    theme_void()+
    theme(plot.background=element_rect(fill="#000000",colour=NA),
          plot.title=element_text(colour=ink,size=15,face="bold",margin=margin(8,0,2,6)),
          plot.subtitle=element_text(colour=quiet_ink,size=12.5,margin=margin(0,0,4,6)),
          plot.margin=margin(0,8,6,4))
  # the names, pushed apart where they would overlap (with the same seed for every frame)
  if(!is.null(tags))
    result<-result+
      ggrepel::geom_label_repel(data=tags,aes(h,v,label=text),colour="#ffffff",fill="#000000b0",
                                size=3.4,label.size=0,label.padding=unit(0.13,"lines"),
                                box.padding=unit(0.08,"lines"),point.size=NA,
                                min.segment.length=Inf,seed=1,force=0.6,max.overlaps=Inf,
                                xlim=c(width+gap,2*width+gap),ylim=c(0,height))
  return(result)
}

Making a movie

Code
# a movie: each section is drawn by ggplot into a png file (ragg), magick puts every frame on one
# palette (the colors of the page and 48 grays, without dithering) and writes the frames as a GIF
# that loops, holding the last section for about a second. A palette of its own for each frame, as
# gifski makes, looks smoother but changes the colors a little from frame to frame and makes the
# GIF about twice as large
greys<-48
movie_palette<-function() {
  level<-round(seq(0,255,length.out=greys))
  colours<-unique(c(deep_list$colour,cut_colour,ink,quiet_ink,dim_ink,dim_swatch,tissue_list$grey,
                    "#5a5a5a",rgb(level,level,level,maxColorValue=255)))
  result<-image_read(as.raster(matrix(colours,nrow=1)))
  return(result)
}
movie<-function(plane,positions,file,delay=15,hold=7) {
  size<-frame_size(plane)
  frames<-file.path(tempdir(),sprintf("%s_%03d.png",plane,seq_along(positions)))
  on.exit(unlink(frames))
  for(k in seq_along(positions)) {
    ragg::agg_png(frames[k],width=size[["width"]],height=size[["height"]],res=96,
                  background="#000000")
    # the png file is closed even if a frame fails, so that later plots do not go into it
    tryCatch(print(frame_plot(plane,positions[k])),finally=dev.off())
  }
  images<-image_read(c(frames,rep(frames[length(frames)],hold)))
  gif<-image_animate(image_map(images,movie_palette(),dither=FALSE),delay=delay,optimize=TRUE)
  image_write(gif,file)
  return(file)
}
# the file of a movie: in the folder of the page's figures when the page is rendered, so that it is
# published with them, or a temporary file when the code is run by hand
gif_file<-function() {
  result<-if(isTRUE(getOption("knitr.in.progress"))) knitr::fig_path(".gif") else
    tempfile(fileext=".gif")
  dir.create(dirname(result),recursive=TRUE,showWarnings=FALSE)
  return(result)
}
# the sections of a movie: every 3 mm through the brain, at whole multiples of 3 mm, so that the
# sagittal movie passes through the midline
positions_of<-function(axis) {
  result<-seq(3*ceiling(extent[[axis]][1]/3),3*floor(extent[[axis]][2]/3),by=3)
  return(result)
}
Code
# the charts on black, like the movies; the source of a chart goes in its caption
knitr::opts_chunk$set(dev.args=list(bg="#000000"))
dark_theme<-theme_minimal(base_size=11)+
  theme(plot.background=element_rect(fill="#000000",colour=NA),
        panel.grid.major=element_line(colour="#303030",linewidth=0.3),
        panel.grid.minor=element_blank(),
        axis.text=element_text(colour=quiet_ink),
        axis.title=element_text(colour=quiet_ink),
        plot.title=element_text(colour=ink,face="bold"),
        plot.subtitle=element_text(colour=quiet_ink),
        plot.caption=element_text(colour=quiet_ink,hjust=0,size=8.5),
        plot.title.position="plot",
        plot.caption.position="plot")
source_note<-"Source: MNI305 and its labels in FreeSurfer's fsaverage (brain.mgz, aseg.mgz)."

1. How is the brain cut?

Code
# the point where the three cuts meet: the middle of the left putamen
middle<-colMeans(which(labels==12,arr.ind=TRUE))
point<-c(x=mm$x[round(middle[1])],y=mm$y[round(middle[2])],z=mm$z[round(middle[3])])
# the area of brain on the largest section in each plane, in cm²
largest_section<-function(axis) {
  counts<-table(factor(mm[[axis]][cubes[,match(axis,c("x","y","z"))]],levels=mm[[axis]]))
  result<-list(position=as.numeric(names(counts)[which.max(counts)]),area=max(counts)/100)
  return(result)
}
largest<-lapply(c(sagittal="x",coronal="y",transverse="z"),largest_section)

In three planes at right angles. A sagittal cut divides left from right, a coronal cut front from back, and a transverse cut top from bottom. Below, the three cut through one point, the middle of the left putamen, at x = −26, y = 0 and z = −2 mm: each line marks where the other two cuts pass. The brain is longest from front to back, so the sagittal and the transverse sections, which both run from its front to its back, are larger than the coronal ones: the largest section in each plane covers 153 cm² (sagittal, x = +13), 133 cm² (coronal, y = −50) and 174 cm² (transverse, z = +8).

Code
# the colors of the three planes, told apart by color-blind readers too (checked)
plane_colours<-c(sagittal="#338ced",coronal="#e76624",transverse="#00a888")
plane_names<-c(sagittal="Sagittal",coronal="Coronal",transverse="Transverse")
seen_from<-c(sagittal="seen from the left",coronal="seen from behind",
             transverse="seen from above")
pictures<-data.frame()
cut_lines<-data.frame()
captions<-data.frame()
offset<-0
for(plane in names(planes)) {
  p<-planes[[plane]]
  s<-section(plane,point[[p$cut]])
  width<-diff(crop[[p$across]])+1
  s$h<-s$h+offset
  s$fill<-grey_of(s$brightness)
  pictures<-rbind(pictures,s[,c("h","v","fill")])
  # the other two planes: a line across this picture where each cuts it
  for(other in setdiff(names(planes),plane)) {
    axis<-planes[[other]]$cut
    if(axis==p$across) {
      h<-offset+across_of(p,point[[axis]])
      cut_lines<-rbind(cut_lines,data.frame(h=h,h_end=h,v=0,v_end=diff(crop[[p$up]])+1,
                                            colour=plane_colours[[other]]))
    } else {
      v<-point[[axis]]-crop[[p$up]][1]
      cut_lines<-rbind(cut_lines,data.frame(h=offset,h_end=offset+width,v=v,v_end=v,
                                            colour=plane_colours[[other]]))
    }
  }
  captions<-rbind(captions,data.frame(h=offset,v=-6,
                                      text=paste0(plane_names[[plane]],", ",seen_from[[plane]]),
                                      position=paste0(p$cut," = ",signed(point[[p$cut]])," mm"),
                                      colour=plane_colours[[plane]]))
  offset<-offset+width+10
}
ggplot()+
  geom_raster(data=pictures,aes(h,v,fill=fill),interpolate=TRUE)+
  geom_segment(data=cut_lines,aes(x=h,xend=h_end,y=v,yend=v_end,colour=colour),linewidth=0.7)+
  geom_segment(data=captions,aes(x=h,xend=h+8,y=v,yend=v,colour=colour),linewidth=2.2)+
  geom_text(data=captions,aes(h+11,v,label=text),hjust=0,colour=ink,size=3.3)+
  geom_text(data=captions,aes(h+11,v-9,label=position),hjust=0,colour=quiet_ink,size=3)+
  scale_fill_identity()+
  scale_colour_identity()+
  coord_fixed(ylim=c(-20,max(pictures$v)+2),expand=FALSE,clip="off")+
  labs(title="One point of the brain, cut in the three planes",caption=source_note)+
  dark_theme+
  theme(axis.text=element_blank(),axis.title=element_blank(),panel.grid.major=element_blank())

Three MRI sections of the average brain through the middle of the left putamen: a sagittal section seen from the left with the front on the left, a coronal section seen from behind and a transverse section seen from above. Colored lines on each section mark where the other two cuts pass.

Each plane has its own way of being seen. The sagittal sections on this page are seen from the left, with the front of the brain on the left; the coronal ones from behind and the transverse ones from above, with the brain’s left on the left. The coordinates under each picture are those of the cut: x for a sagittal cut, y for a coronal one and z for a transverse one.


2. What does a sagittal section show?

Code
cube_coordinates<-function(numbers,axis) {
  found<-which(array(labels%in%numbers,dim(labels)),arr.ind=TRUE)
  result<-mm[[axis]][found[,match(axis,c("x","y","z"))]]
  return(result)
}
insula_x<-mm$x[which(lobe=="insula",arr.ind=TRUE)[,1]]
insula_in<-c(left=min(insula_x)-extent$x[1],right=extent$x[2]-max(insula_x))
deep_x<-abs(cube_coordinates(unlist(lapply(deep_list$labels,label_numbers)),"x"))
callosum_y<-range(cube_coordinates(251:255,"y"))
callosum_x<-range(cube_coordinates(251:255,"x"))

The lobes from the side, the structures deep inside, and the midline. The movie cuts the brain every 3 mm from its left side to its right. The first sections graze the outside of the hemisphere; the insula, the cortex hidden in the lateral sulcus, appears 24 mm in from the side. Next come the structures deep inside: all eight of them lie within 39 mm of the midline, in the middle 56% of the brain’s width. At the midline, the cut passes between the hemispheres and shows what joins them: the corpus callosum, the arch of fibers that crosses between them (79 mm from front to back; FreeSurfer labels only the 6 mm in the middle), the brain stem and the cerebellum.

Code
knitr::include_graphics(movie("sagittal",positions_of("x"),gif_file()))

Movie of sagittal MRI sections of the average brain, every 3 mm from the left side to the right. On the left the scan in grey; on the right the same section with the cortex in dark grey, the white matter in light grey, the fluid in near black, the eight structures under the cortex in colour, and the lobes, the ventricles, the corpus callosum, the cerebellum and the brain stem named. A small brain seen from above shows where the cut is.

The list on the right names the colored structures, and lights up those that the section cuts. The names on the picture are those of the lobes and of the parts of the brain that are not colored. At x = 0 itself, the cut runs along the narrow gap between the hemispheres, which FreeSurfer leaves without a label, so the picture on the right shows only the parts that cross the midline; the scan, blurred by the averaging, still shows the inner faces of the hemispheres.


3. What does a coronal section show?

Code
# where the temporal lobes begin, the lobes cut in front of them, and at the back of the brain the
# lobes cut behind the frontal and the temporal lobes
reach_y<-lobe_reach("y")
temporal_front<-reach_y[2,"temporal"]
front_lobes<-lobes_beyond("y",temporal_front,above=TRUE)
back_start<-min(reach_y[1,c("frontal","temporal")])
back_lobes<-lobes_beyond("y",back_start,above=FALSE)
deep_list$front<-sapply(deep_list$labels,function(x) max(cube_coordinates(label_numbers(x),"y")))
deep_list$back<-sapply(deep_list$labels,function(x) min(cube_coordinates(label_numbers(x),"y")))
deep_list$length<-deep_list$front-deep_list$back+1
longest<-deep_list[which.max(deep_list$length),]
hippocampus<-deep_list[deep_list$code=="hippocampus",]
deep_y<-c(max(deep_list$front),min(deep_list$back))

The structures deep in the middle of the brain. The movie cuts the brain every 3 mm from its front to its back. The temporal lobes appear 46 mm behind the front of the brain; in front of them, the only parts of the cortex of the cerebrum that the sections cut are the frontal lobe, the cingulate gyrus and the insula. The structures under the cortex fill only 69 mm of the brain’s 175, from y = +25 to −43. The caudate nucleus reaches furthest from front to back, 50 mm, as it curves back along the lateral ventricle. The putamen and the globus pallidus lie side by side, and the hippocampus runs 36 mm back along the inside of the temporal lobe. In the last 23 mm, behind the frontal and the temporal lobes, the only parts of the cortex of the cerebrum are the parietal lobe and the occipital lobe.

Code
knitr::include_graphics(movie("coronal",rev(positions_of("y")),gif_file()))

Movie of coronal MRI sections of the average brain, every 3 mm from the front to the back. On the left the scan in grey; on the right the same section with the cortex in dark grey, the white matter in light grey, the fluid in near black, the eight structures under the cortex in colour, and the lobes, the ventricles, the corpus callosum, the cerebellum and the brain stem named. A small brain seen from the left shows where the cut is.

The coronal plane cuts most of these structures across their length, which runs from front to back, so that a section shows several of them side by side.


4. What does a transverse section show?

Code
cerebellum_top<-max(cube_coordinates(c(7,8,46,47),"z"))
lateral_z<-table(cube_coordinates(c(4,43),"z"))
widest<-as.numeric(names(lateral_z)[which.max(lateral_z)])
# the lobes cut by the top sections, above the temporal and the occipital lobes and the insula
reach_z<-lobe_reach("z")
top_start<-max(reach_z[2,c("temporal","occipital","insula")])
top_lobes<-lobes_beyond("z",top_start,above=TRUE)
# the lowest cube of the cerebrum: everything below it is brain stem, cerebellum or fourth ventricle
cerebrum<-c(2:5,10:14,17,18,24,26,28,30,31,41:44,49:54,58,60,62,63,72,77,85,251:255)
cerebrum_bottom<-min(cube_coordinates(cerebrum,"z"))

From the cerebellum and the brain stem at the bottom to the frontal and parietal lobes at the top. The movie cuts the brain every 3 mm from the bottom up. The lowest sections cut only the brain stem and the cerebellum, with the fourth ventricle between them; the cerebrum begins at z = −48, with the bottom of the temporal lobes in front of them. The cerebellum ends 68 mm above the bottom of the scan, at z = −2. Higher up come the structures deep inside and the lateral ventricles, whose largest section, at z = +18, covers 20.0 cm²; on this plane they have the shape of a butterfly. In the top 39 mm, the only parts of the cortex of the cerebrum are the frontal lobe, the parietal lobe and the cingulate gyrus.

Code
knitr::include_graphics(movie("transverse",positions_of("z"),gif_file()))

Movie of transverse MRI sections of the average brain, every 3 mm from the bottom to the top. On the left the scan in grey; on the right the same section with the cortex in dark grey, the white matter in light grey, the fluid in near black, the eight structures under the cortex in colour, and the lobes, the ventricles, the corpus callosum, the cerebellum and the brain stem named. A small brain seen from the left shows where the cut is.

This is the plane that hospitals call axial, and they usually show it with the brain’s left on the right of the picture, the radiological convention.


5. Why does white matter look white?

Code
# the brightness of the cubes of each part on the scan: the middle 80% and the median
parts_list<-read.csv(sep="|",colClasses="character",text="name|labels|colour
Cerebral white matter|2 41|#c9c9c9
Corpus callosum|251 252 253 254 255|#c9c9c9
Cerebellar white matter|7 46|#c9c9c9
Brain stem|16|#c9c9c9
Cerebral cortex|3 42|#c9c9c9
Cerebellar cortex|8 47|#c9c9c9
Lateral ventricles|4 5 43 44|#c9c9c9
Third and fourth ventricles|14 15|#c9c9c9")
parts_list<-rbind(parts_list,data.frame(name=deep_list$name,labels=deep_list$labels,
                                        colour=deep_list$colour))
spread<-t(sapply(parts_list$labels,function(x)
  quantile(scan[labels%in%label_numbers(x)],c(0.1,0.5,0.9))))
parts_list<-cbind(parts_list,low=spread[,1],median=spread[,2],high=spread[,3])
parts_list<-parts_list[order(parts_list$median),]
brightest<-parts_list[nrow(parts_list),]
second<-parts_list[nrow(parts_list)-1,]
white_row<-parts_list[parts_list$name=="Cerebral white matter",]
cortex_row<-parts_list[parts_list$name=="Cerebral cortex",]
overlap<-100*mean(scan[labels%in%c(3,42)]>=white_row$low)

Because of myelin. On a T1-weighted scan, the faster the water in a cube returns to rest after each pulse of the scanner (the shorter its T1), the brighter the cube. The fatty myelin around the fibers of white matter makes this quick, so white matter is bright; the water of the fluid in the ventricles is the slowest, so they are dark, and gray matter lies in between. The contrast between the tissues comes mainly from myelin, and from iron, which shortens T1 too (Stüber et al. 2014; Lutti et al. 2014). On this scan, half of the cubes of white matter are brighter than 93 and half of the cubes of cortex brighter than 69. The brightest part of all is the globus pallidus, 101, whose name means “pale globe” in Latin: many fibres wrapped in myelin run through it, and it holds more iron than any other part of the brain (Hallgren and Sourander 1958). Next comes the ventral diencephalon, 96: besides its small nuclei, FreeSurfer’s label takes in bundles of white matter that run under the thalamus.

Code
ggplot(parts_list,aes(y=factor(name,levels=name)))+
  geom_segment(aes(x=low,xend=high,yend=factor(name,levels=name),colour=colour),linewidth=1.6,
               alpha=0.55)+
  geom_point(aes(x=median,colour=colour),size=2.8)+
  scale_colour_identity()+
  scale_x_continuous(limits=c(0,max(scan)),breaks=seq(0,120,by=20))+
  labs(title="How bright each part of the brain is on the scan",
       subtitle="The median of its cubes, and the middle 80% of them (0 is black)",
       x="Brightness on the scan",y=NULL,caption=source_note)+
  dark_theme+
  theme(axis.text.y=element_text(colour=ink))

Dot chart of how bright the cubes of each part of the brain are on the scan: the ventricles are darkest, the cortex and the hippocampus in the middle, the white matter bright, and the globus pallidus brightest of all. Each part has a line for the middle 80% of its cubes and a dot for the median.

The colors are those of the movies. The tissues overlap: 10% of the cubes of cortex are as bright as the darkest tenth of the cubes of white matter, mostly where the two meet and a cube of 1 mm holds some of each. This is why FreeSurfer labels the brain from more than brightness: it also uses where each structure usually lies, and next to what (Fischl et al. 2002).

Code
brain_volume<-sum(tissue_list$volume)
share<-setNames(100*tissue_list$volume/brain_volume,tissue_list$code)

By the labels, the brain on the scan holds 831 cm³ of gray matter (57%), 550 cm³ of white matter (38%) and 48 cm³ of fluid, almost all of it in its ventricles (3%).


So, what does it mean?

Three cuts at right angles are enough to find any point of the brain, and each shows something best.

  1. Sagittal: the lobes from the side, and at the midline the corpus callosum, the brain stem and the cerebellum. The insula begins about 24 mm in from the side.
  2. Coronal: the structures deep inside, side by side, within 69 mm of the brain’s 175 from front to back; the caudate nucleus reaches furthest, 50 mm.
  3. Transverse: the plane that hospitals call axial, from the cerebellum at the bottom, past the butterfly of the lateral ventricles, to the frontal and parietal lobes at the top.
  4. Brightness: white matter is white because of its myelin; the globus pallidus, crossed by many fibres wrapped in myelin and rich in iron, is the brightest of all; fluid is dark.

What this does not show. The scan is an average of 305 young adults, smoother than any one brain: averaging blurs the folds, so the grooves look shallower and the cortex smoother than in a real scan, and the parts of a real brain differ in size and shape from person to person. The labels are those that FreeSurfer keeps for fsaverage, not a segmentation of any one person’s scan, and the volumes are those of the average brain, whose size is set by the template, not by any one head. The lobes come from the nearest point of an atlas drawn on a surface of the cortex, so they are only approximate at their borders, and the atlas does not name the cortex of the medial wall. The movies keep to 48 grays and the colors of the page, and to one section every 3 mm. The scan ends at the brain stem, which goes on down into the spinal cord.

For the same brain in 3D, its parts, its folds and its wiring, see Inside the Human Brain; for the networks of its cortex, The Brain’s Seven Networks.


Sources


Acknowledgments

The scan is MNI305, made at the Montreal Neurological Institute (Evans et al. 1993), as FreeSurfer keeps it in fsaverage, with its labels; the atlas of the lobes and the surface of the cortex come from the R packages ggseg.formats and ggseg.meshes, © 2026 their authors, under the MIT license, and the copy of the volumes from the server of the fsbrain package. The pictures on this page are modified from FreeSurfer’s files: the volumes are turned round, cut into sections and drawn in grays and colors, and the cortex is divided into lobes; they are not FreeSurfer’s original files.

All or portions of this licensed product (such portions are the “Software”) have been obtained under license from The General Hospital Corporation “MGH” and are subject to the following terms and conditions:

The FreeSurfer Software License Agreement, version 1.0 (February 2011), part B
PART B. DOWNLOADING AGREEMENT - License from MGH with Right to Sublicense
("Software License").

1. As used in this Software License, "you" means the individual
   downloading and/or using, reproducing, modifying, displaying and/or
   distributing the Software and the institution or entity which
   employs or is otherwise affiliated with such individual in
   connection therewith. The General Hospital Corporation ("MGH")
   hereby grants you, with right to sublicense, with
   respect to MGH's rights in the software, and data, if any,
   which is the subject of this Software License (collectively, the
   "Software"), a royalty-free, non-exclusive license to use,
   reproduce, make derivative works of, display and distribute the
   Software, provided that:

(a) you accept and adhere to all of the terms and conditions of this
Software License;

(b) in connection with any copy of or sublicense of all or any portion
of the Software, all of the terms and conditions in this Software
License shall appear in and shall apply to such copy and such
sublicense, including without limitation all source and executable
forms and on any user documentation, prefaced with the following
words: "All or portions of this licensed product (such portions are
the "Software") have been obtained under license from The General Hospital
Corporation "MGH" and are subject to the following terms and
conditions:"

(c) you preserve and maintain all applicable attributions, copyright
notices and licenses included in or applicable to the Software;

(d) modified versions of the Software must be clearly identified and
marked as such, and must not be misrepresented as being the original
Software; and

(e) you consider making, but are under no obligation to make, the
source code of any of your modifications to the Software freely
available to others on an open source basis.

2. The license granted in this Software License includes without
   limitation the right to (i) incorporate the Software into
   proprietary programs (subject to any restrictions applicable to
   such programs), (ii) add your own copyright statement to your
   modifications of the Software, and (iii) provide additional or
   different license terms and conditions in your sublicenses of
   modifications of the Software; provided that in each case your use,
   reproduction or distribution of such modifications otherwise
   complies with the conditions stated in this Software License.

3. This Software License does not grant any rights with respect to
   third party software, except those rights that MGH has been
   authorized by a third party to grant to you, and accordingly you
   are solely responsible for (i) obtaining any permissions from third
   parties that you need to use, reproduce, make derivative works of,
   display and distribute the Software, and (ii) informing your
   sublicensees, including without limitation your end-users, of their
   obligations to secure any such required permissions.

4. The Software has been designed for research purposes only and has
   not been reviewed or approved by the Food and Drug Administration
   or by any other agency. YOU ACKNOWLEDGE AND AGREE THAT CLINICAL
   APPLICATIONS ARE NEITHER RECOMMENDED NOR ADVISED. Any
   commercialization of the Software is at the sole risk of the party
   or parties engaged in such commercialization. You further agree to
   use, reproduce, make derivative works of, display and distribute
   the Software in compliance with all applicable governmental laws,
   regulations and orders, including without limitation those relating
   to export and import control.

5. The Software is provided "AS IS" and neither MGH nor any
   contributor to the software (each a "Contributor") shall have any
   obligation to provide maintenance, support, updates, enhancements
   or modifications thereto. MGH AND ALL CONTRIBUTORS SPECIFICALLY
   DISCLAIM ALL EXPRESS AND IMPLIED WARRANTIES OF ANY KIND INCLUDING,
   BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR
   A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
   MGH OR ANY CONTRIBUTOR BE LIABLE TO ANY PARTY FOR DIRECT,
   INDIRECT, SPECIAL, INCIDENTAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES
   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY ARISING IN ANY WAY
   RELATED TO THE SOFTWARE, EVEN IF MGH OR ANY CONTRIBUTOR HAS
   BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. TO THE MAXIMUM
   EXTENT NOT PROHIBITED BY LAW OR REGULATION, YOU FURTHER ASSUME ALL
   LIABILITY FOR YOUR USE, REPRODUCTION, MAKING OF DERIVATIVE WORKS,
   DISPLAY, LICENSE OR DISTRIBUTION OF THE SOFTWARE AND AGREE TO
   INDEMNIFY AND HOLD HARMLESS MGH AND ALL CONTRIBUTORS FROM AND
   AGAINST ANY AND ALL CLAIMS, SUITS, ACTIONS, DEMANDS AND JUDGMENTS
   ARISING THEREFROM.

6. None of the names, logos or trademarks of MGH or any of
   MGH's affiliates or any of the Contributors, or any funding
   agency, may be used to endorse or promote products produced in
   whole or in part by operation of the Software or derived from or
   based on the Software without specific prior written permission
   from the applicable party.

7. Any use, reproduction or distribution of the Software which is not
   in accordance with this Software License shall automatically revoke
   all rights granted to you under this Software License and render
   Paragraphs 1 and 2 of this Software License null and void.

8. This Software License does not grant any rights in or to any
   intellectual property owned by MGH or any Contributor except
   those rights expressly granted hereunder.

The whole agreement is on FreeSurfer’s website.


Rendered with R 4.6.2 · ggplot2 · magick · ragg · ggrepel · freesurferformats · ggseg.formats · ggseg.meshes · FNN