Hi anand i think your problem lies with how you handle the case where you use up all 64 coefficients in an MCU. In this case you must not insert an AC EOB. It is implicitly understood that it is the end of the MCU coefficients when the decoder's count reaches 64. If you were to insert an EOB after your 64 coefficients, the next MCU would have a premature EOB which is what it looks like could be happening.
please, I want to read to read one which it calls cage thoracique.JPEG with matlab. How can i do ? i try yet the following code
but it not answer.