powered by
antsTransformPhysicalPointToIndex(x, point)
img<-makeImage(c(10,10),rnorm(100)) pt<-antsTransformPhysicalPointToIndex(img,c(2,2))
Run the code above in your browser using DataLab