Contents:
Batched Otsu thresholding.
x (ndarray) – numpy array of shape [..., H, W] with leading batch dimensions
ndarray
[..., H, W]
Numpy array of thresholded images, same shape as the input.