/bch-codes

An implementation of BCH and Reed-solomon error-correcting codes

Primary LanguageJupyter Notebook

bch-codes

An implementation of BCH and Reed-solomon error-correcting codes.
This was originally built in 2015 in collaboration with Théo Stoskopf.

Running a test

This provides a way of

  1. Encoding an image
  2. Introducing noise (in the form of bursts)
  3. Correcting the errors and decoding

To build, you can use dune:
dune build src/main.exe
dune exec src/main.exe -- -i <input> -o <output>
with <input> the path to a (reasonably small) bmp image, and <output> the path to the result directory, with a trailing /, that must exist.