powered by
Check if two antsImage objects occupy the same physical space
antsImage
antsImagePhysicalSpaceConsistency(img1, img2, coordinate.tolerance = 1e-06, direction.tolerance = 1e-06)
Image object of S4 class antsImage.
floating point error tolerance in origin
floating point error tolerance in direction matrix
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