error in spiht algorithm
1 次查看(过去 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!