On robust rectification for uncalibrated images