欢迎来到天天文库
浏览记录
ID:36688420
大小:514.60 KB
页数:34页
时间:2019-05-10
《《光流法opencv》PPT课件》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、IntroductiontoOpenCVDavidStavensStanfordArtificialIntelligenceLabAside:HistogramEqualizationImagesarefromWikipedia.Todaywe’llcode:Afullyfunctionalsparseopticalflowalgorithm!PlanOpenCVBasicsWhatisit?Howdoyougetstartedwithit?FeatureFindingandOpticalFlowAbriefmathematicaldiscussion.OpenCVImplementa
2、tionofOpticalFlowStepbystep.WhatisOpenCV?Created/MaintainedbyIntel.Reallyfourlibrariesinone:“CV”–ComputerVisionAlgorithmsAllthevisionalgorithms.“CVAUX”–Experimental/Beta“CXCORE”–LinearAlgebraRawmatrixsupport,etc.“HIGHGUI”–Media/WindowHandlingRead/writeAVIs,windowdisplays,etc.Checkoutthesamplesdi
3、rectory!InstallingOpenCVDownloadfrom:http://sourceforge.net/projects/opencvlibrary/BesuretogetVersion1.0.0.Windowsversioncomeswithaninstaller.Linux:(InstallffMPEGfirst!)gunzipopencv-1.0.0.tar.gz;tar–xvfopencv-1.0.0.tarcdopencv-1.0.0;./configure--prefix=/usr;makemakeinstall[asroot]CopyalltheDLLsi
4、nOpenCVbintoWINDOWSSystem32.TellVisualStudiowheretheincludesare.(ImportaCfilefirst.)TellVisualStudiotolinkagainstcxcore.lib,cv.lib,andhighgui.lib.TellVisualStudiotodisablemanagedextensions.BetterPerformance:ICCandIPLIntelC/C++CompilerIntelIntegratedPerformancePrimitives~30–50%SpeedUpPlanOpen
5、CVBasicsWhatisit?Howdoyougetstartedwithit?FeatureFindingandOpticalFlowAbriefmathematicaldiscussion.OpenCVImplementationofOpticalFlowStepbystep.OpticalFlow:OverviewGivenasetofpointsinanimage,findthosesamepointsinanotherimage.or,givenpoint[ux,uy]TinimageI1findthepoint[ux+δx,uy+δy]TinimageI2thatmin
6、imizesε:(theΣ/w’sareneededduetotheapertureproblem)OpticalFlow:UtilityTrackingpoints(“features”)acrossmultipleimagesisafundamentaloperationinmanycomputervisionapplications:Tofindanobjectfromoneimageinanother.Todeterminehowanobject/cameramoved.Toresolvedepthfromasinglecamera.Veryusefulforthe223bco
7、mpetition.Determinemotion.Estimatespeed.Butwhataregoodfeaturestotrack?FindingFeatures:OverviewIntuitively,agoodfeatureneedsatleast:Texture(orambiguityintracking)Corner(orapertureproblem)Butwhatdoesthismeanformally?Shi/Tomasi
此文档下载收益归作者所有