Table of Contents

Method SetWeight

Namespace
OpenCvSharp.XFeatures2D
Assembly
OpenCvSharp.dll

SetWeight(int, float)

Weights (multiplicative constants) that linearly stretch individual axes of the feature space.

public void SetWeight(int idx, float value)

Parameters

idx int

ID of the weight (0=weight, 1=x, 2=y, 3=L, 4=a, 5=b, 6=contrast, 7=entropy).

value float

Value of the weight.