mriModalityClassification: MRI modality classification

View source: R/mriModalityClassification.R

mriModalityClassificationR Documentation

MRI modality classification

Description

Predict MRI modality type (whole-head only). Modalities:

  • T1

  • T2

  • FLAIR

  • T2Star

  • Mean DWI

  • Mean Bold

  • ASL perfusion

Usage

mriModalityClassification(
  image,
  antsxnetCacheDirectory = NULL,
  verbose = FALSE
)

Arguments

image

raw 3-D MRI whole head image.

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

classification data frame

Author(s)

Tustison NJ

Examples

## Not run: 
library( ANTsRNet )

image <- antsImageRead( getANTsXNetData( "mprageHippmap3r" ) )
classification <- mriModalityClassification( image )

## End(Not run)

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