wavelet for view

Upload: majid-yarmohamadi

Post on 05-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Wavelet for View

    1/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    1

    Wavelets and Multi Resolution Processing

    1

    Ifyou painted a picture with a sky,

    clouds, trees, and flowers, you would usea different size brush depending on the

    size of the features. Wavelets are like those

    brushes.

    Ingrid Daubechies

  • 7/31/2019 Wavelet for View

    2/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    2

    Wavelets and Multi Resolution Processing

    2

    Image: A non-stationary Phenomenon

  • 7/31/2019 Wavelet for View

    3/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    3

    Wavelets and Multi Resolution Processing

    3

    Image Pyramid

  • 7/31/2019 Wavelet for View

    4/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    4

    Wavelets and Multi Resolution Processing

    4

    Gaussian (up) and Laplacian (down) Pyramid

  • 7/31/2019 Wavelet for View

    5/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    5

    Wavelets and Multi Resolution Processing

    5

    Subband Coding (1D)

  • 7/31/2019 Wavelet for View

    6/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    6

    Wavelets and Multi Resolution Processing

    6

    Subband Coding (2D)

  • 7/31/2019 Wavelet for View

    7/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    7

    Wavelets and Multi Resolution Processing

    7

    Four-band Split:

    A(LL): Approximation

    H(HL): Horizontal

    V(LH): Vertical D (HH): Diagonal

    A H

    V D

  • 7/31/2019 Wavelet for View

    8/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    8

    Wavelets and Multi Resolution Processing

    8

    Multi-Level Decomposition:

    Haar Basis function

  • 7/31/2019 Wavelet for View

    9/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    9

    Wavelets and Multi Resolution Processing

    9

    Two Stage FWT* Analysis:

    *: Fast Wavelet Transform

  • 7/31/2019 Wavelet for View

    10/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    10

    Wavelets and Multi Resolution Processing

    10

    Two Stage FWT Synthesis:

  • 7/31/2019 Wavelet for View

    11/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    11

    Wavelets and Multi Resolution Processing

    11

    2D FWT:

    Analysis

    Decomposition

    Synthesis

  • 7/31/2019 Wavelet for View

    12/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    12

    Wavelets and Multi Resolution Processing

    12

    Three Scale FWT:

    Approximation

    Horizontal Edge

    Vertical Edge Details

  • 7/31/2019 Wavelet for View

    13/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    13

    Wavelets and Multi Resolution Processing

    13

    Modifying DWT*:

    Edge Detection

    *: Discrete Wavelet Transform

  • 7/31/2019 Wavelet for View

    14/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    14

    Wavelets and Multi Resolution Processing

    14

    Modifying DWT*:

    Noise Reduction, Denoising:

    Compute DWT of Noisy Image

    Thresholding the details!

    Compute IDWT of alerted coefficients

    We will discuss more, later.

    *: Discrete Wavelet Transform

  • 7/31/2019 Wavelet for View

    15/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    15

    Wavelets and Multi Resolution Processing

    15

    Wavelet Packet Analysis:

    3 scale full analysis three

  • 7/31/2019 Wavelet for View

    16/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    16

    Wavelets and Multi Resolution Processing

    16

    Example (1):

    Full wavelet packet decomposition

  • 7/31/2019 Wavelet for View

    17/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    17

    Wavelets and Multi Resolution Processing

    17

    Image/Signal Denoising:

    Noisy image/signal model:

    X(t): Corrupted Signal

    S(t): Uncorrupted Signal

    N(t): Additive Noise

    Wavelet Denoising Scheme

    W, W-1: Forward and Inverse wavelet transform

    D (.,): Thresholding operator ( being the threshold)

    X t S t N t

    1,

    Y W X

    Z D Y

    S W Z

  • 7/31/2019 Wavelet for View

    18/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    18

    Wavelets and Multi Resolution Processing

    18

    Motivation for Thresholding:

    Small coefficients: Dominated by noise.

    Large coefficients: Dominated by signal.

    Then replacing small coefficients with zero!

    Some Assumption:

    Wavelet de-correlating property generate a sparse signal.

    Noise spreads out equally along all coefficients. The noise level is NOT too high.

  • 7/31/2019 Wavelet for View

    19/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    19

    Wavelets and Multi Resolution Processing

    19

    Hard and Soft Thresholding:

    Hard:

    Soft:

    ,0

    u uD u

    u

    , 0

    u u

    D u u

    u u

  • 7/31/2019 Wavelet for View

    20/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    20

    Wavelets and Multi Resolution Processing

    20

    Threshold Selection:

    The most important question.

    Very Low threshold: Noisy-Like result

    Very High Threshold: Too smooth result. Several methods proposed:

    VisuShrink

    SureShrink

  • 7/31/2019 Wavelet for View

    21/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    21

    Wavelets and Multi Resolution Processing

    21

    VisuShrink (Universal Thresholding):

    N: Sample (Signal/Image) size (# of pixels in image)

    : Noise variance

    Thresholding sub-band:

    All

    Details (HL,LH, HH) Noise Estimation:

    2N Ln N

    2N

    2

    2

    1 ,

    0.6745

    ij

    N ij

    median YY HH

  • 7/31/2019 Wavelet for View

    22/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    22

    Wavelets and Multi Resolution Processing

    22

    SureShrink (Adaptive Thresholding):

    Sub-band adaptive thresholding (each detail sub-band)

    Based on Steins Unbiased Estimator for Risk (SURE), amethod for estimating the loss in an unbiased fashion.

    :Wavelet coefficients in thejth sub-band

    For the soft threshold estimator:

    We have:

    Optimal threshold:

    1

    d

    i iY

    ,i iY D Y

    2

    1

    ( ; ) 2# : min ,d

    i i

    i

    SURE Y d i Y Y

    * arg min ( ; )SURE Y

  • 7/31/2019 Wavelet for View

    23/24

    ee.sharif.edu/~dip

    E. Fatemizadeh, Sharif University of Technology, 2011

    23

    Wavelets and Multi Resolution Processing

    23

    NormalShrink:

    For maximumJ scale and for scale k:

    2

    2

    2

    1

    2

    ,0.6745

    : Standard deviation of the considered subband

    : Length of subband k

    Nk

    Y

    k

    ij

    N ij

    Y

    LLn

    J

    median YY HH

    Lk

  • 7/31/2019 Wavelet for View

    24/24

    ee.sharif.edu/~dip

    24

    Wavelets and Multi Resolution Processing

    24

    Challenges:

    Wavelet base.

    Threshold Selection.

    Threshold function.