Avatar of Davieboy25
 asked on

Simple BCH encoder/decoder


I have seen many implementations of a bch encoder/decoder but they go beyond what i think i need. We have a biometrics fingeprint system and are trying to just store the checkbits as the template. I was looking in java to just to code a simple bch or error correction code for encoding looking for errors and the decoding correcting those errors. A case of adding up values and then dividing but i am not sure what values?

thanks for any help

JavaProgramming Languages-OtherProgrammingAlgorithms

Avatar of undefined
Last Comment
Dirk Haest

8/22/2022 - Mon

Why do you think you need an Error Correcting Code for a fingerprint ID system?

What sort of errors are you expecting?

These sort of codes are used where errors arise from noisy transmission and/or faulty storage.  They are not helpful for sensor/source errors.

We have to be able to store just the check bits of the binarised fingerprint feature extraction so the check bits are stored as the template this has to be done using bch codes and we can do fingerprinting and iris systems even use existing codes and a gui is no problem but a bcd encoder/decoder

Bch encoder decoder I meant not BCD and it seems quite complicated using generator polystyrene and alpha I have algorithms such as Peterson Massey which does the decoding but how you put that into a program code I am not sure
Your help has saved me hundreds of hours of internet surfing.


Error Correcting Codes are complicated and computationally intensive.
They are also very powerful.

If you really need to use them there is no simpler substitute.  But I don't see why you need to use them in this case.

What operational or business advantage do you hope to gain?
Noise immunity?  Cryptographic security?  Obsfuscation?

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Dirk Haest

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.