An implementation of BCH and Reed-solomon error-correcting codes.
This was originally built in 2015 in collaboration with Théo Stoskopf.
This provides a way of
- Encoding an image
- Introducing noise (in the form of bursts)
- 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.