How does one draw the frequency domain representation of an image? I've seen in DIP books that frequency domain equivalent images are displayed, but how is that done, knowing that the result is complex? In other words, an image consists of values between 0 to 255 in spatial domain, but the result is complex in the frequency domain, so what are we really drawing?
I am currently using Javascript, but I really just want to understand the theory behind the frequency domain and filtering, and not necessarily need the code written down :)