quality assessment function HPSNR

HPSNR assessment
Merge branch 'master' of https://github.com/yunfuliu/pixkit
modified HPSNR function

modified HPSNR function for error condition
modified HPSNR function
hpsnr
Merge pull request #17 from PeterLai9527/master

modified HPSNR function