borderMode – pixel extrapolation method (see borderInterpolate()); when borderMode=BORDER_TRANSPARENT
, it means that the pixels in the destination image corresponding to
the “outliers” in the source image are not modified by the function.

borderValue – value used in case of a constant border; by default, it is 0.