modified HPSNR

new version HPSNR for adaptive filter size