Entropy Of Grayscale Image Python - Inspired by this question and this answer (which isn't very solid) I realized that I o...