Clojure implementation of perceptual hash for images