$$I(x, y) = f(x, \min(y, y_0))$$