Added support of different resolution in rectify3Collinear