where umin and umax are the horizontal borders of the ROI,
this ensures that the points are always in the center of the
ROI, resulting in a constant angle difference between the
points, as illustrated in Fig. 5. vmin and vmax are the top
and bottom points in vertical axis in each ROI.