error in spiht algorithm

1 次查看(过去 30 天)
Tanvi
Tanvi 2014-11-19
hello sir!! i am getting an error at a line for uncompression in spiht algorithm.
  4 个评论
NANDITA SHARMA
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
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 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