Error in my Image COMPRESSION code USING DCT2D in matlab

1 Ansicht (letzte 30 Tage)
tassa
tassa am 18 Aug. 2013
I'm trying to fix a program already exists, but there is always this error
"***Error in ==> DCT1 at 254 decm_eq BIN2DEC = ([I_runcode (a, b) code (1 + m * (c_indx-1). M * c_indx) DEC2BIN (0 bpp_diff)]).***
I do not know what to do.
Please help me
  2 Kommentare
Walter Roberson
Walter Roberson am 18 Aug. 2013
The line you indicate in the error message does not exist in the source code you posted. The closest there is to it in your source is
decm_eq=bin2dec([I_runcode(a,b).code(1+m*(c_indx-1):m*c_indx),dec2bin(0,bpp_diff)]);
In order to have a realistic chance of figuring out what the error is, you need to post the actual error message, which might (for example) look like
Attempt to access structure field of non-structure element
or perhaps
index out of range
or perhaps
undefined function or variable dec2bin
tassa
tassa am 18 Aug. 2013
I just send you by mail the entire file. Thank you for your reply.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by