Table of Contents

Method L0Smooth

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

L0Smooth(InputArray, OutputArray, double, double)

Global image smoothing via L0 gradient minimization.

public static void L0Smooth(InputArray src, OutputArray dst, double lambda = 0.02, double kappa = 2)

Parameters

src InputArray

source image for filtering with unsigned 8-bit or signed 16-bit or floating-point depth.

dst OutputArray

destination image.

lambda double

parameter defining the smooth term weight.

kappa double

parameter defining the increasing factor of the weight of the gradient data term.