Filter löschen
Filter löschen

what wcompress error means

1 Ansicht (letzte 30 Tage)
cev
cev am 7 Dez. 2013
Bearbeitet: cev am 8 Dez. 2013
I want to compress an image using
wcompress( 'c','bmp1.bmp','compimg1.wtc','stw');
But I get an error Subscripted assignment dimension mismatch. What this error means?
  1 Kommentar
Walter Roberson
Walter Roberson am 7 Dez. 2013
I suggest experimenting with
img - imread('bmp1.bmp');
wcompress('c', img, 'compimg1.wtc', 'stw')

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

cev
cev am 8 Dez. 2013
Bearbeitet: cev am 8 Dez. 2013
x,y dimensions of image should be power of 2

Weitere Antworten (1)

Bruno Pop-Stefanov
Bruno Pop-Stefanov am 7 Dez. 2013
There seems to be a bug in either wfandfcidx or wavedec2, which are internal functions called by wcompress. I am sorry I can't help you more, but until this bug is fixed you can try another compression method. EZW, SPIHT, and SPIHT 3D should work (I get the same error with WDR and ASWDR). Good luck!

Kategorien

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

Community Treasure Hunt

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

Start Hunting!

Translated by