fbpx
维基百科

結構相異性

結構相異性(structural dissimilarity),有鑑於最小平方誤差(Mean Square error)和 峰值信噪比(Peak signal-to-noise ratio)無法完全反應人類視覺上所感受的誤差,在 2004 年被提出來的新的誤差測量方法。

定義 编辑

假設有兩個信號x與y,它們的結構相異性[1] 

其中 為x與y的結構相似性

結構相似性[2] 编辑

兩者的結構相似性定義為:

 

   

其中, 比較  的亮度(luminance), 比較  對比度 比較  的結構(structure),   ,為調整   相對重要性的參數,    分別為  平均值標準差   共變異數   皆為常數,用以維持   的穩定。

結構相似性指標的值越大,代表兩個信號的相似性越高。

若使用相同的兩張圖片去做SSIM運算,也就是說  ,可以得到

 

實際使用時,簡化起見,一般會將參數設為  ,得到:

 

在計算兩張影像的結構相似性指標時,會開一個局部性的視窗,一般為 × 的小區塊,計算出視窗內信號的結構相似性指標,每次以像素為單位移動視窗,直到整張影像每個位置的局部結構相似性指標都計算完畢。將全部的局部結構相似性指標平均起來即為兩張影像的結構相似性指標。

結構相異性(DSSIM)的範圍 编辑

當DSSIM越大時,代表兩張圖片越接近,SSIM越接近1,DSSIM的值也越大,當SSIM=1,也就是DSSIM趨近無限時,和原始視訊檔案完全一致,若SSIM>=0.98就是難以與原始視訊檔案分辨區別,而SSIM=0.95的時候大多數人都會對畫面滿意,這個數值可以認為是及格的畫面。SSIM=0.90的時候意味著瑕疵可能要比0.95多一倍,肉眼就會察覺到明顯的畫面劣化,因此低於這個數值時,就可以判定為沒有實際觀賞價值。

參考資料 编辑

  1. ^ Jian-Jiun Ding, Time frequency analysis and wavelet transform class note,the Department of Electrical Engineering, National Taiwan University (NTU), Taipei, Taiwan, 2007.
  2. ^ Zhou Wang, Alan C. Bovik, Hamid R. Sheikh, and Eero P. Simoncelli, "Image quality assessment: from error visibility to structural similairty," IEEE Transactions on Image Processing, vol. 13, no. 4, pp. 600−612, Apr. 2004.

外部連結 编辑

結構相異性, structural, dissimilarity, 有鑑於最小平方誤差, mean, square, error, 峰值信噪比, peak, signal, noise, ratio, 無法完全反應人類視覺上所感受的誤差, 2004, 年被提出來的新的誤差測量方法, 目录, 定義, 結構相似性, dssim, 的範圍, 參考資料, 外部連結定義, 编辑假設有兩個信號x與y, 它們的, displaystyle, dssim, frac, ssim, nbsp, 其中s, displaystyle, . 結構相異性 structural dissimilarity 有鑑於最小平方誤差 Mean Square error 和 峰值信噪比 Peak signal to noise ratio 無法完全反應人類視覺上所感受的誤差 在 2004 年被提出來的新的誤差測量方法 目录 1 定義 2 結構相似性 2 3 結構相異性 DSSIM 的範圍 4 參考資料 5 外部連結定義 编辑假設有兩個信號x與y 它們的結構相異性 1 為 D S S I M x y 1 1 S S I M x y displaystyle DSSIM x y frac 1 1 SSIM x y nbsp 其中S S I M x y displaystyle SSIM x y nbsp 為x與y的結構相似性結構相似性 2 编辑兩者的結構相似性定義為 SSIM x y l x y a c x y b s x y g displaystyle text SSIM mathbf x mathbf y l mathbf x mathbf y alpha c mathbf x mathbf y beta s mathbf x mathbf y gamma nbsp l x y 2 m x m y C 1 m x 2 m y 2 C 1 displaystyle l mathbf x mathbf y frac 2 mu x mu y C 1 mu x 2 mu y 2 C 1 nbsp c x y 2 s x s y C 2 s x 2 s y 2 C 2 displaystyle c mathbf x mathbf y frac 2 sigma x sigma y C 2 sigma x 2 sigma y 2 C 2 nbsp s x y s x y C 3 s x s y C 3 displaystyle s mathbf x mathbf y frac sigma xy C 3 sigma x sigma y C 3 nbsp 其中 l x y displaystyle l mathbf x mathbf y nbsp 比較x displaystyle mathbf x nbsp 和y displaystyle mathbf y nbsp 的亮度 luminance c x y displaystyle c mathbf x mathbf y nbsp 比較x displaystyle mathbf x nbsp 和y displaystyle mathbf y nbsp 的對比度 s x y displaystyle s mathbf x mathbf y nbsp 比較x displaystyle mathbf x nbsp 和y displaystyle mathbf y nbsp 的結構 structure a gt 0 displaystyle alpha gt 0 nbsp b gt 0 displaystyle beta gt 0 nbsp g gt 0 displaystyle gamma gt 0 nbsp 為調整l x y displaystyle l mathbf x mathbf y nbsp c x y displaystyle c mathbf x mathbf y nbsp s x y displaystyle s mathbf x mathbf y nbsp 相對重要性的參數 m x displaystyle mu x nbsp 及m y displaystyle mu y nbsp s x displaystyle sigma x nbsp 及s y displaystyle sigma y nbsp 分別為x displaystyle mathbf x nbsp 和y displaystyle mathbf y nbsp 的平均值和標準差 s x y displaystyle sigma xy nbsp 為x displaystyle mathbf x nbsp 和y displaystyle mathbf y nbsp 的共變異數 C 1 displaystyle C 1 nbsp C 2 displaystyle C 2 nbsp C 3 displaystyle C 3 nbsp 皆為常數 用以維持l x y displaystyle l mathbf x mathbf y nbsp c x y displaystyle c mathbf x mathbf y nbsp s x y displaystyle s mathbf x mathbf y nbsp 的穩定 結構相似性指標的值越大 代表兩個信號的相似性越高 若使用相同的兩張圖片去做SSIM運算 也就是說m x m y displaystyle mu x mu y nbsp 且s x s y displaystyle sigma x sigma y nbsp 可以得到SSIM x x 2 m x 2 C 1 m x 2 m x 2 C 1 2 s x 2 C 2 s x 2 s x 2 C 2 s x x C 3 s x s x C 3 1 displaystyle text SSIM mathbf x mathbf x frac 2 mu x 2 C 1 mu x 2 mu x 2 C 1 times frac 2 sigma x 2 C 2 sigma x 2 sigma x 2 C 2 times frac sigma xx C 3 sigma x sigma x C 3 1 nbsp 實際使用時 簡化起見 一般會將參數設為a b g 1 displaystyle alpha beta gamma 1 nbsp 及C 3 C 2 2 displaystyle C 3 C 2 2 nbsp 得到 SSIM x y 2 m x m y C 1 2 s x y C 2 m x 2 m y 2 C 1 s x 2 s y 2 C 2 displaystyle text SSIM mathbf x mathbf y frac 2 mu x mu y C 1 2 sigma xy C 2 mu x 2 mu y 2 C 1 sigma x 2 sigma y 2 C 2 nbsp 在計算兩張影像的結構相似性指標時 會開一個局部性的視窗 一般為N displaystyle N nbsp N displaystyle N nbsp 的小區塊 計算出視窗內信號的結構相似性指標 每次以像素為單位移動視窗 直到整張影像每個位置的局部結構相似性指標都計算完畢 將全部的局部結構相似性指標平均起來即為兩張影像的結構相似性指標 結構相異性 DSSIM 的範圍 编辑當DSSIM越大時 代表兩張圖片越接近 SSIM越接近1 DSSIM的值也越大 當SSIM 1 也就是DSSIM趨近無限時 和原始視訊檔案完全一致 若SSIM gt 0 98就是難以與原始視訊檔案分辨區別 而SSIM 0 95的時候大多數人都會對畫面滿意 這個數值可以認為是及格的畫面 SSIM 0 90的時候意味著瑕疵可能要比0 95多一倍 肉眼就會察覺到明顯的畫面劣化 因此低於這個數值時 就可以判定為沒有實際觀賞價值 參考資料 编辑 Jian Jiun Ding Time frequency analysis and wavelet transform class note the Department of Electrical Engineering National Taiwan University NTU Taipei Taiwan 2007 Zhou Wang Alan C Bovik Hamid R Sheikh and Eero P Simoncelli Image quality assessment from error visibility to structural similairty IEEE Transactions on Image Processing vol 13 no 4 pp 600 612 Apr 2004 外部連結 编辑https cg2010studio wordpress com 2013 01 07 E7 B5 90 E6 A7 8B E7 9B B8 E4 BC BC E6 80 A7 structural similarity 页面存档备份 存于互联网档案馆 取自 https zh wikipedia org w index php title 結構相異性 amp oldid 70057877, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。