Run Length Encoding (2-D)
이전 댓글 표시
How do Run Length Encoding works in Matrix (2-D)??
답변 (1개)
Walter Roberson
2014년 3월 24일
0 개 추천
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
Jitesh Bhanushali
2014년 3월 24일
Walter Roberson
2014년 3월 24일
편집: Walter Roberson
2014년 3월 24일
One of them is reshape(). The zig-zag approach would not use reshape() though.
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!