wifi 802.11n 协议标准
wifi 802.11n 协议标准Contents2. Normative references ........................................................................................................................... 13. Definitions ...........................................................................................................EEE Std802.11n"-2009(Amendment to ieEE Std 802.11-2007as amended by ieee std 802. 11k-2008EEE Std80211r-2008, EE Std802.11y-2008,and IEEE Std 802. 11w-2009)EEE Standard forInformation technology-Telecommunications and informationexchange between systems-Local and metropolitan area networks-Specific requirementsPart 11: Wireless LAN Medium Access Control (MAC)and Physical Layer(PHY SpecificationsAmendment 5: Enhancements for HigherThroughputSponsorLANIMAN Standards committeeof theIEEE Computer SocietyApproved 11 September 2009IEEE-SA Standards boardAbstract: This amendment defines modifications to both the IEEE 802 1 1 physical layer(PHY)andthe IEEE 802 11 medium access control (MAC) sublayer so that modes of operation can be enabledthat are capable of much higher throughputs, with a maximum throughput of at least 100 Mb/s, asmeasured at the Mac data service access point (SAP)Keywords: high throughput, MAC, medium access control, MIMO, MIMO-OFDM, multiple inputmultiple output, PHY, physical layer, radio, wireless local area network, WLANThe Institute of Electrical and Electronics Engineers, Inc.3 Park Avenue New york NY 10016-5997 USACopyright@ 2009 by the Institute of Electrical and Electronics Engineers, IncAll rights reserved. Published 30 October 2009. Printed in the United States of AmericaIEEE is a registered trademark in the U.S. Patent Trademark Office, owned by the Institute of Electrical and ElectronicsEngineers, IncorporatedPDFSBN978-0-7381-60467STD95961Print:|SBN9780-7381-6047-4STDPD95961No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without the priorwritten permission of the publisherIEEE Standards documents are developed within the ieee Societies and the standards Coordinating Committees ofthe IEee Standards Association (IEEE-SA) Standards Board. The ieee develops its standards through a consensusdevelopment process, approved by the American National Standards Institute, which brings together volunteersrepresenting varied viewpoints and interests to achieve the final product. Volunteers are not necessarily members of theInstitute and serve without compensation. While the ieee administers the process and establishes rules to promotefairness in the consensus development process, the ieee does not independently evalof any of the information or the soundness of any judgments contained in its standar uate, test, or verify the accuracyUse of an IEEE Standard is wholly voluntary. The ieee disclaims liability for any personal injury, property or otherdamage, of any nature whatsoever, whether special, indirect, consequential, or compensatory, directly or indirectlyresulting from the publication, use of, or reliance upon this, or any other iEFF Standard documentThe ieee does not warrant or represent the accuracy or content of the material contained herein, and expresslydisclaims any express or implied warranty, including any implied warranty of merchantability or fitness for a specificpurpose, or that the use of the material contained herein is free from patent infringement. IEEE Standards docunentsare supplied‘ASIS.The existence of an IEEE Standard does not imply that there are no other ways to produce, test, measure, purchasemarket, or provide other goods and services related to the scope of the ieee Standard. Furthermore, the vintexpressed at the time a standard is approved and issued is subject to change brought about through developments in thetate of the art and comments received from users of the standard. Every ieee standard is subjected to review at leastevery five years for revision or reaffirmation, or every ten years for stabilization. When a document is more than fiverears old and has not been reaffirmed, or more than ten years old and has not been stabilized, it is reasonable toconclude that its contents, although still of some value, do not wholly reflect the present state of the art. Users arecautioned to check to determine that they have the latest edition of any IEEE StandardIn publishing and making this document available, the IEee is not suggesting or rendering professional or othcrservices for, or on behalf of, any person or entity. Nor is the IEEE undertaking to perform any duty owed by any otherperson or entity to another. Any person utilizing this, and any other IEEE Standards document, should rely upon his orher independent judgment in the exercise of reasonable care in any given circumstances or, as appropriate, seek theadvice of a competent professional in deternining the appropriateness of a given IEEE standardInterpretations: Occasionally questions may arise regarding the meaning of portions of standards as they relate tospecific applications. When the need for interpretations is brought to the attention of IEEE, the Institute will initiateaction to prepare appropriate responses. Since IEFF Standards represent a consensus of concerned interests, itimportant to ensure that any interpretation has also received the concurrence of a balance of interests. For this reason,IEEE and the members of its societies and Standards Coordinating Committees are not able to provide an instantresponse to interpretation requests except in those cases where the matter has previously received formal considerationA statement, written or oral, that is not processed in accordance with the IEEE-SA Standards Board Operations Manualshall not be considered the official position of ieee or any of its committees and shall not be considered to be, nor berelied upon as, a formal interprctation of the IEEE. At lectures, symposia, seminars, or educational courses, anindividual presenting information on IEEE standards shall make it clear that his or her views should be considered thepersonal views of that individual rather than the formal position, explanation, or interpretation of the IeEeComments for revision of IEEE Standards are welcome from any interested party, regardless of membership affiliationwith IEEE. Suggestions for changes in documents should be in the form of a proposed change of text, together withappropriate supporting comments. Recommendations to change the status of a stabilized standard should include atonale as to why a revision or withdrawal is required. Comments on standards and requests for interpretations shouldbe submitted to the following addressSecretary, IEEE-SA Standards board445 Hoes lanePiscataway, NJ 08854USAAuthorization to photocopy portions of any individual standard for internal or personal use is granted by The Instituteof Electrical and Electronics Engineers, Inc, provided that the appropriate fee is paid to Copyright Clearance CenterTo arrange for payment of licensing fee, please contact Copyright Clearance Center, Customer Service, 222 RosewoodDrive, Danvers, MA 01923 USA; +1978750 8400 PerImission lo photocopy portions of any individual standard foreducational classroom use can also be obtained through the Copyright Clearance CenterIntroductionThis introduction is not part of IEee Std 802. 11n-2009, IEEE Standard for Information technology-Telecommunications and information exchange between systems--Local and metropolitan networks--Specifirequirements-Part 11: Wireless LAN Medium Access Control(MAC) and Physical Layer(PHY) SpecificationsAmendment 5: Enhancements for Higher ThroughputThis amendment specifies enhancements to IEEE 802. 11 physical layer(PHY)and medium access control(MAC) sublayer to provide modes of operation with useful data rates substantially higher than thosepreviously available. Significantly higher IEEE 802. 11 wireless local area network(WLAN) throughput isexpected to improve user experiences for current applications and to enable new applications and marketsegmentsNotice to usersLaws and requlationsUsers of these documents should consult all applicable laws and regulations. Compliance with theprovisions of this standard does not imply compliance to any applicable regulatory requirementsImplementers of the standard are responsible for observing or referring to the applicable regulatoryrequirements. iEEE does not, by the publication of its standards, intend to urge action that is not incompliance with applicable laws, and these documents may not be construed as doing so on that is not inCopyrightsThis document is copyrighted by the Ieee. It is made available for a wide variety of both public and privateuses.These include both use, by reference, in laws and regulations, and use in private self-regulationstandardization, and the promotion of engineering practices and methods. By making this documentavailable for use and adoption by public authorities and private users, the ieee does not waive any rights incopyright to this documentUpdating of IEEE documentsUsers of ieFF standards should be aware that these documents may be superseded at any time by theissuance of new editions or may be amended from time to time through the issuance of amendments,corrigenda, or errata. An official ieee document at any point in time consists of the current edition of thedocument together with any amendments corrigenda or errata then in effect In order to determine whethera given document is the current edition and whether it has been amended through the issuance ofamendmentscorrigendaorcrrata,visittheIeeEStandardsAssociationwebsiteathttp://ieeexplore. ieee. org/xpl/standards. jsp or contact the iEee at the address listed previously.For more information about the IEEE Standards Association or the Ieee standards development process,visittheIeeE-sawebsiteathttp://standards.ieeeorgErrataErrata,ifanyforthisandallotherstandardscanbeaccessedatthefollowingUrl:http://standards. ieee. org/reading/ieee/updates/errata/index. html. Users are encouraged to check this URL forta periodicallyInterpretationsCurrentinterpretationscanbeaccessedatthefollowingUrl:http://standards.ieeeorg/reading/ieee/interp/index htmlCopyright C 2009 IEEE. All rights reservedPatentsAttention is called to the possibility that implementation of this amendment may require use of subjectmatter covered by patent rights. By publication of this standard, no position is taken with respect to theexistence or validity of any patent rights in connection therewith. a patent holder or patent applicant hasfiled a statement of assurance that it will grant licenses under these rights without compensation or underreasonable rates, with reasonable terms and conditions that are demonstrably free of any unfairdiscrimination to applicants desiring to obtain such licenses. Other Essential Patent Claims may exist forwhich a statement of assurance has not been received. The Ieee is not responsible for identifying EssentialPatent Claims for which a license may be required, for conducting inquiries into the legal validity or scopeof Patents Claims, or determining whether any licensing terms or conditions are reasonable or nondiscriminatory. Users of this standard are expressly advised that determination of the validity of any patentrights, and the risk of infringement of such rights, is entirely their own responsibility. Further informationmay be obtained from the ieee Standards associationParticipantsWhen this amendment was sent to sponsor ballot, the IEEe 802. 11 Working Group had the followingofficersBruce P. Kraemer, ChairJon Walter Rosdahl, Vice Chair; Treasurer; and Chair, Task Group mbAdrian P. Stephens Vice chairStephen McCann, Secretary and Chair, Publicity standing Committee and Task group uTerry L. Cole, Technical Editor and Assigned Number AuthorityTeik-Kheong Tan, Chair, Wireless Next Generation Standing CommitteeDavid Bagby, Chair, Architecture Standing CommitteeBruce p. kraemer Co-Chair IMT-Advanced ad hoc commiteeLee armstrong, Chair, Task Group pDonald E Eastlake Ill, Chair;, Task Group sNeeraj Sharna, Chair, Task group lDorothy V. Stanley, Chair, Task Group v and IETF Ad hoc CommitteeJesse Walker, Chair. cTl Ad hoc committeePeter Ecclesine, Chair, Task group yMenzo Wentink, Chair, Task group zGancsh Venkatesan, Chair, Task Group aaEldad Perahia, Chair, Very High Throughput Study groupDarwin Enger, Co-Chair. IMT-Advanced ad hoc committeeWhen this amendment was sent to sponsor ballot, Task Group n had the following officersBruce P Kraemer. chairSILi. vice chairGarth Hillman and Jon Walter Rosdahl, SecretaryAdrian P. Stephens, Technical editorWhen this amendment was sent to sponsor ballot, the IEeE 802. 1l Working Group had the followingmembershiOsama S. aboulmagdMalik audchAmit bansalTomoko adachiCcrt A, awatoJohn. barrAlok aggarwalDavid bagbGal bassonCarlAldanaMichael bahrussa BavafaThomas AlexanderFan baiTuncer BaykasLee r. ArmstrongGabor BaikoJohn L. BenkoAlex ashleyDennis j. bakerMathilde benvenisteCopyright C 2009 IEEE. All rights reservedBiorn A. berkeRobert Y huangChiu ngoDaniel borgesDavid hunterEero nikulaAnthony braskichYasuhiko inoueRichardH. noensJoseph brennanAkio isoHideaki odagiriDavid britzJunghoon JeeJisung OhG. BumillerHongseok JeonChandra s. olsonNancy Cam-WingetYeonkwon JeongYouko omorNecati CanpolatJorjeta G JetchevaSatoshi oyamaJavier cardonaLusheng jiRichard H. PaineDouglas s ChanDaniel JiangAuld. palaniveluClint F. ChaplinPadam AflChangmin ParkCarl W. KainJungsoo parkMinho CheongNaveen K KakanMinyoung ParkMasato katoⅤ ijaykumar PatelNakjungDouglas KanBcminih. peirisLiwen chuRichard H. KennedyEldad perahiaTerry L. ColeJohn KenneJames e. petranovichRyon K. ColemanStuart 3. KerryAl PetrickCharles IJoonsuk kinFahd pirzadaTodor CooklevKyeongpyo KimJames d. portaroXavier p CostaSeong S. kimHenry s. PtasinskiDavid E CypherYongsan KimRene purnadiMarc de courvilleJarkko kneckChang w. PyoRolf J de vegtMark m. kobayashiEmily H QiTheodorus denteneerFumihide KojimaLuke QianJeremy de vriesTom KolzeHuyu QuSusan DickeyBruccp KJim e raabZhiming DingJohannes P KruysⅤ nuth raiYoshiharu doThomas KuehnelAli RaissiniaJohn dorseyThomas m. KuriharaHarish ramamurthyRoger P durandStephen G raymentSrinivasa duvvuriEdwin kwonLeonid razoumovDonald e. eastlakeZhou lanIvan reePeter Ecclesiaejeremy A landtEdward reussMichael ellisJoseph P. lauerAlex reznikStephen P. EmeottTae H. LeeRandal roebuckMarc emmelmannWooyoung leeJon walter rosdahlDarwin EngwerJoseph levyRichard royJoseph epsteinSheung liAlexander safonovⅤ inko ercegPaul linKazuyuki sakodaLars p. falkIlang liuHemanth sampathRobert fanfcllMichael livshitzKatsuyoshi SatoStefan fechterPeter LocHirokazu sawadaPaul h. feinberDaniel lubarDon schultzMatthew FischerAnthony f. maidaYongho SeokWayne k. FisherJakub majkowskiHuairong shaoRoberta fracchiAlastair MalarkyNeeraj sharmaRyuhei FundaJouni K. malinenStephen J ShellhammerMatthew gastAlexander maltsevlan SherlockJames p gilbBill marshallKai shiJeffrey gilbertRoman m. maslennikovShusaku shimadaReinhard GlogerSudheer mattaFrancois simonDavid goodallStephen Mc cannHarkirat SinghTugrul guenerJustin p mcnewGraham K. SmithJianlin gven meseckeMatt smithMark hamiltonRobert r. millerYoo-Seung SongC.J. HanseMichael monteKapil seBrian d. hartRajendra T. moortiVinay SridharaAmer A haHitoshi moriokaDorothy stanleⅤ egard hasselPeter MurrayAdrian P. StephensRobert f heileAndrew milesDavid S Stephenson〔 undo r. HertzRohit nabarCarl R. StevensonJunling hiJohn stineWendong huKengo nagataGuenaelt strutCopyright C 2009 IEEE. All rights reservedChin s SumGanesh VenkateHarry R. worstellEiji TakagiDalton t.Ⅴ ictorPengfei xiaMineo takaiGeorge A. vlantisAkira yamadaTcik-Khcong TanCssc r. walkerTakeshi yamamotoAllan thomsonunlWangmoya yamauraJerry thrasherngEric okuboCraig d. WarrenSu K. YongAlexander TolpinFujio WatanabeSeiji YoshioJason trachewskyPatrick WayeChristopher YoungSolomon b. traininMenzo m. wentinkArtur zaksRichard D. Van NeeFrank whettenHongyuan zhangAllert van zelstKyle williamsHuimin zhangMathieuⅤ arlet-AndmJames worshamJing zhiPrabodh varshneyJuan ZunigaContributions to this amendment was received from the following individualsBill ablⅵ inko ErcegPatrick labbeSantosh abrahamMustafa rozJoseph lauerTomoko adachiStefan fechterDongjun leeDmitry akhmetovPaul feinbergLin-Nan leeCarlos aldanaMatthew fischereeDave andrusGuido frederiksSok-kyu LeeMicha anholtTakashi FukagawaZhongding leiTsuguhide AokiPatrick FungJoseph levyYusuke asarEdoardo gallizioScott leyonhjelGeert awaterJames gardnerPen liDavid BaDevis gattSheung LiRaja banerjeaDavid HedbergYuan liKaberi banerieeGarth hillmanKevin liaoAmit bansalJin-Meng hoIsaac limGal bassonDale hocevarAlfred linAnui batraLouise hooAlbert liuJohn benkoMuhammad akramDer-Zheng liuMathilde benvenisteYasuhiko inoueMichael livshitzBjorn BjerkeKaz ishidaYufei BlakenshipTakashi ishidoshiroPeter LojkoDaniel borgesLakshmi lyerHui-Ling LouDouglas chanEric JacobsonAdina matacheJerry ChangYuh-Ren jauhLaurent mazetJohn ChangTaehyun JeonWilliam mcfarlandJeng-Hong ChenJari JokelaDarren mcnamaraStephen ChenVKJonesIrina medvedevYi-Ming ChenPadam AflArnaud meylanPei-ju ChiangNaveen KakaniMorgan mikFrancois chinSriniavs kandalaSeungwook minWoon Hau ChinAteet KapurPatrick mo上 mily chouAssaf KasherAndy molischLiwen chuMasato katoR. Tushar moortiKeith ChuggJohn KetchumMike moretonBrian ClassonJoonsuk KYuichi moriokaSean CoffeyPansop KimMarkus muckGabriella convertinoYoungsoo KimSyed Aon mujtabaMarc de courvilleGuenter KleindlAndrew mylesRolf de vegtKiyotaka KobayashiRohit nabarFranz dielacherCenk Koselhasa NagaiYoshiharu doiBruce p KraemerKengo NagataJohn deThomas KuehnelSeigo NakaodouglasTakushi KunihiroSanjiv nandaPeter ecclesiaeJoe KwakChiu nDarwin EngwerJoseph kwakAjit NimbalkerLeonid epsteinEdwin kwonGunnar NitscheCopyright C 2009 IEEE. All rights reservedHuaning NiuErik SchylanderRichard van neeIvan oakesMichael sealsNico van waesYoshihiro ohtanilual-Rong ShaoAllert van zelstEric OjardSuman sharmaAndres vila casadoTakeshi onizawaSteve shellhammerGeorgeⅵ lantisJob oostveenIan SherlockTimothy WakeleyFabio osnatoMasaaki shidaJesse walkerKafle padamTakashi shonoBrad wallacePratima paiSebastien SimoensMark wallaceArul palaniveluMassimiliano sitiRod waltonSubra parameswaraDoug SmithQi WThomas pareMatt smithXiaowen WangJean-Noel PatillonAmjadDeric WatersWei-Chung PengRobert staceyMark WebsterEldad perahiaAdrian P. StephensMenzo WentinkJim petranovichRichard WeseKrishna madhavan pillaiVictor StolpmanMike WilhoyteMadhavan pillaiSumei sunTimothy WongAngelo PoloniXiantao sunJames WoodyattNeeraj poojaryShravan surineniHenry ptasinskiIlan sutskoverAriton XhafaAleksandar PurkovicEiji Takagio xiaLuke oianMasahiro takasTomoya YamauraAli RaissiniaSeiichiro TakahashiEric YangSthanunathan ramakrishnanDaisuke takedaWen-Chang YehHarish RamamurthyTeik-Kheong TanChristopher YoungSridhar rameshYasuhiro TanakaHeejung YuRaffaele rivaStephan ten brinkArtur ZaksJon walter rosdahlGanesan ThiagarajanEldad zeiraStephanie Rouquette-LeveilEric OkuboHongyuan zhaMike rudeTim TowellJin ZhangJohn sadowskiJason trachewskyNing ZhangAtul salhotraSolomon traininQuan ZhouVincenzo scarpaDavid tungJohnny ZweigDonald schultzStefano valleJim syrenThe following members of the individual balloting committee voted on this amendment. Balloters may havevoted for approval, disapproval, or abstentionOsama aboulmagdBill cannonSouray duttaTomoko adachiJing CaoRichard eckardAlok AggarwalEdward CarlesCarl EklundThomas alexandeJames CarloStephen emeottRichard AlvinJuan CarreonMarc emmelmannEdward ChalfDarwin EngwcButch AntonDouglas s ChanJoseph epsteinDanilo antonelliKuor-Hsin ChangRobert fanfelleClint ChaplinShahin FarahaniDavid BagbyWei-Peng ChenShulan FengGabor BaikoYung-Mu ChenOddgeir FikstvedtMatthew ballHong ChengMatthew fischerRaja banerjeaAik ChindapoPrince francisVered BKeith ChowAvraham FreedmanJohn barrLiwen ChuDevon gaylePhilip beecherRyon ColemanMichael GeipelMathilde benvenisteCharles cookTheodore Georgantasharry bimsTodor CookiePieter -Paul giesbertsBjorn BjerkeHelge CowardJames gilbMonique brownJoseph decuirReinhard glogerRussell dietzMariana goldhamerWilliam byrdThomas dineenScrgiu gomaPctcr. calderonJohn dorseyDavid goodallCopyright C 2009 IEEE. All rights reserved
- 2021-05-06下载
- 积分:1
opencv2.4.9源码分析——SIFT
详细介绍SIFT算法,opencv的SIFT源码分析,以及应用实例SIFT算法进行了改进,通过对两个相邻高斯尺度空间的图像相减,得到个DoG(高斯差分,Difference of gaussians)的响应值图像Dx,y,σ)来近似LoGD(x,y, o)=(G(x,y, ko)-G(x,y,o)O1(x,y)=L(x,y, ko)-L(x,y,a(5)其中,k为两个相邻尺度空间倍数的常数。可以证明DoG是对LoG的近似表示,并且用DoG代替LoG并不影响对图像斑点位賀的检测。而且用DoG近似LoG可以实现下列好处:第一是LoG需要使用两个方向的高斯二阶微分卷积核,而DoG直接使用晑斯卷积核,省去了卷积核生成的运算量;第二是DoG保留了个高斯尺度空间的图像,因此在生成某一空间尺度的特征时,可以直接使用公式1(或公式3)产生的尺度空间图像,而无需重新再次生成该尺度的图像:第三是DoG具有与LoG相同的性质,即稳定性好、抗干扰能力强。为了在连续的尺度下检测图像的特征点,需要建立DoG金宇塔,而DoG金宁塔的建立又离不开髙斯金字塔的建立,如下图所小,左侧为高斯金字塔,右侧为DoG金字塔:(nextoctave)Scale(firstoctave)Difference ofaussianGaussian(DOG)图1高斯金字塔和DoG金字塔高斯金字塔共分O组( Octave),每组又分S层( Layer)。组内各层图像的分辨率是相同的,即长和宽相同,但尺度逐渐增加,即越往塔顶图像越模糊。而下·组的图像是由上组图像按照隔点降采样得到的,即图像的长和宽分别减半。高斯金字塔的组数O是由输入图像的分辨牽得到的,因为要进行隔点降采样,所以在执行降釆样生成高斯金字塔时,一直到不能降采样为止,但图像太小又亳无意义,因此具体的公式为:0=| log2 min(x,y)-2」(6)其中,X和Y分别为输入图像的长和宽,L」衣示向下取整。金字塔的层数S为:(7)LoWe建议s为3。需要注意的是,除了公式7中的第一个字母是大写的S外,后面出现的都是小写的s髙斯金字塔的创建是这样的:设输入图像的尺度为0.5,由该图像得到高斯金字塔的第0组的第0层图像,它的尺度为m,我们称m为基准层尺度,再由第0层得到第1层,它的尺度为ko,第2层的尺度为k2o,以此类推。这里的k为:(8)我们以s=3为例,第0组的6(s+3=6)幅图像的尺度分别为:0,ko0,k2∞,k3o0,k∞o,k5o(9)写成更一般的公式为:d=or∈[0,,s+2](10)第0组构建完成后,再构建第1组。第1组的第0层图像是由第0组的倒数第3层图像经过隔点采样得到的。由公式10可以得到,第0组的倒数第3层图像的尺度为k∞o,k的值代入公式8,得到了该层图像的尺度正好为2∞,因此第1组的第0层图像的尺度仍然是2∞。但由于第1组图像是由第0组图像经隔点降采样得到的,因此相对于第1组图像的分辨率来说,第θ层图像的尺度为ω,即尺度为2σ是相对于输入图像的分辨率来说的,而尺度为∞是相对丁该组图像的分辨率来说的。这也就是为什么我们称0为基准层尺度的原因(它是每组图像的基准层尺度)。第1组其他层图像的生成与第0组的相同。因此可以看出,第1组各层图像的尺度相对于该组分辨率来说仍然满足公式10。这样做的好处就是编程的效率会提高,并且也保证∫高斯金字塔尺度空间的连续性。而之所以会出现这样的结果,是因为在参数选择上同吋满足公式7、公式8以及对上·组倒数第3层图像降釆样这三个条件的原因。那么第1组各层图像相对」输入图像来说,它们的尺度为:=2k00r∈[0,,S-2该公式与公式10相比较可以看出,第1组各层图像的尺度比第0组相对应层图像的尺度人了一倍。高斯金字塔的其他组的构建以此类推,不再赘述。下面给出相对于输入图像的各层图像的尺度公式:o,)=2k∞O∈[0,O-1l,r∈[0,,+2(12)其中,O表示组的坐标,r表示层的坐标,a为基准层尺度。k用公式8代入,得:2O∈[0,…0-1],r∈[0,…,s+2](13)在高斯金字塔中,第0组第∂层的图像是输入图像经髙斯模糊后的结果,模糊后的图像的高频部分必然会减少,因比为了最大程度的保留原图的信息量,LoWe建议在创建尺度空间前首先对输入图像的长宽扩展一倍,这样就形成了高斯金字塔的第-1组。设输入图像的尺度为0.5,那么相对于输入图像,分辨率护人一倍后的尺度应为1,由该图像依次进行高斯平滑处理得到第-1组的各个层的尺度图像,方法与其他组的一样。由于增加」第-1组,因此公式13重新写为(0∈[-1,0,…,0-1],r∈[0,…,s+2](14)DoG金字塔是由高斯金字塔得到的,即高斯金宁塔组内相邻两层图像相减得到DoG金字塔。如髙斯金字塔的第0组的筼0层和第1层相减得到DoG金字塔的第0组的箅0层图像,高斯金字塔的第0组的第1层和第2层相减得到υσG金字塔的第θ组的第1层图像以此类推。需要注意的是,高斯金字塔的组内相邻两层相减,而两组间的各层是不能相减的因此高斯金字塔每组有s+3层图像,而DoG金宁塔每组则有s+2层图像。极值点的搜索是在DoG金字塔内进行的,这些极值点就是候选的特征点。在搜索之前,我们需要在DoG金字塔内剔除那些像素值过小的点,因为这些像素具有较低的对比度,它们肯定不是稳定的特征点。极值点的搜索不仅需要在它所在尺度空间图像的邻域内进行,还需要在它的相邻尺度空间图像内进行,如图2所示。每个像素在它的尺度图像中一共有8个相邻点,而在它的下一个相邻尺度图像和上个相邻尺度图像还各有9个相鸰点(图2中绿色标注的像素),也就是说,该点是在3×3×3的立方体内被包围着,因此该点在DoG金字塔内一共有26个相邻点需要比较,来判断其是否为极大值或极小值。这里所说的相邻尺度图像指的是在同个组内,因此在DoG金字塔内,每一个组的第0层和最后一层各只有一个相邻尺度图像,所以在搜索极值点时无需在这两层尺度图像内进行,从而使极值点的搜索就只在每组的中间s层尺度图像内进行。搜索的过程是这样的:从每组的第1层开始,以第1层为当前层,对第1层的DoG图像中的每个点取·个3×3×3的立方体,立方体上下层分别为第0层和第2层。这样,搜索得到的极值点既有位置坐标(该点所在图像的空间坐标),又有尺度空间坐标(该点所在层的尺度)。当第1层搜索完成后,再以第2层为当前层,其过程与第1层的搜索类似,以此类推。Scale图2DoG中极值点的搜索2、特征点的定位通过上一步,我们得到了极值点,但这些极值点还仅仅是候选的特征点,因为它们还存在一些不确定的因素。首先是极值点的搜索是在离散空间内进行的,并且这些离散空间还是经过不断的降采样得到的。如果把采样点拟合成由面后我们会发现,原先的极值点并不是真正的极值点,也就是离散空间的极值点并不是连续空间的极值点。在这里,我们是需要精确定位特征点的位置和尺度的,也就是要达到亚像素精度,因此必须进行拟合处。我们使用泰勒级数展开式作为拟合函数。如上所述,极值点是·个三维矢量,即它包括极值点所在的尺度,以及它的尺度图像坐标,即=(x,y,o),因此我们需要三维函数的泰勒级数展开式,设我们在=(x0,y,)处进行泰勒级数展开,则它的矩阵形式为:602f02f02fdxax day dao02f02f02faxdy ayay ayaallly-yol2f02f02fOrdo aydo dodo(15)公式15为舍去高阶项的形式,而它的矢量表示形式为f(X)=f(X0)+o¥(X-x0)+7(x-x0)a F(X-Xo(16)在这里表示离散空间卜的插值中心(在离散空问内也就是采样点)坐标,表示拟合后连续空间下的插值点坐标,设ⅹ=Ⅹ-Xn,则X表示相对于插值中心,插值后的偏移量。因此公式16绎过变量变换后,又可写成:f(x)=f(X0)+yX+XTⅩX20X2(17)对上式求导,得af (x a02f0ox ox+2 ax2+axa80f.02fXaxaX2(18)让公式17的导数为0,即公式18为0,就可得到极值点下的相对于插值中心的偏移量:aX2 ax(19)把公式19得到的极值点带入公式17中,就得到了该极值点下的极值Tf(X)=f(X0)+af02f10f)a2f/02f-1of2 8X2 0X/0X28X2dXf(X0)+H打×1ora2Ta2f-ra2fa2f-1 af2 dx dx2dx2dx2 dXa f02f-10f∫(X0)+dF×f7a22 ax ax2 axaflf(Xo)+xx+2 0X(-X)18Ff(X0)+2 aX(20)对于公式19所求得的偏移量如果大」0.5(只要x、y和σ任意一个量大于0.5),则表明插值点已偏移到了它的临近的插值中心,所以必须改变当前的位置,使其为它所偏移到的插值中心处,然后在新的位置上重新进行泰勒级数插值拟合,直到偏移量小于0.5为止(x、y和σ都小于0.5),这是一个迭代的工程。当然,为了避免无限次的迭代,我们还需要设置个最人迭代次数,在达到了迭代次数但仍然没有满足偏移量小于0.5的情况下,该极值点就要被剔除掉。另外,如果由公式20所得到的极值f(X过小,即f(X1,则Tr(H)2(a+β)2(+β)2(y+1)2Det(h)2(25)上式的结果只与两个特征值的比例有关,而与具体的特征值无关。我们知道,当某个像系的矩阵的两个特征值相差越大,即γ很大,则该像素越有可能是边缘。对于公式25,当两个特征值相等时,等式的值最小,随着γ的增加,等式的值也增加。所以,要想检查主曲率的比值是否小于某一阈值y,只要检査下式是否成立即可:Tr(H)(y+1)Det(h)(26)对于不满足上式的极值点就不是特征点,因此应该把它们剔除掉。Lowe给出γ为10在上面的运算中,需要用到有限差分法求偏导,在这里我们给出具体的公式。为方便起见我们以图像为例只给出二元函数的实例。与二元函数类似,三元函数的偏导可以很容易的得到设f(i,是ν轴为i、x轴为j的图像像素值,则在(j点处的一阶、二阶及二阶混合偏导af f(i, j+1)-f(i, j0ff(i+1,j)-f(-1,ax2h2h(27)ff(+1)+f(-1)-2f(,j)a2ff(+1,j+f(-1,j)-2f(i,j)hh(28)2ff(-1,j-1)+f(i+1,j+1)-f(i-1,+1)-f(i+1,-1)dx d(29)由丁在图像中,相邻像素之问的间隔都是1,所以这里的h3、方向角度的确定经过上面两个步骤,一幅图像的特征点就可以完全找到,而且这些特征点是具有尺度不变性。但为了实现旋转不变性,还需要为特征点分配一个方向角度,也就是需要根据检测到的特征点所在的高斯尺度图像的局部结构求得一个方向基准。该高斯尺度图像的尺度a是已知的,并且该尺度是相对于高斯金字塔所在组的基准层的尺度,也就是公式10所表示的尺度。而所谓局部结构指的是在高斯尺度图像中以特征点为中心,以r为半径的区域内计算所有像素梯度的幅角和幅值,半径r为(30)其中a就是上面提到的相对于所在组的基准层的高斯尺度图像的尺度。像素梯度的幅值和幅角的计算公式为:m(xy)=√(x+1,y)-L(x-1,y)2+(L(x,y+1),L(x,y-1)2(31)L(x,y+1)-L(x,y-1)o(x, y)=arctanL(x+1,y)-L(x-1,y)(32)因为在以〃为半径的区域内的像素梯度幅值对圆心处的特征点的贡献是不同的,因此还需要对幅值进行加权处理,这里采用的是高斯加权,该高斯函数的方差Cm为:Om=1.50(33)其中,公式中的σ也就是公式30中的σ在完成特征点邻域范围内的梯度计算后,还要应用梯度方向直方图来统计邻域內内像素的梯度方向所对应的幅值大小。具体的做法是,把360°分为36个柱,则每10°为一个柱,即0°~9为第1柱,10°~19为第2柱,以此类推。在以r为半径的区域内,把那些梯度方向在0~9°范围内的像索找出来,把它们的加权后的梯度嘔值相加在一起,作为第1柱的柱高;求第2柱以及其他柱的高度的方法相同,不再赘述。为了防止某个梯度方向角度因受到噪声的干扰而突变,我们还需要对梯度方向直方图进行平滑处理。 Opencv2.4.9所使用的平滑公式为:H()~h(-2)+h(+2)4×(h(-1)+h(+1)),6×h()i=0...15161616(34)其中h和H分别表示平滑前和平滑后的直方图。由于角度是循环的,即0°=360°,如果出现h(),j超出了(0,…,15)的范围,那么可以通过圆周循环的方法找到它所对应的、在0°~360°之间的值,如h(-1)-h(15)这样,直方图的主峰值,即最高的那个柱体所代表的方向就是该特征点处邻域范围内图像棁度的主方向,也就是该特征点的上方向。由于柱体所代表的角度只是一个范围,如第1柱的角度为0~9°,因此还需要对离散的梯度方向直方图进行插值拟合处理,以得到更精确的方向角度值。例如我们凵经得到了第i柱所代表的方向为特征点的主方向,则拟合公式为:H(i-1)-H(i+1)B=i+=0,…152×(H(-1)+H(i+1)-2×H()(35)O=360-10xB(36)其中,H为由公式34得到的直方图,角度6的单位是度。同样的,公式35和公式36也存在着公式34所遇到的角度问题,处理的方法同样还是利用角度的圆周循环。每个特征点除了必须分配一个主方向外,还可能有一个或更多个辅方冋同,增加辅方向的目的是为了增强图像匹配的鲁棒性。辅方向的定义是,当存在另个柱体高度大于主方向柱体高度的80%时,则该柱体所代表的方向角度就是该特征点的辅方向。在第2步中,我们实现∫用两个信息量来表小一个特征点,即位置和尺度。那么经过上面的计算,我们对特征点的表示形式又增加了个信息量一一方向,即(x,y,o,6)。如果某个特征点还有一个辅方向,则这个特征点就要用两个值来表示——(x,y,,B1)和(x,y,,02),其中O1表示主方向,O2表示辅方向,而其他的变量x,y,不变。4、特征点描述符生成
- 2020-06-25下载
- 积分:1