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"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.