Beruflich Dokumente
Kultur Dokumente
MotionVectorSearch
Next:PropagationofErrorsUp:HardProblemsinH.261Previous:HardProblemsinH.261
MotionVectorSearch
C(x+k,y+i)pixelsinthemacroblockwithupperleftcorner(x,y)intheTarget.
R(X+i+k,y+j+l)pixelsinthemacroblockwithupperleftcorner(x+i,y+j)inthe
Reference.
Costfunctionis:
WhereMAEstandsforMeanAbsoluteError.
Goalistofindavector(u,v)suchthatMAE(u,v)isminimum
FullSearchMethod:
1.
Searchthewhole
searchingregion.
2.
https://www.cs.cf.ac.uk/Dave/Multimedia/node252.html
1/3
5/12/2016
MotionVectorSearch
Costis:
operations,
assumingthateachpixelcomparisonneeds3operations(Subtraction,Absolute
value,Addition).
TwoDimensionalLogarithmicSearch:
Similartobinarysearch.MAEfunctionisinitiallycomputedwithinawindowof
atninelocationsasshowninthefigure.
Repeatuntilthesizeofthesearchregionisonepixelwide:
1.
FindoneoftheninelocationsthatyieldstheminimumMAE.
2.
Formanewsearchingregionwithhalfoftheprevioussizeandcenteredatthe
locationfoundinstep1.
https://www.cs.cf.ac.uk/Dave/Multimedia/node252.html
2/3
5/12/2016
MotionVectorSearch
HierarchicalMotionEstimation:
1.
Formseverallowresolutionversionofthetargetandreferencepictures
2.
Findthebestmatchmotionvectorinthelowestresolutionversion.
3.
Modifythemotionvectorlevelbylevelwhengoingup
Performancecomparison:
SearchMethodOperationfor720x480at30fps
p=15p=7
FullSearch29.89GOPS6.99GOPS
Logarithmic1.02GOPS777.60MOPS
Hierarchical507.38MOPS398.52MOPS
Next:PropagationofErrorsUp:HardProblemsinH.261Previous:HardProblemsinH.261
DaveMarshall
10/4/2001
https://www.cs.cf.ac.uk/Dave/Multimedia/node252.html
3/3