http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
The match distance type
Namespace: Emgu.CV.Features2DAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public enum DistanceType |
Visual Basic |
---|
Public Enumeration DistanceType |
Visual C++ |
---|
public enum class DistanceType |
Members
Member name | Value | Description | |
---|---|---|---|
L1F32 | 0 | Manhattan distance (city block distance) on float | |
L2F32 | 1 | Squared Euclidean distance on float | |
HammingLUT | 2 | Hamming distance functor - counts the bit differences between two strings - useful for the Brief descriptor, bit count of A exclusive XOR'ed with B | |
Hamming | 3 | Hamming distance functor, this one will try to use gcc's __builtin_popcountl but will fall back on HammingLUT if not available bit count of A exclusive XOR'ed with B |