R/mask_img.antsImage.R

Defines functions mask_img.antsImage

#' @export
#' @method mask_img antsImage
#' @importFrom neurobase mask_img 
mask_img.antsImage = function(img, mask, allow.NA = TRUE){
  mask = neurobase::ensure_array(mask)
  img * mask
}
neuroconductor/extrantsr documentation built on Jan. 3, 2020, 10:22 p.m.