필터 지우기
필터 지우기

what wcompress error means

조회 수: 1 (최근 30일)
cev
cev 2013년 12월 7일
편집: cev 2013년 12월 8일
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
Walter Roberson
Walter Roberson 2013년 12월 7일
I suggest experimenting with
img - imread('bmp1.bmp');
wcompress('c', img, 'compimg1.wtc', 'stw')

댓글을 달려면 로그인하십시오.

채택된 답변

cev
cev 2013년 12월 8일
편집: cev 2013년 12월 8일
x,y dimensions of image should be power of 2

추가 답변 (1개)

Bruno Pop-Stefanov
Bruno Pop-Stefanov 2013년 12월 7일
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!

카테고리

Help CenterFile Exchange에서 Denoising and Compression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by