Edge detection in spatial or in frequency domain? I want to ask why everywhere is used to do edge detection in spatial domain and not in frequency domain with FFT of image and apply HP filter. Thank you.
What you claim is simply not true. One step in edge detection is often a simple high-pass (or band-pass) filter,  and those are commonly applied using fast convolution, which is a frequency-domain algorithm.