Introduction - If you have any usage issues, please Google them yourself
This code is Gabor bandpass filter, f should be the filter center frequency, that is your main frequency texture, Segma1, Segma2 is the normal distribution of standard deviation, look you need a band-pass, the greater the value, pass with the greater. You can adjust through trial.