Table of Contents

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

mask InputArray

Source mask

sharpness float

Sharpness of the weight map border

weight InputOutputArray

Resulting weight map