摘要 |
A method and apparatus for estimating an X-dimension of a machine-readable symbol having a recognition pattern that includes elements comprising bars and spaces. The method and apparatus proceed from a boundary between two of the elements of the machine-readable symbol. The method and apparatus selects a plurality of sampling paths across a particular one of the elements at the boundary, and determines a median path length across the particular one of the elements out of each of the plurality of sampling paths. The selection of a plurality of sampling paths and the determination of the median path length are repeated for each of the elements of the recognition pattern. The method and apparatus then averages the median path length for all the elements to provide the estimated X-dimension of the machine-readable symbol.
|