• 衡量两幅图像的相似度:
    • SNR/PSNR
    • SSIM

1. SNR vs PSNR

about SNR 和 PSNR

  • MSE:mean squared error
    ∑x=1Nx∑y=1Ny(f(x,y)−f^(x,y))2NxNy

    • f(x,y):表示原始的信号/图像;
    • f^(x,y):则表示处理后的信号/图像;
  • SNR(dB):

    10⋅log10⎡⎣⎢⎢⎢⎢⎢∑x=1Nx∑y=1Nyf(x,y)2∑x=1Nx∑y=1Ny(f(x,y)−f^(x,y))2⎤⎦⎥⎥⎥⎥⎥

  • PSNR(dB):

    10⋅log10⎡⎣⎢⎢⎢⎢⎢NxNy2552∑x=1Nx∑y=1Ny(f(x,y)−f^(x,y))2⎤⎦⎥⎥⎥⎥⎥=20⋅log10255MSE

2. SSIM

SSIM(structural similarity index),结构相似性,是一种衡量两幅图像相似度的指标。

posted on 2016-11-02 10:36  未雨愁眸  阅读(959)  评论(0)    收藏  举报