필터 지우기
필터 지우기

Run Length Encoding (2-D)

조회 수: 2 (최근 30일)
Jitesh Bhanushali
Jitesh Bhanushali 2014년 3월 24일
댓글: Sagar Damle 2014년 3월 24일
How do Run Length Encoding works in Matrix (2-D)??

답변 (1개)

Walter Roberson
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
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 CenterFile Exchange에서 Denoising and Compression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by