As per complex arithmetic, for 2 complex nos z = a+ib and w = c+id:
z/w = (z*w) / norm(w)*norm(w)
where, norm(w) = sqrt(c*c + d*d)
Coding shouldn't be too difficult..
You may refer to http://www.adislindia.com/login/pluginlinks.php
for using MIT's FFTW based plugin for Image Apprentice. You will get
the necessary complex numbers ready for you to work upon.
hope this helps. Would be glad to give any further assistance.
We are anyways planning to put frequency domain filters based on the
above mentioned plugin in the Pluging Developer Netowrk some day soon.
Submissions from members have been recieved and are under reviewal.
warm regards,
Divya Rathore
www.adislindia.com
(remove underscores for email ID)