imaqGradeDataMatrixBarcodeAIM
Usage
int imaqGradeDataMatrixBarcodeAIM(const Image* image, AIMGradeReport* report);
Purpose
Grades a Data Matrix barcode using the AIM Print Quality metrics (included in the ISO 16022 specification).
Image Types Supported
IMAQ_IMAGE_U8
Parameters
Name
|
Type
|
Description
|
---|---|---|
image | const Image* | The image containing the Data Matrix barcode to grade. You must first prepare this image for grading using imaqReadDataMatrixBarcode2(). |
report | AIMGradeReport* | Upon return, the AIM standard grades for the Data Matrix barcode and the raw scores used to derive the grades. If a Data Matrix barcode cannot be located by imaqReadDataMatrixBarcode2(), the function assigns the barcode IMAQ_AIM_GRADE_F for all grades and 0 for all raw scores. This parameter is required and cannot be NULL. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |