ANTs is based on ITK, SimpleITK Fundamental Concepts is a good introduction to this topic. The slicer primer on coordinate systems is also very useful. ITK and ANTs use LPS coordinates, as explained ...