I have a set of primitives (segments) that I would like to overlay with distorted (barrel/pincushion) video feed. I have a good model for the distortion of the primitive (real x,y to pixel x,y) and I would like to apply that distortion to the primitives.
Is there a mapping/perspective/transformation function that I can use to simulate the camera distortion? Ideally it would use antialiasing.
Thanks in advance,