Watershed returns an error

both are numpy arrays