Morphology in Frequency Domain

Karthik Nadig

To put it simply,

[latex]GrayScale(Image) \rightarrow DFT(Image) \rightarrow f(Image) \rightarrow IDFT(Image)[/latex]

Replace $latex f(Image) = f(x)$ by any of the functions from the following table, it also shows the effect of the function on the “Lenna” image. The images show effect of morphology or filter applied in the frequency domain.

Source Code: C++

f(x)

Processed Image

Dilate(x) :
Morphological Dilate
dilate1
Erode(x) :
Morphological Erode

erode1

Open(x) :
Morphological Open

open1

Close(x) :
Morphological Close

close1

Gradient(x) :
Morphological Gradient

gradient1

Gaussian(x) :
Simple Gaussian Blur

gaussian1

Images processed with FFTW and OpenCV libraries.


Leave a Reply