Perform arterial lesion segmentation using U-net.
arterialLesionSegmentation( image, antsxnetCacheDirectory = NULL, verbose = FALSE )
image | input histology image. |
---|---|
antsxnetCacheDirectory | destination directory for storing the downloaded
template and model weights. Since these can be resused, if
|
verbose | print progress. |
segmentation and probability images
Tustison NJ
if (FALSE) { library( ANTsRNet ) library( keras ) image <- antsImageRead( "image.nii.gz" ) output <- arterialLesionSegmentation( image ) }