http://www.emgu.com
Defines for Distance Transform

Namespace: Emgu.CV.CvEnum
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public enum DIST_TYPE
Visual Basic
Public Enumeration DIST_TYPE
Visual C++
public enum class DIST_TYPE

Members

Member nameValueDescription
CV_DIST_USER-1 User defined distance
CV_DIST_L11 distance = |x1-x2| + |y1-y2|
CV_DIST_L22 Simple euclidean distance
CV_DIST_C3 distance = max(|x1-x2|,|y1-y2|)
CV_DIST_L124 L1-L2 metric: distance = 2(sqrt(1+x*x/2) - 1))
CV_DIST_FAIR5 distance = c^2(|x|/c-log(1+|x|/c)), c = 1.3998
CV_DIST_WELSCH6 distance = c^2/2(1-exp(-(x/c)^2)), c = 2.9846
CV_DIST_HUBER7 distance = |x|<c ? x^2/2 : c(|x|-c/2), c=1.345

See Also