Description
It seems that the current version calculates the optimal mask pattern differently from what is described in online references.
The difference appears in the getLostPoint function, specifically in how LEVEL1 and LEVEL3 are computed.
Note: I was looking at the JavaScript version of the code.
Could you please take a look and verify if this is intended behavior?
References
Description
It seems that the current version calculates the optimal mask pattern differently from what is described in online references.
The difference appears in the
getLostPointfunction, specifically in howLEVEL1andLEVEL3are computed.Note: I was looking at the JavaScript version of the code.
Could you please take a look and verify if this is intended behavior?
References