How to use custom image in GLCM Texture Features

Hi in this GCLM texture feature code how can I use a custom image from my pc https://scikit-image.org/docs/dev/auto_examples/features_detection/plot_glcm.html

Hi @sawravchy, welcome and sorry for taking so long to reply.

You can load an image into scikit-image using:

from skimage import io
image = io.imread('my_file.png')  # or .jpg, .tif, etc. 

You can learn more in our user guide.