I am trying to extract features using GLCM. I have seen an online code where the author is doing a series of steps for preprocessing before applying GLCM.