static long hashBinaryImage(IBinaryImage img) { ret new HashBinaryImage(img)!; }