Patent ID: 9628806
Date: 2017-04-18
CPC Classifications: H03M,H04N

Claim:
1. A method of compressing a digital image, comprising the steps of: a first step of changing at least one layer (MSB, MS wherein each cell (Cmn) of the initial matrix (M) is indexed by a line number “m” and a column number “n” and contains an initial digital value (Vmn), and wherein each cell (CCmn) of the compressed matrix (MC) is indexed by the line number “m” and the column number “n” and contains a compressed digital value (VCmn) corresponding to the initial digital value (Vmn); and a second step of restoring, by decompression, the compressed matrix (MC) into a restored matrix (MR), wherein each cell (CRmn) of the restored matrix (MR) is indexed by the line number “m” and the column number “n” and contains a restored digital value (VRmn) corresponding to the initial digital value (Vmn), wherein each cell (Cmn, CCmn, CRmn) represents one pixel of the digital image, wherein in said first step of changing the at least one layer (MSB, MS i) at least one previously processed restored or initial digital value in the same line as said at least one cell (CRmn) or ii) an at least one previously processed restored or initial digital value in the same column as said at least one cell (CRmn), and wherein the selection of i) the same line or ii) the same column as said at least one cell (CRmn) is based on a comparison between a) a difference (DV) between two previously calculated restored digital values located on a same line, and b) a difference (DV) between two previously calculated restored digital values located on a same column.