Image Comparison based on pHash

pHash get all the eigenvalue and produce hash value for each picture.
Then compare the threshold value with the D-value.