I need to find the texture properties of an image, such as correlation, energy, uniformity, and contrast in Python. I am using python-opencv to perform other operations as python-opencv returns the image as a numpy array. But I did not find a good resource for calculating GLCM using opencv or numpy. I also need to extract the function for d=1and angle=[0,45,135,90], and then use this function in svm.
source
share