Table of Contents

Enum WMFWeightType

Namespace
Emgu.CV.XImgproc
Assembly
Emgu.CV.dll

Weight type

public enum WMFWeightType

Fields

Cos = 3

dot(I1,I2)/(|I1|*|I2|)

Exp = 0

exp(-|I1-I2|^2/(2*sigma^2))

Iv1 = 1

(|I1-I2|+sigma)^-1

Iv2 = 2

(|I1-I2|^2+sigma^2)^-1

Jac = 4

(min(r1,r2)+min(g1,g2)+min(b1,b2))/(max(r1,r2)+max(g1,g2)+max(b1,b2))

Off = 5

unweighted