powered by
Check if two antsImage objects occupy the same physical space
antsImage
antsImagePhysicalSpaceConsistency(img1, img2, coordinate.tolerance = 0.01, direction.tolerance = 0.01, data.type = FALSE)
Image object of S4 class antsImage.
floating point error tolerance in origin
floating point error tolerance in direction matrix
boolean, if TRUE check pixeltype and components, default is FALSE
Boolean indicating consistency of physical space
# NOT RUN { img1 <- makeImage(c(10,10), rnorm(100)) img2 <- makeImage(c(10,10), rnorm(100)) check <- antsImagePhysicalSpaceConsistency(img1, img2) # }
Run the code above in your browser using DataLab