-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
Hi There,
I haven't been able to find any documentation on what the properties in dmtxDecodeSetProp() do. Could you please share what they mean? For refererence, I know that there is a roughly 35x30 px datamatrix somewhere in the image. If I could pass this information along hopefully it can substantially speed up the scan.
switch(prop) {
case DmtxPropEdgeMin:
dec->edgeMin = value;
break;
case DmtxPropEdgeMax:
dec->edgeMax = value;
break;
case DmtxPropScanGap:
dec->scanGap = value; /* XXX Should this be scaled? */
break;
case DmtxPropFnc1:
dec->fnc1 = value;
break;
case DmtxPropSquareDevn:
dec->squareDevn = cos(value * (M_PI/180.0));
break;
case DmtxPropSymbolSize:
dec->sizeIdxExpected = value;
break;
case DmtxPropEdgeThresh:
dec->edgeThresh = value;
break;
/* Min and Max values arrive unscaled */
case DmtxPropXmin:
dec->xMin = value / dec->scale;
break;
case DmtxPropXmax:
dec->xMax = value / dec->scale;
break;
case DmtxPropYmin:
dec->yMin = value / dec->scale;
break;
case DmtxPropYmax:
dec->yMax = value / dec->scale;
break;
default:
break;
}
Cheers
Metadata
Metadata
Assignees
Labels
No labels