Click or drag to resize
TemplateMatchingType Enumeration
http://www.emgu.com
Methods for comparing two array

Namespace: Emgu.CV.CvEnum
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public enum TemplateMatchingType
Members
  Member nameValueDescription
Sqdiff0 R(x,y)=sumx',y'[T(x',y')-I(x+x',y+y')]2
SqdiffNormed1 R(x,y)=sumx',y'[T(x',y')-I(x+x',y+y')]2/sqrt[sumx',y'T(x',y')2 sumx',y'I(x+x',y+y')2]
Ccorr2 R(x,y)=sumx',y'[T(x',y') I(x+x',y+y')]
CcorrNormed3 R(x,y)=sumx',y'[T(x',y') I(x+x',y+y')]/sqrt[sumx',y'T(x',y')2 sumx',y'I(x+x',y+y')2]
Ccoeff4 R(x,y)=sumx',y'[T'(x',y') I'(x+x',y+y')], where T'(x',y')=T(x',y') - 1/(wxh) sumx",y"T(x",y") I'(x+x',y+y')=I(x+x',y+y') - 1/(wxh) sumx",y"I(x+x",y+y")
CcoeffNormed5 R(x,y)=sumx',y'[T'(x',y') I'(x+x',y+y')]/sqrt[sumx',y'T'(x',y')2 sumx',y'I'(x+x',y+y')2]
See Also