shivaPvsSegmentation: SHIVA PVS/VRS segmentation.

View source: R/whiteMatterHyperintensitySegmentation.R

shivaPvsSegmentationR Documentation

SHIVA PVS/VRS segmentation.

Description

Perform segmentation of perivascular (PVS) or Vircho-Robin spaces (VRS). https://pubmed.ncbi.nlm.nih.gov/34262443/ with the original implementation available here: https://github.com/pboutinaud/SHIVA_PVS

Usage

shivaPvsSegmentation(
  t1,
  flair = NULL,
  whichModel = "all",
  doPreprocessing = TRUE,
  verbose = FALSE
)

Arguments

t1

input 3-D T1-weighted brain image.

flair

(Optional) input 3-D FLAIR brain image (aligned to T1 image).

whichModel

integer or string. Several models were trained for the case of T1-only or T1/FLAIR image pairs. One can use a specific single trained model or the average of the entire ensemble. I.e., options are: * For T1-only: 0, 1, 2, 3, 4, 5. * For T1/FLAIR: 0, 1, 2, 3, 4. * Or "all" for using the entire ensemble.

doPreprocessing

perform n4 bias correction, intensity truncation, brain extraction.

verbose

print progress.

Value

probabilistic image.

Author(s)

Tustison NJ

Examples

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

t1 <- antsImageRead( "t1.nii.gz" )
flair <- antsImageRead( "flair.nii.gz" )
results <- wmhSegmentation( t1, flair )

## End(Not run)

ANTsX/ANTsRNet documentation built on Nov. 25, 2024, 10:27 p.m.