| 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; }
Public Property KNNSamples As Integer
Get
Set
public:
property int KNNSamples {
int get ();
void set (int value);
}
member KNNSamples : int with get, set
Property Value
Type:
Int32See Also