1. A computer-implemented method comprising: selecting, by a processor, a polygon that includes a convex shape defined by vertices represented by integer coordinates; determining a polygon transfer function from cones defined by a portion of the vertices, wherein the polygon transfer function defines image processing operations independent of the scale of the polygon.