quality assessment function HPSNR

HPSNR assessment