mouseCorticalThickness: Mouse brain cortical thickness using deep learning

View source: R/mouse.R

mouseCorticalThicknessR Documentation

Mouse brain cortical thickness using deep learning

Description

Perform KellyKapowski cortical thickness

Usage

mouseCorticalThickness(
  t2,
  mask = NULL,
  returnIsotropicOutput = FALSE,
  antsxnetCacheDirectory = NULL,
  verbose = FALSE
)

Arguments

t2

input 3-D unprocessed T2-weighted mouse brain image

mask

Brain mask. If not specified, one is estimated using ANTsXNet mouse brain extraction.

returnIsotropicOutput

The network actually learns an interpolating function specific to the mouse brain. Setting this to true, the output images are returned isotropically resampled.

antsxnetCacheDirectory

destination directory for storing the downloaded template and model weights. Since these can be resused, if is.null(antsxnetCacheDirectory), these data will be downloaded to the subdirectory ~/.keras/ANTsXNet/.

verbose

print progress.

Value

Cortical thickness image and segmentation probability images.

Author(s)

Tustison NJ

Examples

## Not run: 
library( ANTsRNet )
library( keras )

image <- antsImageRead( "t1w_image.nii.gz" )
kk <- corticalThickness( image )

## End(Not run)

ANTsX/ANTsRNet documentation built on April 28, 2024, 12:16 p.m.