C# 클래스 zxingwp7.common.reedsolomon.ReedSolomonDecoder

Implements Reed-Solomon decoding, as the name implies.

The algorithm will not be explained here, but the following references were helpful in creating this implementation:

Much credit is due to William Rucklidge since portions of this code are an indirect port of his C++ Reed-Solomon implementation.

파일 보기 프로젝트 열기: henningms/zxing2.0-wp7 1 사용 예제들

공개 메소드들

메소드 설명
ReedSolomonDecoder ( GF256 field )
decode ( int received, int twoS ) : void

Decodes given set of received codewords, which include both data and error-correction codewords. Really, this means it uses Reed-Solomon to detect and correct errors, in-place, in the input.

비공개 메소드들

메소드 설명
findErrorLocations ( GF256Poly errorLocator ) : int[]
findErrorMagnitudes ( GF256Poly errorEvaluator, int errorLocations, bool dataMatrix ) : int[]
runEuclideanAlgorithm ( GF256Poly a, GF256Poly b, int R ) : zxingwp7.common.reedsolomon.GF256Poly[]

메소드 상세

ReedSolomonDecoder() 공개 메소드

public ReedSolomonDecoder ( GF256 field )
field GF256

decode() 공개 메소드

Decodes given set of received codewords, which include both data and error-correction codewords. Really, this means it uses Reed-Solomon to detect and correct errors, in-place, in the input.

public decode ( int received, int twoS ) : void
received int data and error-correction codewords ///
twoS int number of error-correction codewords available ///
리턴 void