|
KNearestNeighborMatchingT Constructor (Int32, FuncT, T, Double)
|
Note: This API is now obsolete.
Namespace:
Accord.Imaging
Assembly:
Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please specify the distance function using classes instead of lambda functions.")]
public KNearestNeighborMatching(
int k,
Func<T, T, double> distance
)
<ObsoleteAttribute("Please specify the distance function using classes instead of lambda functions.")>
Public Sub New (
k As Integer,
distance As Func(Of T, T, Double)
)
Request Example
View SourceParameters
- k
- Type: SystemInt32
The number of neighbors to use when matching points. - distance
- Type: SystemFuncT, T, Double
The distance function to consider between points.
See Also