error in spiht algorithm
显示 更早的评论
hello sir!! i am getting an error at a line for uncompression in spiht algorithm.
4 个评论
Geoff Hayes
2014-11-19
Tanvi - please describe the algorithm that you are using. Is this something from the File Exchange (and if so, provide a link to it). Also, please copy and paste the entire error message that you are observing, including the line (or lines) of code that you are executing that generates the error.
Tanvi
2014-11-20
编辑:Geoff Hayes
2014-11-20
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Signal Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!