phash port interface
pHash port implementation
pHash c port