It is also very common for "f"() to depend on more than just the current pixel's color, it may also use the ("x", "y") position, the values of nearby pixels, the value from reference images, and values from user-drawn masks.