zero based indexing, did registration before rotation correction