error in spiht algorithm
2 views (last 30 days)
Show older comments
hello sir!! i am getting an error at a line for uncompression in spiht algorithm.
4 Comments
NANDITA SHARMA
on 20 Nov 2020
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
on 20 Nov 2020
In this case the number of rows and columns of image must be a power of two, though, the post is quite old.
Answers (0)
See Also
Categories
Find more on Denoising and Compression in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!