Class Watershed<T extends RealType<T>,​B extends BooleanType<B>>