Represents the grading Parameters associated with an EBarCode as defined by ISO15416. More...
Static Public Member Functions | |
| static string | ConvertToAlphabeticGrade (byte grade) |
| ISO15416 defines grades as either number of letters. We use numbers internally but this function can be used to convert number to letters. | |
Public Attributes | |
| byte | DecodeGrade |
| Indicates whether the barcode was decoded. Grade is 40 if barcode was decoded and 0 if it was not. | |
| byte | SymbolContrastGrade |
| Indicates the fraction of total image contrast used by the barcode. Grade is between 0 (<= 51 gray values) and 40 (>= 180 gray values). | |
| byte | MinimumReflectanceGrade |
| Indicates the ratio between the smallest and largest gray value in the barcode. Grade is 40 if the smallest gray value of the barcode is <= half of its highest value and 0 otherwise. | |
| byte | MinimumEdgeContrastGrade |
| Indicates the smallest contrast between two adjacent bar and space (including quiet zones). Grade is 40 if the minimum edge contrast is >= 15% and 0 otherwise. | |
| byte | ModulationGrade |
| Indicates the importance of the minimum edge contrast relative to the symbol contrast. Grade is between 40 (>= 70%) and 0 (< 40%). | |
| byte | DefectsGrade |
| Indicates the importance of irregularities found within elements and quiet zones. Grade is between 40 (small irregularities) and 0 (large irregularities). | |
| byte | DecodabilityGrade |
| Indicates the importance of differences between the distances measured and expected. Grade is between 40 (distances measured are close to those expected) and 0 (distances measured are far from those expected). | |
| byte | AdditionalRequirementsGrade |
| Indicates a symbology specific requirement. The name of that specific requirement for the current EBarCodeGradingParameters may be retrieved with EBarCodeGradingParameters.AdditionalRequirementName. EBarCodeSymbologies.EBarCodeSymbologies_Code128, EBarCodeSymbologies.EBarCodeSymbologies_Gs1_128 and EBarCodeSymbologies.EBarCodeSymbologies_Ean13 all grade the size of the quiet zone of the barcode. Grade is 40 (large enough quiet zone) and 0 (quiet zone too small). | |
| byte | GlobalGrade |
| The global grade is the smallest of all of the other grades. If two scan lines yield different decoded strings, the Global Grade is set to 0. Grade is between 40 (best) and 0 (worst). | |
Properties | |
| string | AdditionalRequirementName [get] |
| ISO 15416 defines an additional requirement that is symbology specific. This function returns its name for the current EBarCodeGradingParameters. Currently, "Quiet Zone" is always returned. | |
Represents the grading Parameters associated with an EBarCode as defined by ISO15416.
Each grade is expressed as an integer between 0 and 40 instead of a float from 0.0 to 4.0 by steps of 0.1 to avoid rounding errors. Each grade represents the average grade obtained on 10 horizontal lines in the barcode.
License(s): None
|
static |
ISO15416 defines grades as either number of letters. We use numbers internally but this function can be used to convert number to letters.
| grade | The grade as an integer between 0 and 40. |
| byte eVision.EasyBarCode2.EBarCodeGradingParameters.AdditionalRequirementsGrade |
Indicates a symbology specific requirement. The name of that specific requirement for the current EBarCodeGradingParameters may be retrieved with EBarCodeGradingParameters.AdditionalRequirementName. EBarCodeSymbologies.EBarCodeSymbologies_Code128, EBarCodeSymbologies.EBarCodeSymbologies_Gs1_128 and EBarCodeSymbologies.EBarCodeSymbologies_Ean13 all grade the size of the quiet zone of the barcode. Grade is 40 (large enough quiet zone) and 0 (quiet zone too small).
| byte eVision.EasyBarCode2.EBarCodeGradingParameters.DecodabilityGrade |
Indicates the importance of differences between the distances measured and expected. Grade is between 40 (distances measured are close to those expected) and 0 (distances measured are far from those expected).
| byte eVision.EasyBarCode2.EBarCodeGradingParameters.DecodeGrade |
Indicates whether the barcode was decoded. Grade is 40 if barcode was decoded and 0 if it was not.
| byte eVision.EasyBarCode2.EBarCodeGradingParameters.DefectsGrade |
Indicates the importance of irregularities found within elements and quiet zones. Grade is between 40 (small irregularities) and 0 (large irregularities).
| byte eVision.EasyBarCode2.EBarCodeGradingParameters.GlobalGrade |
The global grade is the smallest of all of the other grades. If two scan lines yield different decoded strings, the Global Grade is set to 0. Grade is between 40 (best) and 0 (worst).
| byte eVision.EasyBarCode2.EBarCodeGradingParameters.MinimumEdgeContrastGrade |
Indicates the smallest contrast between two adjacent bar and space (including quiet zones). Grade is 40 if the minimum edge contrast is >= 15% and 0 otherwise.
| byte eVision.EasyBarCode2.EBarCodeGradingParameters.MinimumReflectanceGrade |
Indicates the ratio between the smallest and largest gray value in the barcode. Grade is 40 if the smallest gray value of the barcode is <= half of its highest value and 0 otherwise.
| byte eVision.EasyBarCode2.EBarCodeGradingParameters.ModulationGrade |
Indicates the importance of the minimum edge contrast relative to the symbol contrast. Grade is between 40 (>= 70%) and 0 (< 40%).
| byte eVision.EasyBarCode2.EBarCodeGradingParameters.SymbolContrastGrade |
Indicates the fraction of total image contrast used by the barcode. Grade is between 0 (<= 51 gray values) and 40 (>= 180 gray values).
|
get |
ISO 15416 defines an additional requirement that is symbology specific. This function returns its name for the current EBarCodeGradingParameters. Currently, "Quiet Zone" is always returned.