Ensures the output to be a character filename (or vector) from an input image or nifti.

# S4 method for antsImage
checkimg(file, allow_array = FALSE, ...)

Arguments

file

character or antsImage object

allow_array

allow arrays to be passed in

...

options passed to tempimg