Reference - This code is based on the technique described in: D.G. Bailey - Detecting regular patterns using frequency domain self-filtering, 1997 Intl. Conf. on Image Processing, 1:440-3.
Very good to regular pattens
Published as Matlab toolbox (.mltbx file).
Function now also attenuates regular patterns.
Modified sample code & added movie.