error in spiht algorithm

1 Ansicht (letzte 30 Tage)
Tanvi
Tanvi am 19 Nov. 2014
Kommentiert: KALYAN ACHARJYA am 20 Nov. 2020
hello sir!! i am getting an error at a line for uncompression in spiht algorithm.
  4 Kommentare
NANDITA SHARMA
NANDITA SHARMA am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Denoising and Compression finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by