XIV. Discrete Wavelet Transform

Slides:



Advertisements
Similar presentations
1 生物計算期末作業 暨南大學資訊工程系 2003/05/13. 2 compare f1 f2  只比較兩個檔案 f1 與 f2 ,比完後將結果輸出。 compare directory  以兩兩比對的方式,比對一個目錄下所有檔案的相 似程度。  將相似度很高的檔案做成報表輸出,報表中至少要.
Advertisements

Chapter 10 馬可夫鏈 緒言 如果讀者仔細觀察日常生活中所發生的 諸多事件,必然會發現有些事件的未來 發展或演變與該事件現階段的狀況全然 無關,這種事件稱為獨立試行過程 (process of independent trials) ;而另一些 事件則會受到該事件現階段的狀況影響。
布林代數的應用--- 全及項(最小項)和全或項(最大項)展開式
第七章 抽樣與抽樣分配 蒐集統計資料最常見的方式是抽查。這 牽涉到兩個問題: 抽出的樣本是否具有代表性?是否能反應出母體的特徵?
Section 1.2 Describing Distributions with Numbers 用數字描述分配.
Event Sampling 事件取樣法. 關心重點為「事件」本身明確的焦點 行為 清楚掌握主題 - 當「事件」出現時才開 始記錄 記錄程序 等待目標事件的發生 開始記錄 事件結束,停止記錄.
3Com Switch 4500 切VLAN教學.
如何將數字變成可用之資訊 現代化資料處理與應用概念. 如何將數字變成可用之資訊 人最容易接受的訊息是圖像化資訊。 在一堆數字中,要進行比較分析,一般會使用表格形 式計算與分析。 所以一般我們會將數字依關聯性, 轉換成表格計算與分析。 此表格一般稱試算表或稱表格。 再將結果轉換為圖表,進行比較與分析。
指導教授:陳淑媛 學生:李宗叡 李卿輔.  利用下列三種方法 (Edge Detection 、 Local Binary Pattern 、 Structured Local Edge Pattern) 來判斷是否為場景變換,以方便使用者來 找出所要的片段。
1.1 線性方程式系統簡介 1.2 高斯消去法與高斯-喬登消去法 1.3 線性方程式系統的應用(-Skip-)
亂數產生器安全性評估 之統計測試 SEC HW7 姓名:翁玉芬 學號:
Review of Chapter 3 - 已學過的 rules( 回顧 )- 朝陽科技大學 資訊管理系 李麗華 教授.
: OPENING DOORS ? 題組: Problem Set Archive with Online Judge 題號: 10606: OPENING DOORS 解題者:侯沛彣 解題日期: 2006 年 6 月 11 日 題意: - 某間學校有 N 個學生,每個學生都有自己的衣物櫃.
: ShellSort ★★☆☆☆ 題組: Problem D 題號: 10152: ShellSort 解題者:林一帆 解題日期: 2006 年 4 月 10 日 題意:烏龜王國的烏龜總是一隻一隻疊在一起。唯一改變烏龜位置 的方法為:一隻烏龜爬出他原來的位置,然後往上爬到最上方。給 你一堆烏龜原來排列的順序,以及我們想要的烏龜的排列順序,你.
STAT0_sampling Random Sampling  母體: Finite population & Infinity population  由一大小為 N 的有限母體中抽出一樣本數為 n 的樣 本,若每一樣本被抽出的機率是一樣的,這樣本稱 為隨機樣本 (random sample)
5.1 Rn上之長度與點積 5.2 內積空間 5.3 單範正交基底:Gram-Schmidt過程 5.4 數學模型與最小平方分析
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 肆 資料分析與表達.
CH22 可靠性加速測試方法 目的 基本假設 加速試驗模式 Inverse Power Model
Department of Air-conditioning and Refrigeration Engineering/ National Taipei University of Technology 模糊控制設計使用 MATLAB 李達生.
Monte Carlo Simulation Part.2 Metropolis Algorithm Dept. Phys. Tunghai Univ. Numerical Methods C. T. Shih.
第一章 演算法:效率、分析與量級 1.1演算法 1.2發展有效率演算法的重要性 1.3演算法的分析 1.4量級(Order)
2009fallStat_samplec.i.1 Chap10 Sampling distribution (review) 樣本必須是隨機樣本 (random sample) ,才能代表母體 Sample mean 是一隨機變數,隨著每一次抽出來的 樣本值不同,它的值也不同,但會有規律性 為了要知道估計的精確性,必需要知道樣本平均數.
信度.
Chapter 13 塑模靜態觀點:物件圖 Static View : Object Diagram.
Introduction to Java Programming Lecture 17 Abstract Classes & Interfaces.
: The largest Clique ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11324: The largest Clique 解題者:李重儀 解題日期: 2008 年 11 月 24 日 題意: 簡單來說,給你一個 directed.
3-3 使用幾何繪圖工具 Flash 的幾何繪圖工具包括線段工具 (Line Tool) 、橢圓形工具 (Oval Tool) 、多邊星形 工具 (Rectangle Tool) 3 種。這些工具畫出 來的幾何圖形包括了筆畫線條和填色區域, 將它們適當地組合加上有技巧地變形與配 色, 不但比鉛筆工具簡單,
: Happy Number ★ ? 題組: Problem Set Archive with Online Judge 題號: 10591: Happy Number 解題者:陳瀅文 解題日期: 2006 年 6 月 6 日 題意:判斷一個正整數 N 是否為 Happy Number.
7.1 背景介紹 7.2 多解析度擴展 7.3 一維小波轉換 7.4 快速小波轉換 7.5 二維小波轉換 7.6 小波封包
Fourier Series. Jean Baptiste Joseph Fourier (French)(1763~1830)
: Problem A : MiniMice ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11411: Problem A : MiniMice 解題者:李重儀 解題日期: 2008 年 9 月 3 日 題意:簡單的說,題目中每一隻老鼠有一個編號.
: Ahoy, Pirates! ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11402: Ahoy, Pirates! 解題者:李重儀 解題日期: 2008 年 8 月 26 日 題意:有一個海盜島有 N 個海盜,他們的編號 (id)
短缺,盈餘與均衡. 遊戲規則  老師想出售一些學生喜歡的小食。  老師首先講出價錢,有興趣買的請舉手。
: Multisets and Sequences ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: 11023: Multisets and Sequences 解題者:葉貫中 解題日期: 2007 年 4 月 24 日 題意:在這個題目中,我們要定義.
導線測量平差導論 觀測方程式 多餘方程式 實例 最小控制量 網形平差 χ2檢定:擬合度檢定
Analysis of Variance (ANOVA) CH 13 變異數分析. What is ANOVA? n 檢定 3 個或 3 個以上的母體平均數是否相等的統計檢定 n 檢定多個母體平均數是否相同 n 比較大二、大三、大四學生實習滿意度是否一樣 ? ( 來 自相同的 population)
:Nuts for nuts..Nuts for nuts.. ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: 10944:Nuts for nuts.. 解題者:楊家豪 解題日期: 2006 年 2 月 題意: 給定兩個正整數 x,y.
資料結構實習-一 參數傳遞.
觀測量的權 權的觀念與計算.
公用品.  該物品的數量不會因一人的消費而受到 影響,它可以同時地被多人享用。 角色分配  兩位同學當我的助手,負責:  其餘各人是投資者,每人擁有 $100 , 可以投資在兩種資產上。  記錄  計算  協助同學討論.
: Beautiful Numbers ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: 11472: Beautiful Numbers 解題者:邱經達 解題日期: 2011 年 5 月 5 日 題意: 若一個 N 進位的數用到該.
Section 4.2 Probability Models 機率模式. 由實驗看機率 實驗前先列出所有可能的實驗結果。 – 擲銅板:正面或反面。 – 擲骰子: 1~6 點。 – 擲骰子兩顆: (1,1),(1,2),(1,3),… 等 36 種。 決定每一個可能的實驗結果發生機率。 – 實驗後所有的實驗結果整理得到。
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/25 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH 2.4~CH 2.6 &
Image Interpolation Use SSE 指導教授 : 楊士萱 學 生 : 楊宗峰 日 期 :
JAVA 程式設計與資料結構 第二十章 Searching. Sequential Searching Sequential Searching 是最簡單的一種搜尋法,此演 算法可應用在 Array 或是 Linked List 此等資料結構。 Sequential Searching 的 worst-case.
資料結構實習-二.
演算法 8-1 最大數及最小數找法 8-2 排序 8-3 二元搜尋法.
: Expect the Expected ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11427: Expect the Expected 解題者:李重儀 解題日期: 2008 年 9 月 21 日 題意:玩一種遊戲 (a game.
Chapter 3 Entropy : An Additional Balance Equation
Density and control Reproduction curve 劉耀仁. Density :濃度、密度 ► 1 號區是 High-Density 區、 2 號是 Middle-density 區、 3 號區是 Low- Density 區。 ► 計算反射率( R )或透射率( T )
-Antidifferentiation- Chapter 6 朝陽科技大學 資訊管理系 李麗華 教授.
845: Gas Station Numbers ★★★ 題組: Problem Set Archive with Online Judge 題號: 845: Gas Station Numbers. 解題者:張維珊 解題日期: 2006 年 2 月 題意: 將輸入的數字,經過重新排列組合或旋轉數字,得到比原先的數字大,
Chapter 2. Recurrence Relations (遞迴關係)
Structural Equation Modeling Chapter 6 CFA 根據每個因素有多重指標,以減少 測量誤差並可建立問卷的構念效度 驗證性因素分析.
Chapter 10 m-way 搜尋樹與B-Tree
冷凍空調自動控制 - 系統性能分析 李達生. Focusing here … 概論 自動控制理論發展 自控系統設計實例 Laplace Transform 冷凍空調自動控制 控制系統範例 控制元件作動原理 控制系統除錯 自動控制理論 系統穩定度分析 系統性能分析 PID Controller 自動控制實務.
連續隨機變數 連續變數:時間、分數、重量、……
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/30 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH7.1~CH /12/26.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 參 資料蒐集的方法.
: SAM I AM ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11419: SAM I AM 解題者:李重儀 解題日期: 2008 年 9 月 11 日 題意: 簡單的說,就是一個長方形的廟裡面有敵人,然 後可以橫的方向開砲或縱向開砲,每次開砲可以.
第五章IIR數位濾波器設計 濾波器的功能乃對於數位信號進行處理﹐ 以滿足系統的需求規格。其作法為設計一 個系統的轉移函數﹐或者差分方程式﹐使 其頻率響應落在規格的範圍內。本章探討 的是其中一種方法﹐稱為Infinite impulse register(IIR)。 IIR架構說明。 各種不同頻帶(Band)濾波器的設計方法。
: Finding Paths in Grid ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11486: Finding Paths in Grid 解題者:李重儀 解題日期: 2008 年 10 月 14 日 題意:給一個 7 個 column.
:Problem E.Stone Game ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 10165: Problem E.Stone Game 解題者:李濟宇 解題日期: 2006 年 3 月 26 日 題意: Jack 與 Jim.
:Rings and Glue ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10301: Rings and Glue 解題者:施博修 解題日期: 2011 年 5 月 18 日 題意:小約翰有了個大麻煩,他不小心將 rings.
幼兒行為觀察與記錄 第八章 事件取樣法.
: How many 0's? ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 11038: How many 0’s? 解題者:楊鵬宇 解題日期: 2007 年 5 月 15 日 題意:寫下題目給的 m 與 n(m
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 肆 資料分析與表達.
1 柱體與錐體 1. 找出柱體與錐體的規則 2. 柱體的命名與特性 3. 柱體的展開圖 4. 錐體的命名與特性 5. 錐體的展開圖
443 x[n]x[n] g[n]g[n] h[n]h[n] x 1,L [n] x 1,H [n]  2 analysissynthesis  2 g1[n]g1[n] h1[n]h1[n] x0[n]x0[n] : upsampling by the factor of 2  Q Q a[n]a[n]b[n]b[n]
419 XIV. Discrete Wavelet Transform (I) (1) discrete input to discrete output (3) 忽略了 scaling function 和 mother wavelet function 的分析 但是保留了階層式的架構 14.1 概念.
Presentation transcript:

XIV. Discrete Wavelet Transform 14.1 概念 (1) discrete input to discrete output (2) 由 continuous wavelet transform with discrete coefficients 演變而來的, (比較 page 385) 但是大幅簡化了其中的數學 (3) 忽略了 scaling function 和 mother wavelet function 的分析 但是保留了階層式的架構

14.2 1-D Discrete Wavelet Transform lowpass filter g[n]  2 x1,L[n] input L-points x[n] highpass filter N-points h[n]  2 x1,H[n] L-points  2 : downsampling by the factor of 2 x[n] z[n]  Q

輸入: x[n] (不需算 , 直接以 x[n] 作為 initial Low pass filter g[n] High pass filter h[n] 角色似 scaling function 角色似 wavelet function (相當於 page 385 的 gn) (相當於 page 385 的 hn) 1st stage

further decomposition (from the (a−1)th stage to the ath stage) g[n]  2 x2,L[n] g[n]  2 x1,L[n] h[n]  2 x2,H[n] x[n] x1,H[n]  2 h[n]

(1) 有的時候,對於 也再作細分 xa,H[n] (2) 若 input 的 x[n] 的 length 為N, 則 ath stage xa,L[n], xa,H[n] 的 length 為N/2a (3) 經過 DWT 之後,全部點數仍接近 N 點

(4) 以頻譜來看 X1,L(f) X1,H(f) f-axis X1,H(f) X2,L(f) X2,H(f) f-axis X1,H(f) X2,H(f) f-axis X3,L(f) X3,H(f)

14.3 2-D Discrete Wavelet Transform g[m]  2 x1,L[m, n] along m g[n]  2 v1,L[m, n] along n h[m]  2 x1,H1[m, n] x[m, n] along m x1,H2[m, n] g[m]  2 h[n]  2 v1,H[m, n] along m along n  2 x1,H3[m, n] h[m] along m

輸入: x[m, n] Low pass filter g[n] High pass filter h[n]  along n  along m

n m x3,H3 x2,H3[m, n] 原圖:正方形 x1,H3[m, n] from R. C. Gonzalez and R. E. Woods, Digital Image Processing, Chap. 7, 2nd edition, Prentice Hall, New Jersey, 2002.

原圖:Lena from R. C. Gonzalez and R. E. Woods, Digital Image Processing, Chap. 7, 2nd edition, Prentice Hall, New Jersey, 2002.

 compression & noise removing 保留 x1,L[m, n],捨棄其他部分  (directional) edge detection 保留 x1,H1[m, n] 捨棄其他部分 或保留 x1,H2[m, n]  x1,H3[m, n] 當中所包含的資訊較少 corner detection?

14.4 Complexity of the DWT x[n]  y[n], length(x[n]) = N, length(y[n]) = L, (N+L1)-point discrete Fourier transform (DFT) (N+L1)-point inverse discrete Fourier transform (IDFT) (1) Complexity of the 1-D DWT (without sectioned convolution)

(2) 當 N >>> L 時,使用 “sectioned convolution” 的技巧 x[n] x1[n] x2[n] x3[n] xS[n] n N1 N1 將 x[n] 切成很多段,每段長度為 N1 總共有 段 (N > N1 >> L)

complexity:  重要概念: The complexity of the 1-D DWT is linear with N when N >>> L

(3) Multiple stages 的情形下  若 xa,H[n] 不再分解 Complexity 近似於:  若 xa,H[n] 也細分 Complexity 近似於: (和 DFT 相近)

(4) Complexity of the 2-D DWT on page 429 (without sectioned convolution ) The first part needs M 1-D DWTs and the input for each 1-D DWT has N points The second part needs N+L1 1-D DWTs and the input for each 1-D DWT has M points

(5) Complexity of the 2-D DWT (with Sectioned Convolution) Image The original size: M  N The size of each part: M1  N1  重要概念: If the method of the sectioned convolution is applied, the complexity of the 2-D DWT is linear with MN.

(6) Multiple stages, two dimension x[m, n] 的 size 為 M × N  若 xa,H1[n], xa,H2[n], xa,H3[n] 不細分,只細分 xa,L[n] total complexity  若 xa,H1[n], xa,H2[n], xa,H3[n] 也細分 total complexity

14.5 Many Operations Also Have Linear Complexities 事實上,不只 wavelet 有 linear complexity 當 input 和 filter 長度或大小相差懸殊時  1-D convolution 的 complexity 是 linear with N. 2-D convolution 的 complexity 是 linear with MN. (和傳統 Nlog2N, MNlog2(MN) 的觀念不同) 很重要的概念

 Note:DCT 的 complexity 也是 linear with MN (divided into 8 × 8 blocks) complexity :

14.6 Reconstruction analysis synthesis g[n]  2 x1,L[n]  2 g1[n] x[n] h[n]  2 x1,H[n]  2 h1[n] g1[n], h1[n] 要滿足什麼條件,才可以使得 x0[n] = x[n]?  2 : upsampling by the factor of 2 a[n]  Q b[n] for r = 1, 2, Q−1

Reconstruction Problem 用 Z transform 來分析

Z transform  If a[n] = b[2n], ↓ 2 (downsampling) (Proof):  If a[2n] = b[n], a[2n+1] = 0 ↑ 2 (upsampling)

Perfect reconstruction: 條件: where

14.7 Reconstruction 的等效條件 if and only if 這四個條件被稱作 biorthogonal conditions

(Proof) Note: (a) (b) 令 Therefore, From inverse Z transform

orthogonality 條件 1 (c) Similarly, substitute into after the process the same as that of the above orthogonality 條件 2

(d) Since orthogonality 條件 3 (e) 同理 orthogonality 條件 4

14.8 DWT 設計上的條件  Reconstruction  Finite length 為了 implementation 速度的考量 g[n]  0 only when L  n  L h[n]  0 only when L  n  L h1[n] , g1[n] ? 令 則根據 page 447, 複習:

 因為 k 必需為 odd  Lowpass-highpass pair

14.9 整理:DWT 的四大條件 (1) (for reconstruction) (2) h[n]  0 only when L  n  L (h[n], g[n] have finite lengths) g[n]  0 only when L  n  L (3) k 必需為 odd (h1[n], g1[n] have finite lengths) (4) h[n] 為 highpass filter (lowpass and highpass pair) g[n] 為 lowpass filter 第三個條件較難達成,是設計的核心

14.10 Two Types of Perfect Reconstruction Filters (1) QMF (quadrature mirror filter) k is odd g[n] has finite length

(2) Orthonormal k is odd g1[n] has finite length

大部分的 wavelet 屬於 orthonormal wavelet 文獻上,有時會出現另一種 perfect reconstruction filter, 稱作 CQF (conjugate quadrature filter) 然而,CQF 本質上和 orthonormal filter 相同

14.11 Several Types of Discrete Wavelets  discrete Haar wavelet (最簡單的) otherwise otherwise otherwise otherwise 是一種 orthonormal filter

 discrete Daubechies wavelet (8-point case) otherwise n = 0 ~ 7 n = 0 ~ 7 otherwise n = −7 ~ 0 otherwise otherwise n = −7 ~ 0

 discrete Daubechies wavelet (4-point case)

symlet (6-point case) symlet (8-point case) symlet (10-point case) Daubechies wavelets and symlets are defined for N is a multiple of 2

coiflet (6-point case) coiflet (12-point case) Coiflets are defined for N is a multiple of 6 The Daubechies wavelet, the symlet, and the coiflet are all orthonormal filters.

The Daubechies wavelet, the symlet, and the coiflet are all derived from the “continuous wavelet with discrete coefficients” case. Physical meanings: Daubechies wavelet The ? point Daubechies wavelet has the vanish moment of p. Symlet The vanish moment is the same as that of the Daubechies wavelet, but the filter is more symmetric. Coilfet The scaling function also has the vanish moment. for 1 ≦ k ≦ p

14.12 產生 Discrete Daubechies Wavelet 的流程 Step 1 Q: 如何用 Matlab 寫出 (When p = 2, P(y) = 2y + 1) Step 2 Hint: 在 Matlab 當中,可以用 [-.25, .5, -.25] 自己和自己 convolution k-1 次算出來 (When p = 2, P1(z) = 2 – 0.5z – 0.5z -1) Step 3 算出 zkP1(z) 的根 (i.e., zkP1(z) = 0 的地方) Q: 在 Matlab 當中應該用什麼指令 (When p = 2, roots = 3.7321, 0.2679)

Step 4 算出 z1, z2, …, zp-1 為 P1(z) 當中,絕對值小於 1 的 roots Step 5 算出 注意: Z transform 的定義為 所以 coefficients 要做 reverse (When p = 2, g0[n] = [1 1.7321 0.4641 -0.2679]) n = -3 ~ 0

Step 6 Normalization (When p = 2, g1[n] = [0.4830 0.8365 0.2241 -0.1294]) n = -3 ~ 0 Step 7 Time reverse Then, the (2p)-point discrete Daubechies wavelet transform can be obtained

14.13 2x2 Structure Form and the Lifting Scheme The analysis part g[n]  2 x1,L[n] x[n] h[n]  2 x1,H[n] can be changed into the following 2x2 structure where  2 xe[n] ge[n] x1,L[n] ge[n] = g[2n] x[n] he[n] go[n] = g[2n+1] go[n] he[n] = h[2n] ho[n] = h[2n+1] Z-1  2 xo[n] ho[n] x1,H[n] Z-1 means delayed by 1

(Proof): From page 425, where x[n] Z-1  2 x[2n-1] Similarly,

Original Structure: Two Convolutions of an N-length input and an L-length filter New Structure: Four Convolutions of an (N/2)-length input and an (L/2)-length filter, which is more efficient. (Why?)

Similarly, the synthesis part x1,L[n]  2 g1[n] x0[n] x1,H[n]  2 h1[n] can be changed into the following 2x2 structure x1,L[n] g1,e[n]  2 where g1,e[n] = g1 [2n] g1,o[n] x0[n] g1,o[n] = g1 [2n+1] h1,e[n] h1,e[n] = h1 [2n] h1,o[n] = h1 [2n+1] x1,H[n] h1,o[n] Z-1  2

14.14 Lifting Scheme After performing quantization, the DWT may not be perfectly reversible Q(g[n])  2 x1,L[n]  2 Q(g1[n]) x[n] x0[n]  x[n] Q(h[n])  2 x1,H[n]  2 Q(h1[n]) Q( ) means quantization (rounding, flooring, ceiling ……) Lifting Scheme: Reversible After Quantization

From page 467 Since from page 454 one set that then

Then can be decomposed into where Then the DWT can be approximated by where T1(z)  L1(z), T2(z)  L2(z), T3(z)  L3(z)

Lifting Scheme analysis part  2 xe[n] x1,L[n] x[n] t3[n] t2[n] t1[n] Z-1  2 xo[n] Z-m x1,H[n] The Z transforms of t1[n], t2[n], and t3[n] are T1(z), T2(z), and T3(z), respectively.

Lifting Scheme synthesis part x1,L[n] Zm  2 x0[n–m] -t1[n] -t2[n] -t3[n] x1,H[n] Z-1  2

If one perform quantization for t1[n], t2[n], and t3[n], then the discrete wavelet transform is still reversible. W. Sweldens, “The lifting scheme: a construction of second generation wavelets,” Applied Comput. Harmon. Anal., vol. 3, no. 2, pp. 186-200, 1996. I. Daubechies and W. Sweldens, “Factoring wavelet transforms into lifting steps,” J. Fourier Anal. Applicat., vol. 4, pp. 246-269. 1998.

附錄十四 誤差計算的標準 若原來的信號是 x[m, n],要計算 y[m, n] 和 x[m, n] 之間的誤差,有下列幾種常見的標準 附錄十四 誤差計算的標準 若原來的信號是 x[m, n],要計算 y[m, n] 和 x[m, n] 之間的誤差,有下列幾種常見的標準 (1) maximal error (2) square error (3) error norm (i.e., Euclidean distance) (4) mean square error (MSE),信號處理和影像處理常用

(5) root mean square error (RMSE) (6) normalized mean square error (NMSE) (7) normalized root mean square error (NRMSE), 信號處理和影像處理常用

(8) signal to noise ratio (SNR),信號處理常用 (9) peak signal to noise ratio (PSNR),影像處理常用 XMax: the maximal possible value of x[m, n] In image processing, XMax = 255 for color image: color = R, G, or B

(10) structural dissimilarity (DSSIM) 有鑑於 MSE 和 PSNR 無法完全反應人類視覺上所感受的誤差,在 2004 年被提出來的新的誤差測量方法 x, y: means of x and y x2, y2: variances of x and y xy: covariance of x and y c1, c2: adjustable constants L: the maximal possible value of x  the minimal possible value of x Z. Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli, “Image quality assessment: from error visibility to structural similarity,” IEEE Trans. Image Processing, vol. 13, no. 4, pp. 600−612, Apr. 2004.