arterialLesionSegmentation: Arterial lesion segmentation

View source: R/histology.R

arterialLesionSegmentationR Documentation

Arterial lesion segmentation

Description

Perform arterial lesion segmentation using U-net.

Usage

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

Arguments

image

input histology 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

segmentation and probability images

Author(s)

Tustison NJ

Examples

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

image <- antsImageRead( "image.nii.gz" )
output <- arterialLesionSegmentation( image )

## End(Not run)

ANTsX/ANTsRNet documentation built on April 23, 2024, 1:24 p.m.