Run Length Encoding (2-D)

5 visualizzazioni (ultimi 30 giorni)
Jitesh Bhanushali
Jitesh Bhanushali il 24 Mar 2014
Commentato: Sagar Damle il 24 Mar 2014
How do Run Length Encoding works in Matrix (2-D)??

Risposte (1)

Walter Roberson
Walter Roberson il 24 Mar 2014
Rearrange the matrix into a vector and do RLE on that.
For images you might wish to investigate zig-zag rearrangements of the matrix into a vector, as that apparently gets better RLE for blocks of the same color.
  3 Commenti
Walter Roberson
Walter Roberson il 24 Mar 2014
Modificato: Walter Roberson il 24 Mar 2014
One of them is reshape(). The zig-zag approach would not use reshape() though.

Accedi per commentare.

Categorie

Scopri di più su Denoising and Compression in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by