error in spiht algorithm

1 visualizzazione (ultimi 30 giorni)
Tanvi
Tanvi il 19 Nov 2014
Commentato: KALYAN ACHARJYA il 20 Nov 2020
hello sir!! i am getting an error at a line for uncompression in spiht algorithm.
  4 Commenti
NANDITA SHARMA
NANDITA SHARMA il 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
KALYAN ACHARJYA il 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Denoising and Compression in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by