This is called the inverse transform method. Here is a helpful website on solving the problem:

http://www.cs.bgu.ac.il/~mps042/invtransnote.htm

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang