ISO IEC 16022 CORR 2-2011 Information technology - Automatic identification and data capture techniques - Data Matrix bar code symbology specification Technical.pdf
《ISO IEC 16022 CORR 2-2011 Information technology - Automatic identification and data capture techniques - Data Matrix bar code symbology specification Technical.pdf》由会员分享,可在线阅读,更多相关《ISO IEC 16022 CORR 2-2011 Information technology - Automatic identification and data capture techniques - Data Matrix bar code symbology specification Technical.pdf(10页珍藏版)》请在麦多课文档分享上搜索。
1、ICS 01.080.50; 35.040 Ref. No. ISO/IEC 16022:2006/Cor.2:2011(E) ISO/IEC 2011 All rights reserved Published in Switzerland INTERNATIONAL STANDARD ISO/IEC 16022:2006 TECHNICAL CORRIGENDUM 2 Published 2011-02-01 INTERNATIONAL ORGANIZATION FOR STANDARDIZATION ORGANISATION INTERNATIONALE DE NORMALISATION
2、 INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION LECTROTECHNIQUE INTERNATIONALEInformation technology Automatic identification and data capture techniques Data Matrix bar code symbology specification TECHNICAL CORRIGENDUM 2 Technologies de linformation Techniques automatiques didentification et
3、 de capture des donnes Spcification de symbologie de code barres Data Matrix RECTIFICATIF TECHNIQUE 2 Technical Corrigendum 2 to ISO/IEC 16022:2006 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 31, Automatic identification and data capture technique
4、s. Page 28 Replace Clause 9 with the following: 9 Reference decode algorithm for Data Matrix This reference decode algorithm finds a Data Matrix symbol in an image and decodes it. a) Define measurement parameters and form a digitised image: 1) Define a distance dmin which is 7,5 times the aperture d
5、iameter defined by the application. This will be the minimum length of the “L“ patterns side. ISO/IEC 16022:2006/Cor.2:2011(E) 2 ISO/IEC 2011 All rights reserved2) Define a distance gmax which is 7,5 times the aperture diameter. This is the largest gap in the “L“ finder that will be tolerated by the
6、 finder algorithm in step b). 3) Define a distance mmin which is 1,25 times the aperture diameter. This would be the nominal minimum module size when the aperture size is 80% of the symbols X dimension. 4) Form a black/white image using a threshold determined according to the method defined in ISO/I
7、EC 15415. b) Search horizontal and vertical scan lines for the two outside edges of the Data Matrix “L“: 1) Extend a scan line horizontally in both directions from the centre point of the image. Sample along the scan line. For each white/black or black/white transition found along the scan line reso
8、lved to the pixel boundary: i) Follow the edge upward sampling pixel by pixel until either it reaches a point 3,5mmin distant from the intersection of the scan line and the edge starting point, or the edge turns back toward the intersection of the scan line and the edge - the starting point. ii) Fol
9、low the edge downward pixel by pixel until either it reaches a point 3,5mmin distant from the intersection of the scan line and the edge starting point, or the edge turns back toward the intersection of the scan line and the edge - the starting point. iii) If the upward edge reaches a point 3,5mmin
10、from the starting point: I) Plot a line A connecting the end points of the upward edge. II) Test whether the intermediate edge points lie within 0,5mmin from line A. If so, continue to step III. Otherwise proceed to step 1)iv) to follow the edge in the opposite direction. III) Continue following the
11、 edge upward until the edge departs 0,5mmin from line A. Back up to the closest edge point greater than or equal to mmin from the last edge point along the edge before the departing point and save this as the edge end point. This edge point should be along the “L“ candidate outside edge. IV) Continu
12、e following the edge downward until the edge departs 0,5mmin from line A. Back up to the closest edge point greater than or equal to mmin from the last edge point along the edge before the departing point and save this as the edge end point. This edge point should be along the “L“ candidate outside
13、edge. V) Calculate a new adjusted line A1 that is a “best fit“ line to the edge in the two previous steps. The “best fit“ line uses the linear regression algorithm (using the end points to select the proper dependent axis, i.e. if closer to horizontal, the dependent axis is x) applied to each point.
14、 The “best fit“ line terminates lines at points p1 and p2 that are the points on the “best fit“ line closest to the endpoints of the edge. VI) Save the line A1 segment two end points, p1 and p2. Also save the colour of the left side of the edge viewed from p1 to p2. iv) If step iii) failed or did no
15、t extend upward by 3,5mmin in step iii)IV), test if the downward edge reaches a point 3,5mmin from the starting point. If so, repeat the steps in iii) but with the downward edge. v) If neither steps iii) or iv) were successful, test if both the upward and downward edges terminated at least 2mmin fro
16、m the starting point. If so, form an edge comprised of the appended 2mmin length upward and downward edge segments and repeat the steps in iii) but with the appended edge. vi) Proceed to and process the next transitions on the scan line, repeating from step i), until the boundary of the image is rea
17、ched. ISO/IEC 16022:2006/Cor.2:2011(E) ISO/IEC 2011 All rights reserved 32) Extend a scan line vertically in both directions from the centre point of the image. Look for line segments using the same logic in step 1) above but following each edge transition first left and then right. 3) Search among
18、the saved line A1 segments for pairs of line segments that meet the following four criteria: i) If the two lines have the same p1 to p2 directions, verify that the closer of the interline p1 to p2 distances is less than g max . If the two lines have opposite p1 to p2 directions, verify that the clos
19、er of the interline p1 to p1 or p2 to p2 distances is less than g max . ii) Verify that the two lines are co-linear within 5 degrees. iii) Verify that the two lines have the same saved colour if their p1 to p2 directions are the same or that the saved colours are opposite if their p1 to p2 direction
20、s are opposite to each other. iv) Form two temporary lines by extending each line to reach the point on the extension that is closest to the furthest end point of the other line segment. Verify that the two extended lines are separated by less than 0,5mmin at any point between the two extended lines
21、. 4) For each pair of lines meeting the criteria of step 3) above, replace the pair of line segments with a longer A1 line segment that is a “best fit“ line to the four end points of the pair of shorter line segments. Also save the colour of the left side of the edge of the new longer line viewed fr
22、om its p1 endpoint to its p2 endpoint. 5) Repeat steps 3) and 4) until no more A1 line pairs can be combined. 6) Select line segments that are at least as long as dmin. Flag them as “L“ side candidates. 7) Look for pairs of “L“ side candidates that meet the following three criteria: i) Verify that t
23、he closest points on each line are separated by less than 1,5gmax. ii) Verify that they are perpendicular within 5 degrees. iii) Verify that the same saved colour is on the inside of the “L“ formed by the two lines. Note that if one or both lines extend past their intersection, then the two or four
24、“L“ patterns formed will need to be tested for matching colour and maintaining a minimum length of dmin for the truncated side or sides before they can become “L“ candidates. 8) For each candidate “L“ pair found in step 7) form an “L“ candidate by extending the segments to their intersection point.
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ISOIEC16022CORR22011INFORMATIONTECHNOLOGYAUTOMATICIDENTIFICATIONANDDATACAPTURETECHNIQUESDATAMATRIXBARCODESYMBOLOGYSPECIFICATIONTECHNICALPDF

链接地址:http://www.mydoc123.com/p-1256930.html