Change average hash to convert to grayscale rather than B&W for more accurate hashes.