Patent ID: 7945103

Claim:
A method for decoding-decompressing a compressed-encoded digital data sequence relating to at least an initial compressed-encoded digital image and for providing at least a respective decoded-decompressed digital image, the method comprising the steps of: receiving said digital data sequence comprising compressed-encoded data groups separated from one another by at least one restart marker and each one including a respective plurality of encoded data structures, wherein said receiving step comprises the following steps performed in order as follows, detecting in said received sequence a first restart marker; prior to any extraction of the encoded data structures of a first data group in the sequence to be decoded, detecting a second restart marker subsequent to the first restart marker; calculating a representative value of the number of encoded data structures comprised between the first restart marker and the subsequent second restart marker signaling, respectively, the start of the first data group to be decoded in the sequence received and the start of a second data group; extracting from said first data group to be decoded the encoded data structures comprised therein; and detecting the presence of at least one error, if the number of the encoded data structures extracted is different from said representative value.