Click or drag to resize

BackgroundSubtractorKNNKNNSamples Property

Returns the number of neighbours, the k in the kNN. K is the number of samples that need to be within dist2Threshold in order to decide that that pixel is matching the kNN background model.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public int KNNSamples { get; set; }

Property Value

Type: Int32
See Also