R/ensure_array.antsImage.R

Defines functions ensure_array.antsImage

#' @export
#' @method ensure_array antsImage
#' @importFrom neurobase ensure_array
ensure_array.antsImage = function(img){
  img = as.array(img)
  img = as(img, "array")  
  return(img)
}
neuroconductor/extrantsr documentation built on Jan. 3, 2020, 10:22 p.m.