R/antsImageWrite.R

antsImageWrite <- function(image, filename) {
  if (class(image) != "antsImage") {
    print("'image' argument provided is not of class 'antsImage'")
    return(NULL)
  }
  return(.Call("antsImageWrite", image, filename, PACKAGE = "itkImageR"))
} 
stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.