abstract over image coordinates