Replace min-disparity test with homography based viewpoint change test