Mmp Presentation

download Mmp Presentation

of 270

Transcript of Mmp Presentation

  • 8/3/2019 Mmp Presentation

    1/270

    Signal Compression using MultiscaleRecurrent Patterns

    Eduardo Ant onio Barros da Silva

    [email protected]

    Signal Processing Laboratory

    Program of Electrical Engineering - COPPE

    Federal University of Rio de Janeiro

    Si nal Com ression usin Multiscale Recurrent Patterns . 1/96

  • 8/3/2019 Mmp Presentation

    2/270

    Summary

    The LPS/UFRJ .

    Data compression .Approximate multiscale pattern matching.

    The MMP algorithm.

    Multidimensional extension.

    The three aspects of MMP

    R-D optimization.

    Source Coders using the MMP Paradigm

    Conclusions .

    Si nal Com ression usin Multiscale Recurrent Patterns . 2/96

  • 8/3/2019 Mmp Presentation

    3/270

    The LPS

    Si nal Com ression usin Multiscale Recurrent Patterns . 3/96

  • 8/3/2019 Mmp Presentation

    4/270

    The LPS

    Signal Processing Laboratory

    Si nal Com ression usin Multiscale Recurrent Patterns . 4/96

  • 8/3/2019 Mmp Presentation

    5/270

    The LPS

    Signal Processing Laboratory

    Linked both to Graduate and UndergraduateDepartments at Universidade Federal do Rio deJaneiro (UFRJ):

    Si nal Com ression usin Multiscale Recurrent Patterns . 4/96

  • 8/3/2019 Mmp Presentation

    6/270

    The LPS

    Signal Processing Laboratory

    Linked both to Graduate and UndergraduateDepartments at Universidade Federal do Rio deJaneiro (UFRJ):

    Graduate: Program of ElectricalEngineering/COPPE

    Si nal Com ression usin Multiscale Recurrent Patterns . 4/96

  • 8/3/2019 Mmp Presentation

    7/270

    The LPS

    Signal Processing Laboratory

    Linked both to Graduate and UndergraduateDepartments at Universidade Federal do Rio deJaneiro (UFRJ):

    Graduate: Program of ElectricalEngineering/COPPE

    Undergraduate: Department of Electronics and

    Computer Science

    Si nal Com ression usin Multiscale Recurrent Patterns . 4/96

  • 8/3/2019 Mmp Presentation

    8/270

    The LPS

    Signal Processing Laboratory

    Linked both to Graduate and UndergraduateDepartments at Universidade Federal do Rio deJaneiro (UFRJ):

    Graduate: Program of ElectricalEngineering/COPPE

    Undergraduate: Department of Electronics and

    Computer Science

    12 full-time professors;

    Si nal Com ression usin Multiscale Recurrent Patterns . 4/96

  • 8/3/2019 Mmp Presentation

    9/270

    The LPS

    Signal Processing Laboratory

    Linked both to Graduate and UndergraduateDepartments at Universidade Federal do Rio deJaneiro (UFRJ):

    Graduate: Program of ElectricalEngineering/COPPE

    Undergraduate: Department of Electronics and

    Computer Science

    12 full-time professors;

    Around 40 Ph.D., 50 M.Sc. and 50 EngineeringStudents.

    Si nal Com ression usin Multiscale Recurrent Patterns . 4/96

  • 8/3/2019 Mmp Presentation

    10/270

    Main Research Areas

    Image Processing

    Si nal Com ression usin Multiscale Recurrent Patterns . 5/96

  • 8/3/2019 Mmp Presentation

    11/270

    Main Research Areas

    Image Processing

    Data Compression

    Si nal Com ression usin Multiscale Recurrent Patterns . 5/96

  • 8/3/2019 Mmp Presentation

    12/270

    Main Research Areas

    Image Processing

    Data CompressionAdaptive Systems

    Si nal Com ression usin Multiscale Recurrent Patterns . 5/96

  • 8/3/2019 Mmp Presentation

    13/270

    Main Research Areas

    Image Processing

    Data CompressionAdaptive Systems

    Signal Processing for Communications

    Si nal Com ression usin Multiscale Recurrent Patterns . 5/96

  • 8/3/2019 Mmp Presentation

    14/270

    Main Research Areas

    Image Processing

    Data CompressionAdaptive Systems

    Signal Processing for Communications

    Neural Networks

    Si nal Com ression usin Multiscale Recurrent Patterns . 5/96

  • 8/3/2019 Mmp Presentation

    15/270

    Main Research Areas

    Image Processing

    Data CompressionAdaptive Systems

    Signal Processing for Communications

    Neural Networks

    Voice and Audio Processing

    Si nal Com ression usin Multiscale Recurrent Patterns . 5/96

  • 8/3/2019 Mmp Presentation

    16/270

    Main Research Areas

    Image Processing

    Data CompressionAdaptive Systems

    Signal Processing for Communications

    Neural Networks

    Voice and Audio Processing

    Analog Electronics

    Si nal Com ression usin Multiscale Recurrent Patterns . 5/96

  • 8/3/2019 Mmp Presentation

    17/270

    Introduction: Data compression

    Si nal Com ression usin Multiscale Recurrent Patterns . 6/96

    d

  • 8/3/2019 Mmp Presentation

    18/270

    Data encoding

    Let x be any data set. An encoder R maps each x to abinary string representation s .

    xR

    s = 00101110

    Si nal Com ression usin Multiscale Recurrent Patterns . 7/96

    D di

  • 8/3/2019 Mmp Presentation

    19/270

    Data encoding

    Let x be any data set. An encoder R maps each x to abinary string representation s .

    xR

    s = 00101110

    Different data sets x can be mapped to different strings s :x

    R s = 10011

    Si nal Com ression usin Multiscale Recurrent Patterns . 7/96

    D di

  • 8/3/2019 Mmp Presentation

    20/270

    Data encoding

    Let x be any data set. An encoder R maps each x to abinary string representation s .

    xR

    s = 00101110

    Different data sets x can be mapped to different strings s :x

    R s = 10011

    Different encoders produce different representations

    xR

    s = 010110

    Si nal Com ression usin Multiscale Recurrent Patterns . 7/96

    D i

  • 8/3/2019 Mmp Presentation

    21/270

    Data compression

    Lossless compression : Find an invertible encoder R thatminimizes the mean length of the representationss = R (x ), considering the set of all {x} of interest.

    Si nal Com ression usin Multiscale Recurrent Patterns . 8/96

    D t i

  • 8/3/2019 Mmp Presentation

    22/270

    Data compression

    Lossless compression : Find an invertible encoder R thatminimizes the mean length of the representationss = R (x ), considering the set of all {x} of interest.

    Lossy compression : Given a distortion metric D , nd a

    family of encoders R d and a decoder R 1 such that, foreach d IR the mean length of the representationss = R d (x ) is minimum, subject to the constraint

    D (x, x ) d, where x = R 1(s ).

    Si nal Com ression usin Multiscale Recurrent Patterns . 8/96

    Cl i l l i h d i bl

  • 8/3/2019 Mmp Presentation

    23/270

    Classical solutions to the data compression problem

    Lossless compression : Optimal (at least in an assymptoticsense) solutions are known. Some examples are Huffman,arithmetic and Lempel-Ziv codes.

    Si nal Com ression usin Multiscale Recurrent Patterns . 9/96

    Cl i l l ti t th d t i bl

  • 8/3/2019 Mmp Presentation

    24/270

    Classical solutions to the data compression problem

    Lossless compression : Optimal (at least in an assymptoticsense) solutions are known. Some examples are Huffman,arithmetic and Lempel-Ziv codes.

    Lossy compression : No optimal solutions are known (at

    least implementable ones).

    Si nal Com ression usin Multiscale Recurrent Patterns . 9/96

    Cl ssic l sol tions to the d t compression problem

  • 8/3/2019 Mmp Presentation

    25/270

    Classical solutions to the data compression problem

    Lossless compression : Optimal (at least in an assymptoticsense) solutions are known. Some examples are Huffman,arithmetic and Lempel-Ziv codes.

    Lossy compression : No optimal solutions are known (at

    least implementable ones).A popular approach is the three step method:

    Si nal Com ression usin Multiscale Recurrent Patterns . 9/96

    Classical solutions to the data compression problem

  • 8/3/2019 Mmp Presentation

    26/270

    Classical solutions to the data compression problem

    Lossless compression : Optimal (at least in an assymptoticsense) solutions are known. Some examples are Huffman,

    arithmetic and Lempel-Ziv codes.

    Lossy compression : No optimal solutions are known (at

    least implementable ones).A popular approach is the three step method:

    a transformation step

    Si nal Com ression usin Multiscale Recurrent Patterns . 9/96

    Classical solutions to the data compression problem

  • 8/3/2019 Mmp Presentation

    27/270

    Classical solutions to the data compression problem

    Lossless compression : Optimal (at least in an assymptoticsense) solutions are known. Some examples are Huffman,

    arithmetic and Lempel-Ziv codes.

    Lossy compression : No optimal solutions are known (at

    least implementable ones).A popular approach is the three step method:

    a transformation step

    a quantization step

    Si nal Com ression usin Multiscale Recurrent Patterns . 9/96

    Classical solutions to the data compression problem

  • 8/3/2019 Mmp Presentation

    28/270

    Classical solutions to the data compression problem

    Lossless compression : Optimal (at least in an assymptoticsense) solutions are known. Some examples are Huffman,

    arithmetic and Lempel-Ziv codes.

    Lossy compression : No optimal solutions are known (at

    least implementable ones).A popular approach is the three step method:

    a transformation step

    a quantization step

    a lossless compression (also called entropy coding)

    step.

    Si nal Com ression usin Multiscale Recurrent Patterns . 9/96

  • 8/3/2019 Mmp Presentation

    29/270

    In this work we propose to deviate from thethree-step encoding paradigm:

    Si nal Com ression usin Multiscale Recurrent Patterns . 10/96

  • 8/3/2019 Mmp Presentation

    30/270

    In this work we propose to deviate from thethree-step encoding paradigm:

    We use the concept of Multiscale Recurrent Pattern Matching

    Si nal Com ression usin Multiscale Recurrent Patterns . 10/96

  • 8/3/2019 Mmp Presentation

    31/270

  • 8/3/2019 Mmp Presentation

    32/270

    Multiscale Pattern Matching

    Si nal Com ression usin Multiscale Recurrent Patterns . 11/96

    Ordinary pattern matching

  • 8/3/2019 Mmp Presentation

    33/270

    Ordinary pattern matching

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 12/96

    Ordinary pattern matching

  • 8/3/2019 Mmp Presentation

    34/270

    Ordinary pattern matching

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 12/96

    Ordinary pattern matching

  • 8/3/2019 Mmp Presentation

    35/270

    Ordinary pattern matching

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 12/96

    Ordinary pattern matching

  • 8/3/2019 Mmp Presentation

    36/270

    Ordinary pattern matching

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 12/96

    Ordinary pattern matching

  • 8/3/2019 Mmp Presentation

    37/270

    O d a y patte atc g

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 12/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    38/270

    p g

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    39/270

    p g

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    40/270

    p g

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    41/270

    p g

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    42/270

    p g

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    43/270

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    44/270

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    45/270

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    46/270

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    47/270

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    48/270

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Multiscale pattern matching

  • 8/3/2019 Mmp Presentation

    49/270

    D

    V

    V

    V

    V

    0

    1

    2

    3

    X

    Si nal Com ression usin Multiscale Recurrent Patterns . 13/96

    Theoretical analysis

  • 8/3/2019 Mmp Presentation

    50/270

    It can be shown that the approximate multiscale patternmatching can outperform the ordinary approximate pattern

    matching at low rates, in the Gaussian memoryless sourcecase.

    Si nal Com ression usin Multiscale Recurrent Patterns . 14/96

    Theoretical analysis

  • 8/3/2019 Mmp Presentation

    51/270

    It can be shown that the approximate multiscale patternmatching can outperform the ordinary approximate pattern

    matching at low rates, in the Gaussian memoryless sourcecase.

    The theoretical determination of the performance withother sources is an open problem.

    Si nal Com ression usin Multiscale Recurrent Patterns . 14/96

  • 8/3/2019 Mmp Presentation

    52/270

    The MMP Algorithm

    Si nal Com ression usin Multiscale Recurrent Patterns . 15/96

    Multidimensional Multiscale Parser - MMP

  • 8/3/2019 Mmp Presentation

    53/270

    The MMP ( Multi-dimensional Multiscale Parser ) algorithmis a universal data compression algorithm based on

    multiscale pattern matching

    Si nal Com ression usin Multiscale Recurrent Patterns . 16/96

    Multidimensional Multiscale Parser - MMP

  • 8/3/2019 Mmp Presentation

    54/270

    The MMP ( Multi-dimensional Multiscale Parser ) algorithmis a universal data compression algorithm based on

    multiscale pattern matchingIt uses a dictionary of patterns that is adaptively built whilethe input data is encoded.

    Si nal Com ression usin Multiscale Recurrent Patterns . 16/96

    Multidimensional Multiscale Parser - MMP

  • 8/3/2019 Mmp Presentation

    55/270

    The MMP ( Multi-dimensional Multiscale Parser ) algorithmis a universal data compression algorithm based on

    multiscale pattern matchingIt uses a dictionary of patterns that is adaptively built whilethe input data is encoded.

    The dictionary is updated by the inclusion ofconcatenations (in a Lempel-Ziv fashion) of

    dilated/contracted versions of input blocks previouslyencoded.

    Si nal Com ression usin Multiscale Recurrent Patterns . 16/96

  • 8/3/2019 Mmp Presentation

    56/270

    MMP

  • 8/3/2019 Mmp Presentation

    57/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    58/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    59/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    60/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    61/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    62/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    63/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    64/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    65/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    66/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    67/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    68/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    69/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    70/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    71/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    72/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    73/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    74/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    75/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    76/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    77/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    78/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    79/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    80/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    81/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    82/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    83/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    84/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    MMP

  • 8/3/2019 Mmp Presentation

    85/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 17/96

    Segmentation Tree

  • 8/3/2019 Mmp Presentation

    86/270

    X 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 18/96

    Segmentation Tree

  • 8/3/2019 Mmp Presentation

    87/270

    node 0

    X 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 18/96

    Segmentation Tree

  • 8/3/2019 Mmp Presentation

    88/270

    X 1 X 2

    node 1 node 2

    node 0

    X 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 18/96

    Segmentation Tree

  • 8/3/2019 Mmp Presentation

    89/270

    node 6node 5

    X 1 X6

    X 5

    X 1 X 2

    node 1 node 2

    node 0

    X 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 18/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    90/270

    node 6node 5

    node 1 node 2

    node 0

    X 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    91/270

    node 6node 5

    node 1 node 2

    node 0

    X 0

    Output: 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    92/270

    node 6node 5

    node 1 node 2

    node 0

    X 1

    Output: 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    93/270

    node 6node 5

    node 1 node 2

    node 0

    X 1

    Output: 0, 1

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    94/270

    node 6node 5

    node 1 node 2

    node 0

    X 1

    X 1

    Output: 0, 1, i1

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    95/270

    node 6node 5

    node 1 node 2

    node 0

    X 2

    Output: 0, 1, i1

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    96/270

    node 6node 5

    node 1 node 2

    node 0

    X 2

    Output: 0, 1, i1, 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    97/270

    node 6node 5

    node 1 node 2

    node 0

    X 5

    Output: 0, 1, i1, 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    98/270

    node 6node 5

    node 1 node 2

    node 0

    X 5

    Output: 0, 1, i1, 0, 1

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    99/270

    node 6node 5

    node 1 node 2

    node 0

    X 5

    X 5

    Output: 0, 1, i1, 0, 1, i5

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    100/270

    node 6node 5

    node 1 node 2

    node 0

    X 6

    Output: 0, 1, i1, 0, 1, i5

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    101/270

    node 6node 5

    node 1 node 2

    node 0

    X 6

    Output: 0, 1, i1, 0, 1, i5, 1

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    102/270

    node 6node 5

    node 1 node 2

    node 0

    X 6

    X 6

    Output: 0, 1, i1, 0, 1, i5, 1, i6

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Output sequence

  • 8/3/2019 Mmp Presentation

    103/270

    node 6node 5

    node 1 node 2

    node 0

    X 0

    X 0

    Output: 0, 1, i1, 0, 1, i5, 1, i6

    Si nal Com ression usin Multiscale Recurrent Patterns . 19/96

    Decoding

  • 8/3/2019 Mmp Presentation

    104/270

    node 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Decoding

  • 8/3/2019 Mmp Presentation

    105/270

    node 1 node 2

    node 0

    Output: 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Decoding

  • 8/3/2019 Mmp Presentation

    106/270

    node 1 node 2

    node 0

    Output: 0, 1

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Decoding

    X 1

  • 8/3/2019 Mmp Presentation

    107/270

    node 1 node 2

    node 0

    X 1

    Output: 0, 1, i1

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Decoding

  • 8/3/2019 Mmp Presentation

    108/270

    node 6node 5

    node 1 node 2

    node 0

    Output: 0, 1, i1, 0

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Decoding

  • 8/3/2019 Mmp Presentation

    109/270

    node 6node 5

    node 1 node 2

    node 0

    Output: 0, 1, i1, 0, 1

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Decoding

  • 8/3/2019 Mmp Presentation

    110/270

    node 6node 5

    node 1 node 2

    node 0

    X 5

    Output: 0, 1, i1, 0, 1, i5

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Decoding

  • 8/3/2019 Mmp Presentation

    111/270

    node 6node 5

    node 1 node 2

    node 0

    Output: 0, 1, i1, 0, 1, i5, 1

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Decoding

  • 8/3/2019 Mmp Presentation

    112/270

    node 6node 5

    node 1 node 2

    node 0

    X 6

    Output: 0, 1, i1, 0, 1, i5, 1, i6

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Decoding

    X 0

  • 8/3/2019 Mmp Presentation

    113/270

    =+

    =+node 6node 5

    node 1 node 2

    node 0

    X 0

    X 2X 6X 5

    X 1 X 2 X 0

    Output: 0, 1, i1, 0, 1, i5, 1, i6

    Si nal Com ression usin Multiscale Recurrent Patterns . 20/96

    Block coding

  • 8/3/2019 Mmp Presentation

    114/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 21/96

    Block coding

  • 8/3/2019 Mmp Presentation

    115/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 21/96

    Block coding

  • 8/3/2019 Mmp Presentation

    116/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 21/96

    Block coding

  • 8/3/2019 Mmp Presentation

    117/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 21/96

    Block coding

  • 8/3/2019 Mmp Presentation

    118/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 21/96

    Block coding

  • 8/3/2019 Mmp Presentation

    119/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 21/96

    Block coding

  • 8/3/2019 Mmp Presentation

    120/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 21/96

    Implementation issues

    The block size M = 2 K is a power of 2.

  • 8/3/2019 Mmp Presentation

    121/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 22/96

  • 8/3/2019 Mmp Presentation

    122/270

    Implementation issues

    The block size M = 2 K is a power of 2.

  • 8/3/2019 Mmp Presentation

    123/270

    There are only K + 1 different scales.

    To avoid the computation of scaletransformations at each mach attempt, wecan use several copies of the dictionary, oneat each possible scale.

    Si nal Com ression usin Multiscale Recurrent Patterns . 22/96

    Implementation issues

    The block size M = 2 K is a power of 2.

  • 8/3/2019 Mmp Presentation

    124/270

    There are only K + 1 different scales.

    To avoid the computation of scaletransformations at each mach attempt, wecan use several copies of the dictionary, oneat each possible scale.

    Therefore we have K + 1 dictionaries, D (0) , D (1) ,. . . , D (K )

    Si nal Com ression usin Multiscale Recurrent Patterns . 22/96

    Output entropy coding

    The output is encoded by an adaptive arithmeticcoder

  • 8/3/2019 Mmp Presentation

    125/270

    coder.

    Si nal Com ression usin Multiscale Recurrent Patterns . 23/96

    Output entropy coding

    The output is encoded by an adaptive arithmeticcoder

  • 8/3/2019 Mmp Presentation

    126/270

    coder.

    There are K + 1 independent models to encondethe ags dening the segmentation tree, eachone corresponding to a different scale.

    Si nal Com ression usin Multiscale Recurrent Patterns . 23/96

    Output entropy coding

    The output is encoded by an adaptive arithmeticcoder

  • 8/3/2019 Mmp Presentation

    127/270

    coder.

    There are K + 1 independent models to encondethe ags dening the segmentation tree, eachone corresponding to a different scale.

    There are k + 1 independent models used toencode the indices in D .

    Si nal Com ression usin Multiscale Recurrent Patterns . 23/96

  • 8/3/2019 Mmp Presentation

    128/270

    Multidimensional extensions

    Si nal Com ression usin Multiscale Recurrent Patterns . 24/96

    MMP segmentation

    When the imput signal is one-dimensional, MMPcan split an input block of lenght N in two

  • 8/3/2019 Mmp Presentation

    129/270

    can split an input block of lenght N in twosub-blocks of length N/ 2. This is equivalent tochoose a segmentation point p in a onedimensional-space as p = N/ 2.

    Si nal Com ression usin Multiscale Recurrent Patterns . 25/96

    MMP segmentation

    When the imput signal is one-dimensional, MMPcan split an input block of lenght N in two

  • 8/3/2019 Mmp Presentation

    130/270

    can split an input block of lenght N in twosub-blocks of length N/ 2. This is equivalent tochoose a segmentation point p in a onedimensional-space as p = N/ 2.

    When the input signal is multi-dimensional, we just have to choose a segmentation point p in amulti-dimensional space.

    Si nal Com ression usin Multiscale Recurrent Patterns . 25/96

  • 8/3/2019 Mmp Presentation

    131/270

    2D segmentation: quad-tree

    P

  • 8/3/2019 Mmp Presentation

    132/270

    P

    Si nal Com ression usin Multiscale Recurrent Patterns . 26/96

    2D segmentation: quad-tree

  • 8/3/2019 Mmp Presentation

    133/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 26/96

    MMP segmentation variations

    There are many different ways to choose thesegmentation point in the multi-dimensional

  • 8/3/2019 Mmp Presentation

    134/270

    segmentation point in the multi dimensionalspace.

    Si nal Com ression usin Multiscale Recurrent Patterns . 27/96

    MMP segmentation variations

    There are many different ways to choose thesegmentation point in the multi-dimensional

  • 8/3/2019 Mmp Presentation

    135/270

    g pspace.

    The two-dimensional segmentation presentedpreviously does not preserve the binary treesegmentation structure.

    Si nal Com ression usin Multiscale Recurrent Patterns . 27/96

    2D segmentation: binary tree

  • 8/3/2019 Mmp Presentation

    136/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 28/96

    2D segmentation: binary tree

  • 8/3/2019 Mmp Presentation

    137/270

    P

    Si nal Com ression usin Multiscale Recurrent Patterns . 28/96

    2D segmentation: binary tree

  • 8/3/2019 Mmp Presentation

    138/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 28/96

    2D segmentation: binary tree

  • 8/3/2019 Mmp Presentation

    139/270

    P

    Si nal Com ression usin Multiscale Recurrent Patterns . 28/96

    2D segmentation: binary tree

  • 8/3/2019 Mmp Presentation

    140/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 28/96

    2D segmentation: binary tree

  • 8/3/2019 Mmp Presentation

    141/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 29/96

    2D segmentation: binary tree

  • 8/3/2019 Mmp Presentation

    142/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 30/96

    2D segmentation: binary tree

  • 8/3/2019 Mmp Presentation

    143/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 31/96

  • 8/3/2019 Mmp Presentation

    144/270

    Scale Transformations

    Si nal Com ression usin Multiscale Recurrent Patterns . 32/96

    Scale Transformations

    The scale transformations are simple samplingrate change operations.

  • 8/3/2019 Mmp Presentation

    145/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 33/96

    Scale Transformations

    The scale transformations are simple samplingrate change operations.

  • 8/3/2019 Mmp Presentation

    146/270

    Good results are usually obtained with linearinterpolation and decimation.

    Si nal Com ression usin Multiscale Recurrent Patterns . 33/96

    Scale Transformations

    The scale transformations are simple samplingrate change operations.

  • 8/3/2019 Mmp Presentation

    147/270

    Good results are usually obtained with linearinterpolation and decimation.

    Zero order interpolation also works. Moresophisticated interpolation schemes, like splines,make little difference in the performance.

    Si nal Com ression usin Multiscale Recurrent Patterns . 33/96

  • 8/3/2019 Mmp Presentation

    148/270

    Initial Dictionary

    Si nal Com ression usin Multiscale Recurrent Patterns . 34/96

    Initial Dictionary

    MMP builds the dictionary as it encodes the data.

  • 8/3/2019 Mmp Presentation

    149/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 35/96

    Initial Dictionary

    MMP builds the dictionary as it encodes the data.

    Therefore, the initial dictionary can be very

  • 8/3/2019 Mmp Presentation

    150/270

    Therefore, the initial dictionary can be very

    simple, with no need for any kind of training.

    Si nal Com ression usin Multiscale Recurrent Patterns . 35/96

    Initial Dictionary

    MMP builds the dictionary as it encodes the data.

    Therefore, the initial dictionary can be very

  • 8/3/2019 Mmp Presentation

    151/270

    , y y

    simple, with no need for any kind of training.For images, it is common to initialize the

    dictionary at scale 1

    1 (D

    0) with the impulseshaving all integer amplitudes from 0 to 255.

    Si nal Com ression usin Multiscale Recurrent Patterns . 35/96

    Initial Dictionary

    MMP builds the dictionary as it encodes the data.

    Therefore, the initial dictionary can be very

  • 8/3/2019 Mmp Presentation

    152/270

    , y y

    simple, with no need for any kind of training.For images, it is common to initialize the

    dictionary at scale 1

    1 (D

    0) with the impulseshaving all integer amplitudes from 0 to 255.

    The initial dictionaries at other scales can bederived from the one at scale D 0 by the scaletransformations. Thus, they will be composed oftwo-dimensional rectangular pulses.

    Si nal Com ression usin Multiscale Recurrent Patterns . 35/96

  • 8/3/2019 Mmp Presentation

    153/270

    Initial Dictionary

    Using this initial dictionary, MMP can have good results fora large class of image data, ranging from smooth imagesto document and graphics images It even works for white

  • 8/3/2019 Mmp Presentation

    154/270

    to document and graphics images. It even works for whitegaussian noise.

    One can thus say that MMP has a universal character.

    Si nal Com ression usin Multiscale Recurrent Patterns . 36/96

    Initial Dictionary

    Using this initial dictionary, MMP can have good results fora large class of image data, ranging from smooth imagesto document and graphics images. It even works for white

  • 8/3/2019 Mmp Presentation

    155/270

    to document and graphics images. It even works for whitegaussian noise.

    One can thus say that MMP has a universal character.

    Also using this initial dictionary, one can achieve losslesscompression.

    Si nal Com ression usin Multiscale Recurrent Patterns . 36/96

    Initial Dictionary

    Using this initial dictionary, MMP can have good results fora large class of image data, ranging from smooth imagesto document and graphics images. It even works for white

  • 8/3/2019 Mmp Presentation

    156/270

    to document and graphics images. It even works for whitegaussian noise.

    One can thus say that MMP has a universal character.

    Also using this initial dictionary, one can achieve losslesscompression.

    For lossy image compression, it sufces to quantize theamplitudes of the initial dictionaries with step size 4.

    Si nal Com ression usin Multiscale Recurrent Patterns . 36/96

  • 8/3/2019 Mmp Presentation

    157/270

    Dictionary Updating

    Si nal Com ression usin Multiscale Recurrent Patterns . 37/96

    Dictionary Updating

    In MMP, the dictionary is updated byconcatenations of previously encoded segments.

  • 8/3/2019 Mmp Presentation

    158/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 38/96

    Dictionary Updating

    In MMP, the dictionary is updated byconcatenations of previously encoded segments.

  • 8/3/2019 Mmp Presentation

    159/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 38/96

    Dictionary Updating

    However, the dictionary can be updated usingother criteria, depending of the source to beencoded.

  • 8/3/2019 Mmp Presentation

    160/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 39/96

    Dictionary Updating

    However, the dictionary can be updated usingother criteria, depending of the source to beencoded.

  • 8/3/2019 Mmp Presentation

    161/270

    For example, for smooth images, a deblockinglter could be applied to a block before it is

    included in the dictionary, or a block could beincluded or not according to perceptual criteria.

    Si nal Com ression usin Multiscale Recurrent Patterns . 39/96

    Dictionary Updating

    The dictionary could also be updated usingdisplaced blocks belonging to the blockscausal neighborhood

  • 8/3/2019 Mmp Presentation

    162/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 40/96

    Dictionary Updating

    The dictionary could also be updated usingdisplaced blocks belonging to the blockscausal neighborhood

  • 8/3/2019 Mmp Presentation

    163/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 40/96

    Dictionary Updating

    The dictionary could also be updated usingdisplaced blocks belonging to the blockscausal neighborhood

  • 8/3/2019 Mmp Presentation

    164/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 40/96

    Dictionary Updating

    The dictionary could also be updated usingdisplaced blocks belonging to the blockscausal neighborhood

  • 8/3/2019 Mmp Presentation

    165/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 40/96

  • 8/3/2019 Mmp Presentation

    166/270

    Dictionary Updating

    Rotated blocks could also be used.

  • 8/3/2019 Mmp Presentation

    167/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 41/96

    Dictionary Updating

    Rotated blocks could also be used.

    Other option is to only insert words that are

  • 8/3/2019 Mmp Presentation

    168/270

    sufciently distant from the others.

    d

    d

    d

    d

    d

    d

    Si nal Com ression usin Multiscale Recurrent Patterns . 41/96

    Source of blockiness in MMP

    MMP parses the input signal in variable sizedblocks. As a lossy compressor, MMP replaceseach input block by a distorted version of it.

  • 8/3/2019 Mmp Presentation

    169/270

    Each block is independently processed. Thismeans that even if the dictionary is composedof smooth functions, MMP makes no attemptto control the smoothness of theconcatenation of blocks.

    In image compression applications atmoderate compression ratios, the resultingblockiness tends to become highly visible.

    Si nal Com ression usin Multiscale Recurrent Patterns . 42/96

    Source of blockiness in MMP

    X 0

  • 8/3/2019 Mmp Presentation

    170/270

    X 1 X 2

    X 5 X 6

    (a)

    (a) Before coding;

    Si nal Com ression usin Multiscale Recurrent Patterns . 43/96

    Source of blockiness in MMP

    X 0 ^X 0

  • 8/3/2019 Mmp Presentation

    171/270

    X 1 X 2

    X 5 X 6

    ^ ^

    ^ ^

    (b)

    X 1 X 2

    X 5 X 6

    (a)

    (a) Before coding; (b) After Coding.

    Si nal Com ression usin Multiscale Recurrent Patterns . 43/96

  • 8/3/2019 Mmp Presentation

    172/270

    The three aspects of MMP

    Si nal Com ression usin Multiscale Recurrent Patterns . 44/96

  • 8/3/2019 Mmp Presentation

    173/270

    Quantization Method

    Since MMP encodes segments of a signal withvectors from a dictionary, it can be regarded as avector quantizer.

  • 8/3/2019 Mmp Presentation

    174/270

    It is an adaptive, multiscale vector quantizer.

    Si nal Com ression usin Multiscale Recurrent Patterns . 45/96

    Encoding Method

    Since MMP encodes segments of an imageusing concatenations of previously occurredpatterns, it can be regarded as a method based

    hi L l Zi

  • 8/3/2019 Mmp Presentation

    175/270

    on recurrent pattern matching, as Lempel-Zivencoders.

    Si nal Com ression usin Multiscale Recurrent Patterns . 46/96

    Encoding Method

    Since MMP encodes segments of an imageusing concatenations of previously occurredpatterns, it can be regarded as a method based

    hi L l Zi

  • 8/3/2019 Mmp Presentation

    176/270

    on recurrent pattern matching, as Lempel-Zivencoders.

    It is a multiscale, lossy recurrent patternmatching method.

    Si nal Com ression usin Multiscale Recurrent Patterns . 46/96

    Transform-based Method

    The dictionary in MMP grows withconcatenations of words previously present inthe dictionary.

  • 8/3/2019 Mmp Presentation

    177/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 47/96

  • 8/3/2019 Mmp Presentation

    178/270

    Transform-based Method

    The dictionary in MMP grows withconcatenations of words previously present inthe dictionary.

  • 8/3/2019 Mmp Presentation

    179/270

    If the initial dictionary has only pulse functionswith several amplitudes and scales, then the

    dictionary is built by functions that areconcatenations of pulses with several scales.

    Then the signal is eventually approximated withconcatenations of expansions and contractionsof pulses

    Si nal Com ression usin Multiscale Recurrent Patterns . 47/96

    Transform-based Method

  • 8/3/2019 Mmp Presentation

    180/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 48/96

    Transform-based Method

  • 8/3/2019 Mmp Presentation

    181/270

    X (t) =k

    k t

    k k

    Si nal Com ression usin Multiscale Recurrent Patterns . 48/96

    Transform-based Method

    X (t) =k

    k t

    k k

  • 8/3/2019 Mmp Presentation

    182/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 49/96

    Transform-based Method

    X (t) =k

    k t

    k k

  • 8/3/2019 Mmp Presentation

    183/270

    (t), its expansions, contractions and translations

    form an orthogonal basis. (t)

    Si nal Com ression usin Multiscale Recurrent Patterns . 49/96

    Transform-based Method

    Using this knowledge, one can devise apost-processing method that can greatly reducethe blockiness inherent in MMP-based methods.

  • 8/3/2019 Mmp Presentation

    184/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 50/96

    Transform-based Method

    Using this knowledge, one can devise apost-processing method that can greatly reducethe blockiness inherent in MMP-based methods.

  • 8/3/2019 Mmp Presentation

    185/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 50/96

    Transform-based Method

    One lters the decoded signal with a smoothinglter whose kernel depends on the support of thebasis function it is ltering.

  • 8/3/2019 Mmp Presentation

    186/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 51/96

    Transform-based Method

    One lters the decoded signal with a smoothinglter whose kernel depends on the support of thebasis function it is ltering.

  • 8/3/2019 Mmp Presentation

    187/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 51/96

    Transform-based Method

    The best results are usually obtained with agaussian kernel

  • 8/3/2019 Mmp Presentation

    188/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 52/96

    Transform-based Method

  • 8/3/2019 Mmp Presentation

    189/270

    Without post-lter - PSNR = [email protected];

    Si nal Com ression usin Multiscale Recurrent Patterns . 53/96

    Transform-based Method

  • 8/3/2019 Mmp Presentation

    190/270

    Without post-lter: PSNR = [email protected] post-lter: PSNR = [email protected]

    Si nal Com ression usin Multiscale Recurrent Patterns . 53/96

    R-D optimization

  • 8/3/2019 Mmp Presentation

    191/270

    R-D optimization

    Si nal Com ression usin Multiscale Recurrent Patterns . 54/96

    Segmentation tree

    The segmentation tree described so far was builtconsidering local decisions based on distortioncalculations.

  • 8/3/2019 Mmp Presentation

    192/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 55/96

    Segmentation tree

    The segmentation tree described so far was builtconsidering local decisions based on distortioncalculations.

    We can expect an improved compression

  • 8/3/2019 Mmp Presentation

    193/270

    We can expect an improved compressionperformance if we build the segmentation tree

    using a global criterium based on distortion andrate evaluations.

    Si nal Com ression usin Multiscale Recurrent Patterns . 55/96

    Notation

    node 6node 5

    node 1 node 2

    node 0

  • 8/3/2019 Mmp Presentation

    194/270

    Segmentation tree: S = {0, 1, 2, 5, 6}

    Si nal Com ression usin Multiscale Recurrent Patterns . 56/96

  • 8/3/2019 Mmp Presentation

    195/270

    Notation

    node 6node 5

    node 1 node 2

    node 0

  • 8/3/2019 Mmp Presentation

    196/270

    Segmentation tree: S = {0, 1, 2, 5, 6}

    Distortion of node l: D (l) = X l S i l

    Rate of index i l : R (l) = log2(Pr( i l |k l ))

    Si nal Com ression usin Multiscale Recurrent Patterns . 56/96

    Notation

    node 6node 5

    node 1 node 2

    node 0

  • 8/3/2019 Mmp Presentation

    197/270

    Segmentation tree: S = {0, 1, 2, 5, 6}

    Distortion of node l: D (l) = X l S i l

    Rate of index i l : R (l) = log2(Pr( i l |k l ))

    Distortion of the Segmentation tree: D (S ) =lS F

    D (l)

    Si nal Com ression usin Multiscale Recurrent Patterns . 56/96

    Notation

    node 6node 5

    node 1 node 2

    node 0

    { }

  • 8/3/2019 Mmp Presentation

    198/270

    Segmentation tree: S = {0, 1, 2, 5, 6}

    Distortion of node l: D (l) = X l S i l

    Rate of index i l : R (l) = log2(Pr( i l |k l ))

    Distortion of the Segmentation tree: D (S ) =lS F

    D (l)

    Rate of the segmentation tree: R A (S ) +lS F

    R (l)

    Si nal Com ression usin Multiscale Recurrent Patterns . 56/96

    The optimization problem

    Given a target rate R

    , nd S such that

    minimize D (S )

    constrained to R (S ) = R

  • 8/3/2019 Mmp Presentation

    199/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 57/96

    The optimization problem

    Given a target rate R

    , nd S such that

    minimize D (S )

    constrained to R (S ) = R

  • 8/3/2019 Mmp Presentation

    200/270

    Introducing the Lagrange multiplier 0 we have theequivalent unconstrained problem:

    minimize J (S ) = D (S ) + R (S )

    Si nal Com ression usin Multiscale Recurrent Patterns . 57/96

    The optimization problem

    Given a target rate R

    , nd S such that

    minimize D (S )

    constrained to R (S ) = R

  • 8/3/2019 Mmp Presentation

    201/270

    Introducing the Lagrange multiplier 0 we have theequivalent unconstrained problem:

    minimize J (S ) = D (S ) + R (S )

    Dening J (l) = D (l) + R (l), we have

    J (S ) = R A (S ) +lS F

    J (l)

    Si nal Com ression usin Multiscale Recurrent Patterns . 57/96

    Sub-Trees

    node 0Tree S

  • 8/3/2019 Mmp Presentation

    202/270

    node 6node 5

    node 1 node 2

    Si nal Com ression usin Multiscale Recurrent Patterns . 58/96

    Sub-Trees

    node 0Tree S

  • 8/3/2019 Mmp Presentation

    203/270

    node 6node 5

    node 1 node 2

    The sub-tree S (2)

    Si nal Com ression usin Multiscale Recurrent Patterns . 58/96

    Sub-Trees

    node 0Tree S

  • 8/3/2019 Mmp Presentation

    204/270

    node 6node 5

    node 1 node 2

    The sub-tree S (2)

    J (S (l)) = R A (S (l)) +lS F S ( l )

    J (l)

    Si nal Com ression usin Multiscale Recurrent Patterns . 58/96

    Lagrangian costs

    If l is a leaf node ,

    J (S (l)) = D (l) + (R 1l + R (l))

  • 8/3/2019 Mmp Presentation

    205/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 59/96

    Lagrangian costs

    If l is a leaf node ,

    J (S (l)) = D (l) + (R 1l + R (l))

    If l is not a leaf node,

  • 8/3/2019 Mmp Presentation

    206/270

    J (S (l)) = R 0l + J (S (2l + 1)) + J (S (2l + 2))

    Si nal Com ression usin Multiscale Recurrent Patterns . 59/96

    Lagrangian costs

    If l is a leaf node ,

    J (S (l)) = D (l) + (R 1l + R (l))

    If l is not a leaf node,

  • 8/3/2019 Mmp Presentation

    207/270

    J (S (l)) = R 0l + J (S (2l + 1)) + J (S (2l + 2))

    Then we must prune S (2l + 1) and S (2l + 2) whenever

    D (l) + (R 1l + R (l)) < R 0l + J (S (2l + 1)) + J (S (2l + 2))

    Si nal Com ression usin Multiscale Recurrent Patterns . 59/96

    Coupling throughD

    The previous strategy is sub-optimal in the sense that itassumes that the costs of the nodes are not coupled. Thisis not true because of the dictionary updating procedure.

    node 0

  • 8/3/2019 Mmp Presentation

    208/270

    node 1 node 2

    node 3 node 4

    Si nal Com ression usin Multiscale Recurrent Patterns . 60/96

  • 8/3/2019 Mmp Presentation

    209/270

    Optimization procedure

    We initialize S as a full tree.

  • 8/3/2019 Mmp Presentation

    210/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 61/96

    Optimization procedure

    We initialize S as a full tree.The tree is traversed from the leaf nodestowards the root node.

  • 8/3/2019 Mmp Presentation

    211/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 61/96

  • 8/3/2019 Mmp Presentation

    212/270

    Optimization procedure

    We initialize S as a full tree.The tree is traversed from the leaf nodestowards the root node.

    We must prune the descendants of the node lif

  • 8/3/2019 Mmp Presentation

    213/270

    if

    J (l)+ R 1l + J l < J (S (2l+1))+ J (S (2l+2))+ R 0l

    where J l = r S l J (r ) r S l J (r ).

    The procedure is repeated until convergence

    Si nal Com ression usin Multiscale Recurrent Patterns . 61/96

    Source Coders using the MMPParadigm

  • 8/3/2019 Mmp Presentation

    214/270

    g

    Si nal Com ression usin Multiscale Recurrent Patterns . 62/96

    Side-Match MMP

    Uses a subset of the dictionary D , the statedictionary D s , to encode a given input block.

  • 8/3/2019 Mmp Presentation

    215/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 63/96

    Side-Match MMP

    Uses a subset of the dictionary D , the statedictionary D s , to encode a given input block.D s is composed of vectors that comply to asmoothness criterion, considering a causalneighborhood.

  • 8/3/2019 Mmp Presentation

    216/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 63/96

    Side-Match MMP

    U

    L

    j

    j j X

  • 8/3/2019 Mmp Presentation

    217/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 64/96

    Side-Match MMP

    U

    L

    j

    j j X

  • 8/3/2019 Mmp Presentation

    218/270

    D s is evaluated prior to the processing of

    each block.

    Si nal Com ression usin Multiscale Recurrent Patterns . 64/96

    Experimental results

    Simulation Parameters:

  • 8/3/2019 Mmp Presentation

    219/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 65/96

    Experimental results

    Simulation Parameters:Two-dimensional MMP was applied tocompress gray scale images.

  • 8/3/2019 Mmp Presentation

    220/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 65/96

    Experimental results

    Simulation Parameters:Two-dimensional MMP was applied tocompress gray scale images.

    Maximum input block size 16 16.

  • 8/3/2019 Mmp Presentation

    221/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 65/96

  • 8/3/2019 Mmp Presentation

    222/270

    Experimental results

    Simulation Parameters:Two-dimensional MMP was applied tocompress gray scale images.

    Maximum input block size 16 16.Maximum dictionary size 32768

  • 8/3/2019 Mmp Presentation

    223/270

    Maximum dictionary size 32768

    Initial dictionary at scale 0:Range from 0 to 255; step size 4.

    Si nal Com ression usin Multiscale Recurrent Patterns . 65/96

    Images used

  • 8/3/2019 Mmp Presentation

    224/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 66/96

  • 8/3/2019 Mmp Presentation

    225/270

    PSNR x rate for image Cameraman

    30

    32

    34

    36

    38

    R (

    d B )

    SMMMPRDJPEG2000

  • 8/3/2019 Mmp Presentation

    226/270

    22

    24

    26

    28

    30

    0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1

    P S N

    R (bpp)

    Si nal Com ression usin Multiscale Recurrent Patterns . 68/96

  • 8/3/2019 Mmp Presentation

    227/270

    PSNR x rate for image pp1205

    28

    30

    32

    34

    36

    ( d B )

    SM-MMP-RDMMP-RD

    MMPSPIHTJPEG

  • 8/3/2019 Mmp Presentation

    228/270

    18

    20

    22

    24

    26

    0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2

    P S N R

    R (bits/pixel

    Si nal Com ression usin Multiscale Recurrent Patterns . 70/96

    PSNR x rate for image pp1209

    28

    30

    32

    34

    36

    R (

    d B )

  • 8/3/2019 Mmp Presentation

    229/270

    20

    22

    24

    26

    28

    0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2

    P S N R

    R (bits/pixel

    SM-MMP-RDMMP-RD

    MMPSPIHTJPEG

    Si nal Com ression usin Multiscale Recurrent Patterns . 71/96

    MMP x SM-MMP - Lena

  • 8/3/2019 Mmp Presentation

    230/270

    Left: MMP; Right - SM-MMP

    Si nal Com ression usin Multiscale Recurrent Patterns . 72/96

    MMP x SPIHT - Lena

  • 8/3/2019 Mmp Presentation

    231/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 73/96

    MMP x SPIHT - pp1205

  • 8/3/2019 Mmp Presentation

    232/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 74/96

    MMP x SPIHT - pp1209

  • 8/3/2019 Mmp Presentation

    233/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 75/96

    MMP-Intra

    It encodes with MMP the residual of the an Intraprediction similar to the one used in H.264.

  • 8/3/2019 Mmp Presentation

    234/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 76/96

  • 8/3/2019 Mmp Presentation

    235/270

    MMP-Intra

    M i : partition for prediction;i i : partition for MMP encoding

    i0

    i1

    M2 M1

  • 8/3/2019 Mmp Presentation

    236/270

    i0

    i3i2

    Si nal Com ression usin Multiscale Recurrent Patterns . 77/96

    MMP-Intra

    M i : partition for prediction;i i : partition for MMP encoding

    i0

    i1

    M2 M1

  • 8/3/2019 Mmp Presentation

    237/270

    i0

    i3i2

    They are optimized according to RD criteria

    Si nal Com ression usin Multiscale Recurrent Patterns . 77/96

    PSNR x rate for image Lena

    36

    38

    40

    42

    P S N R

    ( d B )

  • 8/3/2019 Mmp Presentation

    238/270

    30

    32

    34

    0 0.2 0.4 0.6 0.8 1 1.2 1.4

    P

    bpp

    MMPIntra w/ new Dic designH.264/AVC High

    JPEG2000

    Si nal Com ression usin Multiscale Recurrent Patterns . 78/96

    PSNR x rate for image Gold

    34

    36

    38

    40

    42

    P S N R

    ( d B )

  • 8/3/2019 Mmp Presentation

    239/270

    28

    30

    32

    34

    0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

    P

    bpp

    MMPIntra w/ new Dic designH.264/AVC High

    JPEG2000

    Si nal Com ression usin Multiscale Recurrent Patterns . 79/96

    PSNR x rate for image Cameraman

    34

    36

    38

    40

    42

    44

    P S N R

    ( d B )

  • 8/3/2019 Mmp Presentation

    240/270

    26

    28

    30

    32

    0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6

    P

    bpp

    MMPIntra w/ new Dic designH.264/AVC High

    JPEG2000

    Si nal Com ression usin Multiscale Recurrent Patterns . 80/96

    PSNR x rate for image pp1205

    32

    34

    36

    38

    40

    P S N R

    ( d B )

  • 8/3/2019 Mmp Presentation

    241/270

    24

    26

    28

    30

    0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3

    P

    bpp

    MMPIntra w/ new Dic designH.264/AVC High

    JPEG2000

    Si nal Com ression usin Multiscale Recurrent Patterns . 81/96

    PSNR x rate for image pp1209

    30

    32

    34

    36

    P S N R

    ( d B )

  • 8/3/2019 Mmp Presentation

    242/270

    24

    26

    28

    0 0.2 0.4 0.6 0.8 1 1.2

    P

    bpp

    MMPIntra w/ new Dic designH.264/AVC High

    JPEG2000

    Si nal Com ression usin Multiscale Recurrent Patterns . 82/96

    MMP-Video

    The universal character of MMP makes it a goodcandidate for encoding displaced framedifferences.

  • 8/3/2019 Mmp Presentation

    243/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 83/96

    MMP-Video

    The universal character of MMP makes it a goodcandidate for encoding displaced framedifferences.

    The initial dictionary at frame n + 1 is the sameas the one at the end of encoding frame n .

  • 8/3/2019 Mmp Presentation

    244/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 83/96

    MMP-Video

    The universal character of MMP makes it a goodcandidate for encoding displaced framedifferences.

    The initial dictionary at frame n + 1 is the sameas the one at the end of encoding frame n .

  • 8/3/2019 Mmp Presentation

    245/270

    Different probability models are used for vectorsentering the dictionary during the encoding of P,B, luminance and chrominance frames.

    Si nal Com ression usin Multiscale Recurrent Patterns . 83/96

    MMP-Video

    This proposal has been tested by replacing theINTER encoding of displaced frame differencesin an H.264 encoder by the MMP.

  • 8/3/2019 Mmp Presentation

    246/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 84/96

    MMP-Video

    This proposal has been tested by replacing theINTER encoding of displaced frame differencesin an H.264 encoder by the MMP.

    We have used as a starting point the JM9.6H.264 software.

  • 8/3/2019 Mmp Presentation

    247/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 84/96

    Results for Foreman - P Slices

    38

    40

    42

    44

    46

    48

    50

    e r a g e

    P S N R

    Foreman.cif P slices

  • 8/3/2019 Mmp Presentation

    248/270

    28

    30

    32

    34

    36

    0 10000 20000 30000 40000 50000 60000 70000 80000 90000100000

    A v e

    Average bits/frame

    MMPVideo YH.264 high Y

    MMPVideo UH.264 high U

    MMPVideo VH.264 high V

    Si nal Com ression usin Multiscale Recurrent Patterns . 85/96

    Results for Foreman - B Slices

    38

    40

    42

    44

    46

    48

    50

    e r a g e

    P S N R

    Foreman.cif B slices

  • 8/3/2019 Mmp Presentation

    249/270

    28

    30

    32

    3436

    0 2000 4000 6000 8000 10000 12000 14000 16000 18000 20000

    A v e

    Average bits/frame

    MMPVideo YH.264 high Y

    MMPVideo UH.264 high U

    MMPVideo VH.264 high V

    Si nal Com ression usin Multiscale Recurrent Patterns . 86/96

    Other Developments

  • 8/3/2019 Mmp Presentation

    250/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 87/96

    MMP for Stereo Pairs

  • 8/3/2019 Mmp Presentation

    251/270

    Si nal Com ression usin Multiscale Recurrent Patterns . 88/96

    MMP for Stereo Pairs

  • 8/3/2019 Mmp Presentation

    252/270

    The dictionary learnt while encoding the left viewis used to encode the right view.

    Si nal Com ression usin Multiscale Recurrent Patterns . 88/96

    MMP for Stereo Pairs

  • 8/3/2019 Mmp Presentation

    253/270

    The dictionary learnt while encoding the left viewis used to encode the right view.

    Good results have been reported.

    Si nal Com ression usin Multiscale Recurrent Patterns . 88/96

  • 8/3/2019 Mmp Presentation

    254/270

    MMP for ECG

    850

    900

    950

    1000

    1050

    1100

    1150

    1200

    1250

    0 0.5 1 1.5 2 2.5 3

  • 8/3/2019 Mmp Presentation

    255/270

    t (seconds)

    The quasi-periodic nature of the ECG makes it a

    good candidate for encoding with MMP.

    Si nal Com ression usin Multiscale Recurrent Patterns 89/96

    MMP for ECG

    850

    900

    950

    1000

    1050

    1100

    1150

    1200

    1250

    0 0.5 1 1.5 2 2.5 3

    ( d )

  • 8/3/2019 Mmp Presentation

    256/270

    t (seconds)

    The quasi-periodic nature of the ECG makes it a

    good candidate for encoding with MMP.Good results have been reported.

    Si nal Com ression usin Multiscale Recurrent Patterns 89/96

    Conclusions

  • 8/3/2019 Mmp Presentation

    257/270

    Si nal Com ression usin Multiscale Recurrent Patterns 90/96

    Conclusions

    We developed the MMP, an universallossy/lossless compressor based onmultiscale pattern matching.

  • 8/3/2019 Mmp Presentation

    258/270

    Si nal Com ression usin Multiscale Recurrent Patterns 91/96

    Conclusions

    We developed the MMP, an universallossy/lossless compressor based onmultiscale pattern matching.

    Differently from many other coders, MMPdoes not rely on thetransformation-quantization-entropy coding

    di

  • 8/3/2019 Mmp Presentation

    259/270

    paradigm.

    Si nal Com ression usin Multiscale Recurrent Patterns 91/96

    Conclusions

    We developed the MMP, an universallossy/lossless compressor based onmultiscale pattern matching.

    Differently from many other coders, MMPdoes not rely on thetransformation-quantization-entropy coding

    di

  • 8/3/2019 Mmp Presentation

    260/270

    paradigm.It was succesfully applied to lossy compressdifferent sets of data, such as still images,mixed compounds (graphics+text+stillimages), video, stereo pairs and ECG data.

    Si nal Com ression usin Multiscale Recurrent Patterns 91/96

    Conclusions

    Its complexity is equivalent to the one ofvector quantization.

  • 8/3/2019 Mmp Presentation

    261/270

    Si nal Com ression usin Multiscale Recurrent Patterns 92/96

    Conclusions

    Its complexity is equivalent to the one ofvector quantization.

    Therefore, its computational complexity is an

    important issue.

  • 8/3/2019 Mmp Presentation

    262/270

    Si nal Com ression usin Multiscale Recurrent Patterns 92/96

    Future work

    Development of fast versions of MMP.

  • 8/3/2019 Mmp Presentation

    263/270

    Si nal Com ression usin Multiscale Recurrent Patterns 93/96

    Future work

    Development of fast versions of MMP.

    Development of speech and audio codecsusing the MMP paradigm.

  • 8/3/2019 Mmp Presentation

    264/270

    Si nal Com ression usin Multiscale Recurrent Patterns 93/96

    Future work

    Development of fast versions of MMP.

    Development of speech and audio codecsusing the MMP paradigm.

    Further improvement in its coding efciencyin image and video coding.

  • 8/3/2019 Mmp Presentation

    265/270

    Si nal Com ression usin Multiscale Recurrent Patterns 93/96

    Future work

    Development of fast versions of MMP.

    Development of speech and audio codecsusing the MMP paradigm.

    Further improvement in its coding efciencyin image and video coding.

    Theoretical analysis of MMP performancewith sources other than the memoryless

  • 8/3/2019 Mmp Presentation

    266/270

    with sources other than the memorylessGaussian source.

    Si l C i i M lti l R t P tt 93/96

    References

  • 8/3/2019 Mmp Presentation

    267/270

    Si l C i i M lti l R t P tt 94/96

    References

    Can be found inhttp://www.lps.ufrj.br/profs/eduardo/

    Alternatively, email [email protected]

  • 8/3/2019 Mmp Presentation

    268/270

    Si l C i i M lti l R t P tt 94/96

    Thank you!

  • 8/3/2019 Mmp Presentation

    269/270

    Si l C i i M l i l R P 95/96

    Back to Summary

  • 8/3/2019 Mmp Presentation

    270/270