https://de.mathworks.com/help/vision/ref/estimatestereorectification.html
estimateStereoRectification - Uncalibrated stereo rectification - MATLAB
This MATLAB function returns projective transformations for rectifying stereo images.
stereorectificationmatlab