




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
MotionestimationDigitalVisualEffectsYung-YuChuangwithslidesbyMichaelBlackandP.AnandanMotionestimationParametricmotion(imagealignment)TrackingOpticalflowParametricmotiondirectmethodforimagestitchingTrackingOpticalflowThreeassumptionsBrightnessconsistencySpatialcoherenceTemporalpersistenceBrightnessconsistencyImagemeasurement(e.g.brightness)inasmallregionremainthesamealthoughtheirlocationmaychange.SpatialcoherenceNeighboringpointsinthescenetypicallybelongtothesamesurfaceandhencetypicallyhavesimilarmotions.Sincetheyalsoprojecttonearbypixelsintheimage,weexpectspatialcoherenceinimageflow.TemporalpersistenceTheimagemotionofasurfacepatchchangesgraduallyovertime.ImageregistrationGoal:registeratemplateimageT(x)andaninputimageI(x),wherex=(x,y)T.(warpIsothatitmatchesT)Imagealignment:I(x)andT(x)aretwoimagesTracking:T(x)isasmallpatcharoundapointpintheimageatt.I(x)istheimageattimet+1.Opticalflow:T(x)andI(x)arepatchesofimagesattandt+1.TfixedIwarpSimpleapproach(fortranslation)MinimizebrightnessdifferenceSimpleSSDalgorithmForeachoffset(u,v)computeE(u,v);Choose(u,v)whichminimizesE(u,v);Problems:NotefficientNosub-pixelaccuracyLucas-KanadealgorithmNewton’smethodRootfindingforf(x)=0MarchxandtestsignsDetermineΔx(small→slow;large→miss)Newton’smethodRootfindingforf(x)=0Newton’smethodRootfindingforf(x)=0Taylor’sexpansion:Newton’smethodRootfindingforf(x)=0x0x1x2Newton’smethodpickupx=x0iteratecompute
updatexbyx+ΔxuntilconvergeFindingrootisusefulforoptimizationbecauseMinimizeg(x)→findrootforf(x)=g’(x)=0Lucas-KanadealgorithmLucas-KanadealgorithmLucas-KanadealgorithmiterateshiftI(x,y)with(u,v)computegradientimageIx,IycomputeerrorimageT(x,y)-I(x,y)computeHessianmatrixsolvethelinearsystem(u,v)=(u,v)+(?u,?v)untilconvergeParametricmodeltranslationaffineOurgoalistofindptominimizeE(p)forallxinT’sdomainParametricmodelminimizewithrespecttominimizeParametricmodelimagegradientJacobianofthewarpwarpedimagetargetimageJacobianmatrixTheJacobianmatrixisthematrixofallfirst-orderpartialderivativesofavector-valuedfunction.JacobianmatrixParametricmodelimagegradientJacobianofthewarpwarpedimagetargetimageJacobianofthewarpForexample,foraffinedxxdyxdxydyydxdyParametricmodel(Approximated)HessianLucas-KanadealgorithmiteratewarpIwithW(x;p)computeerrorimageT(x,y)-I(W(x,p))computegradientimagewithW(x,p)evaluateJacobianat(x;p)computecomputeHessiancomputesolveupdatepbyp+untilconvergeCoarse-to-finestrategyJJwIwarprefine+JJwIwarprefine+JpyramidconstructionJJwIwarprefine+IpyramidconstructionApplicationofimagealignmentDirectvsfeature-basedDirectmethodsuseallinformationandcanbeveryaccurate,buttheydependonthefragile“brightnessconstancy”assumption.Iterativeapproachesrequireinitialization.Notrobusttoilluminationchangeandnoiseimages.Inearlydays,directmethodisbetter.Featurebasedmethodsarenowmorerobustandpotentiallyfaster.Evenbetter,itcanrecognizepanoramawithoutinitialization.TrackingTrackingI(x,y,t)I(x+u,y+v,t+1)(u,v)TrackingopticalflowconstraintequationbrightnessconstancyOpticalflowconstraintequationMultipleconstraintsArea-basedmethodAssumespatialsmoothnessArea-basedmethodAssumespatialsmoothnessArea-basedmethodmustbeinvertibleArea-basedmethodTheeigenvaluestellusaboutthelocalimagestructure.Theyalsotellushowwellwecanestimatetheflowinbothdirections.LinktoHarriscornerdetector.TexturedareaEdgeHomogenousareaKLTtrackingSelectfeaturesbyMonitorfeaturesbymeasuringdissimilarityApertureproblemApertureproblemApertureproblemDemoforapertureproblem/Distortions/Breathing_Square.htm/Ambiguous/Barberpole_Illusion.htmApertureproblemLargerwindowreducesambiguity,buteasilyviolatesspatialsmoothnessassumptionKLTtracking/~stb/klt/KLTtracking/~stb/klt/SIFTtracking(matchingactually)
Frame0Frame10SIFTtracking
Frame0Frame100SIFTtracking
Frame0Frame200KLTvsSIFTtrackingKLThaslargeraccumulatingerror;partlybecauseourKLTimplementationdoesn’thaveaffinetransformation?SIFTissurprisinglyrobustCombinationofSIFTandKLT(example)
/projects/buzzard/smalls/Rotoscoping(MaxFleischer1914)1937TrackingforrotoscopingTrackingforrotoscopingWakinglife(2001)AScannerDarkly(2006)Rotoshop,aproprietarysoftware.Eachminuteofanimationrequired500hoursofwork.OpticalflowSingle-motionassumptionViolatedbyMotiondiscontinuityShadowsTransparencySpecularreflection…MultiplemotionMultiplemotionSimpleproblem:fitalineLeast-squarefitLeast-squarefitRobuststatisticsRecoverthebestfitforthemajorityofthedataDetectandrejectoutliersApproachRobustweightingTruncatedquadraticRobustweightingGeman&McClureRobustestimationFragmentedocclusionRegularizationanddenseopticalflowNeighboringpointsinthescenetypicallybelongtothesamesurfaceandhencetypicallyhavesimilarmotions.Sincetheyalsoprojecttonearbypixelsintheimage,weexpectspatialcoherenceinimageflow.InputimageHorizontalmotionVerticalmotionApplicationofopticalflowvideomatchingInputfortheNPRalgorithmBrushesEdgeclippingGradientSmoothgradientTexturedbrushEdgeclippingTemporalartifactsFrame-by-frameapplicationoftheNPRalgorithmTemporalcoherenceReferencesB.D.LucasandT.Kanade,AnIterativeImageRegistrationTechniquewithanApplicationtoStereoVision,Proceedingsofthe1981DARPAImageUnderstandingWorkshop,1981,pp121-130.Bergen,J.R.andAnandan,P.andHanna,K.J.andHingorani,R.,HierarchicalMod
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025合同違約糾紛案代理意見:北京王文杰律師專業(yè)解析
- 2025合同調整的主要類別
- 2025年房產交易頻繁引發(fā)爭議細心審視合同條款至關重要
- 2024年電動助力轉向裝置項目資金籌措計劃書代可行性研究報告
- 2025西湖國際物業(yè)管理委托合同
- 2025個體經營單位勞動合同樣本
- 2025年度軟件開發(fā)項目合同
- 疫苗接種在減少醫(yī)療不平等中的作用考核試卷
- 畜牧良種繁殖中的繁殖障礙及其解決方法考核試卷
- 2025新版企業(yè)合同范本
- 《copd疾病知識》課件
- 北京市東城區(qū)2024-2025學年高三(上)期末思想政治試卷(含答案)
- 2025河南中煙許昌卷煙廠招聘10人易考易錯模擬試題(共500題)試卷后附參考答案
- 2024年河南輕工職業(yè)學院高職單招語文歷年參考題庫含答案解析
- 即時通訊系統(tǒng)建設方案
- 動車乘務實務知到智慧樹章節(jié)測試課后答案2024年秋陜西交通職業(yè)技術學院
- 胎盤植入課件講義版
- 2025年江蘇鹽城東方集團招聘筆試參考題庫含答案解析
- 2021版中醫(yī)疾病醫(yī)保對應中醫(yī)疾病醫(yī)保2
- 政府績效評估 課件 蔡立輝 第1-5章 導論 -政府績效評估程序
- 食堂負責人崗位職責
評論
0/150
提交評論