Run Length Encoding (2-D)
조회 수: 2 (최근 30일)
이전 댓글 표시
How do Run Length Encoding works in Matrix (2-D)??
댓글 수: 0
답변 (1개)
Walter Roberson
2014년 3월 24일
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
Walter Roberson
2014년 3월 24일
편집: Walter Roberson
2014년 3월 24일
One of them is reshape(). The zig-zag approach would not use reshape() though.
참고 항목
카테고리
Help Center 및 File Exchange에서 Denoising and Compression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!