Method CreateWeightMap
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
CreateWeightMap(InputArray, float, InputOutputArray)
Creates a weight map from the given mask.
public static void CreateWeightMap(InputArray mask, float sharpness, InputOutputArray weight)
Parameters
maskInputArraySource mask
sharpnessfloatSharpness of the weight map border
weightInputOutputArrayResulting weight map