Problem with GLCM features

Greetings,
I am a 1st year PhD student and I’m currently working on a project involving feature extraction from MRI images for prostate cancer research, and I have some questions. I developed a python script for feature extraction but in the case of glcm features I meet some problems. Most of the GLCM features have values of 0 or 1. I attach to you the my results and the corresponding python script. Can you please help me??
Thank you a lot in advance

This is the script





and this are the results



Hello again. Can you please help me?