MATLAB: How to extract mesh periodic pattern in this image

extractfftmeshpatternperiodictexture

Hi all,
I need some help extracting the cross-mesh periodic pattern of the Proj2.jpg image that I've attached. I'm taking an Image Processing course, and I'm very rusty with Matlab coding.
I have a good idea of how to perform this. I would assume you would take a fft of the image, shift it through a low pass filter, and multiply it by the original image to get the crossed mesh pattern out of it.
But I really am lost about how to perform this coding-wise in Matlab. Could anyone on here show me an example? Thank You!

Best Answer

What exactly does "extracting the cross-mesh periodic pattern" mean to you?
Does it mean that you want to remove the pattern from the image and get an image that looks like there is no pattern in there at all? If so, Fourier transform, look for the spikes, zero them out, and then inverse transform.
Does it mean that you want to get an image of only the harmonic, periodic structure without any of the finer texture? If so, you want to do the opposite of what I said above. You still want to FT and look for the spikes, but instead of zeroing out the spikes, you want to leave the spikes alone and zero out everything else. Then inverse transform.
See my demo, attached below, for a coding example.