DataMatrixDetectionParams
Description
Specifies how data matrix codes are being detected.Structure fields and default values (if defined) are described below:
| Name | Type | Default | Description |
|---|---|---|---|
| ContrastThreshold | int | 10 | Guaranteed gray level difference between dark and bright modules |
| ContrastPerturbations | int | 0 | Number of perturbations applied to ContrastThreshold for improving possibility of detection when lighting conditions are highly variable |
| DetectionMethod | DataMatrixDetectionMethod | FinderEdges | Specifies which feature is used for code detection: the shape of the finder pattern or the blob of the quiet zone |
| PyramidStrategy | DataMatrixPyramidStrategy | Precise | Specifies the step of image downsampling used for finding codes at different scales |
| OutlineStrategy | DataMatrixOutlineStrategy | Precise | Specifies precision of outline detection |
| FinderTradeoff | atl::Optional<DataMatrixFinderTradeoff> | Balanced | Decides whether to optimize parameters for weak edges (sensitive) or for jagged ones (robust). |
| EdgeTracker | DataMatrixEdgeTracker | Strong | Decides how strongly edge tracker preserves continuity of an edge. Strong tracker produces more consistent edges, even in presence of significant noise. Weak tracker is faster. |
| UseSuperRes | atl::Optional<bool> | Controls image up-scaling for low-resolution codes (depending on MinModuleSize). |
