Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::markers::DecodedBCHCode Struct Reference

BCH decoder result. More...

#include <BCHCode.h>

Inheritance diagram for icl::markers::DecodedBCHCode:
icl::markers::DecodedBCHCode2D

Public Member Functions

 operator bool () const
 implicit bool cast that asks for successfull decoding More...
 
bool operator< (const DecodedBCHCode &c)
 compares two instance by their error-count More...
 

Public Attributes

BCHCode origCode
 given input code More...
 
BCHCode correctedCode
 corrected code More...
 
int id
 corresponding id/index (<0 mean error) More...
 
int errors
 number of errors that occured More...
 

Detailed Description

BCH decoder result.

Member Function Documentation

◆ operator bool()

icl::markers::DecodedBCHCode::operator bool ( ) const
inline

implicit bool cast that asks for successfull decoding

◆ operator<()

bool icl::markers::DecodedBCHCode::operator< ( const DecodedBCHCode c)
inline

compares two instance by their error-count

Member Data Documentation

◆ correctedCode

BCHCode icl::markers::DecodedBCHCode::correctedCode

corrected code

◆ errors

int icl::markers::DecodedBCHCode::errors

number of errors that occured

◆ id

int icl::markers::DecodedBCHCode::id

corresponding id/index (<0 mean error)

◆ origCode

BCHCode icl::markers::DecodedBCHCode::origCode

given input code


The documentation for this struct was generated from the following file: