IDMax Vision Data Access Functions
This topic lists the Vision Data Access Functions that return values from an IDMax structure.
|
Function |
Description |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
GetAngle(IDMax,[Index]) |
Returns the angle of a symbol. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetCodeName(IDMax,[Index]) |
Returns the name of the code type. This is the same code name shown in the ReadIDMax Property Sheet. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetCodeType(IDMax,[Index]) |
Returns the Code Type.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetColor(IDMax,[Index]) |
Returns the value of the foreground color for a Data Matrix, QR Code or PDF 417 symbol. Value 0 is black, 1 is white. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetContrast(IDMax,[Index]) |
Returns the average contrast between foreground and background in greyscale values in a barcode. This provides a measurement of the contrast between the darkest and lightest elements in the symbol. A high quality symbol exhibits a high percentage of contrast between the symbol's foreground and background.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetDecodability(IDMax,[Index]) |
Returns the minimum decodability of the barcode. A measure of printing accuracy, decodability is the fraction of the available margin for error that has not been used by the printing process, and is thus available for the reader. For every character of every scan line, a reference threshold is calculated and is a measure of the module width threshold. Each character's widest narrow element and narrowest wide element is compared to this to determine decodability. (Element refers to a bar or space in a barcode.)
Note:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GetDecoded(Structure,Index) | Returns whether the indexed ID symbol is found. Returns 0.0 for not found, or 1.0 for found. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetDefect(IDMax,[Index]) |
Returns the ratio of the maximum element
(a bar or space in a barcode) reflectance non-uniformity to the average barcode contrast.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetECLevel(IDMax,[Index]) |
Returns the error correction level for a 2-D symnol: a Data Matrix or a PDF 417 code. PDF 417 symbols support 9 error correction levels, with 0 being the least thorough, and 8 being the most thorough. Note: The Verify
checkbox in ReadIDMax must be checked.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetECMin(IDMax,[Index]) |
Returns the minimum edge response between successive elements in a barcode. Also referred to as the minimum edge contrast, the minimum edge response is a measurement of the minimum contrast of the worst (the least amount of contrast) edge in the code. With maximum reflectance being 100% and no reflectance being 0%, the minimum difference in contrast must be greater than or equal to 15% for a pass, otherwise the code fails the minimum edge response test.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetErrorCode(IDMax,[Index]) |
Returns an error code for each information string if the function fails. Note: Error strings are inserted into the spreadsheet using the GetErrorString function.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetErrorCount(IDMax,[Index]) |
Returns the number of erroneous codewords found in a 2D symbol. This value is used to calculate UnusedEC. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetErrorString(IDMax,[Index]) |
Returns diagnostic information if symbol decoding fails. Note: The GetErrorString Vision Data Access function may be used to extract the following list of errors from either the data structure returned by a ReadIDMax function.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetFormat(IDMax,[Index]) |
Returns the value representing the format of a 2D symbol in the ReadIDMax function. See the GetFormat Values topic. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GetFound(IDMax, Index) | Returns whether the indexed ID symbol is found; 0.0 for not found, or 1.0 for found. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetGridCols(IDMax,[Index]) |
Returns the number of columns contained in a 2D symbol. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetGridRows(IDMax,[Index]) |
Returns the number of rows contained in a 2D symbol. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetHeight(IDMax,[Index]) |
Returns the height of the symbol. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetLearned(IDMax,[Index]) |
Returns 1 if the model of the symbol has been successfully trained and 0 if the model is not trained. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetLearnedGridCol(IDMax,[Index]) |
Returns the number of columns in a trained QR Code or Data Matrix symbol. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetLearnedGridRow(IDMax,[Index]) |
Returns the number of rows in a trained QR Code or Data Matrix symbol. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GetLearnedSymbology(IDMax) | Returns a string containing the symbology currently learned in ReadIDMax. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetMirror(IDMax,[Index]) |
Returns the mirrored status (0 = not mirrored, 1 = mirrored) of a Data Matrix or QR Code symbol. Value 0 means the status is not mirrored, 1 is mirrored. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetModulation(IDMax,[Index]) |
Returns the ratio of the Minimum Edge Response (ECMin) to the average contrast of the barcode (except RSS Stacked barcodes). This test measures how consistent the contrast is throughout the barcode.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetModuleSize(IDMax,[Index]) |
Returns the size of the 2D module. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetNonUniformity(IDMax,[Index]) |
Returns the 2D symbol axial non-uniformity test result (except PDF 417 symbols). Also referred to as axial non-uniformity, this is a measurement of whether the symbol is correctly proportioned for its grid size. For example, if a symbol having an equal number of rows and columns is not square, then it is considered to be non-uniform.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetNumResults(IDMax) |
Returns the number of found and decoded results. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetRawStream(IDMax,[Index]) |
Returns the undecoded data stream from a read symbol of a Code 128 symbol. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetResolution(IDMax,[Index]) |
For 2D symbols, the average size of the cells is returned in pixels. Although not specifically a quality verification test, resolution measures the average size of an element, or cell in a symbol in pixels. Each type of symbol has a minimum resolution specification:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetString(IDMax,[Index]) |
Returns the string from the indexed result. The result is 0, if Index is not provided. Note: If the string contains NULL (0x00), the function automatically swaps out the character with “<NUL>”.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetStringIDMax(IDMax,TranslationMode,[Index]) |
Returns the string from the indexed result, based on the selected Translation Mode, which specifies how the function processes non-printable ASCII characters.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetSymbologyIdentifier(IDMax,[Index]) |
Returns the type of symbol based on the ISO 15424 specification as a three-character code. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetUnusedEC(IDMax,[Index]) |
Returns the unused error correction test result for a 2D symbol as a percentage. This test measures the percentage of error correction contained in the symbol that does not have to be used for a successful decode. High quality symbols can be decode without having to use any error correction.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GetWidth(IDMax,[Index]) |
Returns the width of the symbol. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GetX(IDMax, [Index1], [Index2]) | Returns an X-coordinate. Index1 refers to the symbol corner, Index2 to the found symbol. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GetY(IDMax, [Index1], [Index2]) | Returns a Y-coordinate. Index1 refers to the symbol corner, Index2 to the found symbol. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SetSymbolMinStringLength(IDMax,Symbology,MinLength) |
Sets the minimum string length of the specified Symbology for the referenced IDMax structure.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||