error in spiht algorithm
조회 수: 2 (최근 30일)
이전 댓글 표시
hello sir!! i am getting an error at a line for uncompression in spiht algorithm.
댓글 수: 4
NANDITA SHARMA
2020년 11월 20일
You can add i1=imresize( i1, [256 256]), then run the code. I hope it will successfully run now. 'spiht' runs on square matrix. may be for that reason you are getting the error.
KALYAN ACHARJYA
2020년 11월 20일
In this case the number of rows and columns of image must be a power of two, though, the post is quite old.
답변 (0개)
참고 항목
카테고리
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!