How horaceg/bch-codes works
Key Components to Include:
Core Mathematical Components (Bottom Layer)
• PrimeField (primeField.ml)
• Polynomials (polynome.ml)
• Finite Fields (represented by notebooks/finite_fields_basics.ipynb)
• Cantor-Zassenhaus Algorithm (cantorzass.ml)
Encoding/Decoding Layer (Middle Layer)
• BCH Codes (bch.ml)
• Reed-Solomon Codes (reedsolomon.ml)
• Cyclic Codes (cyclo.ml)
Image Processing Layer (Upper Layer)
• Components for image handling:
• BMP Handler (bmp.ml)
• Image Processing (img.ml)
• Noise Introduction (bruitage.ml)
• Error Correction (correction.ml)
Workflow Components
a. Image Input → BMP Processing
b. Encoding Process
c. Noise Introduction
d. Error Correction
e. Image Output
Specific Design Guidelines:
Component Relationships
• Use double lines for main processing pipeline
Processing Stages
• Input Stage (BMP reading)
• Encoding Stage (BCH/Reed-Solomon)
• Noise Introduction Stage
• Correction Stage
• Output Stage
• Top: Image I/O and user interface
• Middle: Encoding/Decoding logic
• Bottom: Mathematical foundations
Related Components
• Mathematical utilities together
• Image processing components
• Cluster encoding/decoding components
Pipeline Flow
• Clear indication of data transformation stages
• Error handling paths
• Correction feedback loops
Additional Considerations:
Entry points (main.ml)
Remember to maintain a balance between showing the mathematical complexity and the practical application, as this is both a theoretical and applied project.