Matrix code probability
Calculates the probability that a matrix code is present in an image patch. For this, gray-level histogram is used.
- Input image.
- Pixel coordinate of the upper left corner of the region of interest. A 1-by-2 matrix.
- The size of the rectangle framing the region-of-interest. If size is undefined (either width or height is NAN), the histogram is computed from the whole image.
- Window size for smoothing the histogram vector.
- The probability (0-1) that the region-of-interest in image represents a matrix code (e.g. QR code or data matrix)