Function to check if mask is in the same space as inputs

checkMask(lesions.list, mask)

Arguments

lesions.list

list of antsImages or character vector of filenames

mask

antsImage of mask to check

Value

Nothing is returned, function stops with error if mask is not in the same space as images in lesions.list