Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
What should be the values given to the input integer , bits size of the integer and the K value for the input image?
조회 수: 1 (최근 30일)
이전 댓글 표시
What should be the values given to the input integer , bits size of the integer and the K value for an image input for the rice coder program give in this url http://www.mathworks.in/matlabcentral/fileexchange/5359-rice-coder .Also how to write the inverse code of rice-codes ?
댓글 수: 0
답변 (2개)
Jan
2013년 3월 4일
This is a very old submission and some users have rated it low. If the author does not tell the details, it is strongly recommended not to use the software. It would be inefficient and prone to errors, if the forum users guess the details.
Therefore the inverse operation is hard to guess also.
I assume programming it from scratch will be more efficient.
댓글 수: 0
Walter Roberson
2013년 3월 4일
The value of the bit size of the integer is something you determine in advance according to the properties of the distribution of values you want to encode. Rice encoding is suitable for distributions in which many of the values could fit into small integers but every once in a while you need to send something larger. How you determine the appropriate value is something you should be studying as part of your theory.
If it helps any, the "bit size of the integer" is log2 of "M" in the Wikipedia description of Rice encoding.
The "input integer" and the "bits to be sent directly" should be such that "input integer" * 2 ^ "bits size of the integer" + "bits to be sent directly" is the original value that is being encoded.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!