Find the square mask that completely encompasses the elliptical mask.
mask (np.ndarray) – The elliptical mask.
Returns – np.ndarray: The square mask.
ndarray