My question has 2 parts,
First part, is there a MATLAB function that generates a frequnecy domain mask that sharpens the edges of an image? Or do I have to create the mask in the spatial domain using fspecial()
and then map it to the frequency domain using fft2(spatail_domain_mask)
?
Second part,consider an image enhancement technique that sharpens the edges of an image. If we are to compare this operation in the spatial domain and the frequency domain, which one is more effective? Which one is more efficient? And which one has a better overall performance?