Modulo-N code

Modulo-N code

Modulo-N code is a lossy compression algorithm used to compress correlated data sources using modulo arithmetic.

Contents

Compression

When applied to two nodes in a network whose data are in close range of each other Modulo-N code requires one node (say odd) to send the coded data value as the raw data Mo = Do; the even node is required to send the coded data as the Me = (De)mod(N). Hence the name Modulo-N code.

Since it is known that for a number K, at least log2(K) bits are required to represent it in binary. So the modulo coded data of the two nodes requires totally log2(Mo) + log2(Me). As we can generally expect log_2(M_e) \le log_2(M_o) always, because M_e \le N. This is the how compression is achieved.

A compression ratio achieved is C.R = \frac{log_2(M_o) + log_2(M_e)}{2log_2(M_o)}.

Decompression

At the receiver by joint decoding we may complete the process of extracting the data and rebuilding the original values. The code from the even node is reconstructed by the assumption that it must be close to the data from the odd node. Hence the decoding algorithm retrieves even node data as
CLOSEST(Mo,N.k + Me).

The decoder essentially finds the closest match to M_o \simeq N.k + M_e and the decoded value is declared as N.k + Me

Example

For a mod-8 code, we have Encoder

D_o=43,D_e=47
M_o=43,M_e=47 mod(8) = 7,

Decoder

 M_o=43,M_e=47 mod(8) = 7,
 D_o=43,D_e=CLOSEST(43,8.k + 7)
  43 \simeq 8.5 + 7
 D_o=43,D_e=47

Modulo-N decoding is similar to phase unwrapping and has the same limitation: If the difference from one node to the next is more than N/2 (if the phase changes from one sample to the next more than π), then decoding leads to an incorrect value.

See also

  • DISCUS is a more sophisticated technique for compressing correlated data sources.
  • Delta encoding is a related algorithm used in lossless compression algorithms designed for correlated data sources.

Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Code INSEE — Le code Insee est un code numérique ou alphanumérique, élaboré par l Institut national de la statistique et des études économiques, service public français chargé de la production et de l analyse des différentes données statistiques concernant… …   Wikipédia en Français

  • Code-barre EAN — Code barres EAN Le code EAN (European Article Numbering) est un code barres utilisé par le commerce et l industrie conformément aux spécifications d’EAN International, organisme aujourd hui remplacé par GS1[1]. Il est connu en France sous le nom… …   Wikipédia en Français

  • Code Aster — Post procesado en SALOME de una solución calculada con Code Aster …   Wikipedia Español

  • Code Insee — Le code Insee est un code numérique ou alphanumérique, élaboré par l Institut national de la statistique et des études économiques, service public français chargé de la production et de l analyse des différentes données statistiques concernant… …   Wikipédia en Français

  • Modulo operation — Quotient (red) and remainder (green) functions using different algorithms. In computing, the modulo operation finds the remainder of division of one number by another. Given two positive numbers, a (the dividend) and n (the divisor), a modulo n… …   Wikipedia

  • Modulo (jargon) — The word modulo (Latin, with respect to a modulus of ) is the Latin ablative of modulus which itself means a small measure. It was introduced into mathematics in the book Disquisitiones Arithmeticae by Carl Friedrich Gauss in 1801. Ever since,… …   Wikipedia

  • Code-barres EAN — Le code EAN (European Article Numbering) est un code barres utilisé par le commerce et l industrie conformément aux spécifications d’EAN International, organisme aujourd hui remplacé par GS1[1]. Il est connu en France sous le nom de GENCODE, à… …   Wikipédia en Français

  • Code 128 — Wikipedia encoded in Code 128 B Code 128 is a very high density barcode symbology. It is used for alphanumeric or numeric only barcodes. It can encode all 128 characters of ASCII and, by use of an extension character (FNC4), the Latin 1… …   Wikipedia

  • Code 93 — WIKIPEDIA encoded in Code 93 Code 93 is a barcode symbology designed in 1982 by Intermec to provide a higher density and data security enhancement to Code 39. It is an alphanumeric, variable length symbology. Code 93 is used primarily by Canada… …   Wikipedia

  • Code RSA — Rivest Shamir Adleman Pour les articles homonymes, voir RSA. Rivest Shamir Adleman ou RSA est un algorithme asymétrique de cryptographie à clé publique, très utilisé dans le commerce électronique, et plus généralement pour échanger des données… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”