allenHistologyBrainMask | R Documentation |
Determine brain foreground of Allen's mouse embroyonic data.
allenHistologyBrainMask(
image,
whichAxis = 3,
antsxnetCacheDirectory = NULL,
verbose = FALSE
)
image |
input image |
whichAxis |
If 3-D image, which_axis specifies the direction of the slice. |
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
## Not run:
library( ANTsRNet )
library( keras )
image <- antsImageRead( "image.nii.gz" )
output <- allenHistologyBrainMask( image )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.