Click or drag to resize
Accord.NET (logo)

KNearestNeighborMatchingT Class

Nearest neighbor feature point matching algorithm.
Inheritance Hierarchy
SystemObject
  Accord.ImagingKNearestNeighborMatchingT
    Accord.ImagingKNearestNeighborMatching

Namespace:  Accord.Imaging
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public class KNearestNeighborMatching<T>
Request Example View Source

Type Parameters

T

The KNearestNeighborMatchingT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDistance
Gets or sets the distance function used as a distance metric between data points.
Public propertyK
Gets or sets the number k of nearest neighbors.
Public propertyThreshold
Gets or sets a minimum relevance threshold used to find matching pairs. Default is 0.
Top
Methods
  NameDescription
Protected methodCreateNeighbors
Creates a nearest neighbor algorithm with the feature points as inputs and their respective indices a the corresponding output.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMatch(IFeaturePointT, IFeaturePointT)
Matches two sets of feature points.
Public methodMatch(IEnumerableIFeaturePointT, IEnumerableIFeaturePointT)
Matches two sets of feature points.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
Remarks

This class matches feature points using a k-Nearest Neighbors algorithm.

See Also