Here\'s my code to produce a glcm using gocv, the functions of imageprocessing package aren\'t important to this issue, with them a read images from a folder. I\'m trying to get