mouseBrainExtraction: Mouse brain extraction

View source: R/mouse.R

mouseBrainExtractionR Documentation

Mouse brain extraction

Description

Perform brain extraction of mouse MRI

Usage

mouseBrainExtraction(
  image,
  modality = c("t2", "ex5coronal", "ex5sagittal"),
  returnIsotropicOutput = FALSE,
  whichAxis = 2,
  verbose = FALSE
)

Arguments

image

input 3-D brain image (or list of images for multi-modal scenarios).

modality

image type. Options include:

  • "t2": T2-weighted MRI

  • "ex5coronal": E13.5 and E15.5 mouse embroyonic histology data.

  • "ex5sagittal": E13.5 and E15.5 mouse embroyonic histology data.

returnIsotropicOutput

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

whichAxis

Specify direction for ex5 modalities..

verbose

print progress.

Value

brain probability mask

Author(s)

Tustison NJ

Examples

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

image <- antsImageRead( "brain.nii.gz" )
probabilityMask <- mouseBrainExtraction( image, modality = "t2" )

## End(Not run)

ANTsX/ANTsRNet documentation built on Nov. 21, 2024, 4:07 a.m.