NAN values after converting to GLCM

Did you take a look at this post, it’s already solved in here

Source of the post