taking -z for the correction orientation, see matlab images
RANSAC