Click or drag to resize
DistType Enumeration
http://www.emgu.com
Defines for Distance Transform

Namespace: Emgu.CV.CvEnum
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public enum DistType
Members
  Member nameValueDescription
User-1 User defined distance
L11 distance = |x1-x2| + |y1-y2|
L22 Simple euclidean distance
C3 distance = max(|x1-x2|,|y1-y2|)
L124 L1-L2 metric: distance = 2(sqrt(1+x*x/2) - 1))
Fair5 distance = c^2(|x|/c-log(1+|x|/c)), c = 1.3998
Welsch6 distance = c^2/2(1-exp(-(x/c)^2)), c = 2.9846
Huber7 distance = |x|<c ? x^2/2 : c(|x|-c/2), c=1.345
See Also