您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > ISOIEC-16022(2006)---Cor2(2011)-DM码勘误
ICS01.080.50;35.040Ref.No.ISO/IEC16022:2006/Cor.2:2011(E)©ISO/IEC2011–AllrightsreservedPublishedinSwitzerlandINTERNATIONALSTANDARDISO/IEC16022:2006TECHNICALCORRIGENDUM2Published2011-02-01INTERNATIONALORGANIZATIONFORSTANDARDIZATION•МЕЖДУНАРОДНАЯОРГАНИЗАЦИЯПОСТАНДАРТИЗАЦИИ•ORGANISATIONINTERNATIONALEDENORMALISATIONINTERNATIONALELECTROTECHNICALCOMMISSION•МЕЖДУНАРОДНАЯЭЛЕКТРОТЕХНИЧЕСКАЯКОМИССИЯ•COMMISSIONÉLECTROTECHNIQUEINTERNATIONALEInformationtechnology—Automaticidentificationanddatacapturetechniques—DataMatrixbarcodesymbologyspecificationTECHNICALCORRIGENDUM2Technologiesdel'information—Techniquesautomatiquesd'identificationetdecapturedesdonnées—SpécificationdesymbologiedecodeàbarresDataMatrixRECTIFICATIFTECHNIQUE2TechnicalCorrigendum2toISO/IEC16022:2006waspreparedbyJointTechnicalCommitteeISO/IECJTC1,Informationtechnology,SubcommitteeSC31,Automaticidentificationanddatacapturetechniques.Page28ReplaceClause9withthefollowing:9ReferencedecodealgorithmforDataMatrixThisreferencedecodealgorithmfindsaDataMatrixsymbolinanimageanddecodesit.a)Definemeasurementparametersandformadigitisedimage:1)Defineadistancedminwhichis7,5timestheaperturediameterdefinedbytheapplication.ThiswillbetheminimumlengthoftheLpattern'sside.ISO/IEC16022:2006/Cor.2:2011(E)2©ISO/IEC2011–Allrightsreserved2)Defineadistancegmaxwhichis7,5timestheaperturediameter.ThisisthelargestgapintheLfinderthatwillbetoleratedbythefinderalgorithminstepb).3)Defineadistancemminwhichis1,25timestheaperturediameter.Thiswouldbethenominalminimummodulesizewhentheaperturesizeis80%ofthesymbol’sXdimension.4)Formablack/whiteimageusingathresholddeterminedaccordingtothemethoddefinedinISO/IEC15415.b)SearchhorizontalandverticalscanlinesforthetwooutsideedgesoftheDataMatrixL:1)Extendascanlinehorizontallyinbothdirectionsfromthecentrepointoftheimage.Samplealongthescanline.Foreachwhite/blackorblack/whitetransitionfoundalongthescanlineresolvedtothepixelboundary:i)Followtheedgeupwardsamplingpixelbypixeluntileitheritreachesapoint3,5mmindistantfromtheintersectionofthescanlineandtheedgestartingpoint,ortheedgeturnsbacktowardtheintersectionofthescanlineandtheedge-thestartingpoint.ii)Followtheedgedownwardpixelbypixeluntileitheritreachesapoint3,5mmindistantfromtheintersectionofthescanlineandtheedgestartingpoint,ortheedgeturnsbacktowardtheintersectionofthescanlineandtheedge-thestartingpoint.iii)Iftheupwardedgereachesapoint3,5mminfromthestartingpoint:I)PlotalineAconnectingtheendpointsoftheupwardedge.II)Testwhethertheintermediateedgepointsliewithin0,5mminfromlineA.Ifso,continuetostepIII.Otherwiseproceedtostep1)iv)tofollowtheedgeintheoppositedirection.III)Continuefollowingtheedgeupwarduntiltheedgedeparts0,5mminfromlineA.Backuptotheclosestedgepointgreaterthanorequaltomminfromthelastedgepointalongtheedgebeforethedepartingpointandsavethisastheedgeendpoint.ThisedgepointshouldbealongtheLcandidateoutsideedge.IV)Continuefollowingtheedgedownwarduntiltheedgedeparts0,5mminfromlineA.Backuptotheclosestedgepointgreaterthanorequaltomminfromthelastedgepointalongtheedgebeforethedepartingpointandsavethisastheedgeendpoint.ThisedgepointshouldbealongtheLcandidateoutsideedge.V)CalculateanewadjustedlineA1thatisabestfitlinetotheedgeinthetwoprevioussteps.Thebestfitlineusesthelinearregressionalgorithm(usingtheendpointstoselecttheproperdependentaxis,i.e.ifclosertohorizontal,thedependentaxisisx)appliedtoeachpoint.Thebestfitlineterminateslinesatpointsp1andp2thatarethepointsonthebestfitlineclosesttotheendpointsoftheedge.VI)SavethelineA1segmenttwoendpoints,p1andp2.Alsosavethecolouroftheleftsideoftheedgeviewedfromp1top2.iv)Ifstepiii)failedordidnotextendupwardby3,5mmininstepiii)IV),testifthedownwardedgereachesapoint3,5mminfromthestartingpoint.Ifso,repeatthestepsiniii)butwiththedownwardedge.v)Ifneitherstepsiii)oriv)weresuccessful,testifboththeupwardanddownwardedgesterminatedatleast2mminfromthestartingpoint.Ifso,formanedgecomprisedoftheappended2mminlengthupwardanddownwardedgesegmentsandrepeatthestepsiniii)butwiththeappendededge.vi)Proceedtoandprocessthenexttransitionsonthescanline,repeatingfromstepi),untiltheboundaryoftheimageisreached.ISO/IEC16022:2006/Cor.2:2011(E)©ISO/IEC2011–Allrightsreserved32)Extendascanlineverticallyinbothdirectionsfromthecentrepointoftheimage.Lookforlinesegmentsusingthesamelogicinstep1)abovebutfollowingeachedgetransitionfirstleftandthenright.3)SearchamongthesavedlineA1segmentsforpairsoflinesegmentsthatmeetthefollowingfourcriteria:i)Ifthetwolineshavethesamep1top2directions,verifythatthecloseroftheinterlinep1top2distancesislessthangmax.Ifthetwolineshaveoppositep1top2directions,verifythatthecloseroftheinterlinep1top1orp2top2distancesislessthangmax.ii)Verifythatthetwolinesareco-linearwithin5degrees.iii)Verifythatthetwolineshavethesamesavedcolouriftheirp1top2directionsarethesameorthatthesavedcoloursareoppositeiftheirp1top2directionsareoppositetoeachother.iv)Formtwotemporarylinesbyextendingeachlinetoreachthepointontheextensionthatisclosesttothefurthestendpointoftheotherlinesegment.Verifythatthetwoextendedlinesaresep
本文标题:ISOIEC-16022(2006)---Cor2(2011)-DM码勘误
链接地址:https://www.777doc.com/doc-6491612 .html